summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1999-06-11 15:53:15 (GMT)
committerRobb Matzke <matzke@llnl.gov>1999-06-11 15:53:15 (GMT)
commit263bfa76ef70a96d195527b0063a929f2b57b78a (patch)
tree11760ef28ae04a24075cb71dfc0b78ed4d7fba05 /configure.in
parentd6ba8a5095103b5799cd6aef4f291af275dca08d (diff)
downloadhdf5-263bfa76ef70a96d195527b0063a929f2b57b78a.zip
hdf5-263bfa76ef70a96d195527b0063a929f2b57b78a.tar.gz
hdf5-263bfa76ef70a96d195527b0063a929f2b57b78a.tar.bz2
[svn-r1328] Changes since 19990608
---------------------- ./configure.in ./configure [REGENERATED] ./src/H5T.c ./src/H5Tpkg.h ./src/H5Tpublic.h ./src/H5config.h.in [REGENERATED] ./src/H5detect.c ./src/H5private.h Added checks for the C9x integer types like int32_t, int_least32_t, and int_fast32_t and the unsigned versions. HDF5 defines H5T_NATIVE_* versions (all caps) to be the same as the type provided by the C library, otherwise it defines them as integers exactly the specified size. Hardware type conversion functions are used when the types match some C-language type (like `int').
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in39
1 files changed, 29 insertions, 10 deletions
diff --git a/configure.in b/configure.in
index ec49b7f..0ad60c9 100644
--- a/configure.in
+++ b/configure.in
@@ -176,7 +176,7 @@ AC_HEADER_STDC
AC_HEADER_TIME
dnl Unix
AC_CHECK_HEADERS(sys/resource.h sys/time.h unistd.h sys/ioctl.h sys/stat.h)
-AC_CHECK_HEADERS(stddef.h setjmp.h)
+AC_CHECK_HEADERS(stddef.h setjmp.h stdint.h)
dnl Windows
AC_CHECK_HEADERS(io.h winsock.h sys/timeb.h)
@@ -207,18 +207,37 @@ AC_CHECK_SIZEOF(float, 4)
AC_CHECK_SIZEOF(double, 8)
AC_CHECK_SIZEOF(long double, 8)
-dnl Posix.1g types
+dnl Posix.1g types (C9x)
cat >>confdefs.h <<\EOF
#include <sys/types.h>
EOF
-AC_CHECK_SIZEOF( int8_t, 1)
-AC_CHECK_SIZEOF( uint8_t, 1)
-AC_CHECK_SIZEOF( int16_t, 2)
-AC_CHECK_SIZEOF(uint16_t, 2)
-AC_CHECK_SIZEOF( int32_t, 4)
-AC_CHECK_SIZEOF(uint32_t, 4)
-AC_CHECK_SIZEOF( int64_t, 8)
-AC_CHECK_SIZEOF(uint64_t, 8)
+AC_CHECK_SIZEOF( int8_t, 1)
+AC_CHECK_SIZEOF( uint8_t, 1)
+AC_CHECK_SIZEOF( int_least8_t, 1)
+AC_CHECK_SIZEOF( uint_least8_t, 1)
+AC_CHECK_SIZEOF( int_fast8_t, 1)
+AC_CHECK_SIZEOF( uint_fast8_t, 1)
+
+AC_CHECK_SIZEOF( int16_t, 2)
+AC_CHECK_SIZEOF( uint16_t, 2)
+AC_CHECK_SIZEOF( int_least16_t, 2)
+AC_CHECK_SIZEOF(uint_least16_t, 2)
+AC_CHECK_SIZEOF( int_fast16_t, 2)
+AC_CHECK_SIZEOF( uint_fast16_t, 2)
+
+AC_CHECK_SIZEOF( int32_t, 4)
+AC_CHECK_SIZEOF( uint32_t, 4)
+AC_CHECK_SIZEOF( int_least32_t, 4)
+AC_CHECK_SIZEOF(uint_least32_t, 4)
+AC_CHECK_SIZEOF( int_fast32_t, 4)
+AC_CHECK_SIZEOF( uint_fast32_t, 4)
+
+AC_CHECK_SIZEOF( int64_t, 8)
+AC_CHECK_SIZEOF( uint64_t, 8)
+AC_CHECK_SIZEOF( int_least64_t, 8)
+AC_CHECK_SIZEOF(uint_least64_t, 8)
+AC_CHECK_SIZEOF( int_fast64_t, 8)
+AC_CHECK_SIZEOF( uint_fast64_t, 8)
AC_CHECK_SIZEOF(size_t, 4)
cat >>confdefs.h <<\EOF