How to cancel flags set by AC_LANG_WERROR?

2006-12-22 Thread Andrey Simonenko
Hello, How to cancel flags set by AC_LANG_WERROR in autoconf-2.61? In other words, is there a way to set -Werror flag only for some of tests in configure.ac? (of course it is possible to modify ac_c_werror_flag in configure.ac) Thanks. ___ Autoconf m

Re: How to cancel flags set by AC_LANG_WERROR?

2007-01-22 Thread Andrey Simonenko
On Sun, Jan 21, 2007 at 04:06:49PM +0100, Ralf Wildenhues wrote: > Hello Andrey, > > Aplogies for the delay. > > * Andrey Simonenko wrote on Fri, Dec 22, 2006 at 11:47:03AM CET: > > > > How to cancel flags set by AC_LANG_WERROR in autoconf-2.61? > > In other wor

AC_SEARCH_LIBS and two programs

2007-03-30 Thread Andrey Simonenko
Greetings, There are two programs t1 and t2, one configure and one Makefile which are used for building them. t2 uses the cos() function, and t1 does not use cos(). This is my solution: === configure.ac: AC_INIT([t],[1.0]) AM_INIT_AUTOMAKE AC_PROG_CC back_

Re: AC_SEARCH_LIBS and two programs

2007-04-03 Thread Andrey Simonenko
Hello, On Mon, Apr 02, 2007 at 09:15:05AM +0200, Ralf Wildenhues wrote: > Hi Andrey, > > * Andrey Simonenko wrote on Fri, Mar 30, 2007 at 10:53:45AM CEST: > > > > There are two programs t1 and t2, one configure and > > one Makefile which are used for building the

Improved AC_LANG_WERROR

2007-04-10 Thread Andrey Simonenko
Hello, In [1] I started discussion about how to cancel flags set by AC_LANG_WERROR, in [2] there was one proposition how to improve this macro. What do you think about the following backward compatible changes (read updated info for the details)? I removed m4_divert_text([DEFAULTS], [ac_[]_AC_LA

Re: Improved AC_LANG_WERROR

2007-04-13 Thread Andrey Simonenko
On Wed, Apr 11, 2007 at 06:54:32PM -0700, Paul Eggert wrote: > Andrey Simonenko <[EMAIL PROTECTED]> writes: > > > What do you think about the following backward compatible changes > > (read updated info for the details)? > > I don't see any way with that pr

Re: Improved AC_LANG_WERROR

2007-04-14 Thread Andrey Simonenko
On Fri, Apr 13, 2007 at 11:21:10AM +0300, Andrey Simonenko wrote: > > What is the better place for: > > 1. initialization of ac_X_werror_flag variables for all languages >(which say how to treat warnings). > 2. initialization of m4 _AC_LANG_X_WERROR_FLAG macro vari

Re: Problems with AC_LANG_WERROR

2008-01-08 Thread Andrey Simonenko
Hello Peter, On Fri, Jan 04, 2008 at 10:34:04AM -0600, Peter O'Gorman wrote: > > That being said, I agree that there should be a public method to turn it > on and off for individual tests without resorting to changing the value > of ac_c_werror_flag (it is set to yes or no). I had the same quest