summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-07-17 09:07:06 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-07-17 09:07:06 +0200
commit704266e2a046c457ac64ec98be0b7c49648092b6 (patch)
tree781f70b1492517581cc400d6a12b1419c88cf164 /configure.ac
parent2ce9207e277cf5c4d226b452354e085c66c4ee9c (diff)
Add custom CFLAGS/LDFLAGS to eXpat detection.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 040f6e6..fe08097 100644
--- a/configure.ac
+++ b/configure.ac
@@ -399,8 +399,8 @@ tmp_LDFLAGS="$LDFLAGS"
tmp_LIBS="$LIBS"
CXXFLAGS=""
CPPFLAGS=""
-CFLAGS="EXPAT_CFLAGS"
-LDFLAGS="EXPAT_LIBS"
+CFLAGS="$EXPAT_CFLAGS"
+LDFLAGS="$EXPAT_LDFLAGS"
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!]))