Re: AC_PROG_LIBTOOL sets CFLAGS

2007-08-27 Thread Benoit SIGOURE
On Aug 26, 2007, at 10:53 PM, Thien-Thi Nguyen wrote: () Peter O'Gorman <[EMAIL PROTECTED]> () Tue, 21 Aug 2007 14:57:55 -0500 AC_PROG_LIBTOOL calls AC_PROG_CC which sets default CFLAGS (but only if they are not already set). so what is the recommended way to get configure-generated flag

Re: AC_PROG_LIBTOOL sets CFLAGS

2007-08-26 Thread Thien-Thi Nguyen
() Peter O'Gorman <[EMAIL PROTECTED]> () Tue, 21 Aug 2007 14:57:55 -0500 AC_PROG_LIBTOOL calls AC_PROG_CC which sets default CFLAGS (but only if they are not already set). so what is the recommended way to get configure-generated flags into AM_CFLAGS, leaving CFLAGS empty? i see in many pl

Re: AC_PROG_LIBTOOL sets CFLAGS

2007-08-21 Thread Peter O'Gorman
On Tue, 2007-08-21 at 21:49 +0200, Thien-Thi Nguyen wrote: > according to my reading of info nodes: > > (libtool) AC_PROG_LIBTOOL > (automake) Flag Variables Ordering > > the shell variable CFLAGS should have no value after AC_PROG_LIBTOOL. > i.e., i should expect the configure.ac fragment: >

AC_PROG_LIBTOOL sets CFLAGS

2007-08-21 Thread Thien-Thi Nguyen
according to my reading of info nodes: (libtool) AC_PROG_LIBTOOL (automake) Flag Variables Ordering the shell variable CFLAGS should have no value after AC_PROG_LIBTOOL. i.e., i should expect the configure.ac fragment: echo "CFLAGS: $CFLAGS" AC_PROG_LIBTOOL echo "CFLAGS: $CFLAGS" to create