diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2022-12-08 12:35:03 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2022-12-08 12:39:17 +0100 |
commit | 9e46405ca2c7b3d5380dc6ab619666a6d32bbbfb (patch) | |
tree | f95de6b51f8d3451f807048a96b7c72f871576b3 /m4 | |
parent | Merge pull request #12460 from opensourcerouting/msdp-fixes (diff) | |
download | frr-9e46405ca2c7b3d5380dc6ab619666a6d32bbbfb.tar.xz frr-9e46405ca2c7b3d5380dc6ab619666a6d32bbbfb.zip |
build: fix sed regex in Lua macro
Using `\s` to match whitespace is not portable, use `[[:space:]]`
instead.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ax_lua.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ax_lua.m4 b/m4/ax_lua.m4 index dde24eaf8..f4236cf08 100644 --- a/m4/ax_lua.m4 +++ b/m4/ax_lua.m4 @@ -519,7 +519,7 @@ AC_DEFUN([AX_LUA_HEADERS], [ ax_cv_lua_header_version=`echo LUA_VERSION | \ $CC -P -E $LUA_INCLUDE -imacros lua.h - | \ - $SED -e 's%"\s*"%%g' -e 's%^\s*%%' | \ + $SED -e 's%"@<:@@<:@:space:@:>@@:>@*"%%g' -e 's%^@<:@@<:@:space:@:>@@:>@*%%' | \ tr -d '"\n' | \ $SED -n "s|^Lua \(@<:@0-9@:>@\{1,\}\.@<:@0-9@:>@\{1,\}\).\{0,\}|\1|p"` ]) |