diff options
Diffstat (limited to 'sysdeps/i386')
-rw-r--r-- | sysdeps/i386/configure | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/sysdeps/i386/configure b/sysdeps/i386/configure index cbb66097bd..f5c3a281ac 100644 --- a/sysdeps/i386/configure +++ b/sysdeps/i386/configure @@ -20,8 +20,8 @@ fi # check for i386, instead we make sure the compiler has support for inlining # the builtin __sync_val_compare_and_swap. If it does then we should have no # problem building for i386. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler support of inlined builtin function __sync_val_compare_and_swap" >&5 -$as_echo_n "checking for compiler support of inlined builtin function __sync_val_compare_and_swap... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler support of inlined builtin function __sync_val_compare_and_swap" >&5 +printf %s "checking for compiler support of inlined builtin function __sync_val_compare_and_swap... " >&6; } libc_compiler_builtin_inlined=no cat > conftest.c <<EOF int _start (void) { int a, b, c; __sync_val_compare_and_swap (&a, b, c); return 0; } @@ -33,7 +33,7 @@ if ! { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp { { 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 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } then libc_compiler_builtin_inlined=yes @@ -47,15 +47,16 @@ else *** Please use host i786, i686, i586, or i486. *** For example: /source/glibc/configure CFLAGS='-O2 -march=i686' ..." "$LINENO" 5 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_compiler_builtin_inlined" >&5 -$as_echo "$libc_compiler_builtin_inlined" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_compiler_builtin_inlined" >&5 +printf "%s\n" "$libc_compiler_builtin_inlined" >&6; } if test "$static_pie" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linker static PIE support" >&5 -$as_echo_n "checking for linker static PIE support... " >&6; } -if ${libc_cv_ld_static_pie+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for linker static PIE support" >&5 +printf %s "checking for linker static PIE support... " >&6; } +if test ${libc_cv_ld_static_pie+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat > conftest.s <<\EOF .text .global _start @@ -68,7 +69,7 @@ EOF { { 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 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then if $READELF -r conftest | grep 'There are no relocations in this file.' > /dev/null; then libc_cv_ld_static_pie=yes @@ -76,14 +77,15 @@ EOF fi rm -f conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_static_pie" >&5 -$as_echo "$libc_cv_ld_static_pie" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_static_pie" >&5 +printf "%s\n" "$libc_cv_ld_static_pie" >&6; } if test "$libc_cv_ld_static_pie" != yes; then as_fn_error $? "linker support for static PIE needed" "$LINENO" 5 fi fi if test x"$multi_arch" != xno; then - $as_echo "#define NO_HIDDEN_EXTERN_FUNC_IN_PIE 1" >>confdefs.h + printf "%s\n" "#define NO_HIDDEN_EXTERN_FUNC_IN_PIE 1" >>confdefs.h fi + |