dnl Process this file with autoconf to produce a configure script.
dnl $Id$
-AC_INIT([WebCit], [7.81], [http://www.citadel.org/])
+AC_INIT([WebCit], [8.03], [http://www.citadel.org/])
AC_SUBST(PROG_SUBDIRS)
)
+dnl Checks for the Expat XML parser.
+AC_CHECK_HEADER(expat.h,
+ [AC_CHECK_LIB(expat, XML_ParserCreateNS,
+ [
+ SERVER_LIBS="-lexpat $SERVER_LIBS"
+ ],
+ [
+ AC_MSG_ERROR(The Expat XML parser was not found and is required. More info: http://www.citadel.org/doku.php/installation:start)
+ ]
+ ,
+ )],
+ [
+ AC_MSG_ERROR(expat.h was not found and is required. More info: http://www.citadel.org/doku.php/installation:start)
+ ]
+)
+
+
found_ssl=no
# The big search for OpenSSL
if test "$ok_nls" != "no"; then
AC_MSG_RESULT(WebCit will be built with national language support.)
AC_DEFINE(ENABLE_NLS, [], [whether we have NLS support])
- PROG_SUBDIRS="$PROG_SUBDIRS po"
+ PROG_SUBDIRS="$PROG_SUBDIRS po/webcit/"
else
AC_MSG_RESULT(WebCit will be built without national language support.)
fi
CFLAGS="$CFLAGS -I $abs_builddir"
fi
AC_CONFIG_HEADER(sysdep.h)
-AC_OUTPUT(Makefile po/Makefile tests/Makefile)
+AC_OUTPUT(Makefile po/webcit/Makefile tests/Makefile)
if test "$abs_srcdir" != "$abs_builddir"; then
ln -s $abs_srcdir/static $abs_builddir