From 9a9f7182069b8fe0483383c177882218244bad16 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 18 Nov 2021 02:32:02 -0500 Subject: [PATCH] avoid bashism in test call POSIX test only supports =, not ==. --- autoconf/hercules.m4 | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autoconf/hercules.m4 b/autoconf/hercules.m4 index edd71d634..1f8ba283a 100644 --- a/autoconf/hercules.m4 +++ b/autoconf/hercules.m4 @@ -194,7 +194,7 @@ AC_DEFUN( [HC_GET_C11_LOCK_FREE_VALUE], [ c11_lock_free_name="$1" - if test "x$c11_lock_free_name" == "x"; then + if test "x$c11_lock_free_name" = "x"; then # PROGRAMMING NOTE: note special m4 escape syntax used in the below # message. Without it, our function name is (infinitely and recursively?) # expanded to our actual (as-yet not yet fully defined!) macro VALUE(!), diff --git a/configure.ac b/configure.ac index f12d47058..8dd420af8 100644 --- a/configure.ac +++ b/configure.ac @@ -562,7 +562,7 @@ AC_CHECK_DECLS( SIOCADDRT, [hc_cv_have_siocaddrt=yes], [hc_ AC_CHECK_DECLS( SIOCDELRT, [hc_cv_have_siocdelrt=yes], [hc_cv_have_siocdelrt=no], [#include ] ) AC_CHECK_DECLS( SIOCDIFADDR, [hc_cv_have_siocdifaddr=yes], [hc_cv_have_siocdifaddr=no], [#include ] ) -if test "$hc_cv_have_sys_mtio_h" == "yes"; then +if test "$hc_cv_have_sys_mtio_h" = "yes"; then AC_CHECK_DECLS( MTEWARN, [hc_cv_have_mtewarn=yes], [hc_cv_have_mtewarn=no], [#include ] ) else hc_cv_have_mtewarn=no