aboutsummaryrefslogtreecommitdiff
path: root/dev-libs/libstrophe/files/libstrophe-fix-build-libxml2.patch
blob: 2710f4b3bafeafe1799777a3c339462d4b8ff7a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/configure.ac b/configure.ac
index fb123e4..a9ac211 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,11 +9,9 @@ AC_CHECK_HEADER(openssl/ssl.h, [], [AC_MSG_ERROR([couldn't find openssl headers,
 PKG_CHECK_MODULES([check], [check >= 0.9.4], [], [AC_MSG_WARN([libcheck not found; unit tests will not be compilable])])
 
 AC_ARG_WITH([libxml2],
-            [AS_HELP_STRING([--with-libxml2], [use libxml2 for XML parsing])],
-            [with_libxml2=check],
-            [with_libxml2=no])
+            [AS_HELP_STRING([--with-libxml2], [use libxml2 for XML parsing])])
 
-if test "x$with_libxml2" != xno; then
+if test "x$with_libxml2" = xyes; then
   PKG_CHECK_MODULES([libxml2], [libxml-2.0 >= 2.7],
                     [with_libxml2=yes], [dummy=1])
   if test "x$with_libxml2" != xyes; then