summaryrefslogtreecommitdiff
path: root/m4/uint32_t.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-08-21 07:26:38 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-08-21 07:26:38 +0000
commit0f7a044109b860443ecaa4f8a37652b1b4423057 (patch)
treeb5834ed9867213221a2636e0fa7e8da178749a76 /m4/uint32_t.m4
parent11fd62b0080ce376b26241bd789b7e7390befef6 (diff)
downloadcoreutils-0f7a044109b860443ecaa4f8a37652b1b4423057.tar.xz
Remove from CVS, since the bootstrap script generates them automatically.
Diffstat (limited to 'm4/uint32_t.m4')
-rw-r--r--m4/uint32_t.m453
1 files changed, 0 insertions, 53 deletions
diff --git a/m4/uint32_t.m4 b/m4/uint32_t.m4
deleted file mode 100644
index 1fb5e668f..000000000
--- a/m4/uint32_t.m4
+++ /dev/null
@@ -1,53 +0,0 @@
-# uint32_t.m4 serial 4
-
-# Copyright (C) 2004 Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# Written by Paul Eggert.
-
-AC_DEFUN([gl_AC_TYPE_UINT32_T],
-[
- AC_CACHE_CHECK([for uint32_t], gl_cv_c_uint32_t,
- [gl_cv_c_uint32_t=no
- for ac_type in "uint32_t" "unsigned int" \
- "unsigned long int" "unsigned short int"; do
- AC_COMPILE_IFELSE(
- [AC_LANG_BOOL_COMPILE_TRY(
- [AC_INCLUDES_DEFAULT],
- [[($ac_type) -1 == 4294967295U]])],
- [gl_cv_c_uint32_t=$ac_type])
- test "$gl_cv_c_uint32_t" != no && break
- done])
- case "$gl_cv_c_uint32_t" in
- no|uint32_t) ;;
- *)
- AC_DEFINE(_UINT32_T, 1,
- [Define for Solaris 2.5.1 so uint32_t typedef from <sys/synch.h>,
- <pthread.h>, or <semaphore.h> is not used. If the typedef was
- allowed, the #define below would cause a syntax error.])
- AC_DEFINE_UNQUOTED(uint32_t, $gl_cv_c_uint32_t,
- [Define to the type of a unsigned integer type of width exactly 32 bits
- if such a type exists and the standard includes do not define it.])
- ;;
- esac
-
- AC_CACHE_CHECK([for UINT32_MAX], gl_cv_c_uint32_max,
- [AC_COMPILE_IFELSE(
- [AC_LANG_BOOL_COMPILE_TRY(
- [AC_INCLUDES_DEFAULT],
- [[UINT32_MAX == 4294967295U]])],
- [gl_cv_c_uint32_max=yes],
- [gl_cv_c_uint32_max=no])])
- case $gl_cv_c_uint32_max,$gl_cv_c_uint32_t in
- yes,*) ;;
- *,no) ;;
- *)
- AC_DEFINE(UINT32_MAX, 4294967295U,
- [Define to its maximum value if an unsigned integer type of width
- exactly 32 bits exists and the standard includes do not define
- UINT32_MAX.])
- ;;
- esac
-])