aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2010-04-28 00:08:53 -0700
committerGlenn Morris2010-04-28 00:08:53 -0700
commitbc0b5f61851a4014a4b3857b5c8c79db96ee756f (patch)
treeae1ec4bd6ff6067f9c837fdac3ebf46b634efe38 /src
parent294c50a065cb7aa8486b592bb641742a8d0ed11c (diff)
downloademacs-bc0b5f61851a4014a4b3857b5c8c79db96ee756f.tar.gz
emacs-bc0b5f61851a4014a4b3857b5c8c79db96ee756f.zip
Set FONT_DRIVERS with configure rather than cpp.
* configure.in (FONT_OBJ): New output variable. * src/Makefile.in (FONT_OBJ): New, set by configure. (FONT_DRIVERS): Use $FONT_OBJ.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/Makefile.in11
2 files changed, 7 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b045fa9b4e1..53eab88cc39 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12010-04-28 Glenn Morris <rgm@gnu.org> 12010-04-28 Glenn Morris <rgm@gnu.org>
2 2
3 * Makefile.in (FONT_OBJ): New, set by configure.
4 (FONT_DRIVERS): Use $FONT_OBJ.
5
3 * Makefile.in (LIBXMU): Set with configure, not cpp. 6 * Makefile.in (LIBXMU): Set with configure, not cpp.
4 * s/aix4-2.h (LIBXMU): 7 * s/aix4-2.h (LIBXMU):
5 * s/hpux10-20.h (LIBXMU): 8 * s/hpux10-20.h (LIBXMU):
diff --git a/src/Makefile.in b/src/Makefile.in
index 256662a4029..a90b0ef862d 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -109,6 +109,9 @@ WIDGET_OBJ=@WIDGET_OBJ@
109NS_OBJ=@NS_OBJ@ 109NS_OBJ=@NS_OBJ@
110NS_SUPPORT=@NS_SUPPORT@ 110NS_SUPPORT=@NS_SUPPORT@
111 111
112## Only used if HAVE_X_WINDOWS and HAVE_WINDOW_SYSTEM.
113FONT_OBJ=@FONT_OBJ@
114
112LIBSELINUX_LIBS = @LIBSELINUX_LIBS@ 115LIBSELINUX_LIBS = @LIBSELINUX_LIBS@
113 116
114INTERVALS_H = dispextern.h intervals.h composite.h 117INTERVALS_H = dispextern.h intervals.h composite.h
@@ -374,13 +377,7 @@ ns_appsrc=@ns_appsrc@
374 377
375#ifdef HAVE_WINDOW_SYSTEM 378#ifdef HAVE_WINDOW_SYSTEM
376#ifdef HAVE_X_WINDOWS 379#ifdef HAVE_X_WINDOWS
377#if defined (HAVE_XFT) 380FONT_DRIVERS=$(FONT_OBJ)
378FONT_DRIVERS = xfont.o ftfont.o xftfont.o ftxfont.o
379#elif defined (HAVE_FREETYPE)
380FONT_DRIVERS = xfont.o ftfont.o ftxfont.o
381#else /* ! defined (HAVE_XFT) && ! defined (HAVE_FREETYPE) */
382FONT_DRIVERS = xfont.o
383#endif /* ! defined (HAVE_XFT) && ! defined (HAVE_FREETYPE) */
384#endif /* HAVE_X_WINDOWS */ 381#endif /* HAVE_X_WINDOWS */
385#endif /* HAVE_WINDOW_SYSTEM */ 382#endif /* HAVE_WINDOW_SYSTEM */
386 383