aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2002-06-19 23:47:55 +0000
committerDJ Delorie <dj@redhat.com>2002-06-19 23:47:55 +0000
commit18c85e1ad301526a0eb901055e2ca61571973894 (patch)
tree5c93c54b6521e3432ac9c69e4f1f20e3fd2e7914 /configure.in
parent79188d5fa9d36bbca7d8f2d0a28d3bbb103668c0 (diff)
downloadnewlib-18c85e1ad301526a0eb901055e2ca61571973894.zip
newlib-18c85e1ad301526a0eb901055e2ca61571973894.tar.gz
newlib-18c85e1ad301526a0eb901055e2ca61571973894.tar.bz2
* configure.in: Rearrange a little.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in53
1 files changed, 26 insertions, 27 deletions
diff --git a/configure.in b/configure.in
index e3974bd..334fc70 100644
--- a/configure.in
+++ b/configure.in
@@ -497,33 +497,6 @@ if test x"${with_libs}" != x ; then
done
fi
-# If both --with-headers and --with-libs are specified, default to
-# --without-newlib.
-if test x"${with_headers}" != x && test x"${with_libs}" != x ; then
- if test x"${with_newlib}" = x ; then
- with_newlib=no
- fi
-fi
-
-# Recognize --with-newlib/--without-newlib.
-if test x${with_newlib} = xno ; then
- skipdirs="${skipdirs} target-newlib"
-elif test x${with_newlib} = xyes ; then
- skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
-fi
-
-# Default to using --with-stabs for certain targets.
-if test x${with_stabs} = x ; then
- case "${target}" in
- mips*-*-irix6*)
- ;;
- mips*-*-* | alpha*-*-osf*)
- with_stabs=yes;
- withoptions="${withoptions} --with-stabs"
- ;;
- esac
-fi
-
# Handle ${copy_dirs}
set fnord ${copy_dirs}
shift
@@ -555,6 +528,32 @@ while test $# != 0 ; do
shift; shift
done
+# If both --with-headers and --with-libs are specified, default to
+# --without-newlib.
+if test x"${with_headers}" != x && test x"${with_libs}" != x ; then
+ if test x"${with_newlib}" = x ; then
+ with_newlib=no
+ fi
+fi
+
+# Recognize --with-newlib/--without-newlib.
+case ${with_newlib} in
+ no) skipdirs="${skipdirs} target-newlib" ;;
+ yes) skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
+esac
+
+# Default to using --with-stabs for certain targets.
+if test x${with_stabs} = x ; then
+ case "${target}" in
+ mips*-*-irix6*)
+ ;;
+ mips*-*-* | alpha*-*-osf*)
+ with_stabs=yes;
+ withoptions="${withoptions} --with-stabs"
+ ;;
+ esac
+fi
+
# Configure extra directories which are host specific
case "${host}" in