summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-07-17 09:04:49 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-07-17 09:04:49 +0200
commit2ce9207e277cf5c4d226b452354e085c66c4ee9c (patch)
tree8cf133ada0fe33f72d66191acd10308222ca448b
parent68e1d8b68f5260ba6dc2d3f950ced434a4a9b55c (diff)
Add custom CFLAGS/LDFLAGS to eXpat detection.
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index ed63b5b..040f6e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -399,8 +399,8 @@ tmp_LDFLAGS="$LDFLAGS"
tmp_LIBS="$LIBS"
CXXFLAGS=""
CPPFLAGS=""
-CFLAGS=""
-LDFLAGS=""
+CFLAGS="EXPAT_CFLAGS"
+LDFLAGS="EXPAT_LIBS"
LIBS=""
AC_CHECK_HEADER(expat.h, , AC_MSG_ERROR([*** eXpat header file not found!]))
AC_CHECK_LIB(expat, XML_ParserCreate, , AC_MSG_ERROR([*** eXpat library not found!]))