From 067a995aa89974ec39d9e1c7440e7b9a3c5fca87 Mon Sep 17 00:00:00 2001
From: Richard W.M. Jones <rjones@redhat.com>
Date: Sun, 17 Jun 2012 23:01:43 +0100
Subject: [PATCH 07/20] EPEL 5: Remove PHP bindings.
---
Makefile.am | 3 ---
configure.ac | 17 -----------------
po/POTFILES | 1 -
3 files changed, 0 insertions(+), 21 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 88e3815..5175bf3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -81,9 +81,6 @@ endif
if HAVE_HASKELL
SUBDIRS += haskell
endif
-if HAVE_PHP
-SUBDIRS += php
-endif
# Unconditional because nothing is built yet.
SUBDIRS += csharp
diff --git a/configure.ac b/configure.ac
index 939abbf..79058a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1101,20 +1101,6 @@ AS_IF([test "x$enable_haskell" != "xno"],
AM_CONDITIONAL([HAVE_HASKELL],
[test "x$GHC" != "xno"])
-dnl PHP
-PHP=no
-AC_ARG_ENABLE([php],
- AS_HELP_STRING([--disable-php], [Disable PHP language bindings]),
- [],
- [enable_php=yes])
-AS_IF([test "x$enable_php" != "xno"],
- [
- PHP=
- AC_CHECK_PROG([PHP],[php],[php],[no])
- AC_CHECK_PROG([PHPIZE],[phpize],[phpize],[no])
- ])
-AM_CONDITIONAL([HAVE_PHP], [test "x$PHP" != "xno" && test "x$PHPIZE" != "xno"])
-
dnl Check for Perl modules needed by Perl virt tools (virt-df, etc.)
AS_IF([test "x$PERL" != "xno"],
[
@@ -1179,7 +1165,6 @@ AC_CONFIG_FILES([Makefile
perl/Makefile
perl/Makefile.PL
perl/examples/Makefile
- php/Makefile
po-docs/Makefile
po-docs/ja/Makefile
po-docs/uk/Makefile
@@ -1238,8 +1223,6 @@ echo -n "Java bindings ....................... "
if test "x$HAVE_JAVA_TRUE" = "x"; then echo "yes"; else echo "no"; fi
echo -n "Haskell bindings .................... "
if test "x$HAVE_HASKELL_TRUE" = "x"; then echo "yes"; else echo "no"; fi
-echo -n "PHP bindings ........................ "
-if test "x$HAVE_PHP_TRUE" = "x"; then echo "yes"; else echo "no"; fi
echo "guestfish and C virt tools .......... yes"
echo -n "Perl virt tools ..................... "
if test "x$HAVE_TOOLS_TRUE" = "x"; then echo "yes"; else echo "no"; fi
diff --git a/po/POTFILES b/po/POTFILES
index 3e87532..0e06f4e 100644
--- a/po/POTFILES
+++ b/po/POTFILES
@@ -139,7 +139,6 @@ perl/Guestfs.c
perl/bindtests.pl
perl/lib/Sys/Guestfs.pm
perl/lib/Sys/Guestfs/Lib.pm
-php/extension/guestfs_php.c
python/guestfs-py-byhand.c
python/guestfs-py.c
rescue/virt-rescue.c
--
1.7.4.1