emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r100307: Always define FONT_OBJ; to


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r100307: Always define FONT_OBJ; to empty in the non-X case.
Date: Sat, 15 May 2010 14:31:19 -0700
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 100307
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Sat 2010-05-15 14:31:19 -0700
message:
  Always define FONT_OBJ; to empty in the non-X case.
  
  * configure.in (FONT_OBJ): Set to empty if !HAVE_X_WINDOWS.
  
  * src/Makefile.in (FONT_DRIVERS): Remove, replace with $FONT_OBJ.
  (obj, SOME_MACHINE_OBJECTS): Use $FONT_OBJ.
  
  * msdos/sed1v2.inp (FONT_OBJ): Edit to empty for non-X case.
  * msdos/sed1x.inp (FONT_OBJ): Edit to xfont.o for X case.
modified:
  ChangeLog
  configure.in
  msdos/ChangeLog
  msdos/sed1v2.inp
  msdos/sed1x.inp
  src/ChangeLog
  src/Makefile.in
=== modified file 'ChangeLog'
--- a/ChangeLog 2010-05-15 21:11:37 +0000
+++ b/ChangeLog 2010-05-15 21:31:19 +0000
@@ -1,3 +1,7 @@
+2010-05-15  Glenn Morris  <address@hidden>
+
+       * configure.in (FONT_OBJ): Set to empty if !HAVE_X_WINDOWS.
+
 2010-05-15  Ken Raeburn  <address@hidden>
 
        * configure.in: Look for version string in its new location.

=== modified file 'configure.in'
--- a/configure.in      2010-05-15 21:11:37 +0000
+++ b/configure.in      2010-05-15 21:31:19 +0000
@@ -2231,14 +2231,6 @@
     HAVE_M17N_FLT=no
 fi
 
-FONT_OBJ=xfont.o
-if test "$HAVE_XFT" = "yes"; then
-  FONT_OBJ="$FONT_OBJ ftfont.o xftfont.o ftxfont.o"
-elif test "$HAVE_FREETYPE" = "yes"; then
-  FONT_OBJ="$FONT_OBJ ftfont.o ftxfont.o"
-fi
-AC_SUBST(FONT_OBJ)
-
 ### End of font-backend (under X11) section.
 
 AC_SUBST(FREETYPE_CFLAGS)
@@ -3075,14 +3067,23 @@
 
 XMENU_OBJ=
 XOBJ=
+FONT_OBJ=
 if test "${HAVE_X_WINDOWS}" = "yes" ; then
   AC_DEFINE(HAVE_X_WINDOWS, 1,
            [Define to 1 if you want to use the X window system.])
   XMENU_OBJ=xmenu.o
   XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o 
xsettings.o xgselect.o"
+  FONT_OBJ=xfont.o
+  if test "$HAVE_XFT" = "yes"; then
+    FONT_OBJ="$FONT_OBJ ftfont.o xftfont.o ftxfont.o"
+  elif test "$HAVE_FREETYPE" = "yes"; then
+    FONT_OBJ="$FONT_OBJ ftfont.o ftxfont.o"
+  fi
+  AC_SUBST(FONT_OBJ)
 fi
 AC_SUBST(XMENU_OBJ)
 AC_SUBST(XOBJ)
+AC_SUBST(FONT_OBJ)
 
 WIDGET_OBJ=
 MOTIF_LIBW=

=== modified file 'msdos/ChangeLog'
--- a/msdos/ChangeLog   2010-05-15 07:19:59 +0000
+++ b/msdos/ChangeLog   2010-05-15 21:31:19 +0000
@@ -1,3 +1,8 @@
+2010-05-15  Glenn Morris  <address@hidden>
+
+       * sed1v2.inp (FONT_OBJ): Edit to empty for non-X case.
+       * sed1x.inp (FONT_OBJ): Edit to xfont.o for X case.
+
 2010-05-15  Eli Zaretskii  <address@hidden>
 
        * sed3v2.inp (INSTALLABLES): Edit out extra ${EXEEXT} after

