]> code.citadel.org Git - citadel.git/blobdiff - webcit/configure.ac
Began some of the PROPFIND mods needed for CalDAV. Mike Shaver is a self-righteous...
[citadel.git] / webcit / configure.ac
index 5745b98b1b329c9c58a739580006103a5e2844ff..6819bb28a03ad48f3558cec5b3cfec23492aa434 100644 (file)
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 dnl $Id$
-AC_INIT([WebCit], [8.02], [http://www.citadel.org/])
+AC_INIT([WebCit], [8.03], [http://www.citadel.org/])
 
 
 AC_SUBST(PROG_SUBDIRS)
@@ -248,6 +248,23 @@ AC_CHECK_HEADER(libcitadel.h,
 )
 
 
+dnl Checks for the Expat XML parser.
+AC_CHECK_HEADER(expat.h,
+       [AC_CHECK_LIB(expat, XML_ParserCreateNS,
+               [
+                       LIBS="-lexpat $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