X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fconfigure.ac;h=9e2857e58afb6dbec594f5571381253499903467;hb=3f4a665ae58de1ac116599326876f8dd5a2e7dc8;hp=a523add563980529a3ba429c074aaf3e4a15392b;hpb=4b104bf1296e58ea5cad097401297bd8ca08d205;p=citadel.git diff --git a/webcit/configure.ac b/webcit/configure.ac index a523add56..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], [901], [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]) @@ -215,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"])