]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
configure.ac: fix bashisms in SFrame checks
authorSam James <sam@gentoo.org>
Mon, 28 Jul 2025 13:00:52 +0000 (14:00 +0100)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Mon, 28 Jul 2025 13:52:11 +0000 (15:52 +0200)
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
configure
configure.ac

index e8de94464c6f3013c9395e03a376be30a22e80e8..180e49d95bea828f41ee1b3af3d12fbdce06c0df 100755 (executable)
--- a/configure
+++ b/configure
@@ -9439,7 +9439,7 @@ if test $ac_verc_fail = yes; then
   libc_cv_sframe_readelf_version=no
 fi
 
-  if test $libc_cv_sframe_readelf_version == no; then
+  if test $libc_cv_sframe_readelf_version = no; then
     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
 as_fn_error $? "binutils too old to enable SFrame
@@ -9472,7 +9472,7 @@ fi
 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_default_sframe" >&5
 printf "%s\n" "$libc_cv_default_sframe" >&6; }
 
-  if test $libc_cv_default_sframe == no; then
+  if test $libc_cv_default_sframe = no; then
     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
 as_fn_error $? "toolchain doesn't support SFrame v2 or higher
index fc01d054ba91ed8e54f33f2433299f5c0ceb368c..4480ae83bb31a59b1d910e3ebc750512c4219b17 100644 (file)
@@ -2134,7 +2134,7 @@ if test $use_sframe = yes; then
     [GNU readelf.* \([0-9][0-9]*\.[0-9.]*\)],
     [2.4[5-9]*|2.[5-9][0-9]*|2.[1-9][0-9][0-9]*|[3-9]*|[1-9][0-9]*],
     libc_cv_sframe_readelf_version=no)
-  if test $libc_cv_sframe_readelf_version == no; then
+  if test $libc_cv_sframe_readelf_version = no; then
     AC_MSG_FAILURE([binutils too old to enable SFrame])
   fi
 
@@ -2156,7 +2156,7 @@ EOF
     rm -f conftest.c conftest.o
   ])
 
-  if test $libc_cv_default_sframe == no; then
+  if test $libc_cv_default_sframe = no; then
     AC_MSG_FAILURE([toolchain doesn't support SFrame v2 or higher])
   fi