From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: Re: GUILE_CFLAGS contains warning options Date: Sun, 20 Feb 2011 22:28:25 +0100 Message-ID: References: <201102191507.50333.bruno@clisp.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1298237019 12695 80.91.229.12 (20 Feb 2011 21:23:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 20 Feb 2011 21:23:39 +0000 (UTC) Cc: bug-guile@gnu.org, Ludovic =?utf-8?Q?Court=C3=A8s?= To: Bruno Haible Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Feb 20 22:23:33 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PrGke-0003jI-59 for guile-bugs@m.gmane.org; Sun, 20 Feb 2011 22:23:32 +0100 Original-Received: from localhost ([127.0.0.1]:35311 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrGkd-0002ns-0l for guile-bugs@m.gmane.org; Sun, 20 Feb 2011 16:23:31 -0500 Original-Received: from [140.186.70.92] (port=60242 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrGkS-0002nn-KX for bug-guile@gnu.org; Sun, 20 Feb 2011 16:23:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PrGkR-0008Hv-Dr for bug-guile@gnu.org; Sun, 20 Feb 2011 16:23:20 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:62460 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PrGkR-0008Hl-BR; Sun, 20 Feb 2011 16:23:19 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 501F0383F; Sun, 20 Feb 2011 16:24:28 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=u9U+IRxIV2I6zRBj3ArQ9LlykpU=; b=kRbydw XGTrJlQn5F5C/5NdFongaOFKmrziPd7AwuqnNKSso0N+rywGEG5bi4vqdr1NATDA b3S7gwvRi+3j025GWPTEZrb2BiaL9AWVX7fg+DPuPhlVLAB65jnm9WN7sn0Qyj95 qgEodFWBVxeswdEW6b2QpeOpWY2DpTpmpp7FM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=CAFIs3yDd8cCC9VKOSAQqLQBs5NyCAw9 HvVaZhLyFXi2sxP6jf8fCej2pAX1Wro8DHHi6GMt471edEI6YY7ceJVk+tmuvgk9 x8plGLP8Hga9gdYaEkMzur8B8ni2Q/zUOupQk626dCpNQtMBEYvEwSeheZMJ72ma dvFKSNcgASo= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 2E4D9383E; Sun, 20 Feb 2011 16:24:26 -0500 (EST) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 30612383C; Sun, 20 Feb 2011 16:24:21 -0500 (EST) In-Reply-To: <201102191507.50333.bruno@clisp.org> (Bruno Haible's message of "Sat, 19 Feb 2011 15:07:49 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: CB1DA21E-3D37-11E0-9093-AF401E47CF6F-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5196 Archived-At: On Sat 19 Feb 2011 15:07, Bruno Haible writes: > Hi, > > After guile-2.0.0 is installed using gcc, the installed file > $LIBDIR/pkgconfig/guile-2.0.pc contains a line such as > > Cflags: -I${pkgincludedir}/2.0 -Wall -I$LIBUNISTRING_PREFIX/include -pthread -I$GC_PREFIX/include The template is: Cflags: -I${pkgincludedir}/@GUILE_EFFECTIVE_VERSION@ @GUILE_CFLAGS@ @BDW_GC_CFLAGS@ In my copy I have: Cflags: -I${pkgincludedir}/2.0 -pthread And in configure.ac I have: GUILE_CFLAGS="$CPPFLAGS $PTHREAD_CFLAGS" You said that you configured like this: ./configure --host=x86_64-pc-linux-gnu \ --prefix=/arch/x86_64-linux/gnu-inst-guile/2.0.0 \ --libdir=/arch/x86_64-linux/gnu-inst-guile/2.0.0/lib64 \ CPPFLAGS=-Wall \ --with-libunistring-prefix=/arch/x86_64-linux/gnu-inst-libunistring/0.9.3 So it is the CPPFLAGS making it there. I would just remove CPPFLAGS entirely, but it seems to be used to communicate libunistring compilation flags to other parts of the build. Ludo do you have any thoughts on this? Thanks for the report, Andy -- http://wingolog.org/