diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-09-13 14:10:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:18:35 -0500 |
commit | 8e65d33d7d856eb4516971bd5689255cc4de3c06 (patch) | |
tree | e34778ce2d45821ee3c92e19fb11c186e5b5d795 /source4/lib | |
parent | 4e355095d11a907cecf14dbe28d4c05f527d4cba (diff) | |
download | samba-8e65d33d7d856eb4516971bd5689255cc4de3c06.tar.gz samba-8e65d33d7d856eb4516971bd5689255cc4de3c06.tar.bz2 samba-8e65d33d7d856eb4516971bd5689255cc4de3c06.zip |
r18474: - we don't need to explicit check stdint.h and inttypes.h
alsready done by autoconf magic
- display the sizes of all standard C types
- check for int64_t and uint64_t
metze
(This used to be commit 371a33a871b67f12af177696bae6aa87d2c1d9f9)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/replace/libreplace.m4 | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4 index a96890ba54..fa89830110 100644 --- a/source4/lib/replace/libreplace.m4 +++ b/source4/lib/replace/libreplace.m4 @@ -51,20 +51,30 @@ esac AC_CHECK_HEADERS([standards.h]) -AC_CHECK_SIZEOF(off_t,cross) -AC_CHECK_SIZEOF(size_t,cross) -AC_CHECK_SIZEOF(ssize_t,cross) - -AC_CHECK_HEADERS([stdint.h inttypes.h]) AC_CHECK_TYPE(uint_t, unsigned int) -AC_CHECK_TYPE(uint8_t, unsigned char) AC_CHECK_TYPE(int8_t, char) +AC_CHECK_TYPE(uint8_t, unsigned char) AC_CHECK_TYPE(int16_t, short) AC_CHECK_TYPE(uint16_t, unsigned short) AC_CHECK_TYPE(int32_t, long) -AC_CHECK_TYPE(intptr_t, unsigned long long) AC_CHECK_TYPE(uint32_t, unsigned long) +AC_CHECK_TYPE(int64_t, long long) +AC_CHECK_TYPE(uint64_t, unsigned long long) + +AC_CHECK_TYPE(size_t, unsigned int) AC_CHECK_TYPE(ssize_t, int) + +AC_CHECK_SIZEOF(int) +AC_CHECK_SIZEOF(char) +AC_CHECK_SIZEOF(short) +AC_CHECK_SIZEOF(long) +AC_CHECK_SIZEOF(long long) + +AC_CHECK_SIZEOF(off_t) +AC_CHECK_SIZEOF(size_t) +AC_CHECK_SIZEOF(ssize_t) + +AC_CHECK_TYPE(intptr_t, unsigned long long) AC_CHECK_TYPE(ptrdiff_t, unsigned long long) AC_TYPE_SIGNAL @@ -77,7 +87,6 @@ AC_STRUCT_ST_RDEV AC_CHECK_TYPE(ino_t,unsigned) AC_CHECK_TYPE(loff_t,off_t) AC_CHECK_TYPE(offset_t,loff_t) -AC_CHECK_TYPES(long long) AC_FUNC_MEMCMP |