]> granicus.if.org Git - file/commitdiff
Fix for int64 and strndup
authorChristos Zoulas <christos@zoulas.com>
Tue, 9 Oct 2007 19:57:13 +0000 (19:57 +0000)
committerChristos Zoulas <christos@zoulas.com>
Tue, 9 Oct 2007 19:57:13 +0000 (19:57 +0000)
ChangeLog
configure.in

index a0a255590cba77274c3b0287e53d72d4ad806a5a..40ca1da6f19bfc9c1a5163114e0046cefcdce4c6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+
+2007-10-09  3:55 Christos Zoulas <christos@zoulas.com>
+
+       * configure fix for int64 and strndup (Reuben Thomas)
+
 2007-09-26  4:45 Christos Zoulas <christos@zoulas.com>
 
        * Add magic_descriptor() function.
index a0819c7eb1ea1a72049ae4a82bc91f453487b753..1c9b64c9c09a1abd3d77e8fd47333043905d7ea2 100644 (file)
@@ -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