Mail Archives: djgpp-workers/1998/10/25/11:38:28
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 -