2002-09-20 Nathanael Nerode <neroden@doctor.moo.mud.org>
* configure.in: Rearrange.
This commit is contained in:
parent
1525d127da
commit
4ca88d4714
|
@ -1,3 +1,7 @@
|
||||||
|
2002-09-20 Nathanael Nerode <neroden@doctor.moo.mud.org>
|
||||||
|
|
||||||
|
* configure.in: Rearrange.
|
||||||
|
|
||||||
2002-09-12 Nick Clifton <nickc@redhat.com>
|
2002-09-12 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* Import these changes from the config master repository:
|
* Import these changes from the config master repository:
|
||||||
|
|
38
configure.in
38
configure.in
|
@ -1127,25 +1127,6 @@ if test -n "${host_makefile_frag}" ; then
|
||||||
host_makefile_frag=mh-frag
|
host_makefile_frag=mh-frag
|
||||||
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
|
|
||||||
|
|
||||||
case "${target}" in
|
case "${target}" in
|
||||||
v810*)
|
v810*)
|
||||||
target_makefile_frag="config/mt-v810"
|
target_makefile_frag="config/mt-v810"
|
||||||
|
@ -1282,6 +1263,25 @@ case "${host}" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
# post-target:
|
# post-target:
|
||||||
|
|
||||||
# Make sure that the compiler is able to generate an executable. If it
|
# Make sure that the compiler is able to generate an executable. If it
|
||||||
|
|
Loading…
Reference in New Issue