summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Nowicki <cnowicki@easter-eggs.com>2004-08-06 14:51:28 +0000
committerChristophe Nowicki <cnowicki@easter-eggs.com>2004-08-06 14:51:28 +0000
commit26e97834cb9d4b9c49ef0cce466ac269ff51358d (patch)
treee7fd61815085016d771f923c687df175b3f17535
parenta81f605c3b4010d1aed44b287504a037bf03db24 (diff)
downloadlasso-26e97834cb9d4b9c49ef0cce466ac269ff51358d.tar.gz
lasso-26e97834cb9d4b9c49ef0cce466ac269ff51358d.tar.xz
lasso-26e97834cb9d4b9c49ef0cce466ac269ff51358d.zip
Fixed #244 : check for libexpat
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0120e0e1..86566820 100644
--- a/configure.ac
+++ b/configure.ac
@@ -347,6 +347,14 @@ AC_SUBST(PHP_LIBS)
AC_SUBST(PHP_EXTENSION_DIR)
AC_SUBST(PHP_PREFIX)
+dnl Check for expat
+have_expat_include=no
+AC_CHECK_LIB(expat, XML_ParserCreate, have_expat_lib=yes, have_expat_lib=no)
+
+if test x$have_expat_lib = xno; then
+ enable_php=no
+fi
+
AC_MSG_CHECKING(for PHP development files)
PHP_VERSION=`$PHP_CONFIG --version 2>/dev/null`
dnl Check if we were be able to extract a good version number.