summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2011-03-24 17:31:09 +0000
committerPaolo Bonzini <bonzini@gnu.org>2011-03-24 17:31:09 +0000
commit220ad659c9f33cc0482dcba58a50ad6abf8c534e (patch)
tree0eee48e4311f0edc74615bf65959340a38d0b46c /configure
parent2b5aab9a766789ff08f477d1ff741934f8f0cbf0 (diff)
downloadbinutils-redhat-220ad659c9f33cc0482dcba58a50ad6abf8c534e.tar.gz
2011-03-24 Paolo Bonzini <bonzini@gnu.org>
Sync from GCC: 2011-03-24 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Remove empty cases. * configure: Regenerate. 2011-03-24 Paolo Bonzini <bonzini@gnu.org> * Makefile.def: Add dependency from termcap to gdb. * Makefile.in: Regenerate. 2011-03-24 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Remove all mentions of mh-sysv4 and mh-solaris. * configure: Regenerate. * Makefile.def: Remove all mentions of X11_FLAGS_TO_PASS. * Makefile.tpl: Likewise. * Makefile.in: Regenerate. 2011-03-24 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Remove all mentions of tentative_cc. * configure: Regenerate. 2011-03-16 Jack Howarth <howarth@bromo.med.uc.edu> PR lto/48086 * configure.ac: Re-enable LTO on *-apple-darwin9. * configure: Regenerate. config: 2011-03-24 Paolo Bonzini <bonzini@gnu.org> Sync from GCC: 2011-03-24 Paolo Bonzini <bonzini@gnu.org> * mh-cygwin: Remove obsolete variables and dependencies. 2011-03-24 Paolo Bonzini <bonzini@gnu.org> * mh-sysv4: Remove. * mh-solaris: Remove. 2011-03-24 Paolo Bonzini <bonzini@gnu.org> * mh-sysv4: Remove AR_CFLAGS.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure42
1 files changed, 1 insertions, 41 deletions
diff --git a/configure b/configure
index 53639130a0..e823f9e6bf 100755
--- a/configure
+++ b/configure
@@ -3588,13 +3588,9 @@ case "${noconfigdirs}" in
esac
# Work in distributions that contain no compiler tools, like Autoconf.
-tentative_cc=""
host_makefile_frag=/dev/null
if test -d ${srcdir}/config ; then
case "${host}" in
- i[3456789]86-*-solaris2*)
- host_makefile_frag="config/mh-sysv4"
- ;;
i[3456789]86-*-msdosdjgpp*)
host_makefile_frag="config/mh-djgpp"
;;
@@ -3627,23 +3623,15 @@ fi
*-interix*)
host_makefile_frag="config/mh-interix"
;;
- *-*-solaris2*)
- host_makefile_frag="config/mh-solaris"
- ;;
hppa*-hp-hpux10*)
- tentative_cc="cc -Wp,-H256000"
host_makefile_frag="config/mh-pa-hpux10"
;;
hppa*-hp-hpux*)
- tentative_cc="cc -Wp,-H256000"
host_makefile_frag="config/mh-pa"
;;
hppa*-*)
host_makefile_frag="config/mh-pa"
;;
- *-hp-hpux*)
- tentative_cc="cc -Wp,-H256000"
- ;;
*-*-darwin*)
host_makefile_frag="config/mh-darwin"
;;
@@ -3653,37 +3641,9 @@ fi
rs6000-*-aix*)
host_makefile_frag="config/mh-ppc-aix"
;;
- *-*-lynxos*)
- # /bin/cc is less than useful for our purposes. Always use GCC
- tentative_cc="/bin/gcc"
- ;;
- # This is placed last to prevent interfering with the cases above.
- i[3456789]86-*-*)
- # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
- host_makefile_frag="config/mh-x86omitfp"
- ;;
esac
fi
-# If we aren't going to be using gcc, see if we can extract a definition
-# of CC from the fragment.
-# Actually, use the 'pre-extracted' version above.
-if test -z "${CC}" && test "${build}" = "${host}" ; then
- IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
- found=
- for dir in $PATH; do
- test -z "$dir" && dir=.
- if test -f $dir/gcc; then
- found=yes
- break
- fi
- done
- IFS="$save_ifs"
- if test -z "${found}" && test -n "${tentative_cc}" ; then
- CC=$tentative_cc
- fi
-fi
-
if test "${build}" != "${host}" ; then
AR_FOR_BUILD=${AR_FOR_BUILD-ar}
AS_FOR_BUILD=${AS_FOR_BUILD-as}
@@ -6052,7 +6012,7 @@ if test $target_elf = yes; then :
else
if test x"$default_enable_lto" = x"yes" ; then
case $target in
- *-apple-darwin* | *-cygwin* | *-mingw*) ;;
+ *-apple-darwin9 | *-cygwin* | *-mingw*) ;;
# On other non-ELF platforms, LTO has yet to be validated.
*) enable_lto=no ;;
esac