diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/config.in | 77 |
1 files changed, 50 insertions, 27 deletions
diff --git a/src/config.in b/src/config.in index f34b20117a4..37fd3dfd465 100644 --- a/src/config.in +++ b/src/config.in | |||
| @@ -22,17 +22,16 @@ and this notice must be preserved on all copies. */ | |||
| 22 | 22 | ||
| 23 | /* The configuration script links system.h to a s- file that describes | 23 | /* The configuration script links system.h to a s- file that describes |
| 24 | the system type you are using. | 24 | the system type you are using. |
| 25 | See the file ../etc/MACHINES for a list of systems and | 25 | See the file ../share-lib/MACHINES for a list of systems and |
| 26 | the names of the s- files to use for them. | 26 | the names of the s- files to use for them. |
| 27 | See s-template.h for documentation on writing s- files. */ | 27 | See s-template.h for documentation on writing s- files. */ |
| 28 | #include "system.h" | 28 | #include "opsystem.h" |
| 29 | 29 | ||
| 30 | /* The configuration script links machine.h to a m- file that | 30 | /* The configuration script links machine.h to a m- file that |
| 31 | describes the machine and system you use. | 31 | describes the machine and system you use. |
| 32 | See the file ../etc/MACHINES for a list of machines and | 32 | See the file ../share-lib/MACHINES for a list of machines and |
| 33 | the names of the m- files to use for them. | 33 | the names of the m- files to use for them. |
| 34 | See m-template.h for info on what m- files should define. | 34 | See m-template.h for info on what m- files should define. */ |
| 35 | */ | ||
| 36 | #include "machine.h" | 35 | #include "machine.h" |
| 37 | 36 | ||
| 38 | /* Load in the conversion definitions if this system | 37 | /* Load in the conversion definitions if this system |
| @@ -48,18 +47,24 @@ and this notice must be preserved on all copies. */ | |||
| 48 | 47 | ||
| 49 | /* Define HAVE_X_WINDOWS if you want to use the X window system. */ | 48 | /* Define HAVE_X_WINDOWS if you want to use the X window system. */ |
| 50 | 49 | ||
| 50 | #ifndef HAVE_X_WINDOWS | ||
| 51 | /* #define HAVE_X_WINDOWS */ | 51 | /* #define HAVE_X_WINDOWS */ |
| 52 | #endif | ||
| 52 | 53 | ||
| 53 | /* Define HAVE_X11 if you want to use version 11 of X windows. | 54 | /* Define HAVE_X11 if you want to use version 11 of X windows. |
| 54 | Otherwise, Emacs expects to use version 10. */ | 55 | Otherwise, Emacs expects to use version 10. */ |
| 55 | 56 | ||
| 56 | #define HAVE_X11 | 57 | #ifndef HAVE_X11 |
| 58 | /* #define HAVE_X11 */ | ||
| 59 | #endif | ||
| 57 | 60 | ||
| 58 | /* Define HAVE_X_MENU if you want to use the X window menu system. | 61 | /* Define HAVE_X_MENU if you want to use the X window menu system. |
| 59 | This appears to work on some machines that support X | 62 | This appears to work on some machines that support X |
| 60 | and not on others. */ | 63 | and not on others. */ |
| 61 | 64 | ||
| 65 | #ifndef HAVE_X_MENU | ||
| 62 | /* #define HAVE_X_MENU */ | 66 | /* #define HAVE_X_MENU */ |
| 67 | #endif | ||
| 63 | 68 | ||
| 64 | /* Define `subprocesses' should be defined if you want to | 69 | /* Define `subprocesses' should be defined if you want to |
| 65 | have code for asynchronous subprocesses | 70 | have code for asynchronous subprocesses |
| @@ -69,7 +74,7 @@ and this notice must be preserved on all copies. */ | |||
| 69 | 74 | ||
| 70 | #ifndef VMS | 75 | #ifndef VMS |
| 71 | #ifndef USG | 76 | #ifndef USG |
| 72 | #define subprocesses | 77 | /* #define subprocesses */ |
| 73 | #endif | 78 | #endif |
| 74 | #endif | 79 | #endif |
| 75 | 80 | ||
| @@ -90,50 +95,47 @@ and this notice must be preserved on all copies. */ | |||
| 90 | 95 | ||
| 91 | /* #define AMPERSAND_FULL_NAME */ | 96 | /* #define AMPERSAND_FULL_NAME */ |
| 92 | 97 | ||
| 93 | /* Maximum screen width we handle. */ | ||
| 94 | |||
| 95 | #define MScreenWidth 300 | ||
| 96 | |||
| 97 | /* Maximum screen length we handle. */ | ||
| 98 | |||
| 99 | #define MScreenLength 300 | ||
| 100 | |||
| 101 | /* # bytes of pure Lisp code to leave space for. | ||
| 102 | Note that s-vms.h, m-sun2.h and m-sparc.h may override this default. */ | ||
| 103 | |||
| 104 | #ifndef PURESIZE | ||
| 105 | #ifdef HAVE_X_WINDOWS | ||
| 106 | #define PURESIZE 122000 | ||
| 107 | #else | ||
| 108 | #define PURESIZE 118000 | ||
| 109 | #endif | ||
| 110 | #endif | ||
| 111 | |||
| 112 | /* Define HIGHPRI as a negative number | 98 | /* Define HIGHPRI as a negative number |
| 113 | if you want Emacs to run at a higher than normal priority. | 99 | if you want Emacs to run at a higher than normal priority. |
| 114 | For this to take effect, you must install Emacs with setuid root. | 100 | For this to take effect, you must install Emacs with setuid root. |
| 115 | Emacs will change back to the users's own uid after setting | 101 | Emacs will change back to the users's own uid after setting |
| 116 | its priority. */ | 102 | its priority. */ |
| 117 | 103 | ||
| 104 | #ifndef HIGHPRI | ||
| 118 | /* #define HIGHPRI */ | 105 | /* #define HIGHPRI */ |
| 106 | #endif | ||
| 119 | 107 | ||
| 120 | /* support `getenv' and `setenv' in Emacs (unix only) */ | 108 | /* support `getenv' and `setenv' in Emacs (unix only) */ |
| 121 | #define MAINTAIN_ENVIRONMENT | 109 | |
| 110 | #ifndef MAINTAIN_ENVIRONMENT | ||
| 111 | /* #define MAINTAIN_ENVIRONMENT */ | ||
| 112 | #endif | ||
| 122 | 113 | ||
| 123 | /* Define LISP_FLOAT_TYPE if you want emacs to support floating-point | 114 | /* Define LISP_FLOAT_TYPE if you want emacs to support floating-point |
| 124 | numbers. */ | 115 | numbers. */ |
| 125 | 116 | ||
| 117 | #ifndef LISP_FLOAT_TYPE | ||
| 126 | /* #define LISP_FLOAT_TYPE */ | 118 | /* #define LISP_FLOAT_TYPE */ |
| 119 | #endif | ||
| 127 | 120 | ||
| 128 | /* Define GNU_MALLOC if you want to use the *new* GNU memory allocator. */ | 121 | /* Define GNU_MALLOC if you want to use the *new* GNU memory allocator. */ |
| 129 | 122 | ||
| 123 | #ifndef GNU_MALLOC | ||
| 130 | /* #define GNU_MALLOC */ | 124 | /* #define GNU_MALLOC */ |
| 125 | #endif | ||
| 131 | 126 | ||
| 132 | /* Define REL_ALLOC if you want to use the relocating allocator for | 127 | /* Define REL_ALLOC if you want to use the relocating allocator for |
| 133 | buffer space. */ | 128 | buffer space. */ |
| 134 | 129 | ||
| 130 | #ifndef REL_ALLOC | ||
| 135 | /* #define REL_ALLOC */ | 131 | /* #define REL_ALLOC */ |
| 132 | #endif | ||
| 136 | 133 | ||
| 134 | /* If we're using any sort of window system, define MULTI_SCREEN. */ | ||
| 135 | #ifdef HAVE_X_WINDOWS | ||
| 136 | #define MULTI_SCREEN | ||
| 137 | #endif | ||
| 138 | |||
| 137 | /* Define LD_SWITCH_SITE to contain any special flags your loader may | 139 | /* Define LD_SWITCH_SITE to contain any special flags your loader may |
| 138 | need. For instance, if you've defined HAVE_X_WINDOWS above and your | 140 | need. For instance, if you've defined HAVE_X_WINDOWS above and your |
| 139 | X libraries aren't in a place that your loader can find on its own, | 141 | X libraries aren't in a place that your loader can find on its own, |
| @@ -147,3 +149,24 @@ and this notice must be preserved on all copies. */ | |||
| 147 | own, you might want to add "-I/..." or something similar. */ | 149 | own, you might want to add "-I/..." or something similar. */ |
| 148 | 150 | ||
| 149 | /* #define C_SWITCH_SITE */ | 151 | /* #define C_SWITCH_SITE */ |
| 152 | |||
| 153 | /* Define this macro if you want to use 16-bit GLYPHs. Currently this | ||
| 154 | option isn't terribly useful (the current distribution doesn't | ||
| 155 | support large characters in buffer text), so the configuration | ||
| 156 | script doesn't provide an option to select it. | ||
| 157 | |||
| 158 | A character is displayed on a given terminal by means of a sequence | ||
| 159 | of one or more GLYPHs. A GLYPH is something that takes up exactly | ||
| 160 | one display position on the screen. | ||
| 161 | |||
| 162 | Emacs can use 8-bit or 16-bit values to represent GLYPHs. Under X | ||
| 163 | windows, 16-bit GLYPHs allow you to display characters from fonts | ||
| 164 | too large to be indexed by 8 bits alone, but drawing with 16-bit GLYPHs | ||
| 165 | is usually quite a bit slower than drawing with 8-bit GLYPHs. */ | ||
| 166 | /* #define GLYPH_16_BIT */ | ||
| 167 | |||
| 168 | #ifdef GLYPH_16_BIT | ||
| 169 | #define GLYPH unsigned short | ||
| 170 | #else | ||
| 171 | #define GLYPH unsigned char | ||
| 172 | #endif | ||