psss / rpms / libguestfs

Forked from rpms/libguestfs 5 years ago
Clone
Blob Blame History Raw
From f4a1318f01f19b2503c29c6cae9a2cdaf695bee1 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 09/29] 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 710a81c..9d67397 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -85,9 +85,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 1a37987..4f94be9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1132,20 +1132,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"],
         [
@@ -1210,7 +1196,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
@@ -1273,8 +1258,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 c9c592c..7609f47 100644
--- a/po/POTFILES
+++ b/po/POTFILES
@@ -142,7 +142,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