Skip to content

Commit 2fe9208

Browse files
Brian Evanskrakjoe
authored andcommitted
Use modern autotools name of configure.ac instead of configure.in
configure.ac was introduced in 2001 with automake-1.15 and autoconf-2.50 to replace the file named configure.in. Autotools is preparing to remove configure.in in Automake 2.0. All new software should be using configure.ac. This also fixes Bug #69770 where extensions are creating configure.in Signed-off-by: Brian Evans <[email protected]>
1 parent 68801c9 commit 2fe9208

File tree

17 files changed

+24
-22
lines changed

17 files changed

+24
-22
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ tests/*/*/*.sh
173173

174174
# Extension specifc ignores
175175
ext/*/configure.in
176+
ext/*/configure.ac
176177
ext/*/ltmain.sh
177178
ext/*/libs.mk
178179
ext/*/build
@@ -213,6 +214,7 @@ ext/mssql/Makefile.global
213214
ext/mssql/acinclude.m4
214215
ext/mssql/config.sub
215216
ext/mssql/configure.in
217+
ext/mssql/configure.ac
216218
ext/mssql/ltmain.sh
217219
ext/mysql/weztest.sqlite
218220
ext/oci8/tests/*.tmp

README.RELEASE_PROCESS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ credits files in ext/standard.
6565

6666
4. Checkout the release branch for this release (e.g., PHP-5.4.2) from the main branch.
6767

68-
5. Bump the version numbers in ``main/php_version.h``, ``configure.in`` and possibly ``NEWS``.
68+
5. Bump the version numbers in ``main/php_version.h``, ``configure.ac`` and possibly ``NEWS``.
6969
Do not use abbreviations for alpha and beta. Do not use dashes, you should
7070
``#define PHP_VERSION "5.4.22RC1"`` and not ``#define PHP_VERSION "5.4.22-RC1"``
7171

@@ -79,7 +79,7 @@ Do not use abbreviations for alpha and beta. Do not use dashes, you should
7979
9. Tag the repository release branch with the version, e.g.:
8080
``git tag -u YOURKEYID php-5.4.2RC2``
8181

82-
10. Bump the version numbers in ``main/php_version.h``, ``configure.in`` and ``NEWS``
82+
10. Bump the version numbers in ``main/php_version.h``, ``configure.ac`` and ``NEWS``
8383
in the *main* branch (PHP-5.4 for example) to prepare for the **next** version.
8484
F.e. if the RC is "5.4.1RC1" then the new one should be "5.4.2-dev" - regardless if we get
8585
a new RC or not. This is to make sure ``version_compare()`` can correctly work.
@@ -152,7 +152,7 @@ Rolling a stable release
152152
------------------------
153153

154154
1. Checkout your release branch, you should have created when releasing previous RC
155-
and bump the version numbers in ``main/php_version.h``, ``configure.in`` and possibly ``NEWS``.
155+
and bump the version numbers in ``main/php_version.h``, ``configure.ac`` and possibly ``NEWS``.
156156

157157
2. If a CVE commit needs to be merged to the release, then have it committed to
158158
the base branches and merged upwards as usual (f.e commit the CVE fix to 5.3,

TSRM/build.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ $(LT_TARGETS):
3030
$(makefile_in_files): $(makefile_am_files)
3131
automake -a -i $(AMFLAGS) $(makefile_files)
3232

33-
aclocal.m4: configure.in acinclude.m4
33+
aclocal.m4: configure.ac acinclude.m4
3434
aclocal
3535

36-
$(config_h_in): configure.in
36+
$(config_h_in): configure.ac
3737
# explicitly remove target since autoheader does not seem to work
3838
# correctly otherwise (timestamps are not updated)
3939
@rm -f $@
4040
autoheader
4141

42-
configure: aclocal.m4 configure.in
42+
configure: aclocal.m4 configure.ac
4343
autoconf

TSRM/configure.in renamed to TSRM/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dnl $Id$
22
dnl
3-
dnl Minimalistic configure.in for TSRM.
3+
dnl Minimalistic configure.ac for TSRM.
44
dnl
55

66
AC_INIT(TSRM.c)

Zend/build.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ $(LT_TARGETS):
3030
$(makefile_in_files): $(makefile_am_files)
3131
automake -a -i $(AMFLAGS) $(makefile_files)
3232

33-
aclocal.m4: configure.in acinclude.m4
33+
aclocal.m4: configure.ac acinclude.m4
3434
aclocal
3535

36-
$(config_h_in): configure.in
36+
$(config_h_in): configure.ac
3737
# explicitly remove target since autoheader does not seem to work
3838
# correctly otherwise (timestamps are not updated)
3939
@rm -f $@
4040
autoheader
4141

42-
configure: aclocal.m4 configure.in
42+
configure: aclocal.m4 configure.ac
4343
autoconf
File renamed without changes.

build/build2.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ $(config_h_in): configure
4444
$(TOUCH_FILES):
4545
touch $(TOUCH_FILES)
4646

47-
aclocal.m4: configure.in acinclude.m4
47+
aclocal.m4: configure.ac acinclude.m4
4848
@echo rebuilding $@
4949
cat acinclude.m4 ./build/libtool.m4 > $@
5050

51-
configure: aclocal.m4 configure.in $(config_m4_files)
51+
configure: aclocal.m4 configure.ac $(config_m4_files)
5252
@echo rebuilding $@
5353
@rm -f $@
5454
$(PHP_AUTOCONF) -f $(SUPPRESS_WARNINGS)

buildconf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
# $Id$
33

4-
eval `grep '^PHP_EXTRA_VERSION=' configure.in`
4+
eval `grep '^PHP_EXTRA_VERSION=' configure.ac`
55
case "$PHP_EXTRA_VERSION" in
66
*-dev)
77
dev=1

configure.in renamed to configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ dnl Setting up the PHP version based on the information above.
126126
dnl -------------------------------------------------------------------------
127127

128128
echo "/* automatically generated by configure */" > php_version.h.new
129-
echo "/* edit configure.in to change version number */" >> php_version.h.new
129+
echo "/* edit configure.ac to change version number */" >> php_version.h.new
130130
echo "#define PHP_MAJOR_VERSION $PHP_MAJOR_VERSION" >> php_version.h.new
131131
echo "#define PHP_MINOR_VERSION $PHP_MINOR_VERSION" >> php_version.h.new
132132
echo "#define PHP_RELEASE_VERSION $PHP_RELEASE_VERSION" >> php_version.h.new
File renamed without changes.

0 commit comments

Comments
 (0)