diff options
author | foobar <sniper@php.net> | 2005-06-15 17:13:39 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-06-15 17:13:39 +0000 |
commit | 8d2afe0e5740f937e032236b5113d59a4f160d6f (patch) | |
tree | 4f16fc90ea5d2e553c5d6e587b0c090f6d3e99fe /scripts | |
parent | eb8b4fd4a18bdd513851f2d9514521906aededcc (diff) | |
download | php-git-8d2afe0e5740f937e032236b5113d59a4f160d6f.tar.gz |
- This does not have to be egrep here
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/phpize.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/phpize.in b/scripts/phpize.in index 6db04eeb01..64399997ee 100644 --- a/scripts/phpize.in +++ b/scripts/phpize.in @@ -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_check_configm4() 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() |