Re: automake/44: conditional redefinitions (Was: Re: Automake 1.6.3 issue)

2002-10-28 Thread Akim Demaille
| This also works for things like | | foo = mumble | foo = blurgle | | which would be interpreted as | | foo = blurgle | if FALSE | foo = mumble | endif I've always thought this is wrong. I still think we should not support such ``feature'', which is a form of laxism to me,

automake/44: conditional redefinitions (Was: Re: Automake 1.6.3 issue)

2002-10-11 Thread Alexandre Duret-Lutz
Reviving an old thread about the following construct. foo = mumble if COND foo = blurgle endif Tom I've long thought that we should, eventually, support the Tom latter use. It seems to have a clearly defined meaning. Tom And it is even useful in some situations. For instance, Tom

Re: Automake 1.6.3 issue

2002-09-11 Thread Bruce Korb
Tom Tromey wrote: Alexandre Duret-Lutz [EMAIL PROTECTED] writes: adl but you can't do adl if INSTALL_SNPRINTFV adl pkgincludedir = something adl endif I've long thought that we should, eventually, support the latter use. It seems to have a clearly defined meaning. And it is even

Re: Automake 1.6.3 issue

2002-09-10 Thread Bruce Korb
Akim Demaille wrote: | Cool. Since we do not need amk 1.6.3 for our build, | I will change the configure.ac requirement to 1.6.2, | which does work. What ... ??? The bug I'm referring to is only the fact that the error message did not say `1.6.3 is a version of Automake'. There is no

Re: Automake 1.6.3 issue

2002-09-10 Thread Alexandre Duret-Lutz
Hi Bruce! Bruce == Bruce Korb [EMAIL PROTECTED] writes: [...] Bruce 2. The automake error reporting bug that said I did something bad, Bruce but there was not enough information to find the problem /usr/local/share/automake-1.6/am/header-vars.am: \ pkgincludedir was already defined in

Re: Automake 1.6.3 issue

2002-09-10 Thread Alexandre Duret-Lutz
adl == Alexandre Duret-Lutz [EMAIL PROTECTED] writes: [...] adl However, I presume not all your Makefiles use both adl INSTALL_SNPRINTFV and pkgincludedir, so it shouldn't be that adl hard to locate. You can also try `automake --verbose', this will print any file read, so you can see what

Re: Automake 1.6.3 issue

2002-09-10 Thread Bruce Korb
Alexandre wrote: /usr/local/share/automake-1.6/am/header-vars.am: \ pkgincludedir was already defined in condition TRUE, \ which implies condition INSTALL_SNPRINTFV_TRUE You are alowed to overwrite the variable if you want, but only in the condition where it was initially defined.

Re: Automake 1.6.3 issue

2002-09-10 Thread Eric Siegerman
On Tue, Sep 10, 2002 at 10:59:15AM -0700, Bruce Korb wrote: Another approach is to go ahead and emit the Makefile.in, but also emit a warning like this: cat 2 _EOF_ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * WARNING: you seem to be misusing ${variable} in ${filename}

Re: Automake 1.6.3 issue

2002-09-10 Thread Tom Tromey
adl == Alexandre Duret-Lutz [EMAIL PROTECTED] writes: adl You are alowed to overwrite the variable if you want, but only in adl the condition where it was initially defined. I.e., you can do adl pkgincludedir = something adl but you can't do adl if INSTALL_SNPRINTFV adl pkgincludedir