aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-01-30 22:41:14 +0000
committerRoland McGrath <roland@gnu.org>2006-01-30 22:41:14 +0000
commit18e2ac6dbbba2c85bfd7f841b6de586b51769a16 (patch)
tree59231b9ea56f913b800868482b1d537f6e2aeacc /configure
parent0ee38163e8824423f0b059d4675745223e91423b (diff)
downloadglibc-18e2ac6dbbba2c85bfd7f841b6de586b51769a16.tar
glibc-18e2ac6dbbba2c85bfd7f841b6de586b51769a16.tar.gz
glibc-18e2ac6dbbba2c85bfd7f841b6de586b51769a16.tar.bz2
glibc-18e2ac6dbbba2c85bfd7f841b6de586b51769a16.zip
2006-01-30 Alexandre Oliva <aoliva@redhat.com>
Roland McGrath <roland@redhat.com> * configure.in (fno_unit_at_a_time): Set to -fno-toplevel-reorder if the compiler supports it. Otherwise use -fno-unit-at-a-time unconditionally. * configure: Regenerated.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 11 insertions, 9 deletions
diff --git a/configure b/configure
index 448ef5b4f0..b1724255c9 100755
--- a/configure
+++ b/configure
@@ -5800,15 +5800,15 @@ echo "${ECHO_T}$libc_cv_fpie" >&6
fi
-echo "$as_me:$LINENO: checking for -fno-unit-at-a-time" >&5
-echo $ECHO_N "checking for -fno-unit-at-a-time... $ECHO_C" >&6
-if test "${libc_cv_fno_unit_at_a_time+set}" = set; then
+echo "$as_me:$LINENO: checking for -fno-toplevel-reorder" >&5
+echo $ECHO_N "checking for -fno-toplevel-reorder... $ECHO_C" >&6
+if test "${libc_cv_fno_toplevel_reorder+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat > conftest.c <<EOF
int foo;
EOF
-if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-unit-at-a-time
+if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder
conftest.c 1>&5'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
@@ -5816,15 +5816,17 @@ if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS -S -fno-unit-at-a-time
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }
then
- libc_cv_fno_unit_at_a_time=yes
+ libc_cv_fno_toplevel_reorder=yes
else
- libc_cv_fno_unit_at_a_time=no
+ libc_cv_fno_toplevel_reorder=no
fi
rm -f conftest*
fi
-echo "$as_me:$LINENO: result: $libc_cv_fno_unit_at_a_time" >&5
-echo "${ECHO_T}$libc_cv_fno_unit_at_a_time" >&6
-if test $libc_cv_fno_unit_at_a_time = yes; then
+echo "$as_me:$LINENO: result: $libc_cv_fno_toplevel_reorder" >&5
+echo "${ECHO_T}$libc_cv_fno_toplevel_reorder" >&6
+if test $libc_cv_fno_toplevel_reorder = yes; then
+ fno_unit_at_a_time=-fno-toplevel-reorder
+else
fno_unit_at_a_time=-fno-unit-at-a-time
fi