X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fconfigure.ac;h=38b8f218663bbc50e70c14e85cf6977a002cb741;hb=c25a495d3b69186484055a5932bd5237b88de2fa;hp=e41910c47cb264cfd38674e43034a313926fa999;hpb=60cb231e6d923de13479a6123237f92d5091aaee;p=citadel.git diff --git a/webcit/configure.ac b/webcit/configure.ac index e41910c47..38b8f2186 100644 --- a/webcit/configure.ac +++ b/webcit/configure.ac @@ -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, + [ + 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