another prob with kde-common/admin and autoconf 2.52

Michael Matz matz at
Tue Aug 28 08:20:45 UTC 2001


On Mon, 27 Aug 2001, Gioele Barabucci wrote:

> I'm using latest 2.2 kde-common/admin dir in a Qt project created with
> kdevelop 2.0 (from 2.2)
> *** Creating configure
> error: AC_REQUIRE: cannot be used outside of an
> m4_defun'd macro
> KDE_CHECK_EXTRA_LIBS is required by...
> the top level

This indeed is wrong usage of autoconf.  But there can be two reasons:
1) kdevelop really is creating such a by a bogus  In that case it shouldn't AC_REQUIRE() that macro,
   but instead just call it (or provide a wrapper macro which AC_REQUIRE()
   the above one, and is itself called, which would have the same semantic
   as a toplevel AC_REQUIRE.  I don't know for sure, but I can't really
   imagine kdevelop doing this, as KDE_CHECK_EXTRA_LIBS() is internal.
2) a bogus aclocal.m4.  Last night an interesting bracket mismatch was
   fixed in, specifically mentioning autoconf 2.52.  It
   may be that problem, and it's enough if you update kde-common.

> the code is

And this is line 35?  Indeed bogus.


to unsubscribe from this list send an email to kdevelop-devel-request at with the following body:
unsubscribe »your-email-address«

More information about the KDevelop-devel mailing list