From 117444cc2547ea3a4c7b8cb5042c4c186283edc5 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 5 May 2003 16:13:49 -0500 Subject: [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: --- configure | 8 ++++++++ configure.in | 9 +++++++++ src/H5config.h.in | 6 +++--- 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 -- cgit v0.12