Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3AA25FC5.699C6BCA@phekda.freeserve.co.uk> Date: Sun, 04 Mar 2001 15:31:17 +0000 From: Richard Dawe X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.17 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: Fileutils 4.0 port and ginstall References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Tim Van Holder wrote: > > > Can I assume that a non-MZ file is a batch file in the outer else > > clause? > I don't think so, unless the if statement is only used if -m is passed a > mode with an executable bit set. > Otherwise > ginstall ABOUT-NLS /dev/env/DJDIR/share/locale/ABOUT-NLS > would create ABOUT-NLS.bat, wouldn't it? Sorry, I missed out something vital in my pseudo-code (doh). See my other mail. > I expect the fix is mainly needed for automake and friends, so when they > build 'program' as main target, they can install 'program' and ginstall > will make sure this arrives as 'program.exe' if applicable. Then again, > AC_EXEEXT should really be added to configure.in when porting to DOS > (but then you hit the 'DJGPP maintainers shouldn't need > autoconf/automake' axiom again). You might want the program to be executable from command.com too, once installed. Unless it's program.(exe|com|bat), command.com won't find it. > FYI, a new fileutils should be released soon (its release is being > delayed mainly because the maintainers are waiting for autoconf 2.50 to > be released). Yeah, I'm on Jim Meyering's announcement list for Fileutils. I briefly looked at it last year, but hit problems with 'depcomp' and bash 2.03. I think 'depcomp' works OK with bash 2.04 though. Since I think the 4.0 port is 95% done, I want to finish it, before I look at 4.1. I hope to look at 4.1 before it's released, so I can get DJGPP changes into the actual sources, rather than as a patch supplied with the DJGPP port, but time will tell. Bye, Rich =] -- Richard Dawe http://www.bigfoot.com/~richdawe/ "The soul is the mirror of an indestructible universe." --- Gottfried W. Leibniz