Skip to content

Commit 507ff9e

Browse files
petkDavid Ellingsworth
authored and
David Ellingsworth
committed
Autotools: Quote PHP_NEW_EXTENSION arguments (php#15081)
This removes redundant shell double quotes as PHP_NEW_EXTENSION macro already wraps the flags argument in quotes.
1 parent d09b56a commit 507ff9e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ext/readline/config.m4

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ fi
149149

150150
if test "$PHP_READLINE" != "no" || test "$PHP_LIBEDIT" != "no"; then
151151
dnl Add -Wno-strict-prototypes as depends on user libs
152-
PHP_NEW_EXTENSION(readline, readline.c readline_cli.c, $ext_shared, cli, "-Wno-strict-prototypes")
152+
PHP_NEW_EXTENSION([readline],
153+
[readline.c readline_cli.c],
154+
[$ext_shared],
155+
[cli],
156+
[-Wno-strict-prototypes])
153157
PHP_SUBST([READLINE_SHARED_LIBADD])
154158
fi

0 commit comments

Comments
 (0)