diff options
| author | Jim Blandy | 1993-02-22 14:26:51 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-02-22 14:26:51 +0000 |
| commit | 1dc4f30a69aff5dc9eb142ec178939bb45164c58 (patch) | |
| tree | ddd240299672313a2a87f17737329a5381403697 /src | |
| parent | 9fefd2bacbcd23bc1e62c276d96319772af32c71 (diff) | |
| download | emacs-1dc4f30a69aff5dc9eb142ec178939bb45164c58.tar.gz emacs-1dc4f30a69aff5dc9eb142ec178939bb45164c58.zip | |
* config.h.in: #define USE_TEXT_PROPERTIES by default.
* config.h.in (HAVE_CONST): New macro. If it's not #defined, #define
const to be the empty string.
* config.h.in: If we're not __STDC__, define volatile to be the
empty string.
Diffstat (limited to 'src')
| -rw-r--r-- | src/config.in | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/config.in b/src/config.in index 574bac6349f..6886fd79ad0 100644 --- a/src/config.in +++ b/src/config.in | |||
| @@ -45,7 +45,7 @@ and this notice must be preserved on all copies. */ | |||
| 45 | 45 | ||
| 46 | /* Define USE_TEXT_PROPERTIES to support visual and other properties | 46 | /* Define USE_TEXT_PROPERTIES to support visual and other properties |
| 47 | on text. */ | 47 | on text. */ |
| 48 | /* #define USE_TEXT_PROPERTIES */ | 48 | #define USE_TEXT_PROPERTIES |
| 49 | 49 | ||
| 50 | /* Define USER_FULL_NAME to return a string | 50 | /* Define USER_FULL_NAME to return a string |
| 51 | that is the user's full name. | 51 | that is the user's full name. |
| @@ -172,6 +172,23 @@ and this notice must be preserved on all copies. */ | |||
| 172 | #define SIGTYPE void | 172 | #define SIGTYPE void |
| 173 | #endif | 173 | #endif |
| 174 | 174 | ||
| 175 | /* If it doesn't seem that the compiler we're using supports the | ||
| 176 | `const' qualifier, then the `configure' script will remove this | ||
| 177 | line. Some of the files that Emacs shares with other applications | ||
| 178 | (regex.h, getdate.y, etcetera) assume that const is defined. The | ||
| 179 | rule seems to be that if a system has a config.h file, that file | ||
| 180 | should take care of #defining const away if necessary. */ | ||
| 181 | #define HAVE_CONST | ||
| 182 | |||
| 183 | #ifndef HAVE_CONST | ||
| 184 | #define const | ||
| 185 | #endif | ||
| 186 | |||
| 187 | /* Non-ANSI C compilers don't have volatile. */ | ||
| 188 | #ifndef __STDC__ | ||
| 189 | #define volatile | ||
| 190 | #endif | ||
| 191 | |||
| 175 | #ifndef THIS_IS_YMAKEFILE | 192 | #ifndef THIS_IS_YMAKEFILE |
| 176 | /* Some of the files of Emacs which are intended for use with other | 193 | /* Some of the files of Emacs which are intended for use with other |
| 177 | programs assume that if you have a config.h file, you must declare | 194 | programs assume that if you have a config.h file, you must declare |