Skip to content

Commit 47d3ce4

Browse files
authored
Autotools: Quote RE2C_FLAGS argument (#14950)
This enables and simplifies adding blank-or-newline-separated global re2c flags to the PHP_PROG_RE2C macro possibly at some point. Fixed just in case, so this works normally: PHP_PROG_RE2C([1.0.3], [--no-generation-date -W -foo])
1 parent 20d8151 commit 47d3ce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/php.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1740,7 +1740,7 @@ AC_DEFUN([PHP_PROG_RE2C],[
17401740
esac
17411741
17421742
PHP_SUBST([RE2C])
1743-
AS_VAR_SET([RE2C_FLAGS], [m4_normalize([$2])])
1743+
AS_VAR_SET([RE2C_FLAGS], [m4_normalize(["$2"])])
17441744
PHP_SUBST([RE2C_FLAGS])
17451745
])
17461746

0 commit comments

Comments
 (0)