diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2021-11-23 20:08:52 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2021-11-24 15:58:51 -0300 |
commit | ef6df15def7de0d6fe738e66d44ce99abc0d6527 (patch) | |
tree | f3b9f57e32b6d79291c4be0e54ea9b40986c4a23 | |
parent | configure*: Trim trailing spaces on var assignments (diff) | |
download | firejail-ef6df15def7de0d6fe738e66d44ce99abc0d6527.tar.gz firejail-ef6df15def7de0d6fe738e66d44ce99abc0d6527.tar.zst firejail-ef6df15def7de0d6fe738e66d44ce99abc0d6527.zip |
configure*: Fix wrong quote character in AC_MSG_ERROR
Square brackets are used as quotes in autoconf.
From Section 8.1.1, Active Characters of the Autoconf manual[1]:
> To fully understand where proper quotation is important, you first
> need to know what the special characters are in Autoconf: ‘#’
> introduces a comment inside which no macro expansion is performed, ‘,’
> separates arguments, ‘[’ and ‘]’ are the quotes themselves, ‘(’ and
> ‘)’ (which M4 tries to match by pairs), and finally ‘$’ inside a macro
> definition.
[1] https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.70/autoconf.html#Active-Characters
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -3643,7 +3643,7 @@ fi | |||
3643 | 3643 | ||
3644 | 3644 | ||
3645 | if test "x$HAVE_GAWK" != "xyes"; then : | 3645 | if test "x$HAVE_GAWK" != "xyes"; then : |
3646 | as_fn_error $? "\"*** gawk not found ***\"" "$LINENO" 5 | 3646 | as_fn_error $? "*** gawk not found ***" "$LINENO" 5 |
3647 | fi | 3647 | fi |
3648 | 3648 | ||
3649 | fi | 3649 | fi |
diff --git a/configure.ac b/configure.ac index d9d9f08cb..5acc0fe88 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -120,7 +120,7 @@ AS_IF([test "x$enable_man" != "xno"], [ | |||
120 | HAVE_MAN="-DHAVE_MAN" | 120 | HAVE_MAN="-DHAVE_MAN" |
121 | AC_SUBST(HAVE_MAN) | 121 | AC_SUBST(HAVE_MAN) |
122 | AC_CHECK_PROG([HAVE_GAWK], [gawk], [yes], [no]) | 122 | AC_CHECK_PROG([HAVE_GAWK], [gawk], [yes], [no]) |
123 | AS_IF([test "x$HAVE_GAWK" != "xyes"], [AC_MSG_ERROR("*** gawk not found ***")]) | 123 | AS_IF([test "x$HAVE_GAWK" != "xyes"], [AC_MSG_ERROR([*** gawk not found ***])]) |
124 | ]) | 124 | ]) |
125 | 125 | ||
126 | HAVE_FIRETUNNEL="" | 126 | HAVE_FIRETUNNEL="" |