Browse code

make HAVE_LIBXML2 consistent with other HAVE_* conventions. Remove unused ENABLE_XML.

Steven Morgan authored on 2013/12/05 05:18:17
Showing 2 changed files
... ...
@@ -17060,9 +17060,6 @@ if test "$working_xml" = "yes"; then
17060 17060
 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
17061 17061
 
17062 17062
 
17063
-$as_echo "#define ENABLE_XML 1" >>confdefs.h
17064
-
17065
-
17066 17063
 
17067 17064
   { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling and linking with libxml2 from $XML_HOME" >&5
17068 17065
 $as_echo "$as_me: Compiling and linking with libxml2 from $XML_HOME" >&6;}
... ...
@@ -17079,12 +17076,6 @@ $as_echo "$as_me: ****** libxml2 support unavailable" >&6;}
17079 17079
   XML_LIBS=""
17080 17080
 
17081 17081
 
17082
-
17083
-$as_echo "#define HAVE_LIBXML2 0" >>confdefs.h
17084
-
17085
-
17086
-$as_echo "#define ENABLE_XML 0" >>confdefs.h
17087
-
17088 17082
 fi
17089 17083
 
17090 17084
 # Check whether --enable-getaddrinfo was given.
... ...
@@ -733,7 +733,6 @@ fi
733 733
 
734 734
 if test "$working_xml" = "yes"; then
735 735
   AC_DEFINE([HAVE_LIBXML2],1,[Define to 1 if you have the 'libxml2' library (-lxml2).])
736
-  AC_DEFINE([ENABLE_XML],1,[Define to 1 if xml supported features can be enabled.])
737 736
   AC_SUBST(XML_CPPFLAGS)
738 737
   AC_SUBST(XML_LIBS)
739 738
   AC_MSG_NOTICE([Compiling and linking with libxml2 from $XML_HOME])
... ...
@@ -749,8 +748,6 @@ else
749 749
   XML_LIBS=""
750 750
   AC_SUBST(XML_CPPFLAGS)
751 751
   AC_SUBST(XML_LIBS)
752
-  AC_DEFINE([HAVE_LIBXML2],0,[Define to 1 if you have the 'libxml2' library (-lxml2).])
753
-  AC_DEFINE([ENABLE_XML],0,[Define to 1 if xml supported features can be enabled.])
754 752
 fi
755 753
 
756 754
 AC_ARG_ENABLE([getaddrinfo],