Commit 5be64670 authored by Geoff Simmons's avatar Geoff Simmons

configure script ensures use of -lm

parent 3b03ce05
...@@ -81,6 +81,9 @@ case $target in ...@@ -81,6 +81,9 @@ case $target in
;; ;;
esac esac
AC_CHECK_LIBM
AC_SUBST(LIBM)
# optionally choose the MQ plugins to build, by default all # optionally choose the MQ plugins to build, by default all
AC_ARG_ENABLE([kafka], [AS_HELP_STRING([--enable-kafka], AC_ARG_ENABLE([kafka], [AS_HELP_STRING([--enable-kafka],
[build the Kafka MQ plugin @<:@default=yes@:>@])], [build the Kafka MQ plugin @<:@default=yes@:>@])],
......
...@@ -25,7 +25,7 @@ trackrdrd_SOURCES = \ ...@@ -25,7 +25,7 @@ trackrdrd_SOURCES = \
vtim.c vtim.c
trackrdrd_LDADD = \ trackrdrd_LDADD = \
${PTHREAD_LIBS} @VARNISH_LIBS@ \ ${PTHREAD_LIBS} @VARNISH_LIBS@ ${LIBM} \
-L${VARNISH_PKG_LIB}/varnish -lvarnish -L${VARNISH_PKG_LIB}/varnish -lvarnish
trackrdrd_LDFLAGS = -ldl trackrdrd_LDFLAGS = -ldl
...@@ -85,4 +85,4 @@ vcs_version.h: FORCE ...@@ -85,4 +85,4 @@ vcs_version.h: FORCE
fi \ fi \
fi fi
FORCE: FORCE:
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment