diff options
| author | Glenn Morris | 2010-05-15 14:31:19 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-05-15 14:31:19 -0700 |
| commit | 6e546d181bf5911fafac9d64c46652e34c34d62e (patch) | |
| tree | c233f078fd4168ec2ff25d5a01e7f2262e544865 | |
| parent | 5276642588f017741f425c9c83025684feb5afdd (diff) | |
| download | emacs-6e546d181bf5911fafac9d64c46652e34c34d62e.tar.gz emacs-6e546d181bf5911fafac9d64c46652e34c34d62e.zip | |
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.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | configure.in | 17 | ||||
| -rw-r--r-- | msdos/ChangeLog | 5 | ||||
| -rw-r--r-- | msdos/sed1v2.inp | 2 | ||||
| -rw-r--r-- | msdos/sed1x.inp | 1 | ||||
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/Makefile.in | 10 |
7 files changed, 31 insertions, 13 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-05-15 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * configure.in (FONT_OBJ): Set to empty if !HAVE_X_WINDOWS. | ||
| 4 | |||
| 1 | 2010-05-15 Ken Raeburn <raeburn@raeburn.org> | 5 | 2010-05-15 Ken Raeburn <raeburn@raeburn.org> |
| 2 | 6 | ||
| 3 | * configure.in: Look for version string in its new location. | 7 | * configure.in: Look for version string in its new location. |
diff --git a/configure.in b/configure.in index ebd991b2ad6..27a7ad5541b 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -2231,14 +2231,6 @@ else | |||
| 2231 | HAVE_M17N_FLT=no | 2231 | HAVE_M17N_FLT=no |
| 2232 | fi | 2232 | fi |
| 2233 | 2233 | ||
| 2234 | FONT_OBJ=xfont.o | ||
| 2235 | if test "$HAVE_XFT" = "yes"; then | ||
| 2236 | FONT_OBJ="$FONT_OBJ ftfont.o xftfont.o ftxfont.o" | ||
| 2237 | elif test "$HAVE_FREETYPE" = "yes"; then | ||
| 2238 | FONT_OBJ="$FONT_OBJ ftfont.o ftxfont.o" | ||
| 2239 | fi | ||
| 2240 | AC_SUBST(FONT_OBJ) | ||
| 2241 | |||
| 2242 | ### End of font-backend (under X11) section. | 2234 | ### End of font-backend (under X11) section. |
| 2243 | 2235 | ||
| 2244 | AC_SUBST(FREETYPE_CFLAGS) | 2236 | AC_SUBST(FREETYPE_CFLAGS) |
| @@ -3075,14 +3067,23 @@ AC_DEFINE_UNQUOTED(config_opsysfile, "${opsysfile}", | |||
| 3075 | 3067 | ||
| 3076 | XMENU_OBJ= | 3068 | XMENU_OBJ= |
| 3077 | XOBJ= | 3069 | XOBJ= |
| 3070 | FONT_OBJ= | ||
| 3078 | if test "${HAVE_X_WINDOWS}" = "yes" ; then | 3071 | if test "${HAVE_X_WINDOWS}" = "yes" ; then |
| 3079 | AC_DEFINE(HAVE_X_WINDOWS, 1, | 3072 | AC_DEFINE(HAVE_X_WINDOWS, 1, |
| 3080 | [Define to 1 if you want to use the X window system.]) | 3073 | [Define to 1 if you want to use the X window system.]) |
| 3081 | XMENU_OBJ=xmenu.o | 3074 | XMENU_OBJ=xmenu.o |
| 3082 | XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o" | 3075 | XOBJ="xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o xsettings.o xgselect.o" |
| 3076 | FONT_OBJ=xfont.o | ||
| 3077 | if test "$HAVE_XFT" = "yes"; then | ||
| 3078 | FONT_OBJ="$FONT_OBJ ftfont.o xftfont.o ftxfont.o" | ||
| 3079 | elif test "$HAVE_FREETYPE" = "yes"; then | ||
| 3080 | FONT_OBJ="$FONT_OBJ ftfont.o ftxfont.o" | ||
| 3081 | fi | ||
| 3082 | AC_SUBST(FONT_OBJ) | ||
| 3083 | fi | 3083 | fi |
| 3084 | AC_SUBST(XMENU_OBJ) | 3084 | AC_SUBST(XMENU_OBJ) |
| 3085 | AC_SUBST(XOBJ) | 3085 | AC_SUBST(XOBJ) |
| 3086 | AC_SUBST(FONT_OBJ) | ||
| 3086 | 3087 | ||
| 3087 | WIDGET_OBJ= | 3088 | WIDGET_OBJ= |
| 3088 | MOTIF_LIBW= | 3089 | MOTIF_LIBW= |
diff --git a/msdos/ChangeLog b/msdos/ChangeLog index 7395bfe4743..bc9718e598f 100644 --- a/msdos/ChangeLog +++ b/msdos/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-05-15 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * sed1v2.inp (FONT_OBJ): Edit to empty for non-X case. | ||
| 4 | * sed1x.inp (FONT_OBJ): Edit to xfont.o for X case. | ||
| 5 | |||
| 1 | 2010-05-15 Eli Zaretskii <eliz@gnu.org> | 6 | 2010-05-15 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * sed3v2.inp (INSTALLABLES): Edit out extra ${EXEEXT} after | 8 | * sed3v2.inp (INSTALLABLES): Edit out extra ${EXEEXT} after |
diff --git a/msdos/sed1v2.inp b/msdos/sed1v2.inp index 22e9f843a16..3a10a8ada11 100644 --- a/msdos/sed1v2.inp +++ b/msdos/sed1v2.inp | |||
| @@ -106,7 +106,7 @@ s/\.h\.in/.h-in/ | |||
| 106 | /^START_FILES *=/s/@START_FILES@// | 106 | /^START_FILES *=/s/@START_FILES@// |
| 107 | /^OTHER_FILES *=/s/@OTHER_FILES@// | 107 | /^OTHER_FILES *=/s/@OTHER_FILES@// |
| 108 | /^XMENU_OBJ *=/s/@XMENU_OBJ@/xmenu.o/ | 108 | /^XMENU_OBJ *=/s/@XMENU_OBJ@/xmenu.o/ |
| 109 | /^FONT_OBJ *=/s/@FONT_OBJ@/xfont.o/ | 109 | /^FONT_OBJ *=/s/@FONT_OBJ@// |
| 110 | /^MOUSE_SUPPORT *=/s/@MOUSE_SUPPORT@/$(REAL_MOUSE_SUPPORT)/ | 110 | /^MOUSE_SUPPORT *=/s/@MOUSE_SUPPORT@/$(REAL_MOUSE_SUPPORT)/ |
| 111 | /^TOOLTIP_SUPPORT *=/s/@TOOLTIP_SUPPORT@// | 111 | /^TOOLTIP_SUPPORT *=/s/@TOOLTIP_SUPPORT@// |
| 112 | /^WINDOW_SUPPORT *=/s/@WINDOW_SUPPORT@// | 112 | /^WINDOW_SUPPORT *=/s/@WINDOW_SUPPORT@// |
diff --git a/msdos/sed1x.inp b/msdos/sed1x.inp index d9d7a87c992..cb86d0251cb 100644 --- a/msdos/sed1x.inp +++ b/msdos/sed1x.inp | |||
| @@ -10,6 +10,7 @@ s/DOC/DOC-X/g | |||
| 10 | /^OLDXMENU_TARGET *=/s!= *!= really-oldxmenu! | 10 | /^OLDXMENU_TARGET *=/s!= *!= really-oldxmenu! |
| 11 | /^LIBS_SYSTEM *=/s!= *!= -lxext -lsys! | 11 | /^LIBS_SYSTEM *=/s!= *!= -lxext -lsys! |
| 12 | /^MSDOS_X_OBJ *=/s!= *!= w16select.o termcap.o! | 12 | /^MSDOS_X_OBJ *=/s!= *!= w16select.o termcap.o! |
| 13 | /^FONT_OBJ *=/s!= *!= xfont.o! | ||
| 13 | /^TOOLTIP_SUPPORT *=/s!= *!= ${lispsource}tooltip.elc! | 14 | /^TOOLTIP_SUPPORT *=/s!= *!= ${lispsource}tooltip.elc! |
| 14 | /^WINDOW_SUPPORT *=/s!= *!= $(BASE_WINDOW_SUPPORT) $(X_WINDOW_SUPPORT)! | 15 | /^WINDOW_SUPPORT *=/s!= *!= $(BASE_WINDOW_SUPPORT) $(X_WINDOW_SUPPORT)! |
| 15 | /^temacs *:/s!OLDXMENU!LIBXMENU! | 16 | /^temacs *:/s!OLDXMENU!LIBXMENU! |
diff --git a/src/ChangeLog b/src/ChangeLog index 877accc913b..76b4e70c7bc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-05-15 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (FONT_DRIVERS): Remove, replace with $FONT_OBJ. | ||
| 4 | (obj, SOME_MACHINE_OBJECTS): Use $FONT_OBJ. | ||
| 5 | |||
| 1 | 2010-05-15 Ken Raeburn <raeburn@raeburn.org> | 6 | 2010-05-15 Ken Raeburn <raeburn@raeburn.org> |
| 2 | 7 | ||
| 3 | * lisp.h (XFLOAT_DATA): Use "0?x:x" to generate an | 8 | * lisp.h (XFLOAT_DATA): Use "0?x:x" to generate an |
diff --git a/src/Makefile.in b/src/Makefile.in index 2674d532a2c..ede7d722543 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -208,7 +208,10 @@ NS_SUPPORT=@NS_SUPPORT@ | |||
| 208 | GNU_OBJC_CFLAGS=@GNU_OBJC_CFLAGS@ | 208 | GNU_OBJC_CFLAGS=@GNU_OBJC_CFLAGS@ |
| 209 | GNUSTEP_SYSTEM_LIBRARIES=@GNUSTEP_SYSTEM_LIBRARIES@ | 209 | GNUSTEP_SYSTEM_LIBRARIES=@GNUSTEP_SYSTEM_LIBRARIES@ |
| 210 | 210 | ||
| 211 | ## Only used if HAVE_X_WINDOWS. | 211 | ## Empty if !HAVE_X_WINDOWS |
| 212 | ## xfont.o ftfont.o xftfont.o ftxfont.o if HAVE_XFT | ||
| 213 | ## xfont.o ftfont.o ftxfont.o if HAVE_FREETYPE | ||
| 214 | ## else xfont.o | ||
| 212 | FONT_OBJ=@FONT_OBJ@ | 215 | FONT_OBJ=@FONT_OBJ@ |
| 213 | 216 | ||
| 214 | ## Used if HAVE_MOUSE. | 217 | ## Used if HAVE_MOUSE. |
| @@ -297,7 +300,6 @@ LIBXMENU=@LIBXMENU@ | |||
| 297 | LIBXT=$(TOOLKIT_LIBW) $(LIBXT_OTHER) | 300 | LIBXT=$(TOOLKIT_LIBW) $(LIBXT_OTHER) |
| 298 | LIBX_BASE=$(LIBXMENU) $(LD_SWITCH_X_SITE) | 301 | LIBX_BASE=$(LIBXMENU) $(LD_SWITCH_X_SITE) |
| 299 | LIBX_OTHER=@LIBX_OTHER@ | 302 | LIBX_OTHER=@LIBX_OTHER@ |
| 300 | FONT_DRIVERS=$(FONT_OBJ) | ||
| 301 | #endif /* HAVE_X_WINDOWS */ | 303 | #endif /* HAVE_X_WINDOWS */ |
| 302 | 304 | ||
| 303 | 305 | ||
| @@ -356,7 +358,7 @@ obj= dispnew.o frame.o scroll.o xdisp.o menu.o $(XMENU_OBJ) window.o \ | |||
| 356 | process.o callproc.o \ | 358 | process.o callproc.o \ |
| 357 | region-cache.o sound.o atimer.o \ | 359 | region-cache.o sound.o atimer.o \ |
| 358 | doprnt.o strftime.o intervals.o textprop.o composite.o md5.o \ | 360 | doprnt.o strftime.o intervals.o textprop.o composite.o md5.o \ |
| 359 | $(MSDOS_OBJ) $(MSDOS_X_OBJ) $(NS_OBJ) $(CYGWIN_OBJ) $(FONT_DRIVERS) | 361 | $(MSDOS_OBJ) $(MSDOS_X_OBJ) $(NS_OBJ) $(CYGWIN_OBJ) $(FONT_OBJ) |
| 360 | 362 | ||
| 361 | /* Object files used on some machine or other. | 363 | /* Object files used on some machine or other. |
| 362 | These go in the DOC file on all machines in case they are needed. */ | 364 | These go in the DOC file on all machines in case they are needed. */ |
| @@ -365,7 +367,7 @@ SOME_MACHINE_OBJECTS = dosfns.o msdos.o \ | |||
| 365 | fontset.o dbusbind.o \ | 367 | fontset.o dbusbind.o \ |
| 366 | nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o \ | 368 | nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o \ |
| 367 | w32.o w32console.o w32fns.o w32heap.o w32inevt.o \ | 369 | w32.o w32console.o w32fns.o w32heap.o w32inevt.o \ |
| 368 | w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o $(FONT_DRIVERS) | 370 | w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o $(FONT_OBJ) |
| 369 | 371 | ||
| 370 | gmallocobj = | 372 | gmallocobj = |
| 371 | rallocobj = | 373 | rallocobj = |