diff options
| author | Geoff Voelker | 1995-11-07 07:57:46 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1995-11-07 07:57:46 +0000 |
| commit | bdfab656b802988778c1d3ec8df002cb6eec0346 (patch) | |
| tree | d7cb28af8024f8f8abc73e1c827471792a4dd2d3 | |
| parent | 0492cf29a875ef32a2a81f5bd9783bf903fd6d65 (diff) | |
| download | emacs-bdfab656b802988778c1d3ec8df002cb6eec0346.tar.gz emacs-bdfab656b802988778c1d3ec8df002cb6eec0346.zip | |
Update to latest src/config.in.
| -rw-r--r-- | nt/config.nt | 30 | ||||
| -rw-r--r-- | nt/config.w95 | 30 |
2 files changed, 60 insertions, 0 deletions
diff --git a/nt/config.nt b/nt/config.nt index 377fc6f935b..8bf6a51fc1a 100644 --- a/nt/config.nt +++ b/nt/config.nt | |||
| @@ -69,6 +69,7 @@ and this notice must be preserved on all copies. */ | |||
| 69 | 69 | ||
| 70 | /* If we're using any sort of window system, define some consequences. */ | 70 | /* If we're using any sort of window system, define some consequences. */ |
| 71 | #ifdef HAVE_X_WINDOWS | 71 | #ifdef HAVE_X_WINDOWS |
| 72 | #define HAVE_WINDOW_SYSTEM | ||
| 72 | #define MULTI_KBOARD | 73 | #define MULTI_KBOARD |
| 73 | #define HAVE_FACES | 74 | #define HAVE_FACES |
| 74 | #define HAVE_MOUSE | 75 | #define HAVE_MOUSE |
| @@ -118,11 +119,13 @@ and this notice must be preserved on all copies. */ | |||
| 118 | #undef TIME_WITH_SYS_TIME | 119 | #undef TIME_WITH_SYS_TIME |
| 119 | 120 | ||
| 120 | #undef HAVE_LIBDNET | 121 | #undef HAVE_LIBDNET |
| 122 | #undef HAVE_LIBPTHREADS | ||
| 121 | #undef HAVE_LIBRESOLV | 123 | #undef HAVE_LIBRESOLV |
| 122 | 124 | ||
| 123 | #undef HAVE_ALLOCA_H | 125 | #undef HAVE_ALLOCA_H |
| 124 | 126 | ||
| 125 | #undef HAVE_GETTIMEOFDAY | 127 | #undef HAVE_GETTIMEOFDAY |
| 128 | #undef GETTIMEOFDAY_ONE_ARGUMENT | ||
| 126 | #undef HAVE_GETHOSTNAME | 129 | #undef HAVE_GETHOSTNAME |
| 127 | #undef HAVE_DUP2 | 130 | #undef HAVE_DUP2 |
| 128 | #undef HAVE_RENAME | 131 | #undef HAVE_RENAME |
| @@ -291,6 +294,11 @@ typedef unsigned long EMACS_UINT; | |||
| 291 | #define SIGTYPE RETSIGTYPE | 294 | #define SIGTYPE RETSIGTYPE |
| 292 | #endif | 295 | #endif |
| 293 | 296 | ||
| 297 | #ifdef emacs /* Don't do this for lib-src. */ | ||
| 298 | /* Tell regex.c to use a type compatible with Emacs. */ | ||
| 299 | #define RE_TRANSLATE_TYPE Lisp_Object * | ||
| 300 | #endif | ||
| 301 | |||
| 294 | /* The rest of the code currently tests the CPP symbol BSTRING. | 302 | /* The rest of the code currently tests the CPP symbol BSTRING. |
| 295 | Override any claims made by the system-description files. | 303 | Override any claims made by the system-description files. |
| 296 | Note that on some SCO version it is possible to have bcopy and not bcmp. */ | 304 | Note that on some SCO version it is possible to have bcopy and not bcmp. */ |
| @@ -317,3 +325,25 @@ extern char *getenv (); | |||
| 317 | #endif | 325 | #endif |
| 318 | 326 | ||
| 319 | #endif /* EMACS_CONFIG_H */ | 327 | #endif /* EMACS_CONFIG_H */ |
| 328 | |||
| 329 | /* These default definitions are good for almost all machines. | ||
| 330 | The exceptions override them in m/*.h. */ | ||
| 331 | |||
| 332 | #ifndef BITS_PER_CHAR | ||
| 333 | #define BITS_PER_CHAR 8 | ||
| 334 | #endif | ||
| 335 | |||
| 336 | #ifndef BITS_PER_SHORT | ||
| 337 | #define BITS_PER_SHORT 16 | ||
| 338 | #endif | ||
| 339 | |||
| 340 | /* Note that lisp.h uses this in a preprocessor conditional, so it | ||
| 341 | would not work to use sizeof. That being so, we do all of them | ||
| 342 | without sizeof, for uniformity's sake. */ | ||
| 343 | #ifndef BITS_PER_INT | ||
| 344 | #define BITS_PER_INT 32 | ||
| 345 | #endif | ||
| 346 | |||
| 347 | #ifndef BITS_PER_LONG | ||
| 348 | #define BITS_PER_LONG 32 | ||
| 349 | #endif | ||
diff --git a/nt/config.w95 b/nt/config.w95 index f8cc8a75426..284772776cb 100644 --- a/nt/config.w95 +++ b/nt/config.w95 | |||
| @@ -69,6 +69,7 @@ and this notice must be preserved on all copies. */ | |||
| 69 | 69 | ||
| 70 | /* If we're using any sort of window system, define some consequences. */ | 70 | /* If we're using any sort of window system, define some consequences. */ |
| 71 | #ifdef HAVE_X_WINDOWS | 71 | #ifdef HAVE_X_WINDOWS |
| 72 | #define HAVE_WINDOW_SYSTEM | ||
| 72 | #define MULTI_KBOARD | 73 | #define MULTI_KBOARD |
| 73 | #define HAVE_FACES | 74 | #define HAVE_FACES |
| 74 | #define HAVE_MOUSE | 75 | #define HAVE_MOUSE |
| @@ -118,11 +119,13 @@ and this notice must be preserved on all copies. */ | |||
| 118 | #undef TIME_WITH_SYS_TIME | 119 | #undef TIME_WITH_SYS_TIME |
| 119 | 120 | ||
| 120 | #undef HAVE_LIBDNET | 121 | #undef HAVE_LIBDNET |
| 122 | #undef HAVE_LIBPTHREADS | ||
| 121 | #undef HAVE_LIBRESOLV | 123 | #undef HAVE_LIBRESOLV |
| 122 | 124 | ||
| 123 | #undef HAVE_ALLOCA_H | 125 | #undef HAVE_ALLOCA_H |
| 124 | 126 | ||
| 125 | #undef HAVE_GETTIMEOFDAY | 127 | #undef HAVE_GETTIMEOFDAY |
| 128 | #undef GETTIMEOFDAY_ONE_ARGUMENT | ||
| 126 | #undef HAVE_GETHOSTNAME | 129 | #undef HAVE_GETHOSTNAME |
| 127 | #undef HAVE_DUP2 | 130 | #undef HAVE_DUP2 |
| 128 | #undef HAVE_RENAME | 131 | #undef HAVE_RENAME |
| @@ -291,6 +294,11 @@ typedef unsigned long EMACS_UINT; | |||
| 291 | #define SIGTYPE RETSIGTYPE | 294 | #define SIGTYPE RETSIGTYPE |
| 292 | #endif | 295 | #endif |
| 293 | 296 | ||
| 297 | #ifdef emacs /* Don't do this for lib-src. */ | ||
| 298 | /* Tell regex.c to use a type compatible with Emacs. */ | ||
| 299 | #define RE_TRANSLATE_TYPE Lisp_Object * | ||
| 300 | #endif | ||
| 301 | |||
| 294 | /* The rest of the code currently tests the CPP symbol BSTRING. | 302 | /* The rest of the code currently tests the CPP symbol BSTRING. |
| 295 | Override any claims made by the system-description files. | 303 | Override any claims made by the system-description files. |
| 296 | Note that on some SCO version it is possible to have bcopy and not bcmp. */ | 304 | Note that on some SCO version it is possible to have bcopy and not bcmp. */ |
| @@ -317,3 +325,25 @@ extern char *getenv (); | |||
| 317 | #endif | 325 | #endif |
| 318 | 326 | ||
| 319 | #endif /* EMACS_CONFIG_H */ | 327 | #endif /* EMACS_CONFIG_H */ |
| 328 | |||
| 329 | /* These default definitions are good for almost all machines. | ||
| 330 | The exceptions override them in m/*.h. */ | ||
| 331 | |||
| 332 | #ifndef BITS_PER_CHAR | ||
| 333 | #define BITS_PER_CHAR 8 | ||
| 334 | #endif | ||
| 335 | |||
| 336 | #ifndef BITS_PER_SHORT | ||
| 337 | #define BITS_PER_SHORT 16 | ||
| 338 | #endif | ||
| 339 | |||
| 340 | /* Note that lisp.h uses this in a preprocessor conditional, so it | ||
| 341 | would not work to use sizeof. That being so, we do all of them | ||
| 342 | without sizeof, for uniformity's sake. */ | ||
| 343 | #ifndef BITS_PER_INT | ||
| 344 | #define BITS_PER_INT 32 | ||
| 345 | #endif | ||
| 346 | |||
| 347 | #ifndef BITS_PER_LONG | ||
| 348 | #define BITS_PER_LONG 32 | ||
| 349 | #endif | ||