Re: flag question

2008-04-25 Thread Thomas Dickey
On Fri, 25 Apr 2008, Bob Friesenhahn wrote: On Fri, 25 Apr 2008, NightStrike wrote: On 4/25/08, Peter O'Gorman <[EMAIL PROTECTED]> wrote: NightStrike wrote: -Wall and -pedantic... AM_CFLAGS or AM_CPPFLAGS? Neither. Neither are portable, so the do not belong in the Makefile.am, check for gc

Re: flag question

2008-04-25 Thread Ralf Wildenhues
* Bob Friesenhahn wrote on Fri, Apr 25, 2008 at 11:32:34PM CEST: > On Fri, 25 Apr 2008, NightStrike wrote: >> >> Is there a configure test to see if -Wall works? > > These options only work with GCC. If the compiler is GCC you can use > them, otherwise skip them. FWIW, icc supports -Wall, too.

Re: flag question

2008-04-25 Thread Bob Friesenhahn
On Fri, 25 Apr 2008, NightStrike wrote: On 4/25/08, Peter O'Gorman <[EMAIL PROTECTED]> wrote: NightStrike wrote: -Wall and -pedantic... AM_CFLAGS or AM_CPPFLAGS? Neither. Neither are portable, so the do not belong in the Makefile.am, check for gcc in configure and append them to CFLAGS if th

Re: flag question

2008-04-25 Thread NightStrike
On 4/25/08, Peter O'Gorman <[EMAIL PROTECTED]> wrote: > NightStrike wrote: > > -Wall and -pedantic... AM_CFLAGS or AM_CPPFLAGS? > > Neither. Neither are portable, so the do not belong in the Makefile.am, > check for gcc in configure and append them to CFLAGS if they work. I didn't know they weren'

Re: flag question

2008-04-25 Thread Peter O'Gorman
NightStrike wrote: > -Wall and -pedantic... AM_CFLAGS or AM_CPPFLAGS? Neither. Neither are portable, so the do not belong in the Makefile.am, check for gcc in configure and append them to CFLAGS if they work. Peter -- Peter O'Gorman http://pogma.com

flag question

2008-04-25 Thread NightStrike
-Wall and -pedantic... AM_CFLAGS or AM_CPPFLAGS?

Re: extending automake

2008-04-25 Thread Bob Rossi
On Fri, Apr 25, 2008 at 06:54:08AM +0200, Ralf Wildenhues wrote: > * Bob Rossi wrote on Fri, Apr 25, 2008 at 03:41:20AM CEST: > > On Sat, Apr 19, 2008 at 01:22:29PM -0400, Bob Rossi wrote: > > > They generate files during build time, and modify BUILT_SOURCES... > > > > > > In fact, think of the bi