1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-28 07:50:48 -08:00

(main) [USE_FONT_BACKEND]: Handle arg

--enable-font-backend.  Call syms_of_font.
This commit is contained in:
Kenichi Handa 2006-06-06 03:50:58 +00:00
parent 8443e69e76
commit d53f587bee

View file

@ -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 */