[PATCH] Add missing $(EXEEXT)
Andris Pavenis
pavenis@latnet.lv
Thu Jul 29 07:41:00 GMT 2004
On Wednesday 28 July 2004 13:16, Brian Gough wrote:
> Andris Pavenis writes:
> > Both gsl-histogram and gsl-randist were built and I didn't noticed
> > problems for i586-pc-msdoddjgpp (where EXEEXT=.exe)
> >
> > So perhaps the patch is enough.
>
> Looking at automake more closely, I think this is an missing feature
> in automake -- it adds EXEEXT automatically to bin_PROGRAMS and
> check_PROGRAMS but not to TESTS. It will affect all programs using
> Automake. If you are working on msdosdjgpp a lot, it could help to
> send a bug report to the automake maintainers with a small example so
> that all GNU packages will compile with djgpp in future. Please
> CC:gsl-discuss on the message if you do that.
I don't think so.
But also my earlier patch was not the best possible.
A new patch (tested for Linux and DJGPP) attached:
- list of test programs specified only once per Makefile.am (not twice as earlier)
- no need to specify $(EXEEXT) in Makefile.am (automake does all needed)
Only noticed difference after patch is that also tests/siman/siman_tsp$(EXEEXT)
is run by 'make check' (it was not earlier). But I don't think, that it is a problem.
Andris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gsl-15~1.dif
Type: text/x-diff
Size: 22058 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gsl-discuss/attachments/20040729/0f3e8f83/attachment.bin>
More information about the Gsl-discuss
mailing list