summaryrefslogtreecommitdiffstats
path: root/src/H5config.h.in
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-05-05 17:38:59 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-05-05 17:38:59 (GMT)
commitb0e5134171d5c92a0b50bae4daba97651eeeafe6 (patch)
treeddef77a0e5d0a56eda180c068b4fe66398998a68 /src/H5config.h.in
parent8570c314ef67c03f9b3ef9609c49cff7ee6488c0 (diff)
downloadhdf5-b0e5134171d5c92a0b50bae4daba97651eeeafe6.zip
hdf5-b0e5134171d5c92a0b50bae4daba97651eeeafe6.tar.gz
hdf5-b0e5134171d5c92a0b50bae4daba97651eeeafe6.tar.bz2
[svn-r10730] Purpose:
Portability feature Description: The random() and srandom() functions are not available on all machines. Set up the configure script to automatically detect them, rather than requiring their presence or absence to be hardcoded. Solution: Added AC_CHECK_FUNCS macro to configure.in and replaced #ifdef WIN32 conditionals with #ifdef H5_HAVE_RANDOM conditionals. Platforms tested: sleipnir, Windows
Diffstat (limited to 'src/H5config.h.in')
-rw-r--r--src/H5config.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5config.h.in b/src/H5config.h.in
index d805b36..a5f0d11 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -205,6 +205,9 @@
/* Define to 1 if you have the <pthread.h> header file. */
#undef HAVE_PTHREAD_H
+/* Define to 1 if you have the `random' function. */
+#undef HAVE_RANDOM
+
/* Define to 1 if you have the <setjmp.h> header file. */
#undef HAVE_SETJMP_H
@@ -223,6 +226,9 @@
/* Define if `socklen_t' is defined */
#undef HAVE_SOCKLEN_T
+/* Define to 1 if you have the `srandom' function. */
+#undef HAVE_SRANDOM
+
/* Define if `struct stat' has the `st_blocks' field */
#undef HAVE_STAT_ST_BLOCKS