[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed.

From: Paul Eggert
Subject: Re: [Cvs-dev] Re: [Cvs-test-results] Build CVS (TRUNK) failed.
Date: Mon, 12 Jun 2006 09:31:55 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

I'm getting a bit lost with info about both <stdint.h> versus
<inttypes.h>, but does the following patch fix the problem?

2006-06-12  Paul Eggert  <address@hidden>

        * m4/stdint.m4 (gl_STDINT_H): Reject <stdint.h> if it
        doesn't declare intmax_t.  Problem reported by
        Larry Jones and Derek Price in

--- old/m4/stdint.m4    2006-01-09 05:20:01.000000000 -0800
+++ new/m4/stdint.m4    2006-06-12 09:25:44.000000000 -0700
@@ -17,7 +17,7 @@ AC_CHECK_HEADERS([sys/bitypes.h])
 AC_MSG_CHECKING([for stdint.h])
 AC_CACHE_VAL(gl_cv_header_stdint_h, [
-  AC_TRY_COMPILE([#include <stdint.h>], [],
+  AC_TRY_COMPILE([#include <stdint.h>], [intmax_t i = -1; return i != 0;],
     gl_cv_header_stdint_h=yes, gl_cv_header_stdint_h=no)])
 if test $gl_cv_header_stdint_h = yes; then

reply via email to

[Prev in Thread] Current Thread [Next in Thread]