Blob Blame History Raw
From 21943f8c165ce6a971d063fe7bed474a3271aed9 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/33] 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 04a6565..327e0c4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -86,9 +86,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 07c360e..0e49b34 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1298,19 +1298,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]),
@@ -1424,7 +1411,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
@@ -1500,8 +1486,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 c3f1d67..14eb1e8 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