From c623b1b5c238e65e0689aa213ea47ed6db4a6fec Mon Sep 17 00:00:00 2001 From: jtc Date: Thu, 24 Mar 2005 19:34:37 +0000 Subject: ChangeLogTag: Thu Mar 24 11:26:58 2005 J.T. Conklin --- ChangeLog | 12 +++++++- ace/README | 2 ++ configure.ac | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 110 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fe3c9668280..00a5d0bc1af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +Thu Mar 24 11:26:58 2005 J.T. Conklin + + * ace/README: + + Describe new ACE_HAS_{,U}INT32_T macros. + + * configure.ac: + + Added check for {,u}int{8,16,32,64}_t types and set + ACE_HAS_{,U}INT32_T if found. + Thu Mar 24 13:23:00 2005 Rich Seibel Moving updates for Mac made by Paul and Chad to get it to work. @@ -15,7 +26,6 @@ Thu Mar 24 13:23:00 2005 Rich Seibel part of cleaning up the linkage between PortableGroup and some of the FT* libraries. - Thu Mar 24 14:12:19 2005 Steve Huston * include/makeinclude/platform_hpux_aCC.GNU: Rather than hand-set all diff --git a/ace/README b/ace/README index cfd497ca2b1..24814612026 100644 --- a/ace/README +++ b/ace/README @@ -707,6 +707,8 @@ ACE_HAS_VERBOSE_NOTSUP Prints out console message in ACE_NOTSUP. Useful for tracking down origin of ACE_NOTSUP. +ACE_HAS_{,U}INT{8,16,32,64}_T Platform/compiler supports the + {,u}int{8,16,32,64}_t types. ACE_HAS_VOIDPTR_GETTIMEOFDAY Platform/compiler supports void * as second parameter to gettimeofday diff --git a/configure.ac b/configure.ac index 38ad4b78ce3..2b50d2da88b 100644 --- a/configure.ac +++ b/configure.ac @@ -1837,6 +1837,103 @@ else ace_u_long_long_typedef_set=no fi dnl test "$cross_compiling" != yes +AC_CHECK_TYPE([int8_t], + [AC_DEFINE([ACE_HAS_INT8_T], 1, + [Define to 1 if the system has the type `int8_t'.])], + [], + [ +#ifndef ACE_LACKS_STDINT_H +#include +#endif +#ifndef ACE_LACKS_INTTYPES_H +#include +#endif]) + +AC_CHECK_TYPE([uint8_t], + [AC_DEFINE([ACE_HAS_UINT8_T], 1, + [Define to 1 if the system has the type `uint8_t'.])], + [], + [ +#ifndef ACE_LACKS_STDINT_H +#include +#endif +#ifndef ACE_LACKS_INTTYPES_H +#include +#endif]) + +AC_CHECK_TYPE([int16_t], + [AC_DEFINE([ACE_HAS_INT16_T], 1, + [Define to 1 if the system has the type `int16_t'.])], + [], + [ +#ifndef ACE_LACKS_STDINT_H +#include +#endif +#ifndef ACE_LACKS_INTTYPES_H +#include +#endif]) + +AC_CHECK_TYPE([uint16_t], + [AC_DEFINE([ACE_HAS_UINT16_T], 1, + [Define to 1 if the system has the type `uint16_t'.])], + [], + [ +#ifndef ACE_LACKS_STDINT_H +#include +#endif +#ifndef ACE_LACKS_INTTYPES_H +#include +#endif]) + +AC_CHECK_TYPE([int32_t], + [AC_DEFINE([ACE_HAS_INT32_T], 1, + [Define to 1 if the system has the type `int32_t'.])], + [], + [ +#ifndef ACE_LACKS_STDINT_H +#include +#endif +#ifndef ACE_LACKS_INTTYPES_H +#include +#endif]) + +AC_CHECK_TYPE([uint32_t], + [AC_DEFINE([ACE_HAS_UINT32_T], 1, + [Define to 1 if the system has the type `uint32_t'.])], + [], + [ +#ifndef ACE_LACKS_STDINT_H +#include +#endif +#ifndef ACE_LACKS_INTTYPES_H +#include +#endif]) + +AC_CHECK_TYPE([int64_t], + [AC_DEFINE([ACE_HAS_INT64_T], 1, + [Define to 1 if the system has the type `int64_t'.])], + [], + [ +#ifndef ACE_LACKS_STDINT_H +#include +#endif +#ifndef ACE_LACKS_INTTYPES_H +#include +#endif]) + +AC_CHECK_TYPE([uint64_t], + [AC_DEFINE([ACE_HAS_UINT64_T], 1, + [Define to 1 if the system has the type `uint64_t'.])], + [], + [ +#ifndef ACE_LACKS_STDINT_H +#include +#endif +#ifndef ACE_LACKS_INTTYPES_H +#include +#endif]) + + dnl Other checks ACE_VAR_TIMEZONE -- cgit v1.2.1