From: Wilfried Goesgens Date: Sun, 8 May 2011 11:53:34 +0000 (+0000) Subject: libevent needs to link the mathlib, so we add -lm X-Git-Tag: v8.11~1068 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=9ff614d3b30704e53b7ba1d99fe6e2c6ba584b23 libevent needs to link the mathlib, so we add -lm --- diff --git a/citadel/configure.ac b/citadel/configure.ac index 8c45d5340..314e7bd85 100644 --- a/citadel/configure.ac +++ b/citadel/configure.ac @@ -619,7 +619,7 @@ dnl Check for libevent AC_CHECK_HEADER(ev.h, [AC_CHECK_LIB(ev, libcitadel_version_string, [ - LIBS="-lev $LIBS $SERVER_LIBS" + LIBS="-lev -lm $LIBS $SERVER_LIBS" ], [ AC_MSG_ERROR(libev was not found or is not usable. Please install libev.)