Date: Sun, 25 Oct 1998 19:36:21 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: RJ vd Boon cc: djgpp-workers AT delorie DOT com Subject: Re: proposed change to autoconf macro In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.