aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-06-04 11:36:06 +0000
committerEric Wong <normalperson@yhbt.net>2006-06-04 11:36:06 +0000
commit5cbfdf3517d0e9711da972989151c29c5dfadad8 (patch)
tree8c5ddbb54f2ae740f9fd101d74fbe2e571312b33 /configure.ac
parentab069b7e594b4de202cd4b0a083379397e278339 (diff)
downloadmpd-5cbfdf3517d0e9711da972989151c29c5dfadad8.tar.gz
mpd-5cbfdf3517d0e9711da972989151c29c5dfadad8.tar.xz
mpd-5cbfdf3517d0e9711da972989151c29c5dfadad8.zip
correctly check for setenv() function
git-svn-id: https://svn.musicpd.org/mpd/trunk@4245 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9eb380471..6222f3abb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -84,6 +84,7 @@ AC_CHECK_LIB(socket,socket,MPD_LIBS="$MPD_LIBS -lsocket",)
AC_CHECK_LIB(nsl,gethostbyname,MPD_LIBS="$MPD_LIBS -lnsl",)
AC_CHECK_LIB(m,exp,MPD_LIBS="$MPD_LIBS -lm",)
+AC_CHECK_FUNCS(setenv)
PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.0, [MPD_LIBS="$MPD_LIBS $GLIB_LIBS" MPD_CFLAGS="$MPD_CFLAGS $GLIB_CFLAGS"],[echo "";echo "** ERROR:Unable to find glib-2.0 of version 2.0 or above **" ; exit 1])