From fa1a0b4902a4b91d47fbb45387234cc59f5b6848 Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Fri, 8 Oct 2010 17:21:36 +0900 Subject: [PATCH] [Patch] Applied Mike's patch. Changes from xml-2.0 to xml2. --- configure.ac | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/configure.ac b/configure.ac index 2bf3e76..485d167 100755 --- a/configure.ac +++ b/configure.ac @@ -438,30 +438,30 @@ fi AC_SUBST(ELM_ETHUMB_DEF) ELM_LIBXML2_DEF="#undef" -have_elementary_libxml-2.0="no" -want_elementary_libxml-2.0="auto" -AC_ARG_ENABLE([libxml-2.0], - [AC_HELP_STRING([--disable-libxml-2.0], [disable libxml-2.0 support. @<:@default=detect@:>@])], - [want_elementary_libxml-2.0=$enableval], []) +have_elementary_libxml2="no" +want_elementary_libxml2="auto" +AC_ARG_ENABLE([libxml2], + [AC_HELP_STRING([--disable-libxml2], [disable libxml2 support. @<:@default=detect@:>@])], + [want_elementary_libxml2=$enableval], []) -if test "x$want_elementary_libxml-2.0" != "xno"; then +if test "x$want_elementary_libxml2" != "xno"; then PKG_CHECK_MODULES([ELEMENTARY_LIBXML2], [ - libxml-2.0 + libxml2 ], [ AC_DEFINE(HAVE_ELEMENTARY_LIBXML2, 1, [Libxml2 support for Elementary]) - have_elementary_libxml-2.0="yes" + have_elementary_libxml2="yes" ELM_ETHUMB_DEF="#define" - requirement_elm="libxml-2.0 ${requirement_elm}" + requirement_elm="libxml2 ${requirement_elm}" ], - [have_elementary_libxml-2.0="no"] + [have_elementary_libxml2="no"] ) else - have_elementary_libxml-2.0="no" + have_elementary_libxml2="no" fi -if test "x$want_elementary_libxml-2.0" = "xyes" -a "x$have_elementary_libxml-2.0" = "xno"; then - AC_MSG_ERROR(Libxml2 support requested, but no libxml-2.0 found by pkg-config.]) +if test "x$want_elementary_libxml2" = "xyes" -a "x$have_elementary_libxml2" = "xno"; then + AC_MSG_ERROR(Libxml2 support requested, but no libxml2 found by pkg-config.]) fi AC_SUBST(ELM_LIBXML2_DEF) @@ -535,7 +535,7 @@ echo " EFreet.............: ${have_elementary_efreet}" echo " EWeather...........: ${have_elementary_eweather}" echo " Ethumb.............: ${have_elementary_ethumb}" echo " EWebKit............: ${have_elementary_ewebkit}" -echo " Xml2...............: ${have_elementary_libxml-2.0}" +echo " Xml2...............: ${have_elementary_libxml2}" echo echo " eet..................: ${eet_eet}" echo " edje_cc..............: ${edje_cc}" -- 2.7.4