summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
])