summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2012-12-13 16:02:22 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-12-13 16:02:22 +0100
commit2ab69c601923374f3d0ecb51e3f8a021d2d7e519 (patch)
treeaccea6a403977916983d72a4b7b0f2c4df6e0f79 /configure.ac
parenta7dfc4bb93069c8ac3583273c7a0ba1864aa5ffd (diff)
downloadrsyslog-2ab69c601923374f3d0ecb51e3f8a021d2d7e519.tar.gz
rsyslog-2ab69c601923374f3d0ecb51e3f8a021d2d7e519.tar.bz2
rsyslog-2ab69c601923374f3d0ecb51e3f8a021d2d7e519.zip
build: link omelasticsearch against -lm
Use LT_LIB_M to find the math library which is needed for pow().
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d4ff50c4..70e89d4d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -720,6 +720,7 @@ AC_ARG_ENABLE(elasticsearch,
)
if test "x$enable_elasticsearch" = "xyes"; then
PKG_CHECK_MODULES([CURL], [libcurl])
+ LT_LIB_M
fi
AM_CONDITIONAL(ENABLE_ELASTICSEARCH, test x$enable_elasticsearch = xyes)