Thrift build cleanup stuff
Summary: Get rid of autoconf stuff for lib/php, it doesn't do anything
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665046 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/php/Makefile.am b/lib/php/Makefile.am
deleted file mode 100644
index a33d927..0000000
--- a/lib/php/Makefile.am
+++ /dev/null
@@ -1,17 +0,0 @@
-thrift_SCRIPTS = src/Thrift.php
-
-protocol_SCRIPTS = src/protocol/TProtocol.php \
- src/protocol/TBinaryProtocol.php
-
-transport_SCRIPTS = src/transport/TTransport.php \
- src/transport/TBufferedTransport.php \
- src/transport/TFramedTransport.php \
- src/transport/TSocket.php \
- src/transport/TSocketPool.php
-
-thriftdir = $(prefix)/php/thrift
-
-protocoldir = $(thriftdir)/protocol
-
-transportdir = $(thriftdir)/transport
-
diff --git a/lib/php/README b/lib/php/README
new file mode 100644
index 0000000..84d60e1
--- /dev/null
+++ b/lib/php/README
@@ -0,0 +1,38 @@
+Thrift PHP Software Library
+
+Mark Slee (mcslee@facebook.com)
+
+Thrift is distributed under the Thrift open source software license.
+Please see the included LICENSE file.
+
+Using Thrift with PHP
+=====================
+
+Thrift requires PHP 5. Thrift makes as few assumptions about your PHP
+environment as possible while trying to make some more advanced PHP
+features (i.e. APC cacheing using asbolute path URLs) as simple as possible.
+
+To use Thrift in your PHP codebase, take the following steps:
+
+#1) Copy all of thrift/lib/php/src into your PHP codebase
+#2) Set $GLOBALS['THRIFT_ROOT'] to the path you installed Thrift
+#3) include_once $GLOBALS['THRIFT_ROOT'].'/Thrift.php';
+
+Note that #3 must be done before including any other Thrift files.
+If you do not do #2, Thrift.php will set this global for you, but it will be
+done using dirname(__FILE__), which is less efficient than providing the static
+string yourself.
+
+Dependencies
+============
+
+PHP_INT_SIZE
+
+ This built-in signals whether your architecture is 32 or 64 bit and is
+ used by the TBinaryProtocol to properly use pack() and unpack() to
+ serialize data.
+
+apc_fetch(), apc_store()
+
+ APC cache is used by the TSocketPool class. If you do not have APC installed,
+ Thrift will fill in null stub function definitions.
diff --git a/lib/php/bootstrap.sh b/lib/php/bootstrap.sh
deleted file mode 100755
index b79e431..0000000
--- a/lib/php/bootstrap.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-./cleanup.sh
-aclocal
-touch NEWS README AUTHORS ChangeLog
-autoconf
-automake -ac
diff --git a/lib/php/cleanup.sh b/lib/php/cleanup.sh
deleted file mode 100755
index d026a46..0000000
--- a/lib/php/cleanup.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-
-rm -rf \
-AUTHORS \
-ChangeLog \
-INSTALL \
-Makefile \
-Makefile.in \
-Makefile.orig \
-NEWS \
-README \
-aclocal.m4 \
-autom4te.cache \
-autoscan.log \
-config.guess \
-config.h \
-config.hin \
-config.log \
-config.status \
-config.sub \
-configure \
-configure.scan \
-depcomp \
-.deps \
-install-sh \
-.libs \
-libtool \
-ltmain.sh \
-Makefile.in \
-missing
diff --git a/lib/php/configure.ac b/lib/php/configure.ac
deleted file mode 100644
index d32321e..0000000
--- a/lib/php/configure.ac
+++ /dev/null
@@ -1,11 +0,0 @@
-AC_PREREQ(2.59)
-
-AC_INIT([thriftphp], [1.0])
-
-AC_CONFIG_AUX_DIR([.])
-
-AM_INIT_AUTOMAKE
-
-AC_CONFIG_FILES([Makefile])
-
-AC_OUTPUT