summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsheby <msheby@cinecert.com>2008-03-26 16:59:17 +0000
committermsheby <>2008-03-26 16:59:17 +0000
commit84869e8d865db225f4c10384698585a87f09ffe3 (patch)
treece2b831077d4e25ffcc1fbfc4457424d5fa0fb35
parentcd6809f1fb91024d31a62c632e500acbf4791048 (diff)
Make sure HAVE_EXPAT is exported.
-rw-r--r--m4/ax_lib_expat.m43
1 files changed, 3 insertions, 0 deletions
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
])