diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-03-03 17:57:55 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-03-03 17:57:55 +0000 |
commit | afa0cd78832e621b7551f2228285b26effc0601a (patch) | |
tree | 1fe3bc8398c7fd4be89b641c2f380e40e7eb5ba9 /configure.ac | |
parent | ac2be0137459ad623a698363786a0763fef127fb (diff) |
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.ac | 2 |
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",) |