summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-24 16:58:56 +0000
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-24 16:58:56 +0000
commitb1af75cf61bc2c4806040cc617929ec8e263e3d9 (patch)
treedb3ac46c0e18747814fb1db0f9767e54c6aa19ef /configure
parentd052dbeff3abeb10d94ce419b7868db6ab01e7bf (diff)
downloadgcc-b1af75cf61bc2c4806040cc617929ec8e263e3d9.tar.gz
2011-03-24 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Remove all mentions of tentative_cc. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171415 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure25
1 files changed, 0 insertions, 25 deletions
diff --git a/configure b/configure
index 329efab6ae3..c9e8f0a76ad 100755
--- a/configure
+++ b/configure
@@ -3588,7 +3588,6 @@ 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
@@ -3631,18 +3630,15 @@ fi
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"
@@ -3654,8 +3650,6 @@ fi
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-*-*)
@@ -3665,25 +3659,6 @@ fi
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}