mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
MFH: - Added PHP_VERSION_ID == PHP_VERSION as integer.
This commit is contained in:
parent
ee97ffd887
commit
7625313f9c
4 changed files with 13 additions and 3 deletions
|
@ -43,6 +43,10 @@ Full path to php CLI/CGI binary
|
|||
.B \-\-version
|
||||
PHP version
|
||||
.TP
|
||||
.PD 0
|
||||
.B \-\-vernum
|
||||
PHP version as integer
|
||||
.TP
|
||||
.PD 1
|
||||
.P
|
||||
.SH SEE ALSO
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
prefix="@prefix@"
|
||||
exec_prefix="@exec_prefix@"
|
||||
version="@PHP_VERSION@"
|
||||
version_id="@PHP_VERSION_ID@"
|
||||
includedir="@includedir@/php"
|
||||
includes="-I$includedir -I$includedir/main -I$includedir/TSRM -I$includedir/Zend -I$includedir/ext -I$includedir/ext/date/lib"
|
||||
ldflags="@PHP_LDFLAGS@"
|
||||
|
@ -30,8 +31,10 @@ case "$1" in
|
|||
echo $php_binary;;
|
||||
--version)
|
||||
echo $version;;
|
||||
--vernum)
|
||||
echo $version_id;;
|
||||
*)
|
||||
echo "Usage: $0 [--prefix|--includes|--ldflags|--libs|--extension-dir|--include-dir|--php-binary|--version]"
|
||||
echo "Usage: $0 [--prefix|--includes|--ldflags|--libs|--extension-dir|--include-dir|--php-binary|--version|--vernum]"
|
||||
exit 1;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue