diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-08-31 01:12:01 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-09-09 16:30:53 +0200 |
commit | 84ef91035f36ca6aed70d17da170d323880c5393 (patch) | |
tree | fe33c97ce01603054c554839107daca1ea943448 /src | |
parent | 9dbdf62243f01f6aee41c2b5f2976c56da47f25d (diff) | |
download | sssd-84ef91035f36ca6aed70d17da170d323880c5393.tar.gz sssd-84ef91035f36ca6aed70d17da170d323880c5393.tar.xz sssd-84ef91035f36ca6aed70d17da170d323880c5393.zip |
AUTOTOOLS: add check for type intptr_t
We check whether HAVE_INTPTR_T is defined in definition of macro
discard_const_p, but autootols macro AC_CHECK_TYPE did not generate it.
Diffstat (limited to 'src')
-rw-r--r-- | src/external/sizes.m4 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/external/sizes.m4 b/src/external/sizes.m4 index 53df61ded..ccbb69ce3 100644 --- a/src/external/sizes.m4 +++ b/src/external/sizes.m4 @@ -37,8 +37,11 @@ AC_CHECK_SIZEOF(off_t) AC_CHECK_SIZEOF(size_t) AC_CHECK_SIZEOF(ssize_t) -AC_CHECK_TYPE(intptr_t, long long) + +AC_CHECK_TYPES([intptr_t], + [], + [AC_DEFINE_UNQUOTED([intptr_t], [long long], + [Define to `long long' + if <stdint.h> does not define.])]) AC_CHECK_TYPE(uintptr_t, unsigned long long) AC_CHECK_TYPE(ptrdiff_t, unsigned long long) - - |