From b5b3243792fdfec3e6fabf08bc79f30bc3145742 Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Tue, 18 Oct 2022 17:48:24 +0200 Subject: configure.ac: avoid unportable test(1) operator "==" is only supported by bash, POSIX mandates "=" Signed-off-by: Thomas Klausner --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5dc2561..186a457 100644 --- a/configure.ac +++ b/configure.ac @@ -510,7 +510,7 @@ case $host_os in # binaries aren't flagged as only able to run on MMX/SSE/SSSE3 capable # CPUs since they check at runtime before using those instructions. # Not all linkers grok the mapfile format so we check for that first. - if test "$host_cpu" == "i386" -o "$host_cpu" == "x86_64"; then + if test "$host_cpu" = "i386" -o "$host_cpu" = "x86_64"; then use_hwcap_mapfile=no AC_MSG_CHECKING(whether to use a hardware capability map file) hwcap_save_LDFLAGS="$LDFLAGS" -- cgit v1.2.1