Re: aCC compiler Flags support

2000-11-16 Thread Simon Richter
On Thu, 16 Nov 2000, Tim Heath wrote: > -D_POSIX1C_SOURCE -D_HPUX_SOURCE -D_REENTRANT > Is there a way to automate this with an AM or something? There is, in fact, but these definitions are better placed as "#define"s at the beginning of source files. This way, you can easily tell from the sour

aCC compiler Flags support

2000-11-16 Thread Tim Heath
I have to add to DEFS: -D_POSIX1C_SOURCE -D_HPUX_SOURCE -D_REENTRANT in my Makefile. Is there a way to automate this with an AM or something? Thanks, Tim Heath

Re: Attempting to unit test

2000-11-16 Thread Pavel Roskin
Hello, Tim! On Thu, 16 Nov 2000, Tim Heath wrote: > I have added the following lines to a Makefile.am: > > check_PROGRAMS = test_program > test_program_SOURCES = test.C You have discovered a bug in Automake. It still exists in the current CVS version. Don't start lines in Makefile.am with

Attempting to unit test

2000-11-16 Thread Tim Heath
I have added the following lines to a Makefile.am: check_PROGRAMS = test_program test_program_SOURCES = test.C When I execute automake -i (v1.4) the ./configure it generates the line: test_program_SOURCES = test_program.c in the Makefile. What happened to test.C? Thanks, Tim Heath

Re: [PATCH] Output files with LF only

2000-11-16 Thread Akim Demaille
> "Morten" == Morten Eriksen <[EMAIL PROTECTED]> writes: Morten> Hi, someone mis-applied my patch so that ``binmode'' was set s/someone/akim/ Morten> _after_ Automake had opened a file for writing. Sorry Morten, I'm applying your patch. Thanks!