bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#2266: marked as done (Superfluous linking against fontconfig)


From: Emacs bug Tracking System
Subject: bug#2266: marked as done (Superfluous linking against fontconfig)
Date: Fri, 27 Feb 2009 22:05:05 +0000

Your message dated Fri, 27 Feb 2009 16:54:06 -0500
with message-id <odd4d3sg01.fsf@fencepost.gnu.org>
and subject line Re: bug#2266: Superfluous linking against fontconfig
has caused the Emacs bug report #2266,
regarding Superfluous linking against fontconfig
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
2266: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2266
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
--- Begin Message --- Subject: Superfluous linking against fontconfig Date: Tue, 10 Feb 2009 11:24:18 +0200 User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/22.2 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI)
Tags: patch

This change

2008-10-30  Emanuele Giaquinta  <emanuele.giaquinta@gmail.com>

        * 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:
        
        /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  <yavor@gnu.org>  (tiny change)

        * configure.in: Check for fontconfig only if HAVE_X11=yes.

--- configure.in        10 фев 2009 09:37:08 +0200      1.585
+++ configure.in        10 фев 2009 11:16:38 +0200      
@@ -1825,7 +1825,9 @@
 fi
 
 ### Start of font-backend section.
-PKG_CHECK_MODULES(FONTCONFIG, fontconfig >= 2.2.0, HAVE_FC=yes, HAVE_FC=no)
+if test "${HAVE_X11}" = yes; then
+  PKG_CHECK_MODULES(FONTCONFIG, fontconfig >= 2.2.0, HAVE_FC=yes, HAVE_FC=no)
+fi
 test "${HAVE_FC}" = "no" && with_freetype=no
 
 ## Use -lXft if available, unless `--with-freetype=no' nor `--with-xft=no'.






--- End Message ---
--- Begin Message --- Subject: Re: bug#2266: Superfluous linking against fontconfig Date: Fri, 27 Feb 2009 16:54:06 -0500 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Yavor Doganov wrote:

> 2008-10-30  Emanuele Giaquinta  <emanuele.giaquinta@gmail.com>
>
>       * configure.in: Check fontconfig always.
>
> causes unnecessary linking with libfontconfig when configured
> --without-x or --with-ns:


2009-02-23  Adrian Robert  <Adrian.B.Robert@gmail.com>

     * configure.in (HAVE_XFT, HAVE_FREETYPE, HAVE_LIBOTF)
     (HAVE_M17N_FLT): Don't check for these unless HAVE_X11.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]