unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Bruce Korb <bkorb@gnu.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Bruno Haible <bruno@clisp.org>, guile-devel@gnu.org
Subject: Re: guile.m4 for autogen
Date: Fri, 24 Aug 2012 07:10:41 -0700	[thread overview]
Message-ID: <50378B61.9040304@gnu.org> (raw)
In-Reply-To: <87vcg8s98e.fsf@gnu.org>

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.
>>
>>> configure.ac:140: 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
> rationale.

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	other threads:[~2012-08-24 14:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1T1YEu-00049T-Jq@stenn.ntp.org>
     [not found] ` <CAKRnqNLAxsR9t2wZMAu0pLY8T0=63QFmVnoUp9FCMWQrwMH0fw@mail.gmail.com>
     [not found]   ` <502D34A9.7050004@gmail.com>
     [not found]     ` <E1T25AL-0006EL-L0@stenn.ntp.org>
     [not found]       ` <E1T2qlc-0002Ci-PS@stenn.ntp.org>
2012-08-20  0:07         ` guile.m4 for autogen Bruce Korb
2012-08-24 13:36           ` Ludovic Courtès
2012-08-24 14:10             ` Bruce Korb [this message]
2012-08-30  5:44           ` Harlan Stenn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50378B61.9040304@gnu.org \
    --to=bkorb@gnu.org \
    --cc=bruno@clisp.org \
    --cc=guile-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).