From d22abb5fa9f97574b58d8d3b274a0fd243653965 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Wed, 24 Jul 2024 19:55:19 +0200 Subject: [PATCH] Autotools: Quote PHP_NEW_EXTENSION arguments (#15081) This removes redundant shell double quotes as PHP_NEW_EXTENSION macro already wraps the flags argument in quotes. --- ext/readline/config.m4 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ext/readline/config.m4 b/ext/readline/config.m4 index 629172d531e..d810157a302 100644 --- a/ext/readline/config.m4 +++ b/ext/readline/config.m4 @@ -149,6 +149,10 @@ fi if test "$PHP_READLINE" != "no" || test "$PHP_LIBEDIT" != "no"; then dnl Add -Wno-strict-prototypes as depends on user libs - PHP_NEW_EXTENSION(readline, readline.c readline_cli.c, $ext_shared, cli, "-Wno-strict-prototypes") + PHP_NEW_EXTENSION([readline], + [readline.c readline_cli.c], + [$ext_shared], + [cli], + [-Wno-strict-prototypes]) PHP_SUBST([READLINE_SHARED_LIBADD]) fi