From d53f587beec6dd9c0456a0d654b21703a114c19e Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 6 Jun 2006 03:50:58 +0000 Subject: [PATCH] (main) [USE_FONT_BACKEND]: Handle arg --enable-font-backend. Call syms_of_font. --- src/emacs.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/emacs.c b/src/emacs.c index 41857b7ccb8..27e349c637f 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -821,6 +821,9 @@ bug_reporting_address () return count >= 3 ? REPORT_EMACS_BUG_PRETEST_ADDRESS : REPORT_EMACS_BUG_ADDRESS; } +#ifdef USE_FONT_BACKEND +extern int enable_font_backend; +#endif /* USE_FONT_BACKEND */ /* ARGSUSED */ int @@ -1178,6 +1181,13 @@ main (argc, argv exit (0); } +#ifdef USE_FONT_BACKEND + enable_font_backend = 0; + if (argmatch (argv, argc, "-enable-font-backend", "--enable-font-backend", + 4, NULL, &skip_args)) + enable_font_backend = 1; +#endif /* USE_FONT_BACKEND */ + if (! noninteractive) { #ifdef BSD_PGRPS @@ -1624,6 +1634,9 @@ main (argc, argv syms_of_window (); syms_of_xdisp (); #ifdef HAVE_WINDOW_SYSTEM +#ifdef USE_FONT_BACKEND + syms_of_font (); +#endif /* USE_FONT_BACKEND */ syms_of_fringe (); syms_of_image (); #endif /* HAVE_WINDOW_SYSTEM */ -- 2.39.5