cvs: php-src(PHP_5_0) /scripts phpize.in
| From: | Antony Dovgal | Date: | Wed, 15 Jun 2005 17:19:42 +0000 |
| Subject: | cvs: php-src(PHP_5_0) /scripts phpize.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-32297@lists.php.net to get a copy of this message | ||
tony2001 Wed Jun 15 13:19:42 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/scripts phpize.in
Log:
MFH latest Jani's patch to 5_0
http://cvs.php.net/diff.php/php-src/scripts/phpize.in?r1=1.15.2.7&r2=1.15.2.8&ty=u
Index: php-src/scripts/phpize.in
diff -u php-src/scripts/phpize.in:1.15.2.7 php-src/scripts/phpize.in:1.15.2.8
--- php-src/scripts/phpize.in:1.15.2.7 Fri Jun 10 08:35:21 2005
+++ php-src/scripts/phpize.in Wed Jun 15 13:19:41 2005
@@ -1,7 +1,6 @@
#!/bin/sh
# Variable declaration
-EGREP='@EGREP@'
prefix='@prefix@'
exec_prefix="
eval echo @exec_prefix@"
phpdir="eval echo @libdir@/build"
@@ -52,9 +51,9 @@
phpize_get_api_numbers()
{
# extracting 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//'
+ PHP_API_VERSION=grep '#define PHP_API_VERSION' $includedir/main/php.h|sed
's/#define PHP_API_VERSION//'
+ ZEND_MODULE_API_NO=grep '#define ZEND_MODULE_API_NO'
$includedir/Zend/zend_modules.h|sed 's/#define ZEND_MODULE_API_NO//'
+ ZEND_EXTENSION_API_NO=grep '#define ZEND_EXTENSION_API_NO'
$includedir/Zend/zend_extensions.h|sed 's/#define ZEND_EXTENSION_API_NO//'
}
phpize_print_api_numbers()