diff options
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 871cb3c..65adbf7 100644 --- a/configure.ac +++ b/configure.ac @@ -445,6 +445,14 @@ if test "x$build_jabber" = "xyes"; then if test "x$have_gpgme" = "xno"; then AC_MSG_WARN([No GPG support in Jabber, since GPGME library not found or its setup not ok]) fi + AC_CHECK_LIB([expat], XML_ParserCreate_MM, + [AC_CHECK_HEADERS(expat.h, have_expat=true, have_expat=false)], + have_expat=false) + + if ! $have_expat; then + AC_MSG_ERROR([You need the eXpat xml parser for jabber suppport] + [http://expat.sourceforge.net/]) + fi AC_DEFINE(BUILD_JABBER, 1, [build with jabber support]) fi if test "x$build_gg" = "xyes"; then |