bug-gnulib
[Top][All Lists]
Advanced

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

[Bug-gnulib] Bugfix for m4/uint32_t.m4


From: Derek Robert Price
Subject: [Bug-gnulib] Bugfix for m4/uint32_t.m4
Date: Wed, 03 Nov 2004 11:42:03 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616

This change is minor but the bug was big - m4/uint32_t.m4 was checking
uint32_t each time through its loop rather than possibly looking for
substitute types.  Effectively, despite being mostly set up to test a
list of types, the only possible result was #undef uint32_t.

2004-11-03  Derek Price  <address@hidden>

    * m4/uint32_t.m4 (gl_AC_TYPE_UINT32_T): Check for substitute types.

Cheers,

Derek

-- 
                *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!

Index: m4/uint32_t.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/uint32_t.m4,v
retrieving revision 1.1
diff -u -p -r1.1 uint32_t.m4
--- m4/uint32_t.m4      9 Aug 2004 17:58:47 -0000       1.1
+++ m4/uint32_t.m4      3 Nov 2004 16:37:36 -0000
@@ -27,7 +27,7 @@ AC_DEFUN([gl_AC_TYPE_UINT32_T],
        AC_COMPILE_IFELSE(
         [AC_LANG_BOOL_COMPILE_TRY(
            [AC_INCLUDES_DEFAULT],
-           [[(uint32_t) -1 == 4294967295U]])],
+           [[($ac_type) -1 == 4294967295U]])],
         [gl_cv_c_uint32_t=$ac_type])
        test $gl_cv_c_uint32_t != no && break
      done])

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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