comparison src/emacs.c @ 90407:a5e4ef15f5c1

(main) [USE_FONT_BACKEND]: Handle arg --enable-font-backend. Call syms_of_font.
author Kenichi Handa <handa@m17n.org>
date Tue, 06 Jun 2006 03:50:58 +0000
parents e6bf73e43cf4
children a8190f7e546e
comparison
equal deleted inserted replaced
90406:205c3ef62243 90407:a5e4ef15f5c1
819 /* When `emacs-version' has at least three dots, it is development or 819 /* When `emacs-version' has at least three dots, it is development or
820 pretest version of Emacs. */ 820 pretest version of Emacs. */
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
825 extern int enable_font_backend;
826 #endif /* USE_FONT_BACKEND */
824 827
825 /* ARGSUSED */ 828 /* ARGSUSED */
826 int 829 int
827 main (argc, argv 830 main (argc, argv
828 #ifdef VMS 831 #ifdef VMS
1175 printf (USAGE1, argv[0], USAGE2); 1178 printf (USAGE1, argv[0], USAGE2);
1176 printf (USAGE3); 1179 printf (USAGE3);
1177 printf (USAGE4, bug_reporting_address ()); 1180 printf (USAGE4, bug_reporting_address ());
1178 exit (0); 1181 exit (0);
1179 } 1182 }
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 */
1180 1190
1181 if (! noninteractive) 1191 if (! noninteractive)
1182 { 1192 {
1183 #ifdef BSD_PGRPS 1193 #ifdef BSD_PGRPS
1184 if (initialized) 1194 if (initialized)
1622 syms_of_ntproc (); 1632 syms_of_ntproc ();
1623 #endif /* WINDOWSNT */ 1633 #endif /* WINDOWSNT */
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 */
1630 #ifdef HAVE_X_WINDOWS 1643 #ifdef HAVE_X_WINDOWS
1631 syms_of_xterm (); 1644 syms_of_xterm ();