[svn] GnuPG - r4006 - trunk

svn author dshaw cvs at cvs.gnupg.org
Sun Feb 19 03:08:44 CET 2006


Author: dshaw
Date: 2006-02-19 03:08:43 +0100 (Sun, 19 Feb 2006)
New Revision: 4006

Modified:
   trunk/ChangeLog
   trunk/configure.ac
Log:
* configure.ac: Try linking the UINT64_C test program (rather than
just compiling it) as UINT64_C looks like a (missing) function,
causing a false positive.  Noted by Claus Assmann.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2006-02-14 18:39:24 UTC (rev 4005)
+++ trunk/ChangeLog	2006-02-19 02:08:43 UTC (rev 4006)
@@ -1,3 +1,9 @@
+2006-02-18  David Shaw  <dshaw at jabberwocky.com>
+
+	* configure.ac: Try linking the UINT64_C test program (rather than
+	just compiling it) as UINT64_C looks like a (missing) function,
+	causing a false positive.  Noted by Claus Assmann.
+
 2006-02-14  Werner Koch  <wk at gnupg.org>
 
 	Released 1.4.3rc1.

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2006-02-14 18:39:24 UTC (rev 4005)
+++ trunk/configure.ac	2006-02-19 02:08:43 UTC (rev 4006)
@@ -817,9 +817,9 @@
 AC_CHECK_SIZEOF(unsigned long long)
 
 # Ensure that we have UINT64_C before we bother to check for uint64_t
-gt_HEADER_INTTYPES_H
+AC_CHECK_HEADERS([inttypes.h])
 AC_CACHE_CHECK([for UINT64_C], [gnupg_cv_uint64_c_works],
-               AC_COMPILE_IFELSE(AC_LANG_PROGRAM([#include <inttypes.h>],[
+               AC_LINK_IFELSE(AC_LANG_PROGRAM([#include <inttypes.h>],[
 uint64_t foo=UINT64_C(42);]),gnupg_cv_uint64_c_works=yes,gnupg_cv_uint64_c_works=no))
 
 if test "$gnupg_cv_uint64_c_works" = "yes" ; then




More information about the Gnupg-commits mailing list