From 704266e2a046c457ac64ec98be0b7c49648092b6 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 17 Jul 2014 09:07:06 +0200 Subject: Add custom CFLAGS/LDFLAGS to eXpat detection. --- configure.ac | 4 ++-- 1 file 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!])) -- cgit v1.2.3