From 2ce9207e277cf5c4d226b452354e085c66c4ee9c Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 17 Jul 2014 09:04:49 +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 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!])) -- cgit v1.2.3