From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruce Korb Newsgroups: gmane.lisp.guile.devel Subject: Re: guile.m4 for autogen Date: Fri, 24 Aug 2012 07:10:41 -0700 Message-ID: <50378B61.9040304@gnu.org> References: <502D34A9.7050004@gmail.com> <50317FAD.8020407@gmail.com> <87vcg8s98e.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1345817455 28466 80.91.229.3 (24 Aug 2012 14:10:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Aug 2012 14:10:55 +0000 (UTC) Cc: Bruno Haible , guile-devel@gnu.org To: =?UTF-8?B?THVkb3ZpYyBDb3VydMOocw==?= Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Aug 24 16:10:55 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T4ub5-0002HY-Bn for guile-devel@m.gmane.org; Fri, 24 Aug 2012 16:10:51 +0200 Original-Received: from localhost ([::1]:37658 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4ub3-0007pA-Gx for guile-devel@m.gmane.org; Fri, 24 Aug 2012 10:10:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4ub0-0007ln-An for guile-devel@gnu.org; Fri, 24 Aug 2012 10:10:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4uaz-0006RL-7N for guile-devel@gnu.org; Fri, 24 Aug 2012 10:10:46 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:52046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4uaz-0006R8-2L for guile-devel@gnu.org; Fri, 24 Aug 2012 10:10:45 -0400 Original-Received: from adsl-76-254-26-157.dsl.pltn13.sbcglobal.net ([76.254.26.157]:61244 helo=[192.168.10.2]) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1T4uax-0007X8-LU; Fri, 24 Aug 2012 10:10:43 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: <87vcg8s98e.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.10 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:14807 Archived-At: 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