File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,8 @@ phpize_check_configm4()
5959phpize_get_api_numbers ()
6060{
6161 # extracting API NOs:
62+ PHP_MINOR_VERSION=` grep ' #define PHP_MINOR_VERSION' $includedir /main/php_version.h| $SED ' s/#define PHP_MINOR_VERSION //' `
63+ PHP_MAJOR_VERSION=` grep ' #define PHP_MAJOR_VERSION' $includedir /main/php_version.h| $SED ' s/#define PHP_MAJOR_VERSION//' `
6264 PHP_API_VERSION=` grep ' #define PHP_API_VERSION' $includedir /main/php.h| $SED ' s/#define PHP_API_VERSION//' `
6365 ZEND_MODULE_API_NO=` grep ' #define ZEND_MODULE_API_NO' $includedir /Zend/zend_modules.h| $SED ' s/#define ZEND_MODULE_API_NO//' `
6466 ZEND_EXTENSION_API_NO=` grep ' #define ZEND_EXTENSION_API_NO' $includedir /Zend/zend_extensions.h| $SED ' s/#define ZEND_EXTENSION_API_NO//' `
@@ -68,6 +70,7 @@ phpize_print_api_numbers()
6870{
6971 phpize_get_api_numbers
7072 echo " Configuring for:"
73+ echo " PHP Version: ${PHP_MAJOR_VERSION} .${PHP_MINOR_VERSION} "
7174 echo " PHP Api Version: " $PHP_API_VERSION
7275 echo " Zend Module Api No: " $ZEND_MODULE_API_NO
7376 echo " Zend Extension Api No: " $ZEND_EXTENSION_API_NO
You can’t perform that action at this time.
0 commit comments