From: Derick Rethans Date: Thu, 9 May 2002 12:11:57 +0000 (+0000) Subject: - Dump API NOs X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~178 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0d18c63be8366d36a7171c683ef60698365718d;p=php - Dump API NOs --- diff --git a/pear/scripts/phpize.in b/pear/scripts/phpize.in index 537431ffad..fc6dec1b86 100644 --- a/pear/scripts/phpize.in +++ b/pear/scripts/phpize.in @@ -27,3 +27,13 @@ aclocal autoconf autoheader libtoolize -f -c + +# dumping API NOs: +PHP_API_VERSION=`egrep '#define PHP_API_VERSION' $includedir/main/php.h|sed 's/#define PHP_API_VERSION//'` +ZEND_MODULE_API_NO=`egrep '#define ZEND_MODULE_API_NO' $includedir/Zend/zend_modules.h|sed 's/#define ZEND_MODULE_API_NO//'` +ZEND_EXTENSION_API_NO=`egrep '#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