aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in18
1 files changed, 9 insertions, 9 deletions
diff --git a/configure.in b/configure.in
index 69dc40fae9..3af6d1c09f 100644
--- a/configure.in
+++ b/configure.in
@@ -281,6 +281,13 @@ if test "$machine" = rs6000; then
machine="powerpc"
fi
+# Braindead PowerPC box with absolutely no FPU.
+case "$machine-$host_os" in
+ powerpc*-*soft)
+ with_fp=no
+ ;;
+esac
+
###
### I put this here to prevent those annoying emails from people who cannot
### read and try to compile glibc on unsupported platforms. --drepper
@@ -305,15 +312,6 @@ if test -z "$enable_hacker_mode"; then
esac
fi
-# Brain dead PowerPC box with absolutely no FPU.
-case "$machine-$host_os" in
- powerpc*-*soft)
- with_fp=no
- completely_soft=yes
- AC_SUBST(completely_soft)
- ;;
-esac
-
dnl We need to use [ and ] for other purposes for a while now.
changequote(,)dnl
# Expand the configuration machine name into a subdirectory by architecture
@@ -428,6 +426,8 @@ while m=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
# Prepend the machine's FPU directory unless --without-fp.
if test "$with_fp" = yes; then
mach="$mach /$1/fpu"
+ else
+ mach="$mach /$1/nofpu"
fi
mach="$mach /$1"
tail="$2"