summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-05-05 21:13:49 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-05-05 21:13:49 (GMT)
commit117444cc2547ea3a4c7b8cb5042c4c186283edc5 (patch)
tree3d4ebc7d8ac8636f3563f1ba756f59c2d05035f6
parent1aa1ed9b94e8a6dcc4045f17b15948e574a1fb93 (diff)
downloadhdf5-117444cc2547ea3a4c7b8cb5042c4c186283edc5.zip
hdf5-117444cc2547ea3a4c7b8cb5042c4c186283edc5.tar.gz
hdf5-117444cc2547ea3a4c7b8cb5042c4c186283edc5.tar.bz2
[svn-r6797] Purpose:
Feature Description: Added new flag to the H5pubconf.h file --- NO_SHARED_WRITING (H5_NO_SHARED_WRITING). It's only defined for CodeWarrior and should never be defined for other platforms unless the "open()" bug that CW has shows up on other platforms. Platforms tested: Verbena. Configure only, so no need for full tests. Misc. update:
-rwxr-xr-xconfigure8
-rw-r--r--configure.in9
-rw-r--r--src/H5config.h.in6
3 files changed, 20 insertions, 3 deletions
diff --git a/configure b/configure
index 7d57197..892edaa 100755
--- a/configure
+++ b/configure
@@ -30908,6 +30908,14 @@ _ACEOF
done
fi
+if test 1 = 2; then
+
+cat >>confdefs.h <<\_ACEOF
+#define NO_SHARED_WRITING 1
+_ACEOF
+
+fi
+
H5_VERSION="`cut -d' ' -f3 $srcdir/README.txt | head -1`"
diff --git a/configure.in b/configure.in
index 0f75633..26b0926 100644
--- a/configure.in
+++ b/configure.in
@@ -2051,6 +2051,15 @@ dnl
fi
dnl ----------------------------------------------------------------------
+dnl This is defined only when we're using CodeWarrior, since it has a
+dnl broken "open()" call.
+dnl
+if test 1 = 2; then
+ AC_DEFINE(NO_SHARED_WRITING, 1,
+ [Define if shared writing must be disabled (CodeWarrior only)])
+fi
+
+dnl ----------------------------------------------------------------------
dnl Set some variables for general configuration information to be saved
dnl and installed with the libraries.
dnl
diff --git a/src/H5config.h.in b/src/H5config.h.in
index eb59a6d..4be13d1 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -36,9 +36,6 @@
/* Define to 1 if you have the `fork' function. */
#undef HAVE_FORK
-/* Define if we want flexible parallel HDF5 support */
-#undef HAVE_FPHDF5
-
/* Define to 1 if you have the `fseek64' function. */
#undef HAVE_FSEEK64
@@ -340,6 +337,9 @@
/* Define if your system has a working `malloc' function. */
#undef MALLOC_WORKS
+/* Define if shared writing must be disabled (CodeWarrior only) */
+#undef NO_SHARED_WRITING
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT