delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/10/25/11:38:28

Date: Sun, 25 Oct 1998 19:36:21 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: RJ vd Boon <rjvdboon AT cs DOT vu DOT nl>
cc: djgpp-workers AT delorie DOT com
Subject: Re: proposed change to autoconf macro
In-Reply-To: <m0zWeGz-000ZkgC@sloep68.cs.vu.nl>
Message-ID: <Pine.SUN.3.91.981025193603.24396G-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

On Fri, 23 Oct 1998, RJ vd Boon wrote:

> ### Eli, I (robert) wonder what these are  necessary for? Is it
> ### sed3.02/djgpp/config.bat?
> /ac_file_inputs=/s,\( -e "s%\^%\$ac_given_srcdir/%"\)\( -e "s%:% $ac_given_srcdir/%g"\),\2\1,

The above line is needed because the original order of Sed commands
will remove the colon from DOS-style d:/foo/bar pathnames--a very
nasty bug indeed.

> / -\*=\*)/ s,\*=,*:,g
> s,=\*,:*,g
> s,=\.\*,:.*,
> s,\( --..*\)=,\1:,

These support passing arguments to the configure script invoked by
config.bat.  Since you cannot pass foo=bar as a single argument to a
batch file on DOS (try it!), the above magic changes the configure
script so that : is used instead of =.  Now you can say e.g. this:

       djgpp\config --program-prefix:gnu

and get gnused.exe instead of sed.exe.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019