diff options
| author | Paul Eggert | 2013-01-16 09:45:39 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-01-16 09:45:39 -0800 |
| commit | ffe04adc88e546c406f9b050238fb98a7243c7a0 (patch) | |
| tree | 2d324119a4154d6716aa2e2ed62aa1935df614dd | |
| parent | ac924f35e49d59bbdc22ca904ca7eef59f76963e (diff) | |
| download | emacs-ffe04adc88e546c406f9b050238fb98a7243c7a0.tar.gz emacs-ffe04adc88e546c406f9b050238fb98a7243c7a0.zip | |
Merge from gnulib.
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | lib/stdint.in.h | 2 | ||||
| -rw-r--r-- | m4/largefile.m4 | 23 |
3 files changed, 17 insertions, 14 deletions
| @@ -1,5 +1,11 @@ | |||
| 1 | 2013-01-16 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2013-01-16 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Merge from gnulib, incorporating: | ||
| 4 | 2013-01-16 largefile: port better to Mac OS X 10.5 | ||
| 5 | 2013-01-15 stdint: fix build with Android's Bionic fox x86 | ||
| 6 | |||
| 7 | 2013-01-16 Paul Eggert <eggert@cs.ucla.edu> | ||
| 8 | |||
| 3 | * configure.ac: Document that --enable-gcc-warnings emits errors. | 9 | * configure.ac: Document that --enable-gcc-warnings emits errors. |
| 4 | (Bug#13448) | 10 | (Bug#13448) |
| 5 | 11 | ||
diff --git a/lib/stdint.in.h b/lib/stdint.in.h index 6e5824b5b67..2db8b2e378b 100644 --- a/lib/stdint.in.h +++ b/lib/stdint.in.h | |||
| @@ -39,7 +39,7 @@ | |||
| 39 | Ideally we should test __BIONIC__ here, but it is only defined after | 39 | Ideally we should test __BIONIC__ here, but it is only defined after |
| 40 | <sys/cdefs.h> has been included; hence test __ANDROID__ instead. */ | 40 | <sys/cdefs.h> has been included; hence test __ANDROID__ instead. */ |
| 41 | #if defined __ANDROID__ \ | 41 | #if defined __ANDROID__ \ |
| 42 | && defined _SYS_TYPES_H_ && !defined _SSIZE_T_DEFINED_ | 42 | && defined _SYS_TYPES_H_ && !defined __need_size_t |
| 43 | # @INCLUDE_NEXT@ @NEXT_STDINT_H@ | 43 | # @INCLUDE_NEXT@ @NEXT_STDINT_H@ |
| 44 | #else | 44 | #else |
| 45 | 45 | ||
diff --git a/m4/largefile.m4 b/m4/largefile.m4 index 62f2b1403c4..1e605e3d829 100644 --- a/m4/largefile.m4 +++ b/m4/largefile.m4 | |||
| @@ -5,9 +5,10 @@ | |||
| 5 | # gives unlimited permission to copy and/or distribute it, | 5 | # gives unlimited permission to copy and/or distribute it, |
| 6 | # with or without modifications, as long as this notice is preserved. | 6 | # with or without modifications, as long as this notice is preserved. |
| 7 | 7 | ||
| 8 | # The following implementation works around a problem in autoconf <= 2.68; | 8 | # The following implementation works around a problem in autoconf <= 2.69; |
| 9 | # AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5. | 9 | # AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5, |
| 10 | m4_version_prereq([2.69], [] ,[ | 10 | # or configures them incorrectly in some cases. |
| 11 | m4_version_prereq([2.70], [] ,[ | ||
| 11 | 12 | ||
| 12 | # _AC_SYS_LARGEFILE_TEST_INCLUDES | 13 | # _AC_SYS_LARGEFILE_TEST_INCLUDES |
| 13 | # ------------------------------- | 14 | # ------------------------------- |
| @@ -25,9 +26,9 @@ m4_define([_AC_SYS_LARGEFILE_TEST_INCLUDES], | |||
| 25 | 26 | ||
| 26 | 27 | ||
| 27 | # _AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, | 28 | # _AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, |
| 28 | # CACHE-VAR, | 29 | # CACHE-VAR, |
| 29 | # DESCRIPTION, | 30 | # DESCRIPTION, |
| 30 | # PROLOGUE, [FUNCTION-BODY]) | 31 | # PROLOGUE, [FUNCTION-BODY]) |
| 31 | # -------------------------------------------------------- | 32 | # -------------------------------------------------------- |
| 32 | m4_define([_AC_SYS_LARGEFILE_MACRO_VALUE], | 33 | m4_define([_AC_SYS_LARGEFILE_MACRO_VALUE], |
| 33 | [AC_CACHE_CHECK([for $1 value needed for large files], [$3], | 34 | [AC_CACHE_CHECK([for $1 value needed for large files], [$3], |
| @@ -93,15 +94,11 @@ if test "$enable_largefile" != no; then | |||
| 93 | [_AC_SYS_LARGEFILE_TEST_INCLUDES]) | 94 | [_AC_SYS_LARGEFILE_TEST_INCLUDES]) |
| 94 | fi | 95 | fi |
| 95 | 96 | ||
| 96 | AH_VERBATIM([_DARWIN_USE_64_BIT_INODE], | 97 | AC_DEFINE([_DARWIN_USE_64_BIT_INODE], [1], |
| 97 | [/* Enable large inode numbers on Mac OS X. */ | 98 | [Enable large inode numbers on Mac OS X 10.5.]) |
| 98 | #ifndef _DARWIN_USE_64_BIT_INODE | ||
| 99 | # define _DARWIN_USE_64_BIT_INODE 1 | ||
| 100 | #endif]) | ||
| 101 | fi | 99 | fi |
| 102 | ])# AC_SYS_LARGEFILE | 100 | ])# AC_SYS_LARGEFILE |
| 103 | 101 | ])# m4_version_prereq 2.70 | |
| 104 | ])# m4_version_prereq 2.69 | ||
| 105 | 102 | ||
| 106 | # Enable large files on systems where this is implemented by Gnulib, not by the | 103 | # Enable large files on systems where this is implemented by Gnulib, not by the |
| 107 | # system headers. | 104 | # system headers. |