mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
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])
This commit is contained in:
@@ -1740,7 +1740,7 @@ AC_DEFUN([PHP_PROG_RE2C],[
|
||||
esac
|
||||
|
||||
PHP_SUBST([RE2C])
|
||||
AS_VAR_SET([RE2C_FLAGS], [m4_normalize([$2])])
|
||||
AS_VAR_SET([RE2C_FLAGS], [m4_normalize(["$2"])])
|
||||
PHP_SUBST([RE2C_FLAGS])
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user