X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fconfigure.ac;h=9e2857e58afb6dbec594f5571381253499903467;hb=3f4a665ae58de1ac116599326876f8dd5a2e7dc8;hp=f17cc58195f42e728c41e9680846e0a04e80d863;hpb=3291dc79cd5741349d6cfdd436728277f8576d65;p=citadel.git diff --git a/webcit/configure.ac b/webcit/configure.ac index f17cc5819..9e2857e58 100644 --- a/webcit/configure.ac +++ b/webcit/configure.ac @@ -1,7 +1,6 @@ dnl Process this file with autoconf to produce a configure script. dnl $Id$ -AC_INIT([WebCit], [8.29], [http://www.citadel.org/]) - +AC_INIT([WebCit],m4_esyscmd_s([grep CLIENT_VERSION webcit.h | sed 's/[^0-9]*//g']),[http://uncensored.citadel.org]) AC_SUBST(PROG_SUBDIRS) AC_DEFINE(PROG_SUBDIRS, [], [Program dirs]) @@ -88,6 +87,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, @@ -214,7 +214,7 @@ else AC_MSG_RESULT(webcit will be built without character set conversion.) fi - +AC_SEARCH_LIBS(gettext, intl libintl) AC_CHECK_LIB(intl, libintl_bindtextdomain, [LDFLAGS="$LDFLAGS -lintl"]) @@ -238,7 +238,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]) ])