Gary V. Vaughan wrote:
-----BEGIN PGP SIGNED MESSAGE-----
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:
|>
|> configure.in:20: /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
libsnprintfv.

Are you using gnu m4?

Yes.


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 configure.ac and see if CVS autoconf will process it:


AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)

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

Braden


_______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to