From geb-bug-gnu-emacs@m.gmane.org Tue Feb 10 01:24:46 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 10 Feb 2009 09:24:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=GMAIL,MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1A9Of8X029138 for ; Tue, 10 Feb 2009 01:24:43 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWorB-00033z-Ho for bug-gnu-emacs@gnu.org; Tue, 10 Feb 2009 04:24:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWorA-00033A-5o for bug-gnu-emacs@gnu.org; Tue, 10 Feb 2009 04:24:41 -0500 Received: from [199.232.76.173] (port=46935 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWor9-000333-Aj for bug-gnu-emacs@gnu.org; Tue, 10 Feb 2009 04:24:39 -0500 Received: from main.gmane.org ([80.91.229.2]:54128 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LWor8-0001gx-Ot for bug-gnu-emacs@gnu.org; Tue, 10 Feb 2009 04:24:38 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LWor0-0004Zb-1k for bug-gnu-emacs@gnu.org; Tue, 10 Feb 2009 09:24:30 +0000 Received: from 213.91.219.2 ([213.91.219.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Feb 2009 09:24:30 +0000 Received: from yavor by 213.91.219.2 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Feb 2009 09:24:30 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Yavor Doganov Subject: Superfluous linking against fontconfig Date: Tue, 10 Feb 2009 11:24:18 +0200 Organization: The GNU Emacs Church (Bulgarian eparchy) Lines: 41 Message-ID: <87iqni7igt.GNU's_Not_Unix!%yavor@gnu.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 213.91.219.2 User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.2 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI) X-Jabber-ID: doganov@jabber.minus273.org Sender: news X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Tags: patch This change 2008-10-30 Emanuele Giaquinta * configure.in: Check fontconfig always. causes unnecessary linking with libfontconfig when configured --without-x or --with-ns: $ ldd -u -r src/emacs Unused direct dependencies: =09 /usr/lib/libfontconfig.so.1 For Emacs.app, it can't be even removed with -Wl,--as-needed since user-defined LDFLAGS do not propagate to the link rule (yet). A straightforward solution seems to be the following: 2009-02-10 Yavor Doganov (tiny change) * configure.in: Check for fontconfig only if HAVE_X11=3Dyes. --- configure.in 10 =D1=84=D0=B5=D0=B2 2009 09:37:08 +0200 1.585 +++ configure.in 10 =D1=84=D0=B5=D0=B2 2009 11:16:38 +0200=09 @@ -1825,7 +1825,9 @@ fi =20 ### Start of font-backend section. -PKG_CHECK_MODULES(FONTCONFIG, fontconfig >=3D 2.2.0, HAVE_FC=3Dyes, HAVE_F= C=3Dno) +if test "${HAVE_X11}" =3D yes; then + PKG_CHECK_MODULES(FONTCONFIG, fontconfig >=3D 2.2.0, HAVE_FC=3Dyes, HAVE= _FC=3Dno) +fi test "${HAVE_FC}" =3D "no" && with_freetype=3Dno =20 ## Use -lXft if available, unless `--with-freetype=3Dno' nor `--with-xft= =3Dno'. From rgm@gnu.org Fri Feb 27 13:56:28 2009 Received: (at 2266-done) by emacsbugs.donarmstrong.com; 27 Feb 2009 21:56:29 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=GMAIL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1RLuQ0Y011737 for <2266-done@emacsbugs.donarmstrong.com>; Fri, 27 Feb 2009 13:56:27 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LdAek-00053q-Hm; Fri, 27 Feb 2009 16:54:06 -0500 From: Glenn Morris To: 2266-done@debbugs.gnu.org Subject: Re: bug#2266: Superfluous linking against fontconfig References: <87iqni7igt.GNU's_Not_Unix!%yavor@gnu.org> X-Spook: Tony Blair eternity server AFSPC North Korea cybercash X-Ran: )zk`;{X&U.Bo*~@"%\p0mkvJMV~y[_=F]4@[OU:sXWp`KJ"+r/`B2Ww4v)=6+PPjxVdjoC X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 27 Feb 2009 16:54:06 -0500 In-Reply-To: <87iqni7igt.GNU's_Not_Unix!%yavor@gnu.org> (Yavor Doganov's message of "Tue, 10 Feb 2009 11:24:18 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Yavor Doganov wrote: > 2008-10-30 Emanuele Giaquinta > > * configure.in: Check fontconfig always. > > causes unnecessary linking with libfontconfig when configured > --without-x or --with-ns: 2009-02-23 Adrian Robert * configure.in (HAVE_XFT, HAVE_FREETYPE, HAVE_LIBOTF) (HAVE_M17N_FLT): Don't check for these unless HAVE_X11. From unknown Tue Jun 24 20:56:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Sat, 28 Mar 2009 14:24:16 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator