configure.ac: Remove all mentions of tentative_cc.

2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

	* configure.ac: Remove all mentions of tentative_cc.
	* configure: Regenerate.

From-SVN: r171415
This commit is contained in:
Paolo Bonzini 2011-03-24 16:58:56 +00:00 committed by Paolo Bonzini
parent 6db794ec5b
commit 43ecab845c
3 changed files with 5 additions and 50 deletions

View File

@ -1,3 +1,8 @@
2011-03-24 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Remove all mentions of tentative_cc.
* configure: Regenerate.
2011-03-24 Joseph Myers <joseph@codesourcery.com> 2011-03-24 Joseph Myers <joseph@codesourcery.com>
* configure.ac (i[[3456789]]86-*-vsta, i[[3456789]]86-*-go32*, * configure.ac (i[[3456789]]86-*-vsta, i[[3456789]]86-*-go32*,

25
configure vendored
View File

@ -3588,7 +3588,6 @@ case "${noconfigdirs}" in
esac esac
# Work in distributions that contain no compiler tools, like Autoconf. # Work in distributions that contain no compiler tools, like Autoconf.
tentative_cc=""
host_makefile_frag=/dev/null host_makefile_frag=/dev/null
if test -d ${srcdir}/config ; then if test -d ${srcdir}/config ; then
case "${host}" in case "${host}" in
@ -3631,18 +3630,15 @@ fi
host_makefile_frag="config/mh-solaris" host_makefile_frag="config/mh-solaris"
;; ;;
hppa*-hp-hpux10*) hppa*-hp-hpux10*)
tentative_cc="cc -Wp,-H256000"
host_makefile_frag="config/mh-pa-hpux10" host_makefile_frag="config/mh-pa-hpux10"
;; ;;
hppa*-hp-hpux*) hppa*-hp-hpux*)
tentative_cc="cc -Wp,-H256000"
host_makefile_frag="config/mh-pa" host_makefile_frag="config/mh-pa"
;; ;;
hppa*-*) hppa*-*)
host_makefile_frag="config/mh-pa" host_makefile_frag="config/mh-pa"
;; ;;
*-hp-hpux*) *-hp-hpux*)
tentative_cc="cc -Wp,-H256000"
;; ;;
*-*-darwin*) *-*-darwin*)
host_makefile_frag="config/mh-darwin" host_makefile_frag="config/mh-darwin"
@ -3654,8 +3650,6 @@ fi
host_makefile_frag="config/mh-ppc-aix" host_makefile_frag="config/mh-ppc-aix"
;; ;;
*-*-lynxos*) *-*-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. # This is placed last to prevent interfering with the cases above.
i[3456789]86-*-*) i[3456789]86-*-*)
@ -3665,25 +3659,6 @@ fi
esac esac
fi 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 if test "${build}" != "${host}" ; then
AR_FOR_BUILD=${AR_FOR_BUILD-ar} AR_FOR_BUILD=${AR_FOR_BUILD-ar}
AS_FOR_BUILD=${AS_FOR_BUILD-as} AS_FOR_BUILD=${AS_FOR_BUILD-as}

View File

@ -1034,7 +1034,6 @@ case "${noconfigdirs}" in
esac esac
# Work in distributions that contain no compiler tools, like Autoconf. # Work in distributions that contain no compiler tools, like Autoconf.
tentative_cc=""
host_makefile_frag=/dev/null host_makefile_frag=/dev/null
if test -d ${srcdir}/config ; then if test -d ${srcdir}/config ; then
case "${host}" in case "${host}" in
@ -1058,18 +1057,15 @@ case "${host}" in
host_makefile_frag="config/mh-solaris" host_makefile_frag="config/mh-solaris"
;; ;;
hppa*-hp-hpux10*) hppa*-hp-hpux10*)
tentative_cc="cc -Wp,-H256000"
host_makefile_frag="config/mh-pa-hpux10" host_makefile_frag="config/mh-pa-hpux10"
;; ;;
hppa*-hp-hpux*) hppa*-hp-hpux*)
tentative_cc="cc -Wp,-H256000"
host_makefile_frag="config/mh-pa" host_makefile_frag="config/mh-pa"
;; ;;
hppa*-*) hppa*-*)
host_makefile_frag="config/mh-pa" host_makefile_frag="config/mh-pa"
;; ;;
*-hp-hpux*) *-hp-hpux*)
tentative_cc="cc -Wp,-H256000"
;; ;;
*-*-darwin*) *-*-darwin*)
host_makefile_frag="config/mh-darwin" host_makefile_frag="config/mh-darwin"
@ -1081,8 +1077,6 @@ case "${host}" in
host_makefile_frag="config/mh-ppc-aix" host_makefile_frag="config/mh-ppc-aix"
;; ;;
*-*-lynxos*) *-*-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. # This is placed last to prevent interfering with the cases above.
i[[3456789]]86-*-*) i[[3456789]]86-*-*)
@ -1092,25 +1086,6 @@ case "${host}" in
esac esac
fi 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 if test "${build}" != "${host}" ; then
AR_FOR_BUILD=${AR_FOR_BUILD-ar} AR_FOR_BUILD=${AR_FOR_BUILD-ar}
AS_FOR_BUILD=${AS_FOR_BUILD-as} AS_FOR_BUILD=${AS_FOR_BUILD-as}