diff options
Diffstat (limited to 'Build/source/m4')
-rw-r--r-- | Build/source/m4/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/m4/kpse-common.m4 | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/Build/source/m4/ChangeLog b/Build/source/m4/ChangeLog index c740a1db051..b147dcf0a83 100644 --- a/Build/source/m4/ChangeLog +++ b/Build/source/m4/ChangeLog @@ -1,3 +1,9 @@ +2012-07-25 Peter Breitenlohner <peb@mppmu.mpg.de> + + * kpse-common.m4 (KPSE_COMMON): Check for 64-bit integer types + and bail out if unsupported. + Some headers are already checked by AC_HEADER_STDC. + 2012-07-23 Peter Breitenlohner <peb@mppmu.mpg.de> * kpse-pkgs.m4 (KPSE_UTILS_PKGS): Moved chktex from here ... diff --git a/Build/source/m4/kpse-common.m4 b/Build/source/m4/kpse-common.m4 index 4d472482950..b5455deb334 100644 --- a/Build/source/m4/kpse-common.m4 +++ b/Build/source/m4/kpse-common.m4 @@ -224,8 +224,7 @@ dnl AC_HEADER_DIRENT AC_HEADER_STDC AC_FUNC_CLOSEDIR_VOID -AC_CHECK_HEADERS([assert.h float.h limits.h memory.h pwd.h stdlib.h \ - string.h strings.h sys/param.h unistd.h]) +AC_CHECK_HEADERS([assert.h float.h limits.h pwd.h stdlib.h sys/param.h]) dnl dnl Replacement functions that may be required on ancient broken system. AC_CHECK_FUNCS([putenv strcasecmp strtol strstr]) @@ -236,6 +235,10 @@ dnl AC_C_CONST AC_C_INLINE AC_TYPE_SIZE_T +AC_TYPE_INT64_T +AC_TYPE_UINT64_T +AS_CASE([:$ac_cv_c_int64_t:$ac_cv_c_int64_t:], + [*':no:'*], [AC_MSG_ERROR([Sorry, your compiler does not support 64-bit integer types.])]) dnl dnl Check whether struct stat provides high-res time. AC_CHECK_MEMBERS([struct stat.st_mtim]) |