From: msheby Date: Wed, 26 Mar 2008 16:59:17 +0000 (+0000) Subject: Make sure HAVE_EXPAT is exported. X-Git-Tag: rel_2_10_32~492 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=84869e8d865db225f4c10384698585a87f09ffe3;p=asdcplib.git Make sure HAVE_EXPAT is exported. --- diff --git a/m4/ax_lib_expat.m4 b/m4/ax_lib_expat.m4 index 6df68a7..c93680b 100644 --- a/m4/ax_lib_expat.m4 +++ b/m4/ax_lib_expat.m4 @@ -271,4 +271,7 @@ p = NULL; AC_MSG_WARN([Expat XML Parser support requested but headers or library not found. Specify valid prefix of Expat using --with-expat=@<:@DIR@:>@ or provide include directory and linker flags using --with-expat-inc and --with-expat-lib]) fi fi + if test "$HAVE_EXPAT" = "yes"; then + CPPFLAGS="$CPPFLAGS -DHAVE_EXPAT=1" + fi ])