about summary refs log tree commit diff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64')
-rwxr-xr-xsysdeps/x86_64/configure23
-rw-r--r--sysdeps/x86_64/preconfigure25
2 files changed, 27 insertions, 21 deletions
diff --git a/sysdeps/x86_64/configure b/sysdeps/x86_64/configure
index 44b6055e55..e307467afa 100755
--- a/sysdeps/x86_64/configure
+++ b/sysdeps/x86_64/configure
@@ -1,25 +1,27 @@
 # This file is generated from configure.ac by Autoconf.  DO NOT EDIT!
  # Local configure fragment for sysdeps/x86_64.
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking -mprefer-vector-width=128" >&5
-$as_echo_n "checking -mprefer-vector-width=128... " >&6; }
-if ${libc_cv_cc_mprefer_vector_width+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking -mprefer-vector-width=128" >&5
+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'
   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
   (eval $ac_try) 2>&5
   ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; }; then :
+  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; }
+then :
   libc_cv_cc_mprefer_vector_width=yes
-else
+else $as_nop
   libc_cv_cc_mprefer_vector_width=no
 fi
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_mprefer_vector_width" >&5
-$as_echo "$libc_cv_cc_mprefer_vector_width" >&6; }
+{ 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; }
 config_vars="$config_vars
 config-cflags-mprefer-vector-width = $libc_cv_cc_mprefer_vector_width"
 
@@ -29,3 +31,4 @@ fi
 
 test -n "$critic_missing" && as_fn_error $? "
 *** $critic_missing" "$LINENO" 5
+
diff --git a/sysdeps/x86_64/preconfigure b/sysdeps/x86_64/preconfigure
index c8f1e0e132..24996ba278 100644
--- a/sysdeps/x86_64/preconfigure
+++ b/sysdeps/x86_64/preconfigure
@@ -6,33 +6,35 @@ x86_64)
   base_machine=x86_64
   # Check if we are building for x32.
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC compiles in -mx32 mode by default" >&5
-$as_echo_n "checking whether $CC compiles in -mx32 mode by default... " >&6; }
-if ${libc_cv_x32+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC compiles in -mx32 mode by default" >&5
+printf %s "checking whether $CC compiles in -mx32 mode by default... " >&6; }
+if test ${libc_cv_x32+y}
+then :
+  printf %s "(cached) " >&6
+else $as_nop
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #ifndef __ILP32__
 # error not x32
 #endif
 int
-main ()
+main (void)
 {
 
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+if ac_fn_c_try_compile "$LINENO"
+then :
   libc_cv_x32=yes
-else
+else $as_nop
   libc_cv_x32=no
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_x32" >&5
-$as_echo "$libc_cv_x32" >&6; }
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_x32" >&5
+printf "%s\n" "$libc_cv_x32" >&6; }
   if test $libc_cv_x32 = yes; then
     machine=x86_64/x32
   else
@@ -40,3 +42,4 @@ $as_echo "$libc_cv_x32" >&6; }
   fi
   ;;
 esac
+