From 824c857797060c234f896f3d571e54781a75d3ec Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Tue, 23 Jul 2024 23:56:15 +0200 Subject: [PATCH] Autotools: Quote PHP_NEW_EXTENSION arguments 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 629172d531ee0..d810157a302f7 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