Skip to content

Commit dffe25b

Browse files
authored
Autotools: Move AWK finder to PHP_INIT_BUILD_SYSTEM (#15478)
This calls the PHP_PROG_AWK from a single place for php-src build and phpize.
1 parent 4a77ce2 commit dffe25b

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

build/php.m4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ T_MD=$($php_shtool echo -n -e %B)
130130
T_ME=$($php_shtool echo -n -e %b)
131131
> Makefile.objects
132132
> Makefile.fragments
133+
dnl Required programs.
134+
PHP_PROG_AWK
133135
dnl Run at the end of the configuration, before creating the config.status.
134136
AC_CONFIG_COMMANDS_PRE(
135137
[dnl Directory for storing shared objects of extensions.

configure.ac

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ dnl Check for -R, etc. switch.
152152
PHP_RUNPATH_SWITCH
153153

154154
dnl Checks for some support/generator progs.
155-
PHP_PROG_AWK
156155
PHP_PROG_BISON([3.0.0])
157156
PHP_PROG_RE2C([1.0.3], [--no-generation-date])
158157
PHP_PROG_PHP()

scripts/phpize.m4

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,6 @@ AS_VAR_IF([PHP_DEBUG], [yes], [
136136
dnl Always shared.
137137
PHP_BUILD_SHARED
138138

139-
dnl Required programs.
140-
PHP_PROG_AWK
141-
142139
PHP_HELP_SEPARATOR([Extension:])
143140
PHP_CONFIGURE_PART([Configuring extension])
144141

0 commit comments

Comments
 (0)