summaryrefslogtreecommitdiff
path: root/pear/scripts/phpize.in
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2002-11-26 01:38:49 +0000
committerSVN Migration <svn@php.net>2002-11-26 01:38:49 +0000
commit83fc7fc84fc2b439da0cc4e08cb511d9753dbcca (patch)
treee884842697b6fca255c96f627a4dbd17f0a7d97a /pear/scripts/phpize.in
parent693204265e3970c58932aef21fb4d25e3f1ea1fd (diff)
downloadphp-git-RELEASE_1_0b2.tar.gz
This commit was manufactured by cvs2svn to create tag 'RELEASE_1_0b2'.RELEASE_1_0b2
Diffstat (limited to 'pear/scripts/phpize.in')
-rw-r--r--pear/scripts/phpize.in42
1 files changed, 0 insertions, 42 deletions
diff --git a/pear/scripts/phpize.in b/pear/scripts/phpize.in
deleted file mode 100644
index c77694f8c3..0000000000
--- a/pear/scripts/phpize.in
+++ /dev/null
@@ -1,42 +0,0 @@
-#! /bin/sh
-
-prefix='@prefix@'
-phpdir="$prefix/lib/php/build"
-includedir="$prefix/include/php"
-builddir="`pwd`"
-FILES_BUILD="mkdep.awk shtool"
-FILES="acinclude.m4 Makefile.global scan_makefile_in.awk"
-
-if test ! -r config.m4; then
- echo "Cannot find config.m4. "
- echo "Make sure that you run $0 in the top level source directory of the module"
- exit 1
-fi
-
-test -d build || mkdir build
-
-(cd $phpdir && cp $FILES_BUILD "$builddir"/build)
-(cd $phpdir && cp $FILES "$builddir")
-
-sed \
--e "s#@prefix@#$prefix#" \
-< $phpdir/pear.m4 > configure.in
-
-touch install-sh mkinstalldirs missing
-
-aclocal
-autoconf
-autoheader
-libtoolize -f -c
-
-# dumping API NOs:
-PHP_API_VERSION=`grep -E '#define PHP_API_VERSION' $includedir/main/php.h|sed 's/#define PHP_API_VERSION//'`
-ZEND_MODULE_API_NO=`grep -E '#define ZEND_MODULE_API_NO' $includedir/Zend/zend_modules.h|sed 's/#define ZEND_MODULE_API_NO//'`
-ZEND_EXTENSION_API_NO=`grep -E '#define ZEND_EXTENSION_API_NO' $includedir/Zend/zend_extensions.h|sed 's/#define ZEND_EXTENSION_API_NO//'`
-
-echo "Configuring for:"
-echo " PHP Api Version: "$PHP_API_VERSION
-echo " Zend Module Api No: "$ZEND_MODULE_API_NO
-echo " Zend Extension Api No: "$ZEND_EXTENSION_API_NO
-
-exit 0