]> err.no Git - varnish/commitdiff
We need the math library on some systems.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 5 Aug 2007 20:26:09 +0000 (20:26 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 5 Aug 2007 20:26:09 +0000 (20:26 +0000)
Ticket 138

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1798 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/Makefile.am
varnish-cache/configure.ac

index f138a267db389af9e0cd5a53ff839bcd652cd402..0fde1558a0c279071e0402fb388ba89e83821d5d 100644 (file)
@@ -68,4 +68,4 @@ varnishd_LDADD = \
        $(top_builddir)/lib/libvarnish/libvarnish.la \
        $(top_builddir)/lib/libcompat/libcompat.a \
        $(top_builddir)/lib/libvcl/libvcl.la \
-       ${DL_LIBS} ${PTHREAD_LIBS}
+       ${DL_LIBS} ${PTHREAD_LIBS} ${LIBM}
index b6af8defb939f6479258389554aeb6a512fa1711..4ffc2b071f60f2ea7d52f3fd3994596ecb558979 100644 (file)
@@ -50,6 +50,9 @@ PTHREAD_LIBS="${LIBS}"
 LIBS="${save_LIBS}"
 AC_SUBST(PTHREAD_LIBS)
 
+AC_CHECK_LIBM
+AC_SUBST(LIBM)
+
 # Checks for header files.
 AC_HEADER_STDC
 AC_HEADER_SYS_WAIT