diff options
| author | Paul Eggert | 2011-04-29 00:55:57 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-29 00:55:57 -0700 |
| commit | d1a2ac5c058c374b2c8178d94ce401febe07e9d8 (patch) | |
| tree | 3e93e4caffc5f3b281ba648d9b85480c5812a224 | |
| parent | 8727937b9656243b361ba3d8d12ff1ac502a9080 (diff) | |
| download | emacs-d1a2ac5c058c374b2c8178d94ce401febe07e9d8.tar.gz emacs-d1a2ac5c058c374b2c8178d94ce401febe07e9d8.zip | |
* configure.in (BITS_PER_LONG_LONG): New macro.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | configure.in | 10 |
2 files changed, 10 insertions, 4 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-04-29 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * configure.in (BITS_PER_LONG_LONG): New macro. | ||
| 4 | |||
| 1 | 2011-04-27 Ben Key <bkey76@gmail.com> | 5 | 2011-04-27 Ben Key <bkey76@gmail.com> |
| 2 | 6 | ||
| 3 | * configure.in: Fixed a bug that caused configure with | 7 | * configure.in: Fixed a bug that caused configure with |
diff --git a/configure.in b/configure.in index 68404bf0bcd..aadb6ebe84c 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -3518,7 +3518,8 @@ AH_BOTTOM([ | |||
| 3518 | #endif | 3518 | #endif |
| 3519 | 3519 | ||
| 3520 | /* These default definitions are good for almost all machines. | 3520 | /* These default definitions are good for almost all machines. |
| 3521 | The exceptions override them in m/MACHINE.h. */ | 3521 | Any exceptions should override them in m/MACHINE.h. |
| 3522 | They must be usable in preprocessor conditionals. */ | ||
| 3522 | 3523 | ||
| 3523 | #ifndef BITS_PER_CHAR | 3524 | #ifndef BITS_PER_CHAR |
| 3524 | #define BITS_PER_CHAR 8 | 3525 | #define BITS_PER_CHAR 8 |
| @@ -3528,9 +3529,6 @@ AH_BOTTOM([ | |||
| 3528 | #define BITS_PER_SHORT 16 | 3529 | #define BITS_PER_SHORT 16 |
| 3529 | #endif | 3530 | #endif |
| 3530 | 3531 | ||
| 3531 | /* Note that lisp.h uses this in a preprocessor conditional, so it | ||
| 3532 | would not work to use sizeof. That being so, we do all of them | ||
| 3533 | without sizeof, for uniformity's sake. */ | ||
| 3534 | #ifndef BITS_PER_INT | 3532 | #ifndef BITS_PER_INT |
| 3535 | #define BITS_PER_INT 32 | 3533 | #define BITS_PER_INT 32 |
| 3536 | #endif | 3534 | #endif |
| @@ -3543,6 +3541,10 @@ AH_BOTTOM([ | |||
| 3543 | #endif | 3541 | #endif |
| 3544 | #endif | 3542 | #endif |
| 3545 | 3543 | ||
| 3544 | #if !defined BITS_PER_LONG_LONG && HAVE_LONG_LONG_INT | ||
| 3545 | #define BITS_PER_LONG_LONG 64 | ||
| 3546 | #endif | ||
| 3547 | |||
| 3546 | /* Define if the compiler supports function prototypes. It may do so but | 3548 | /* Define if the compiler supports function prototypes. It may do so but |
| 3547 | not define __STDC__ (e.g. DEC C by default) or may define it as zero. */ | 3549 | not define __STDC__ (e.g. DEC C by default) or may define it as zero. */ |
| 3548 | #undef PROTOTYPES | 3550 | #undef PROTOTYPES |