diff options
| author | Jim Blandy | 1993-05-10 00:15:35 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-05-10 00:15:35 +0000 |
| commit | 783f85c7ae3cbdbec34872e30dc29c252127c6a0 (patch) | |
| tree | c324802dde2fa9b72322dc15d2a8b794c9e6d605 /src | |
| parent | b61982dd6ef7f636ea3670cb44c08fbbca6bc1ad (diff) | |
| download | emacs-783f85c7ae3cbdbec34872e30dc29c252127c6a0.tar.gz emacs-783f85c7ae3cbdbec34872e30dc29c252127c6a0.zip | |
* config.h.in: Adjust this for use by autoconf's AC_CONFIG_HEADER,
instead of AC_OUTPUT.
* config.h.in: Remove mention of GLYPH datatype; that shouldn't be
a user option.
* lisp.h (GLYPH, MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): New macros.
Diffstat (limited to 'src')
| -rw-r--r-- | src/config.in | 93 |
1 files changed, 32 insertions, 61 deletions
diff --git a/src/config.in b/src/config.in index 63577e8cd45..735f60efebc 100644 --- a/src/config.in +++ b/src/config.in | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | /* configure fodder. See the end of ../configure. | ||
| 2 | /* GNU Emacs site configuration template file. -*- C -*- | 1 | /* GNU Emacs site configuration template file. -*- C -*- |
| 3 | Copyright (C) 1988 Free Software Foundation, Inc. | 2 | Copyright (C) 1988 Free Software Foundation, Inc. |
| 4 | 3 | ||
| @@ -32,29 +31,29 @@ and this notice must be preserved on all copies. */ | |||
| 32 | 31 | ||
| 33 | /* Define LISP_FLOAT_TYPE if you want emacs to support floating-point | 32 | /* Define LISP_FLOAT_TYPE if you want emacs to support floating-point |
| 34 | numbers. */ | 33 | numbers. */ |
| 35 | /* #define LISP_FLOAT_TYPE */ | 34 | #undef LISP_FLOAT_TYPE |
| 36 | 35 | ||
| 37 | /* Define GNU_MALLOC if you want to use the *new* GNU memory allocator. */ | 36 | /* Define GNU_MALLOC if you want to use the *new* GNU memory allocator. */ |
| 38 | /* #define GNU_MALLOC */ | 37 | #undef GNU_MALLOC |
| 39 | 38 | ||
| 40 | /* Define REL_ALLOC if you want to use the relocating allocator for | 39 | /* Define REL_ALLOC if you want to use the relocating allocator for |
| 41 | buffer space. */ | 40 | buffer space. */ |
| 42 | /* #define REL_ALLOC */ | 41 | #undef REL_ALLOC |
| 43 | 42 | ||
| 44 | /* Define HAVE_X_WINDOWS if you want to use the X window system. */ | 43 | /* Define HAVE_X_WINDOWS if you want to use the X window system. */ |
| 45 | /* #define HAVE_X_WINDOWS */ | 44 | #undef HAVE_X_WINDOWS |
| 46 | 45 | ||
| 47 | /* Define HAVE_X11 if you want to use version 11 of X windows. | 46 | /* Define HAVE_X11 if you want to use version 11 of X windows. |
| 48 | Otherwise, Emacs expects to use version 10. */ | 47 | Otherwise, Emacs expects to use version 10. */ |
| 49 | /* #define HAVE_X11 */ | 48 | #undef HAVE_X11 |
| 50 | 49 | ||
| 51 | /* Define this if you're using XFree386. */ | 50 | /* Define this if you're using XFree386. */ |
| 52 | /* #define HAVE_XFREE386 */ | 51 | #undef HAVE_XFREE386 |
| 53 | 52 | ||
| 54 | /* Define HAVE_X_MENU if you want to use the X window menu system. | 53 | /* Define HAVE_X_MENU if you want to use the X window menu system. |
| 55 | This appears to work on some machines that support X | 54 | This appears to work on some machines that support X |
| 56 | and not on others. */ | 55 | and not on others. */ |
| 57 | /* #define HAVE_X_MENU */ | 56 | #undef HAVE_X_MENU |
| 58 | 57 | ||
| 59 | /* If we're using any sort of window system, define MULTI_FRAME. */ | 58 | /* If we're using any sort of window system, define MULTI_FRAME. */ |
| 60 | #ifdef HAVE_X_WINDOWS | 59 | #ifdef HAVE_X_WINDOWS |
| @@ -74,34 +73,21 @@ and this notice must be preserved on all copies. */ | |||
| 74 | the user's full name. If neither this nor any other | 73 | the user's full name. If neither this nor any other |
| 75 | field contains the right thing, use pw_name, | 74 | field contains the right thing, use pw_name, |
| 76 | giving the user's login name, since that is better than nothing. */ | 75 | giving the user's login name, since that is better than nothing. */ |
| 77 | |||
| 78 | #define USER_FULL_NAME pw->pw_gecos | 76 | #define USER_FULL_NAME pw->pw_gecos |
| 79 | 77 | ||
| 80 | /* Define AMPERSAND_FULL_NAME if you use the convention | 78 | /* Define AMPERSAND_FULL_NAME if you use the convention |
| 81 | that & in the full name stands for the login id. */ | 79 | that & in the full name stands for the login id. */ |
| 82 | 80 | #undef AMPERSAND_FULL_NAME | |
| 83 | /* #define AMPERSAND_FULL_NAME */ | 81 | |
| 84 | 82 | /* Some things figured out by the configure script. */ | |
| 85 | /* Define this macro if you want to use 16-bit GLYPHs. Currently this | 83 | #undef HAVE_SYS_TIMEB_H |
| 86 | option isn't terribly useful (the current distribution doesn't | 84 | #undef HAVE_SYS_TIME_H |
| 87 | support large characters in buffer text), so the configuration | 85 | #undef HAVE_ALLOCA_H |
| 88 | script doesn't provide an option to select it. | 86 | #undef HAVE_GETTIMEOFDAY |
| 89 | 87 | #undef HAVE_GETHOSTNAME | |
| 90 | A character is displayed on a given terminal by means of a sequence | 88 | #undef HAVE_DUP2 |
| 91 | of one or more GLYPHs. A GLYPH is something that takes up exactly | 89 | #undef TM_IN_SYS_TIME |
| 92 | one display position on the frame. | 90 | #undef const |
| 93 | |||
| 94 | Emacs can use 8-bit or 16-bit values to represent GLYPHs. Under X | ||
| 95 | windows, 16-bit GLYPHs allow you to display characters from fonts | ||
| 96 | too large to be indexed by 8 bits alone, but drawing with 16-bit GLYPHs | ||
| 97 | is usually quite a bit slower than drawing with 8-bit GLYPHs. */ | ||
| 98 | /* #define GLYPH_16_BIT */ | ||
| 99 | |||
| 100 | #ifdef GLYPH_16_BIT | ||
| 101 | #define GLYPH unsigned short | ||
| 102 | #else | ||
| 103 | #define GLYPH unsigned char | ||
| 104 | #endif | ||
| 105 | 91 | ||
| 106 | /* If using GNU, then support inline function declarations. */ | 92 | /* If using GNU, then support inline function declarations. */ |
| 107 | #ifdef __GNUC__ | 93 | #ifdef __GNUC__ |
| @@ -110,40 +96,27 @@ and this notice must be preserved on all copies. */ | |||
| 110 | #define INLINE | 96 | #define INLINE |
| 111 | #endif | 97 | #endif |
| 112 | 98 | ||
| 113 | /* The configuration script replaces the string @opsysfile@ with the | 99 | /* The configuration script defines opsysfile to be the name of the |
| 114 | name of the s/*.h file that describes the system type you are | 100 | s/*.h file that describes the system type you are using. The file |
| 115 | using. The file is chosen based on the configuration name you | 101 | is chosen based on the configuration name you give. |
| 116 | give. | ||
| 117 | 102 | ||
| 118 | See the file ../etc/MACHINES for a list of systems and the | 103 | See the file ../etc/MACHINES for a list of systems and the |
| 119 | configuration names to use for them. | 104 | configuration names to use for them. |
| 120 | 105 | ||
| 121 | See s/template.h for documentation on writing s/*.h files. */ | 106 | See s/template.h for documentation on writing s/*.h files. */ |
| 107 | #undef config_opsysfile | ||
| 108 | #include config_opsysfile | ||
| 122 | 109 | ||
| 123 | #include "@opsysfile@" | 110 | /* The configuration script defines machfile to be the name of the |
| 124 | 111 | m/*.h file that describes the machine you are using. The file is | |
| 125 | /* The configuration script replaces the string @machfile@ with the | 112 | chosen based on the configuration name you give. |
| 126 | name of the m/*.h file that describes the machine you are using. | ||
| 127 | The file is chosen based on the configuration name you give. | ||
| 128 | 113 | ||
| 129 | See the file ../etc/MACHINES for a list of machines and the | 114 | See the file ../etc/MACHINES for a list of machines and the |
| 130 | configuration names to use for them. | 115 | configuration names to use for them. |
| 131 | 116 | ||
| 132 | See m/template.h for documentation on writing m/*.h files. */ | 117 | See m/template.h for documentation on writing m/*.h files. */ |
| 133 | 118 | #undef config_machfile | |
| 134 | #include "@machfile@" | 119 | #include config_machfile |
| 135 | |||
| 136 | /* Some s- files may define SYSTEM_MALLOC, in which case make sure | ||
| 137 | we don't use REL_ALLOC. */ | ||
| 138 | |||
| 139 | #ifdef SYSTEM_MALLOC | ||
| 140 | #ifdef GNU_MALLOC | ||
| 141 | #undef GNU_MALLOC | ||
| 142 | #ifdef REL_ALLOC | ||
| 143 | #undef REL_ALLOC | ||
| 144 | #endif | ||
| 145 | #endif | ||
| 146 | #endif | ||
| 147 | 120 | ||
| 148 | /* Load in the conversion definitions if this system | 121 | /* Load in the conversion definitions if this system |
| 149 | needs them and the source file being compiled has not | 122 | needs them and the source file being compiled has not |
| @@ -169,30 +142,28 @@ and this notice must be preserved on all copies. */ | |||
| 169 | #endif | 142 | #endif |
| 170 | 143 | ||
| 171 | /* Define LD_SWITCH_SITE to contain any special flags your loader may need. */ | 144 | /* Define LD_SWITCH_SITE to contain any special flags your loader may need. */ |
| 172 | /* #define LD_SWITCH_SITE */ | 145 | #undef LD_SWITCH_SITE |
| 173 | 146 | ||
| 174 | /* Define C_SWITCH_SITE to contain any special flags your compiler needs. */ | 147 | /* Define C_SWITCH_SITE to contain any special flags your compiler needs. */ |
| 175 | /* #define C_SWITCH_SITE */ | 148 | #undef C_SWITCH_SITE |
| 176 | 149 | ||
| 177 | /* Define LD_SWITCH_X_SITE to contain any special flags your loader | 150 | /* Define LD_SWITCH_X_SITE to contain any special flags your loader |
| 178 | may need to deal with X Windows. For instance, if you've defined | 151 | may need to deal with X Windows. For instance, if you've defined |
| 179 | HAVE_X_WINDOWS above and your X libraries aren't in a place that | 152 | HAVE_X_WINDOWS above and your X libraries aren't in a place that |
| 180 | your loader can find on its own, you might want to add "-L/..." or | 153 | your loader can find on its own, you might want to add "-L/..." or |
| 181 | something similar. */ | 154 | something similar. */ |
| 182 | #define LD_SWITCH_X_SITE @LD_SWITCH_X_SITE@ | 155 | #define LD_SWITCH_X_SITE |
| 183 | 156 | ||
| 184 | /* Define C_SWITCH_X_SITE to contain any special flags your compiler | 157 | /* Define C_SWITCH_X_SITE to contain any special flags your compiler |
| 185 | may need to deal with X Windows. For instance, if you've defined | 158 | may need to deal with X Windows. For instance, if you've defined |
| 186 | HAVE_X_WINDOWS above and your X include files aren't in a place | 159 | HAVE_X_WINDOWS above and your X include files aren't in a place |
| 187 | that your compiler can find on its own, you might want to add | 160 | that your compiler can find on its own, you might want to add |
| 188 | "-I/..." or something similar. */ | 161 | "-I/..." or something similar. */ |
| 189 | #define C_SWITCH_X_SITE @C_SWITCH_X_SITE@ | 162 | #define C_SWITCH_X_SITE |
| 190 | 163 | ||
| 191 | /* Define the return type of signal handlers if the s-xxx file | 164 | /* Define the return type of signal handlers if the s-xxx file |
| 192 | did not already do so. */ | 165 | did not already do so. */ |
| 193 | #ifndef RETSIGTYPE | ||
| 194 | #define RETSIGTYPE void | 166 | #define RETSIGTYPE void |
| 195 | #endif | ||
| 196 | 167 | ||
| 197 | /* SIGTYPE is the macro we actually use. */ | 168 | /* SIGTYPE is the macro we actually use. */ |
| 198 | #ifndef SIGTYPE | 169 | #ifndef SIGTYPE |