aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-07-28 14:00:52 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2025-07-28 15:52:11 +0200
commitc4ff6e666b3d1b56456b3d7ad9cb787ad1264983 (patch)
treeaa2cab4022207b4a64784d4c215b23ed738e34ae
parent0def17238661b47fd8557aafaa1bb4805e6b28e8 (diff)
downloadglibc-c4ff6e666b3d1b56456b3d7ad9cb787ad1264983.zip
glibc-c4ff6e666b3d1b56456b3d7ad9cb787ad1264983.tar.gz
glibc-c4ff6e666b3d1b56456b3d7ad9cb787ad1264983.tar.bz2
configure.ac: fix bashisms in SFrame checks
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
-rwxr-xr-xconfigure4
-rw-r--r--configure.ac4
2 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index e8de944..180e49d 100755
--- 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
diff --git a/configure.ac b/configure.ac
index fc01d05..4480ae8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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