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
... ...
@@ -17145,9 +17145,6 @@ if test "$working_xml" = "yes"; then
17145 17145
 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
17146 17146
 
17147 17147
 
17148
-$as_echo "#define ENABLE_XML 1" >>confdefs.h
17149
-
17150
-
17151 17148
 
17152 17149
   { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling and linking with libxml2 from $XML_HOME" >&5
17153 17150
 $as_echo "$as_me: Compiling and linking with libxml2 from $XML_HOME" >&6;}
... ...
@@ -17164,12 +17161,6 @@ $as_echo "$as_me: ****** libxml2 support unavailable" >&6;}
17164 17164
   XML_LIBS=""
17165 17165
 
17166 17166
 
17167
-
17168
-$as_echo "#define HAVE_LIBXML2 0" >>confdefs.h
17169
-
17170
-
17171
-$as_echo "#define ENABLE_XML 0" >>confdefs.h
17172
-
17173 17167
 fi
17174 17168
 
17175 17169
 # Check whether --enable-getaddrinfo was given.
... ...
@@ -734,7 +734,6 @@ fi
734 734
 
735 735
 if test "$working_xml" = "yes"; then
736 736
   AC_DEFINE([HAVE_LIBXML2],1,[Define to 1 if you have the 'libxml2' library (-lxml2).])
737
-  AC_DEFINE([ENABLE_XML],1,[Define to 1 if xml supported features can be enabled.])
738 737
   AC_SUBST(XML_CPPFLAGS)
739 738
   AC_SUBST(XML_LIBS)
740 739
   AC_MSG_NOTICE([Compiling and linking with libxml2 from $XML_HOME])
... ...
@@ -750,8 +749,6 @@ else
750 750
   XML_LIBS=""
751 751
   AC_SUBST(XML_CPPFLAGS)
752 752
   AC_SUBST(XML_LIBS)
753
-  AC_DEFINE([HAVE_LIBXML2],0,[Define to 1 if you have the 'libxml2' library (-lxml2).])
754
-  AC_DEFINE([ENABLE_XML],0,[Define to 1 if xml supported features can be enabled.])
755 753
 fi
756 754
 
757 755
 AC_ARG_ENABLE([getaddrinfo],