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 /src | |
| 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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/Makefile.in | 10 |
2 files changed, 11 insertions, 4 deletions
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 = |