summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2013-12-19 10:14:52 +0100
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2013-12-19 10:14:52 +0100
commitc5659068fec60144300fdc7590b19ea338dfd28a (patch)
tree32dea726d463a631f41ce48744aa30d0e7bdbaad
parentddc10efa2c271c3fcc71bc94f9f1a5655f87c04a (diff)
downloadlasso-c5659068fec60144300fdc7590b19ea338dfd28a.tar.gz
lasso-c5659068fec60144300fdc7590b19ea338dfd28a.tar.xz
lasso-c5659068fec60144300fdc7590b19ea338dfd28a.zip
configure.ac,fedora/lasso.spec: remove expat dependency
-rw-r--r--configure.ac12
-rw-r--r--fedora/lasso.spec2
2 files changed, 1 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac
index 7b272532..e9ae685e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -459,18 +459,6 @@ AC_SUBST(PHP5_PREFIX)
AC_SUBST(PHP5_INCLUDE_DIR)
AC_SUBST(PHP5_CONFIG_DIR)
-dnl Check for expat
-have_expat_include=no
-if test $MINGW -eq 1; then
- AC_CHECK_LIB(xmlparse, XML_ParserCreate, have_expat_lib=yes, have_expat_lib=no)
-else
- AC_CHECK_LIB(expat, XML_ParserCreate, have_expat_lib=yes, have_expat_lib=no)
-fi
-
-if test x$have_expat_lib = xno; then
- enable_php5=no
-fi
-
AC_MSG_CHECKING(for PHP 5 development files)
if $PHP5_CONFIG --version | grep -q "^5" || test "x$ENABLE_PHP5_FORCE" = "xyes"
then
diff --git a/fedora/lasso.spec b/fedora/lasso.spec
index 30f83689..eec7251e 100644
--- a/fedora/lasso.spec
+++ b/fedora/lasso.spec
@@ -80,7 +80,7 @@ supplied by %{name}.
%package php
Summary: PHP module for %{name}
Group: Development/Libraries
-BuildRequires: php-devel >= 5.0, expat-devel
+BuildRequires: php-devel >= 5.0
BuildRequires: python-lxml
Requires: php >= 5.0
Requires: %{name} = %{version}-%{release}