aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-03-03 18:17:14 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-03-03 18:17:14 +0000
commit0d22fa6e64ab7586c7f2ff51d66c098d6d50922b (patch)
tree1fe3bc8398c7fd4be89b641c2f380e40e7eb5ba9 /configure.ac
parent0a79b8a80898baa8733190c1a8121a7415c3c9c8 (diff)
downloadmpd-0d22fa6e64ab7586c7f2ff51d66c098d6d50922b.tar.gz
mpd-0d22fa6e64ab7586c7f2ff51d66c098d6d50922b.tar.xz
mpd-0d22fa6e64ab7586c7f2ff51d66c098d6d50922b.zip
ok, don't use AC_CHECK_LIBM, just use my own homebrewed version
git-svn-id: https://svn.musicpd.org/mpd/trunk@192 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 1aca8dcf2..26a03fec0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,8 +43,6 @@ AC_ARG_WITH(mad-includes,[ --with-mad-includes=DIR Directory where mad header
AC_C_BIGENDIAN
-AC_CHECK_LIBM
-
AC_CHECK_SIZEOF(short)
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
@@ -53,6 +51,8 @@ AC_CHECK_SIZEOF(long long)
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_HEADER(langinfo.h,MPD_CFLAGS="$MPD_CFLAGS -DHAVE_LANGINFO",)
AC_CHECK_HEADER(locale.h,MPD_CFLAGS="$MPD_CFLAGS -DHAVE_LOCALE",)