# HG changeset patch # User Jim Blandy # Date 730391211 0 # Node ID 674578464a59e188b93e7a33fb7629269cf24355 # Parent f0d4fb2b9157bb9cab05d6a2f0a1b5722acb1028 * 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. diff -r f0d4fb2b9157 -r 674578464a59 src/config.in --- a/src/config.in Mon Feb 22 14:24:42 1993 +0000 +++ b/src/config.in Mon Feb 22 14:26:51 1993 +0000 @@ -45,7 +45,7 @@ /* Define USE_TEXT_PROPERTIES to support visual and other properties on text. */ -/* #define USE_TEXT_PROPERTIES */ +#define USE_TEXT_PROPERTIES /* Define USER_FULL_NAME to return a string that is the user's full name. @@ -172,6 +172,23 @@ #define SIGTYPE void #endif +/* If it doesn't seem that the compiler we're using supports the + `const' qualifier, then the `configure' script will remove this + line. Some of the files that Emacs shares with other applications + (regex.h, getdate.y, etcetera) assume that const is defined. The + rule seems to be that if a system has a config.h file, that file + should take care of #defining const away if necessary. */ +#define HAVE_CONST + +#ifndef HAVE_CONST +#define const +#endif + +/* Non-ANSI C compilers don't have volatile. */ +#ifndef __STDC__ +#define volatile +#endif + #ifndef THIS_IS_YMAKEFILE /* Some of the files of Emacs which are intended for use with other programs assume that if you have a config.h file, you must declare