]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 19 Jun 2006 18:22:03 +0000 (18:22 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 19 Jun 2006 18:22:03 +0000 (18:22 +0000)
needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
with system headers.  Report by Bruno Haible.

ChangeLog
lib/autoconf/types.m4

index b35824d043596bb63787fcfee8c1c6cced6671c3..3e8b21db4198c920eb94a1b4736083d6e788195d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-06-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1
+       needs _UINT8_T and _UINT64_T defines as well, to avoid clashes
+       with system headers.  Report by Bruno Haible.
+
 2006-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * config/config.guess, config/config.sub: Sync from upstream.
index 6257040daedf37ff2934bc7f2189ae2f73d3ac94..3fcc37bbe1be774971b3d1d1d94ad9d9bd9af828 100644 (file)
@@ -620,7 +620,7 @@ AC_DEFUN([_AC_TYPE_UNSIGNED_INT],
   case $ac_cv_c_uint$1_t in #(
   no|uint$1_t) ;; #(
   *)
-    m4_if([$1], 32,
+    m4_bmatch([$1], [^\(8\|32\|64\)$],
       [AC_DEFINE([_UINT$1_T], 1,
         [Define for Solaris 2.5.1 so the uint$1_t typedef from
          <sys/synch.h>, <pthread.h>, or <semaphore.h> is not used.