aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/emacs.c13
1 files changed, 13 insertions, 0 deletions
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 ()
821 return count >= 3 ? REPORT_EMACS_BUG_PRETEST_ADDRESS : REPORT_EMACS_BUG_ADDRESS; 821 return count >= 3 ? REPORT_EMACS_BUG_PRETEST_ADDRESS : REPORT_EMACS_BUG_ADDRESS;
822} 822}
823 823
824#ifdef USE_FONT_BACKEND
825extern int enable_font_backend;
826#endif /* USE_FONT_BACKEND */
824 827
825/* ARGSUSED */ 828/* ARGSUSED */
826int 829int
@@ -1178,6 +1181,13 @@ main (argc, argv
1178 exit (0); 1181 exit (0);
1179 } 1182 }
1180 1183
1184#ifdef USE_FONT_BACKEND
1185 enable_font_backend = 0;
1186 if (argmatch (argv, argc, "-enable-font-backend", "--enable-font-backend",
1187 4, NULL, &skip_args))
1188 enable_font_backend = 1;
1189#endif /* USE_FONT_BACKEND */
1190
1181 if (! noninteractive) 1191 if (! noninteractive)
1182 { 1192 {
1183#ifdef BSD_PGRPS 1193#ifdef BSD_PGRPS
@@ -1624,6 +1634,9 @@ main (argc, argv
1624 syms_of_window (); 1634 syms_of_window ();
1625 syms_of_xdisp (); 1635 syms_of_xdisp ();
1626#ifdef HAVE_WINDOW_SYSTEM 1636#ifdef HAVE_WINDOW_SYSTEM
1637#ifdef USE_FONT_BACKEND
1638 syms_of_font ();
1639#endif /* USE_FONT_BACKEND */
1627 syms_of_fringe (); 1640 syms_of_fringe ();
1628 syms_of_image (); 1641 syms_of_image ();
1629#endif /* HAVE_WINDOW_SYSTEM */ 1642#endif /* HAVE_WINDOW_SYSTEM */