From ec47add47c3b8b5ff06afc51ebdba80e65c51897 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 24 Jun 2024 01:06:08 +0100 Subject: [PATCH] configure.ac: fix bashisms '==' is a bashism, so use the POSIX '=' instead. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 2fedd873..65ed3c5e 100644 --- a/configure.ac +++ b/configure.ac @@ -747,7 +747,7 @@ if test "$with_readline" != "no" && test "$with_readline" != ""; then RDL_DIR=$with_readline fi - if test "$RDL_DIR" == ""; then + if test "$RDL_DIR" = ""; then PKG_CHECK_MODULES([RDL], [readline], [ WITH_READLINE=1 ], [:]) fi @@ -775,7 +775,7 @@ if test "$with_readline" != "no" && test "$with_readline" != ""; then [Define if readline library is available]) if test "$with_history" = "yes"; then - if test "$RDL_DIR" == ""; then + if test "$RDL_DIR" = ""; then PKG_CHECK_MODULES([HISTORY], [history], [ WITH_HISTORY=1 RDL_CFLAGS="$HISTORY_CFLAGS $RDL_CFLAGS"