summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/ax_lua.m42
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"`
])