From 2b7ce8e335efbb183edf2492b45fd97b91017e5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20Hoffst=C3=A4tte?= Date: Sat, 17 Sep 2022 19:26:25 +0200 Subject: [PATCH] Fix configure bashisms MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When run with dash as /bin/sh the configure script complains twice about 'unexpected operator', which is due to a use of unportable, bash-specific comparisons. Signed-off-by: Holger Hoffstätte --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index ffe2e5f..ebf89a6 100644 --- a/configure.ac +++ b/configure.ac @@ -45,9 +45,9 @@ AC_PROG_CXX AC_PROG_CC AC_PROG_MAKE_SET AC_PROG_YACC -AS_IF([test x"$YACC" == x"yacc"], [AC_MSG_ERROR([Please install bison or byacc before configuring.])]) +AS_IF([test x"$YACC" = x"yacc"], [AC_MSG_ERROR([Please install bison or byacc before configuring.])]) AC_PROG_LEX(noyywrap) -AS_IF([test x"$LEX" == x":"], [AC_MSG_ERROR([Please install flex before configuring.])]) +AS_IF([test x"$LEX" = x":"], [AC_MSG_ERROR([Please install flex before configuring.])]) # Checks for header files. AC_CHECK_HEADERS([arpa/inet.h \