Skip to content

Commit c952ef2

Browse files
committed
Add few more tweaks
- use canonical PHP homepage (https://www.php.net) - use one variable less
1 parent d16913f commit c952ef2

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

configure.ac

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dnl Basic autoconf initialization, generation of config.nice.
88
dnl -------------------------------------------------------------------------
99

1010
AC_PREREQ([2.68])
11-
AC_INIT([PHP], [7.4.0-dev], [https://bugs.php.net], [php], [https://php.net])
11+
AC_INIT([PHP], [7.4.0-dev], [https://bugs.php.net], [php], [https://www.php.net])
1212
AC_CONFIG_SRCDIR([main/php_version.h])
1313
AC_CONFIG_AUX_DIR([build])
1414
AC_PRESERVE_HELP_ORDER
@@ -100,15 +100,14 @@ extern "C++" {
100100
#endif /* PHP_CONFIG_H */
101101
])
102102

103-
PHP_VERSION=AC_PACKAGE_VERSION
104-
php_tmp_version=$(echo $PHP_VERSION | $SED 's/\([[0-9\.]]*\)\(.*\)/\1\.\2/')
105103
ac_IFS=$IFS; IFS="."
106-
set $php_tmp_version
104+
set $(echo AC_PACKAGE_VERSION | $SED 's/\([[0-9\.]]*\)\(.*\)/\1\.\2/')
107105
IFS=$ac_IFS
108106
PHP_MAJOR_VERSION=[$]1
109107
PHP_MINOR_VERSION=[$]2
110108
PHP_RELEASE_VERSION=[$]3
111109
PHP_EXTRA_VERSION=[$]4
110+
PHP_VERSION="$PHP_MAJOR_VERSION.$PHP_MINOR_VERSION.$PHP_RELEASE_VERSION$PHP_EXTRA_VERSION"
112111
PHP_VERSION_ID=`expr [$]PHP_MAJOR_VERSION \* 10000 + [$]PHP_MINOR_VERSION \* 100 + [$]PHP_RELEASE_VERSION`
113112

114113
dnl Allow version values to be used in Makefile

scripts/phpize.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dnl This file becomes configure.ac for self-contained extensions.
22

33
AC_PREREQ([2.68])
4-
AC_INIT([PHP], [7.4.0-dev], [https://bugs.php.net], [php], [https://php.net])
4+
AC_INIT([PHP], [7.4.0-dev], [https://bugs.php.net], [php], [https://www.php.net])
55
AC_CONFIG_SRCDIR([config.m4])
66
AC_CONFIG_AUX_DIR([build])
77
AC_PRESERVE_HELP_ORDER

0 commit comments

Comments
 (0)