Skip to content

Commit 36f6a20

Browse files
committed
Autotools: Quote AC_CHECK_PROG* macro arguments
[skip ci]
1 parent 04a67cd commit 36f6a20

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build/php.m4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1615,7 +1615,7 @@ dnl
16151615
dnl Some vendors force mawk before gawk; mawk is broken so we don't like that.
16161616
dnl
16171617
AC_DEFUN([PHP_PROG_AWK], [
1618-
AC_CHECK_PROGS(AWK, gawk nawk awk mawk, bork, /usr/xpg4/bin/:$PATH)
1618+
AC_CHECK_PROGS([AWK], [gawk nawk awk mawk], [bork], [/usr/xpg4/bin/:$PATH])
16191619
case "$AWK" in
16201620
*mawk)
16211621
AC_MSG_WARN([mawk is known to have problems on some systems. You should install GNU awk])
@@ -1646,7 +1646,7 @@ dnl required version MIN-VERSION and doesn't match any of the blank separated
16461646
dnl list of excluded versions EXCLUDED-VERSION (for example "3.0 3.2").
16471647
dnl
16481648
AC_DEFUN([PHP_PROG_BISON], [
1649-
AC_CHECK_PROG(YACC, bison, bison)
1649+
AC_CHECK_PROG([YACC], [bison], [bison])
16501650
16511651
ifelse($1,,php_bison_required_version='',php_bison_required_version="$1")
16521652
ifelse($2,,php_bison_excluded_versions='none',php_bison_excluded_versions="$2")
@@ -1716,7 +1716,7 @@ dnl the re2c command-line flags substituted into a Makefile variable RE2C_FLAGS
17161716
dnl which can be added to all re2c invocations.
17171717
dnl
17181718
AC_DEFUN([PHP_PROG_RE2C],[
1719-
AC_CHECK_PROG(RE2C, re2c, re2c)
1719+
AC_CHECK_PROG([RE2C], [re2c], [re2c])
17201720
17211721
ifelse($1,,php_re2c_required_version='',php_re2c_required_version="$1")
17221722
@@ -1770,7 +1770,7 @@ AC_DEFUN([PHP_PROG_RE2C],[
17701770
])
17711771

17721772
AC_DEFUN([PHP_PROG_PHP],[
1773-
AC_CHECK_PROG(PHP, php, php)
1773+
AC_CHECK_PROG([PHP], [php], [php])
17741774
17751775
if test -n "$PHP"; then
17761776
AC_MSG_CHECKING([for php version])

0 commit comments

Comments
 (0)