=== modified file 'msdos/sed1v2.inp'
--- a/msdos/sed1v2.inp  2010-05-15 07:19:59 +0000
+++ b/msdos/sed1v2.inp  2010-05-15 21:31:19 +0000
@@ -106,7 +106,7 @@
 /^START_FILES *=/s/@START_FILES@//
 /^OTHER_FILES *=/s/@OTHER_FILES@//
 /^XMENU_OBJ *=/s/@XMENU_OBJ@/xmenu.o/
-/^FONT_OBJ *=/s/@FONT_OBJ@/xfont.o/
+/^FONT_OBJ *=/s/@FONT_OBJ@//
 /^MOUSE_SUPPORT *=/s/@MOUSE_SUPPORT@/$(REAL_MOUSE_SUPPORT)/
 /^TOOLTIP_SUPPORT *=/s/@TOOLTIP_SUPPORT@//
 /^WINDOW_SUPPORT *=/s/@WINDOW_SUPPORT@//

=== modified file 'msdos/sed1x.inp'
--- a/msdos/sed1x.inp   2010-05-15 01:55:24 +0000
+++ b/msdos/sed1x.inp   2010-05-15 21:31:19 +0000
@@ -10,6 +10,7 @@
 /^OLDXMENU_TARGET *=/s!= *!= really-oldxmenu!
 /^LIBS_SYSTEM *=/s!= *!= -lxext -lsys!
 /^MSDOS_X_OBJ *=/s!= *!= w16select.o termcap.o!
+/^FONT_OBJ *=/s!= *!= xfont.o!
 /^TOOLTIP_SUPPORT *=/s!= *!= ${lispsource}tooltip.elc!
 /^WINDOW_SUPPORT *=/s!= *!= $(BASE_WINDOW_SUPPORT) $(X_WINDOW_SUPPORT)!
 /^temacs *:/s!OLDXMENU!LIBXMENU!

=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2010-05-15 21:19:05 +0000
+++ b/src/ChangeLog     2010-05-15 21:31:19 +0000
@@ -1,3 +1,8 @@
+2010-05-15  Glenn Morris  <address@hidden>
+
+       * Makefile.in (FONT_DRIVERS): Remove, replace with $FONT_OBJ.
+       (obj, SOME_MACHINE_OBJECTS): Use $FONT_OBJ.
+
 2010-05-15  Ken Raeburn  <address@hidden>
 
        * lisp.h (XFLOAT_DATA): Use "0?x:x" to generate an

=== modified file 'src/Makefile.in'
--- a/src/Makefile.in   2010-05-15 07:19:59 +0000
+++ b/src/Makefile.in   2010-05-15 21:31:19 +0000
@@ -208,7 +208,10 @@
 address@hidden@
 address@hidden@
 
-## Only used if HAVE_X_WINDOWS.
+## Empty if !HAVE_X_WINDOWS
+## xfont.o ftfont.o xftfont.o ftxfont.o if HAVE_XFT
+## xfont.o ftfont.o ftxfont.o if HAVE_FREETYPE
+## else xfont.o
 address@hidden@
 
 ## Used if HAVE_MOUSE.
@@ -297,7 +300,6 @@
 LIBXT=$(TOOLKIT_LIBW) $(LIBXT_OTHER)
 LIBX_BASE=$(LIBXMENU) $(LD_SWITCH_X_SITE)
 address@hidden@
-FONT_DRIVERS=$(FONT_OBJ)
 #endif /* HAVE_X_WINDOWS */
 
 
@@ -356,7 +358,7 @@
        process.o callproc.o \
        region-cache.o sound.o atimer.o \
        doprnt.o strftime.o intervals.o textprop.o composite.o md5.o \
-       $(MSDOS_OBJ) $(MSDOS_X_OBJ) $(NS_OBJ) $(CYGWIN_OBJ) $(FONT_DRIVERS)
+       $(MSDOS_OBJ) $(MSDOS_X_OBJ) $(NS_OBJ) $(CYGWIN_OBJ) $(FONT_OBJ)
 
 /* Object files used on some machine or other.
    These go in the DOC file on all machines in case they are needed.  */
@@ -365,7 +367,7 @@
   fontset.o dbusbind.o \
   nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o \
   w32.o w32console.o w32fns.o w32heap.o w32inevt.o \
-  w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o $(FONT_DRIVERS)
+  w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o $(FONT_OBJ)
 
 gmallocobj =
 rallocobj =


reply via email to

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