forked from pool/libvirt
23 lines
1.4 KiB
Diff
23 lines
1.4 KiB
Diff
|
2nd chunk removes incomplete chec. Without it autoconf will fail.
|
||
|
================================================================================
|
||
|
--- configure.in
|
||
|
+++ configure.in
|
||
|
@@ -75,7 +75,7 @@
|
||
|
dnl make CFLAGS very pedantic at least during the devel phase for everybody
|
||
|
dnl
|
||
|
if test "${GCC}" = "yes" ; then
|
||
|
- CFLAGS="-g -O -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -Wall"
|
||
|
+ CFLAGS="-g -O -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -Wall $CFLAGS"
|
||
|
fi
|
||
|
|
||
|
dnl
|
||
|
@@ -161,7 +161,7 @@
|
||
|
if test "z$with_libxml" = "zno" ; then
|
||
|
AC_MSG_CHECKING(for libxml2 libraries >= $LIBXML_MIN_VERSION)
|
||
|
AC_MSG_ERROR(libxml2 >= $LIBXML_MIN_VERSION is required for $XMLSEC_PACKAGE)
|
||
|
-elif test "z$with_libxml" = "z" -a "z$PKG_CONFIG_ENABLED" = "zyes" ; then
|
||
|
+elif test "z$with_libxml" = "z" ; then
|
||
|
PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= $LIBXML_MIN_VERSION,
|
||
|
[LIBXML_FOUND=yes],
|
||
|
[LIBXML_FOUND=no])
|