diff options
author | neroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-12-27 23:15:39 +0000 |
---|---|---|
committer | neroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-12-27 23:15:39 +0000 |
commit | 09fe6d98046ed5ca52a53ec27f63a23110ccdf8a (patch) | |
tree | a1617897585fe08093a5148f0cd72087a407c13a /configure | |
parent | bb9122eb4f365c08815ccd84d87b11df0cac04be (diff) | |
download | gcc-09fe6d98046ed5ca52a53ec27f63a23110ccdf8a.tar.gz |
* configure: Remove unneeded 'export's. Make CC_FOR_TARGET,
CXX_FOR_TARGET, GCJ_FOR_TARGET substituted in configure.in only.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60550 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 38 |
1 files changed, 8 insertions, 30 deletions
diff --git a/configure b/configure index 8314a84b530..071ac8fef06 100755 --- a/configure +++ b/configure @@ -87,7 +87,7 @@ srctrigger= target_alias=NOTARGET target_makefile_frag= undefs=NOUNDEFS -version="$Revision: 1.50 $" +version="$Revision: 1.51 $" x11=default bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' @@ -869,16 +869,16 @@ do done +tools="AR AR_FOR_TARGET AS AS_FOR_TARGET BISON CC_FOR_BUILD" +tools="${tools} DLLTOOL DLLTOOL_FOR_TARGET GCC_FOR_TARGET BUILD_PREFIX" +tools="${tools} BUILD_PREFIX_1 LD LD_FOR_TARGET LEX MAKEINFO NM" +tools="${tools} NM_FOR_TARGET RANLIB RANLIB_FOR_TARGET" +tools="${tools} WINDRES WINDRES_FOR_TARGET YACC" +tools="${tools} OBJCOPY OBJDUMP" if [ "${build}" != "${host}" ]; then # If we are doing a Canadian Cross, in which the host and build systems # are not the same, we set reasonable default values for the tools. - tools="AR AR_FOR_TARGET AS AS_FOR_TARGET BISON CC_FOR_BUILD" - tools="${tools} CC_FOR_TARGET CXX_FOR_TARGET GCJ_FOR_TARGET" - tools="${tools} DLLTOOL DLLTOOL_FOR_TARGET GCC_FOR_TARGET BUILD_PREFIX" - tools="${tools} BUILD_PREFIX_1 LD LD_FOR_TARGET LEX MAKEINFO NM" - tools="${tools} NM_FOR_TARGET RANLIB RANLIB_FOR_TARGET" - tools="${tools} WINDRES WINDRES_FOR_TARGET YACC" - tools="${tools} OBJCOPY OBJDUMP" + tools="${tools} RANLIB" for var in ${tools}; do if eval [ -z \"\$${var}\" ] && [ -r Makefile ]; then @@ -968,17 +968,6 @@ t loop LEX=${LEX-flex} fi - # Export variables which autoconf might try to set. - export AS - export AR - export CC_FOR_BUILD - export DLLTOOL - export LD - export NM - export RANLIB - export WINDRES - export OBJCOPY - export OBJDUMP else # Set reasonable default values for some tools even if not Canadian. # Of course, these are different reasonable default values, originally @@ -988,12 +977,6 @@ else # in Makefile.in, so can still be overridden by fragments. # This is all going to change when we autoconfiscate... - tools="AR AR_FOR_TARGET AS AS_FOR_TARGET BISON CC_FOR_BUILD" - tools="${tools} DLLTOOL DLLTOOL_FOR_TARGET GCC_FOR_TARGET BUILD_PREFIX" - tools="${tools} BUILD_PREFIX_1 LD LD_FOR_TARGET LEX MAKEINFO NM" - tools="${tools} NM_FOR_TARGET RANLIB_FOR_TARGET" - tools="${tools} WINDRES WINDRES_FOR_TARGET YACC" - AR=ar AR_FOR_TARGET='\$(USUAL_AR_FOR_TARGET)' AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target} @@ -1065,11 +1048,6 @@ else CXXFLAGS=${CXXFLAGS-"-g -O2"} fi -export CC -export CXX -export CFLAGS -export CXXFLAGS - # FIXME Should this be done recursively ??? (Useful for e.g. gdbtest) # Set up the list of links to be made. # ${links} is the list of link names, and ${files} is the list of names to link to. |