[Top][All Lists]

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

Re: guile.m4 for autogen

From: Bruce Korb
Subject: Re: guile.m4 for autogen
Date: Fri, 24 Aug 2012 07:10:41 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0

Hi Ludovic,

On 08/24/12 06:36, Ludovic Courtès wrote:
I'd prefer to use guile.m4, even though it uses guile-config.  It insists.
Unfortunately, it does not work.  For me. the top level
configure:14130: error: possibly undefined macro: AC_LIB_LINKFLAGS_FROM_LIBS
       If this token and others are legitimate, please use m4_pattern_allow.
       See the Autoconf documentation.
bootstrap failure:  trapped exit signal
mk-all: line 197:  5702 Killed

As the comment says:

   dnl AC_LIB_LINKFLAGS_FROM_LIBS is defined in gnulib/m4/lib-link.m4 and needs
   dnl the file gnulib/build-aux/config.rpath.

This means that these two files have to be imported in your project for
this to work.

I hadn’t noticed that, and I reckon that this is unfortunate.

The change dates back to Feb. 2011, by Bruno, so we’d have to check the

Thank you for the explanation.

I am a big fan of comprehensible error messages and, as you'd guess,
I don't think that "possibly undefined macro: AC_LIB_LINKFLAGS_FROM_LIBS"
qualifies.  Adding an AC_REQUIRE() would likely trigger something more
meaningful.  Having to trace down a comment in an m4 file is not
very friendly.

However, now that I know the issue, obviously I'll add these files to
the list of things I grab from gnulib.  Thank you again.

Regards, Bruce

reply via email to

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