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: Sun, 19 Aug 2012 17:07:09 -0700 Message-ID: <50317FAD.8020407@gmail.com> References: <502D34A9.7050004@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1345421239 18501 80.91.229.3 (20 Aug 2012 00:07:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Aug 2012 00:07:19 +0000 (UTC) To: Harlan Stenn , guile-devel Development Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Aug 20 02:07:19 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 1T3FWX-00031E-VL for guile-devel@m.gmane.org; Mon, 20 Aug 2012 02:07:18 +0200 Original-Received: from localhost ([::1]:37171 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3FWW-00051e-60 for guile-devel@m.gmane.org; Sun, 19 Aug 2012 20:07:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:32791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3FWT-00051M-F4 for guile-devel@gnu.org; Sun, 19 Aug 2012 20:07:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3FWS-0004EY-H6 for guile-devel@gnu.org; Sun, 19 Aug 2012 20:07:13 -0400 Original-Received: from mail-ob0-f169.google.com ([209.85.214.169]:45094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3FWS-0004ER-C3 for guile-devel@gnu.org; Sun, 19 Aug 2012 20:07:12 -0400 Original-Received: by obhx4 with SMTP id x4so10079125obh.0 for ; Sun, 19 Aug 2012 17:07:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=uxgkQvsv+nrxCCScs6t9slwC+Konx9CMyDr/IhBqe8w=; b=CdqoB5WqIlUYBtY5DMQdL0E47tdsqtlEzQJbYXfg6P2XmJ2MVCCcmYaHrhf8bM1z9d bPqyo54nqekBcbE5paGneDP1h88Kmq5SXJJ0SFqprttzkju4zOKS2K2ERt0i9XJSSnaG QGl67DxeCmkOckOG1LQpNpmW+pHiFw4fmYtk4R/GwpIAz9w8qT5tval/hNRTaBTkhNDS iB/2Ma5P1qjwk7EIMyp27SZO8GXFmBFFg9B67nd/piQwnAQkZQGD5VmD87lGHXmV8zOV 9O8JtPol/E56Zn86l2FLbui+3xxp+iq1Ns8/tUCk5yz7mZb38PXe9Gwa/TmsufFcptnB Uslg== Original-Received: by 10.60.5.194 with SMTP id u2mr8933705oeu.24.1345421231532; Sun, 19 Aug 2012 17:07:11 -0700 (PDT) Original-Received: from [192.168.10.2] (adsl-76-254-26-157.dsl.pltn13.sbcglobal.net. [76.254.26.157]) by mx.google.com with ESMTPS id g8sm12962721obz.16.2012.08.19.17.07.10 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 19 Aug 2012 17:07:10 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.169 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:14805 Archived-At: Hi Harlan, On 08/18/12 14:41, Harlan Stenn wrote: > Have you tried using pkg-config in autogen's configure to find the guile > CFLAGS and loader stuff? 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 Here's the configure script fragment with the reference: > { $as_echo "$as_me:${as_lineno-$LINENO}: checking libguile link flags" >&5 > $as_echo_n "checking libguile link flags... " >&6; } > GUILE_LDFLAGS="`$GUILE_CONFIG link`" > { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILE_LDFLAGS" >&5 > $as_echo "$GUILE_LDFLAGS" >&6; } > > AC_LIB_LINKFLAGS_FROM_LIBS(GUILE_LIBS, $GUILE_LDFLAGS, ) > GUILE_LIBS="$GUILE_LDFLAGS $GUILE_LIBS" > AC_LIB_LINKFLAGS_FROM_LIBS(GUILE_LTLIBS, $GUILE_LDFLAGS, yes) > GUILE_LTLIBS="$GUILE_LDFLAGS $GUILE_LTLIBS" Since this guile.m4 comes from Guile 2.0.4, it is recent enough that any fully supported AC_* macro should not have been removed from autoconf 2.69. If I delete the GUILE_FLAGS invocation, then all is fine. *sigh*.