1
0
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:
Peter Kokot
2024-07-14 20:38:57 +02:00
committed by GitHub
parent 20d8151b35
commit 47d3ce4545

View File

@@ -1740,7 +1740,7 @@ AC_DEFUN([PHP_PROG_RE2C],[
esac esac
PHP_SUBST([RE2C]) PHP_SUBST([RE2C])
AS_VAR_SET([RE2C_FLAGS], [m4_normalize([$2])]) AS_VAR_SET([RE2C_FLAGS], [m4_normalize(["$2"])])
PHP_SUBST([RE2C_FLAGS]) PHP_SUBST([RE2C_FLAGS])
]) ])