aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-05-21 16:57:14 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-05-21 16:57:14 +0000
commitc9ae5a27b3b538b907c4ef4f6fe4190e3ca204c1 (patch)
tree2f30723f0eee34b40b662bd71a594ab5dcee0fb5 /configure
parent6cb613a4287cb3e2feb03999d4090c95034f35d3 (diff)
downloadnewlib-c9ae5a27b3b538b907c4ef4f6fe4190e3ca204c1.zip
newlib-c9ae5a27b3b538b907c4ef4f6fe4190e3ca204c1.tar.gz
newlib-c9ae5a27b3b538b907c4ef4f6fe4190e3ca204c1.tar.bz2
20000-05-21 H.J. Lu (hjl@gnu.org)
* configure: Revert changes made on May 18 and May 19. * Makefile.in (CC_FOR_TARGET): Make sure as/ld in the gcc directory are used if they exist. Make sure $(build_tooldir)/include is searched for header files, $(build_tooldir)/lib/ for library files. (GCC_FOR_TARGET): Likewise. (CXX_FOR_TARGET): Likewise.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure24
1 files changed, 0 insertions, 24 deletions
diff --git a/configure b/configure
index fb636f8..06bd1a1 100755
--- a/configure
+++ b/configure
@@ -753,30 +753,6 @@ target_vendor=`echo $result | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
target_os=`echo $result | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
target=${target_cpu}-${target_vendor}-${target_os}
-# We have to make sure the gcc directory exists for the non-canadian
-# cross compiler if necessary. In that case, we will run the cross
-# compiler we just build to compile other stuff. Due to how the cross
-# compiler finds the C header files, the gcc directory may be needed
-# for successful cross-compilation. This sanity check can be disabled
-# by passing
-#
-# --disable-target-dir-sanity-checking
-#
-# to configure.
-if test x${target} != x${build} && test x${build} = x${host} ; then
- if test x${enable_target_dir_sanity_checking} != xno \
- && test x${gcc_version} != x \
- && test -d ${prefix}/${target_alias} \
- && test ! -d ${prefix}/lib/gcc-lib/${target_alias}/${gcc_version} ; then
- echo "Please create the directory:" 1>&2
- echo 1>&2
- echo " ${prefix}/lib/gcc-lib/${target_alias}/${gcc_version}" 1>&2
- echo 1>&2
- echo "first for successful cross-compilation." 1>&2
- exit 1
- fi
-fi
-
. ${tmpfile}.tgt
# Find the source files, if location was not specified.