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