[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS autoconf doesn't like AC_DIVERT_PUSH

From: Braden McDaniel
Subject: Re: CVS autoconf doesn't like AC_DIVERT_PUSH
Date: Thu, 22 Jan 2004 12:23:30 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4

Gary V. Vaughan wrote:
Hash: SHA1

Braden McDaniel wrote:
| Braden McDaniel wrote:
|> libtool.m4 is using the AC_DIVERT_PUSH and AC_DIVERT_POP macros in a
|> way that CVS autoconf seems not to like. I get this message:
|> /usr/bin/m4: Non-numeric argument to built-in `divert'
|> I discovered this when attempting to build CVS pkgconfig with CVS
|> autotools.
| Can someone comment on this? The fix is not at all clear to me. I don't
| see AC_DIVERSION_NOTICE being defined by autoconf at all (and the
| ChangeLog isn't helpful in discerning when it might have been removed).
| Regardless, with respect to the above error message, the definition of
| _LT_AC_SHELL_INIT in libtool.m4 seems like it must be invalid.

I can't reproduce your problem.  With cvs head of autoconf and automake
installed, I can bootstrap, configure, build and install cvs head libtool.
The resulting libtool is able to build libltdl, and passes its regression
suite.  I can then use the whole lot to bootstrap, configure and build

Are you using gnu m4?


 Must be a bug in pkgconfig...

I'm not convinced, because it's code in libtool.m4 that seems to break reliably. Perhaps libsnprintfv doesn't exercise this code? Try this... Put this line (from _LT_AC_SHELL_INIT) in a and see if CVS autoconf will process it:


When I do this, I see the same error I mentioned above.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]