From: Christos Zoulas Date: Tue, 9 Oct 2007 19:57:13 +0000 (+0000) Subject: Fix for int64 and strndup X-Git-Tag: FILE4_22~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59af812ecbe9e99e8f35f5c95848e2a2c8ccf065;p=file Fix for int64 and strndup --- diff --git a/ChangeLog b/ChangeLog index a0a25559..40ca1da6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ + +2007-10-09 3:55 Christos Zoulas + + * configure fix for int64 and strndup (Reuben Thomas) + 2007-09-26 4:45 Christos Zoulas * Add magic_descriptor() function. diff --git a/configure.in b/configure.in index a0819c7e..1c9b64c9 100644 --- a/configure.in +++ b/configure.in @@ -49,6 +49,7 @@ fi], [ ]) AC_SUBST(fsect) AM_CONDITIONAL(FSECT5, test x$fsect = x5) +AC_GNU_SOURCE dnl Checks for programs. AC_PROG_CC @@ -66,11 +67,13 @@ AH_TEMPLATE([HAVE_LONG_LONG], []) AH_TEMPLATE([HAVE_TM_ISDST], []) AH_TEMPLATE([SIZEOF_UINT16_T], []) AH_TEMPLATE([SIZEOF_UINT32_T], []) +AH_TEMPLATE([SIZEOF_INT64_T], []) AH_TEMPLATE([SIZEOF_UINT64_T], []) AH_TEMPLATE([SIZEOF_UINT8_T], []) AH_TEMPLATE([int32_t], []) AH_TEMPLATE([uint16_t], []) AH_TEMPLATE([uint32_t], []) +AH_TEMPLATE([int64_t], []) AH_TEMPLATE([uint64_t], []) AH_TEMPLATE([uint8_t], []) @@ -119,6 +122,7 @@ AC_CHECK_TYPE2_STDC(int64_t, $long64) AC_CHECK_SIZEOF_STDC_HEADERS(uint8_t, 0) AC_CHECK_SIZEOF_STDC_HEADERS(uint16_t, 0) AC_CHECK_SIZEOF_STDC_HEADERS(uint32_t, 0) +AC_CHECK_SIZEOF_STDC_HEADERS(int64_t, 0) AC_CHECK_SIZEOF_STDC_HEADERS(uint64_t, 0) dnl Checks for functions