X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=aclocal.m4;h=f3f2164535eb58d5dcbd71507144a2bf7baf1667;hb=d0770796c762637f0e594599d999bcdbde86f3ca;hp=32fd6be5582c04d12f574b99ae89254e3e9dac01;hpb=920d7ed630551844ee38eb2dcf1f1af168f84c4f;p=ircu2.10.12-pk.git diff --git a/aclocal.m4 b/aclocal.m4 index 32fd6be..f3f2164 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -151,6 +151,8 @@ AC_CHECK_SIZEOF(short) AC_CHECK_SIZEOF(int) AC_CHECK_SIZEOF(long) AC_CHECK_SIZEOF(void *) +AC_CHECK_SIZEOF(int64_t) +AC_CHECK_SIZEOF(long long) if test "$ac_cv_sizeof_int" = 2 ; then AC_CHECK_TYPE(int16_t, int) AC_CHECK_TYPE(uint16_t, unsigned int) @@ -171,6 +173,15 @@ elif test "$ac_cv_sizeof_long" = 4 ; then AC_CHECK_TYPE(uint32_t, unsigned long) else AC_MSG_ERROR([Cannot find a type with size of 32 bits]) +fi +if test "$ac_cv_sizeof_int64_t" = 8 ; then + AC_CHECK_TYPE(int64_t) + AC_CHECK_TYPE(uint64_t) +elif test "$ac_cv_sizeof_long_long" = 8 ; then + AC_CHECK_TYPE(int64_t, long long) + AC_CHECK_TYPE(uint64_t, unsigned long long) +else + AC_MSG_ERROR([Cannot find a type with size of 64 bits]) fi]) dnl Written by John Hawkinson . This code is in the Public