diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-08-31 01:12:01 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-09-09 17:04:36 +0200 |
commit | 2ff2cc0d12b844c2e04ca6594c714ee3884c6351 (patch) | |
tree | 5a63ec3f11a28e1b283662691af920d91f8a8006 /src/external | |
parent | a20685bb2ffdb08e61a4e26e90d2dc2ba7b3669e (diff) | |
download | sssd-2ff2cc0d12b844c2e04ca6594c714ee3884c6351.tar.gz sssd-2ff2cc0d12b844c2e04ca6594c714ee3884c6351.tar.xz sssd-2ff2cc0d12b844c2e04ca6594c714ee3884c6351.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/external')
-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) - - |