diff options
author | Boris Petersen <transacid@centerim.org> | 2016-09-24 16:12:14 +0200 |
---|---|---|
committer | Boris Petersen <transacid@centerim.org> | 2016-09-24 16:12:14 +0200 |
commit | 725c51938b142d3e4e589ef2bfa09dcc44b193a7 (patch) | |
tree | 0fa3bcd839e83e32f8a7cb494ab6d33be053a466 | |
parent | 2661a3cb8eb417fef217ca03876f6a6592313889 (diff) |
Check for expat when building with jabber supportorigin/mob
-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 |