diff options
author | teuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2008-05-25 12:27:09 +0000 |
---|---|---|
committer | teuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2008-05-25 12:27:09 +0000 |
commit | 160a618971e64d10e6411d40c5428786ced35cca (patch) | |
tree | 4e923325e0fb968af59bd46e00f64bcb5a5e4548 | |
parent | f8131917e2ea9ee8cd9aa5982394128635c01adf (diff) | |
download | libgpod-160a618971e64d10e6411d40c5428786ced35cca.tar.gz libgpod-160a618971e64d10e6411d40c5428786ced35cca.tar.xz libgpod-160a618971e64d10e6411d40c5428786ced35cca.zip |
* configure.ac: libxml presence is mandatory unless
--disable-libxml is passed to configure
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1984 f01d2545-417e-4e96-918e-98f8d0dbbcb6
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.ac | 12 |
2 files changed, 7 insertions, 10 deletions
@@ -1,5 +1,10 @@ 2008-05-25 Christophe Fergeau <teuf at gnome.org> + * configure.ac: libxml presence is mandatory unless + --disable-libxml is passed to configure + +2008-05-25 Christophe Fergeau <teuf at gnome.org> + * src/itdb_device.c: don't insert NULL firewire IDs in the SysInfo hash table diff --git a/configure.ac b/configure.ac index 418acac..950a5bb 100644 --- a/configure.ac +++ b/configure.ac @@ -138,17 +138,10 @@ AC_ARG_ENABLE(libxml, [AC_HELP_STRING([--disable-libxml],[SysInfoExtended won't esac]) AH_TEMPLATE([HAVE_LIBXML], [Whether libxml is installed, it's used to parse SysInfoExtended]) if test x$enable_libxml != xno; then - PKG_CHECK_MODULES(LIBXML, libxml-2.0, have_libxml=yes, have_libxml=no) - if test x"$enable_libxml" = xyes -a x"$have_libxml" = xno; then - AC_MSG_ERROR([libxml support explicitly requested but libxml couldn't be found]) - fi -fi -if test x"$have_libxml" = xyes; then + PKG_CHECK_MODULES(LIBXML, libxml-2.0) AC_DEFINE_UNQUOTED(HAVE_LIBXML, 1) LIBGPOD_CFLAGS="$LIBGPOD_CFLAGS $LIBXML_CFLAGS" LIBGPOD_LIBS="$LIBGPOD_LIBS $LIBXML_LIBS" -else - have_libxml=no fi dnl ************************************************** @@ -306,7 +299,6 @@ Configuration for $PACKAGE $VERSION : Compiler .............: $CC $CFLAGS $LIBGPOD_CFLAGS Linker ...............: $CC $LDFLAGS $LIBS $LIBGPOD_LIBS Artwork support ......: $have_gdkpixbuf - libxml support .......: $have_libxml Python bindings ......: $with_python PyGObject support ....: $have_pygobject @@ -314,7 +306,7 @@ Configuration for $PACKAGE $VERSION : and then 'make install' for installation. " -if test x"$have_libxml" = xno; then +if test x"$enable_libxml" = xno; then echo " **WARNING** libxml support is disabled, libgpod won't be able to parse SysInfoExtended. This means it can't take advantage of the |