This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH to top level: don't use dirname in configure


Hi there,

Below is a patch to the top level of the tree (both src and gcc repos) for the
Cygnus configure script used there. It uses dirname, which 4.3BSD doesn't have.
This patch changes it to the obvious equivalent that doesn't use dirname. (This
is a patch to configure, not configure.in etc., because this is the Cygnus
configure script and the bug is in the static part that's the same whereever
the script is used.)

--
Michael Sokolov		Harhan Engineering Laboratory
Public Service Agent	International Free Computing Task Force
			International Engineering and Science Task Force
			615 N GOOD LATIMER EXPY STE #4
			DALLAS TX 75204-5852 USA

Phone: +1-214-824-7693 (Harhan Eng Lab office)
E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP) (UUCP coming soon)

2000-07-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>

	* configure (topsrcdir): Don't use dirname.

Index: configure
===================================================================
RCS file: /cvs/src/src/configure,v
retrieving revision 1.9
diff -c -3 -p -r1.9 configure
*** configure	2000/05/21 16:57:14	1.9
--- configure	2000/07/21 22:21:22
*************** fi
*** 518,524 ****
  
  configsub=`echo ${progname} | sed 's/configure$/config.sub/'`
  moveifchange=`echo ${progname} | sed 's/configure$/move-if-change/'`
! topsrcdir=`cd \`dirname ${progname}\`; pwd`
  
  
  # this is a hack.  sun4 must always be a valid host alias or this will fail.
--- 518,524 ----
  
  configsub=`echo ${progname} | sed 's/configure$/config.sub/'`
  moveifchange=`echo ${progname} | sed 's/configure$/move-if-change/'`
! topsrcdir=`cd \`echo ${progname} | sed 's:/configure$::'\`; pwd`
  
  
  # this is a hack.  sun4 must always be a valid host alias or this will fail.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]