From 9ff614d3b30704e53b7ba1d99fe6e2c6ba584b23 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Sun, 8 May 2011 11:53:34 +0000 Subject: [PATCH] libevent needs to link the mathlib, so we add -lm --- citadel/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.) -- 2.30.2