(toplevel) remove squirelly path setting

Nathanael Nerode neroden@twcny.rr.com
Sat Dec 28 01:00:00 GMT 2002


Tested by configuring on i686-pc-linux-gnu.  This code is, as suspected, 
unneeded.

	* configure.in: Remove unnecessary PATH setting.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.200
diff -u -r1.200 configure.in
--- configure.in	28 Dec 2002 06:57:48 -0000	1.200
+++ configure.in	28 Dec 2002 07:25:48 -0000
@@ -80,14 +80,6 @@
 # if PWD already has a value, it is probably wrong.
 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
 
-case "${progname}" in
-/* | [[A-Za-z]]:[[\\/]]* ) ;;
-*/*) ;;
-*)
-        PATH=$PATH:${PWD=`${PWDCMD-pwd}`} ; export PATH
-        ;;
-esac
-
 # Export original configure arguments for use by sub-configures.
 TOPLEVEL_CONFIGURE_ARGUMENTS="$progname $@"
 export TOPLEVEL_CONFIGURE_ARGUMENTS



More information about the Binutils mailing list