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

Re: autoconf question



On Mon, Mar 04, 2002 at 01:32:09PM +1100, Brian May wrote:
> Hello,
> 
> can anybody tell me how autoconf finds builtin macros like
> AC_MSG_WARN?
> 
> This use to work, seconds ago, I promise!!!
> 
> In fact, it was working right up to the step where the Makefile decided
> to rerun autoconf, for some unexplainable reason (it was up-to-date).

I believe the symptoms you describe come from mixing autoconf versions,
e.g. running autoconf 2.13 on a configure script that uses 2.5x or
vice-versa.  [The problem is probably that "aclocal.m4" was created
with the other version of autoconf.]

You can usually recover by re-running aclocal & then autoconf.
But you have to get the versions right.  As Ben said, you can
force autoconf2.50 by putting AC_PREREQ(2.50) in configure.in.

-S

-- 
by Rocket to the Moon,
by Airplane to the Rocket,
by Taxi to the Airport,
by Frontdoor to the Taxi,
by throwing back the blanket and laying down the legs ...
- They Might Be Giants



Reply to: