Make sure HAVE_EXPAT is exported.
authormsheby <msheby@cinecert.com>
Wed, 26 Mar 2008 16:59:17 +0000 (16:59 +0000)
committermsheby <>
Wed, 26 Mar 2008 16:59:17 +0000 (16:59 +0000)
m4/ax_lib_expat.m4

index 6df68a78c015f7e55b4b3def2889022a2c466fa9..c93680b77aeaceed1463d87d1fc94ceb6978228e 100644 (file)
@@ -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
 ])