psss / rpms / libguestfs

Forked from rpms/libguestfs 5 years ago
Clone
Blob Blame History Raw
From 40b7aaec13ed51f0876ab26ff264a8caba90f6ed 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 11/38] EPEL 5: Remove PHP bindings.

---
 Makefile.am  |    3 ---
 configure.ac |   16 ----------------
 po/POTFILES  |    1 -
 3 files changed, 0 insertions(+), 20 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index ee680dc..d263c0d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -88,9 +88,6 @@ endif
 if HAVE_HASKELL
 SUBDIRS += haskell
 endif
-if HAVE_PHP
-SUBDIRS += php
-endif
 if HAVE_LUA
 SUBDIRS += lua lua/examples
 endif
diff --git a/configure.ac b/configure.ac
index d596c52..944df72 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1277,19 +1277,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 Lua
 AC_ARG_ENABLE([lua],
     AS_HELP_STRING([--disable-lua], [disable Lua language bindings]),
@@ -1390,7 +1377,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
@@ -1466,8 +1452,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 -n "Lua bindings ........................ "
 if test "x$HAVE_LUA_TRUE" = "x"; then echo "yes"; else echo "no"; fi
 echo
diff --git a/po/POTFILES b/po/POTFILES
index 1d6227c..eda59e1 100644
--- a/po/POTFILES
+++ b/po/POTFILES
@@ -149,7 +149,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/test-virt-rescue.pl
-- 
1.7.4.1