aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-03-03 17:57:55 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-03-03 17:57:55 +0000
commitafa0cd78832e621b7551f2228285b26effc0601a (patch)
tree1fe3bc8398c7fd4be89b641c2f380e40e7eb5ba9 /configure.ac
parentac2be0137459ad623a698363786a0763fef127fb (diff)
downloadmpd-afa0cd78832e621b7551f2228285b26effc0601a.tar.gz
mpd-afa0cd78832e621b7551f2228285b26effc0601a.tar.xz
mpd-afa0cd78832e621b7551f2228285b26effc0601a.zip
check to see if we need -lm
git-svn-id: https://svn.musicpd.org/mpd/trunk@190 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a8f2b3fb6..26a03fec0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,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",)