testing AC_SEARCH_LIBS(gettext, intl libintl)
[citadel.git] / webcit / configure.ac
index 8cb65c3346ace085a2fcb6ed95575dc49f04e1f7..9e2857e58afb6dbec594f5571381253499903467 100644 (file)
@@ -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])
@@ -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"])