diff options
| author | Paul Eggert | 2011-04-22 00:36:41 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-22 00:36:41 -0700 |
| commit | c1e127f9f0431e1b7f6ebb705988bfd03ec450a7 (patch) | |
| tree | 4eb7d62bb3874d8387add0787b3123ac02aadc20 | |
| parent | ce1b6817dd36bc820fe0babf538c61186d92a2ec (diff) | |
| download | emacs-c1e127f9f0431e1b7f6ebb705988bfd03ec450a7.tar.gz emacs-c1e127f9f0431e1b7f6ebb705988bfd03ec450a7.zip | |
* configure.in: Suppress unnecessary checks for size_t.
(AC_TYPE_SIZE_T): Define an empty macro, to suppress obsolescent test.
(size_t): Do not check for this, and do not typedef. This code
is never exercised now.
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | configure.in | 9 |
2 files changed, 10 insertions, 6 deletions
| @@ -1,3 +1,10 @@ | |||
| 1 | 2011-04-22 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * configure.in: Suppress unnecessary checks for size_t. | ||
| 4 | (AC_TYPE_SIZE_T): Define an empty macro, to suppress obsolescent test. | ||
| 5 | (size_t): Do not check for this, and do not typedef. This code | ||
| 6 | is never exercised now. | ||
| 7 | |||
| 1 | 2011-04-21 Paul Eggert <eggert@cs.ucla.edu> | 8 | 2011-04-21 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 9 | ||
| 3 | * Makefile.in (GNULIB_MODULES): Add strtoumax. | 10 | * Makefile.in (GNULIB_MODULES): Add strtoumax. |
diff --git a/configure.in b/configure.in index d20dee81e5b..4ab8f58ba4e 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -987,6 +987,9 @@ else | |||
| 987 | CPPFLAGS="$C_SWITCH_SYSTEM $C_SWITCH_MACHINE $CPPFLAGS" | 987 | CPPFLAGS="$C_SWITCH_SYSTEM $C_SWITCH_MACHINE $CPPFLAGS" |
| 988 | fi | 988 | fi |
| 989 | 989 | ||
| 990 | # Suppress obsolescent Autoconf test for size_t; Emacs assumes C89 or better. | ||
| 991 | AC_DEFUN([AC_TYPE_SIZE_T]) | ||
| 992 | |||
| 990 | dnl Do this early because it can frob feature test macros for Unix-98 &c. | 993 | dnl Do this early because it can frob feature test macros for Unix-98 &c. |
| 991 | AC_SYS_LARGEFILE | 994 | AC_SYS_LARGEFILE |
| 992 | 995 | ||
| @@ -3026,8 +3029,6 @@ if test $emacs_cv_langinfo_codeset = yes; then | |||
| 3026 | [Define if you have <langinfo.h> and nl_langinfo(CODESET).]) | 3029 | [Define if you have <langinfo.h> and nl_langinfo(CODESET).]) |
| 3027 | fi | 3030 | fi |
| 3028 | 3031 | ||
| 3029 | AC_CHECK_TYPES(size_t) | ||
| 3030 | |||
| 3031 | AC_TYPE_MBSTATE_T | 3032 | AC_TYPE_MBSTATE_T |
| 3032 | 3033 | ||
| 3033 | AC_CACHE_CHECK([for C restricted array declarations], emacs_cv_c_restrict_arr, | 3034 | AC_CACHE_CHECK([for C restricted array declarations], emacs_cv_c_restrict_arr, |
| @@ -3553,10 +3554,6 @@ extern "C" | |||
| 3553 | void *alloca (size_t); | 3554 | void *alloca (size_t); |
| 3554 | #endif | 3555 | #endif |
| 3555 | 3556 | ||
| 3556 | #ifndef HAVE_SIZE_T | ||
| 3557 | typedef unsigned size_t; | ||
| 3558 | #endif | ||
| 3559 | |||
| 3560 | #ifndef HAVE_STRCHR | 3557 | #ifndef HAVE_STRCHR |
| 3561 | #define strchr(a, b) index (a, b) | 3558 | #define strchr(a, b) index (a, b) |
| 3562 | #endif | 3559 | #endif |