From ef6df15def7de0d6fe738e66d44ce99abc0d6527 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Tue, 23 Nov 2021 20:08:52 -0300 Subject: [PATCH] configure*: Fix wrong quote character in AC_MSG_ERROR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index a430d2629bd..ba553102dd5 100755 --- a/configure +++ b/configure @@ -3643,7 +3643,7 @@ fi if test "x$HAVE_GAWK" != "xyes"; then : - as_fn_error $? "\"*** gawk not found ***\"" "$LINENO" 5 + as_fn_error $? "*** gawk not found ***" "$LINENO" 5 fi fi diff --git a/configure.ac b/configure.ac index d9d9f08cbc3..5acc0fe882d 100644 --- a/configure.ac +++ b/configure.ac @@ -120,7 +120,7 @@ AS_IF([test "x$enable_man" != "xno"], [ HAVE_MAN="-DHAVE_MAN" AC_SUBST(HAVE_MAN) AC_CHECK_PROG([HAVE_GAWK], [gawk], [yes], [no]) - AS_IF([test "x$HAVE_GAWK" != "xyes"], [AC_MSG_ERROR("*** gawk not found ***")]) + AS_IF([test "x$HAVE_GAWK" != "xyes"], [AC_MSG_ERROR([*** gawk not found ***])]) ]) HAVE_FIRETUNNEL=""