diff options
| author | Kenichi Handa | 2006-06-06 03:50:58 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2006-06-06 03:50:58 +0000 |
| commit | d53f587beec6dd9c0456a0d654b21703a114c19e (patch) | |
| tree | 884f96e6087dcd9e9c42bb08df0b9d9fa535c6b6 /src | |
| parent | 8443e69e76206a997dcdff6e41f1ddedd31a5db2 (diff) | |
| download | emacs-d53f587beec6dd9c0456a0d654b21703a114c19e.tar.gz emacs-d53f587beec6dd9c0456a0d654b21703a114c19e.zip | |
(main) [USE_FONT_BACKEND]: Handle arg
--enable-font-backend. Call syms_of_font.
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 13 |
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 | ||
| 825 | extern int enable_font_backend; | ||
| 826 | #endif /* USE_FONT_BACKEND */ | ||
| 824 | 827 | ||
| 825 | /* ARGSUSED */ | 828 | /* ARGSUSED */ |
| 826 | int | 829 | int |
| @@ -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 */ |