From c567df0a785160c9773b3e2f635688bb62b55d95 Mon Sep 17 00:00:00 2001 From: Nathanael Nerode Date: Fri, 27 Dec 2002 23:28:25 +0000 Subject: [PATCH] * configure: Remove unneeded 'export's. Make CC_FOR_TARGET, CXX_FOR_TARGET, GCJ_FOR_TARGET substituted in configure.in only. * ChangeLog: Move a couple of entries from here to winsup/cygwin, where they belong. --- ChangeLog | 23 +++++++---------------- configure | 36 +++++++----------------------------- 2 files changed, 14 insertions(+), 45 deletions(-) diff --git a/ChangeLog b/ChangeLog index 694be0b9f7f..4c89b71ce78 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,19 +1,10 @@ -2002-12-27 Christopher Faylor - - * fhandler.h (fhandler_tty_master::set_winsize): Declare new function. - * fhandler_console.cc (fhandler_console::send_winch_maybe): If - appropriate, call tty master function to handle screen size change. - * fhandler_tty.cc (fhandler_tty_master::set_winsize): New function. - (fhandler_tty_master::init): Call set_winsize to set initial screen - size. - -2002-12-26 Christopher Faylor - - * fhandler_tty.cc (fhandler_tty_master::init): Set initial size of tty - to that of console in which tty is operating. - (process_input): Semi-revert previous change. Need to just use current - terminfo settings since this function is running in a thread, blocked - when the terminfo changes. +2002-12-27 Nathanael Nerode + + * configure: Remove unneeded 'export's. Make CC_FOR_TARGET, + CXX_FOR_TARGET, GCJ_FOR_TARGET substituted in configure.in only. + + * ChangeLog: Move a couple of entries from here to winsup/cygwin, + where they belong. 2002-12-24 Andreas Schwab diff --git a/configure b/configure index f36e886c799..ca6ca27ed93 100755 --- a/configure +++ b/configure @@ -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. -- 2.30.2