From: Wilfried Goesgens Date: Mon, 30 Mar 2015 20:55:33 +0000 (+0200) Subject: By Harry Coin: X-Git-Tag: v9.01~3 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=af167c8d5fab0f05afde4893d171791eeed5f512 By Harry Coin: - fix detection of libdiscount - add detection for pwuid & friends --- diff --git a/webcit/configure.ac b/webcit/configure.ac index f17cc5819..8cb65c334 100644 --- a/webcit/configure.ac +++ b/webcit/configure.ac @@ -88,6 +88,7 @@ dnl Checks for header files. AC_HEADER_STDC dnl AC_HEADER_SYS_WAIT +AC_CHECK_FUNCS(crypt gethostbyname connect flock getpwnam_r getpwuid_r getloadavg) AC_CACHE_CHECK( [for call semantics from getpwuid_r], ac_cv_call_getpwuid_r, @@ -238,7 +239,7 @@ dnl Checks for the discount markdown library. AC_CHECK_LIB(markdown, markdown, [ - LDFLAGS="$LDFLAGS -lmarkdown" + LIBS="$LIBS -lmarkdown" AC_DEFINE(HAVE_MARKDOWN,[],[whether we have markdown message rendering]) ])