From c5659068fec60144300fdc7590b19ea338dfd28a Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 19 Dec 2013 10:14:52 +0100 Subject: [PATCH] configure.ac,fedora/lasso.spec: remove expat dependency --- configure.ac | 12 ------------ fedora/lasso.spec | 2 +- 2 files changed, 1 insertion(+), 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}