* 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.
This commit is contained in:
Ralf Wildenhues 2006-06-19 18:22:03 +00:00
parent 0b93a3e141
commit 30ced44ece
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View 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.