This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
(toplevel) remove squirelly path setting
- From: Nathanael Nerode <neroden at twcny dot rr dot com>
- To: gcc-patches at gcc dot gnu dot org, binutils at sources dot redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Sat, 28 Dec 2002 02:27:54 -0500
- Subject: (toplevel) remove squirelly path setting
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