projects
/
asdcplib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd6809f
)
Make sure HAVE_EXPAT is exported.
author
msheby
<msheby@cinecert.com>
Wed, 26 Mar 2008 16:59:17 +0000
(16:59 +0000)
committer
msheby
<>
Wed, 26 Mar 2008 16:59:17 +0000
(16:59 +0000)
m4/ax_lib_expat.m4
patch
|
blob
|
history
diff --git
a/m4/ax_lib_expat.m4
b/m4/ax_lib_expat.m4
index 6df68a78c015f7e55b4b3def2889022a2c466fa9..c93680b77aeaceed1463d87d1fc94ceb6978228e 100644
(file)
--- 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
])