aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/configure
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2024-06-11 23:34:54 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-06-17 21:15:28 +0200
commit98ffc1bfeb04fb04b7f18f1cbfccf1e43d6a867f (patch)
tree9b78b87ea3803c252e6af7173b9633bcd3b08ba2 /sysdeps/x86_64/configure
parent7ec903e028271d029818378fd60ddaf6b76b89ac (diff)
downloadglibc-98ffc1bfeb04fb04b7f18f1cbfccf1e43d6a867f.zip
glibc-98ffc1bfeb04fb04b7f18f1cbfccf1e43d6a867f.tar.gz
glibc-98ffc1bfeb04fb04b7f18f1cbfccf1e43d6a867f.tar.bz2
Convert to autoconf 2.72 (vanilla release, no distribution patches)
As discussed at the patch review meeting Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> Reviewed-by: Simon Chopin <simon.chopin@canonical.com>
Diffstat (limited to 'sysdeps/x86_64/configure')
-rwxr-xr-xsysdeps/x86_64/configure40
1 files changed, 23 insertions, 17 deletions
diff --git a/sysdeps/x86_64/configure b/sysdeps/x86_64/configure
index 07bdd40..231e6ff 100755
--- a/sysdeps/x86_64/configure
+++ b/sysdeps/x86_64/configure
@@ -6,8 +6,8 @@ printf %s "checking -mprefer-vector-width=128... " >&6; }
if test ${libc_cv_cc_mprefer_vector_width+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- if { ac_try='${CC-cc} -mprefer-vector-width=128 -xc /dev/null -S -o /dev/null'
+else case e in #(
+ e) if { ac_try='${CC-cc} -mprefer-vector-width=128 -xc /dev/null -S -o /dev/null'
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
(eval $ac_try) 2>&5
ac_status=$?
@@ -15,10 +15,12 @@ else $as_nop
test $ac_status = 0; }; }
then :
libc_cv_cc_mprefer_vector_width=yes
-else $as_nop
- libc_cv_cc_mprefer_vector_width=no
+else case e in #(
+ e) libc_cv_cc_mprefer_vector_width=no ;;
+esac
fi
-
+ ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_mprefer_vector_width" >&5
printf "%s\n" "$libc_cv_cc_mprefer_vector_width" >&6; }
@@ -71,8 +73,8 @@ printf %s "checking whether CET can be enabled... " >&6; }
if test ${libc_cv_x86_cet_available+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat > conftest.c <<EOF
+else case e in #(
+ e) cat > conftest.c <<EOF
#if !defined __CET__ || __CET__ != 3
# error CET isn't available.
#endif
@@ -87,7 +89,8 @@ EOF
else
libc_cv_x86_cet_available=no
fi
- rm -rf conftest*
+ rm -rf conftest* ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_x86_cet_available" >&5
printf "%s\n" "$libc_cv_x86_cet_available" >&6; }
@@ -102,8 +105,8 @@ printf %s "checking whether assembler supports CET... " >&6; }
if test ${libc_cv_x86_cet_as+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat > conftest.s <<EOF
+else case e in #(
+ e) cat > conftest.s <<EOF
incsspd %ecx
EOF
if { ac_try='${CC-cc} -c $CFLAGS conftest.s -o conftest.o 1>&5'
@@ -116,7 +119,8 @@ EOF
else
libc_cv_x86_cet_as=no
fi
- rm -rf conftest*
+ rm -rf conftest* ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_x86_cet_as" >&5
printf "%s\n" "$libc_cv_x86_cet_as" >&6; }
@@ -140,8 +144,8 @@ printf %s "checking whether -mamx-tile works properly... " >&6; }
if test ${libc_cv_x86_have_amx_tile+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat > conftest.c <<EOF
+else case e in #(
+ e) cat > conftest.c <<EOF
#include <x86intrin.h>
EOF
libc_cv_x86_have_amx_tile=no
@@ -155,7 +159,8 @@ EOF
libc_cv_x86_have_amx_tile=yes
fi
fi
- rm -rf conftest*
+ rm -rf conftest* ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_x86_have_amx_tile" >&5
printf "%s\n" "$libc_cv_x86_have_amx_tile" >&6; }
@@ -168,8 +173,8 @@ printf %s "checking whether -mapxf is enabled... " >&6; }
if test ${libc_cv_x86_have_apx+y}
then :
printf %s "(cached) " >&6
-else $as_nop
- cat > conftest.c <<EOF
+else case e in #(
+ e) cat > conftest.c <<EOF
#ifndef __APX_F__
# error APX isn't enabled
#endif
@@ -183,7 +188,8 @@ EOF
test $ac_status = 0; }; }; then
libc_cv_x86_have_apx=yes
fi
- rm -rf conftest*
+ rm -rf conftest* ;;
+esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_x86_have_apx" >&5
printf "%s\n" "$libc_cv_x86_have_apx" >&6; }