Mailing List Archive

r1798 - in trunk/varnish-cache: . bin/varnishd
Author: phk
Date: 2007-08-05 22:26:09 +0200 (Sun, 05 Aug 2007)
New Revision: 1798

Modified:
trunk/varnish-cache/bin/varnishd/Makefile.am
trunk/varnish-cache/configure.ac
Log:
We need the math library on some systems.

Ticket 138



Modified: trunk/varnish-cache/bin/varnishd/Makefile.am
===================================================================
--- trunk/varnish-cache/bin/varnishd/Makefile.am 2007-08-05 20:17:49 UTC (rev 1797)
+++ trunk/varnish-cache/bin/varnishd/Makefile.am 2007-08-05 20:26:09 UTC (rev 1798)
@@ -68,4 +68,4 @@
$(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}

Modified: trunk/varnish-cache/configure.ac
===================================================================
--- trunk/varnish-cache/configure.ac 2007-08-05 20:17:49 UTC (rev 1797)
+++ trunk/varnish-cache/configure.ac 2007-08-05 20:26:09 UTC (rev 1798)
@@ -50,6 +50,9 @@
LIBS="${save_LIBS}"
AC_SUBST(PTHREAD_LIBS)

+AC_CHECK_LIBM
+AC_SUBST(LIBM)
+
# Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT