summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McGreevy <mamcgree@hdfgroup.org>2008-05-15 21:35:13 (GMT)
committerMike McGreevy <mamcgree@hdfgroup.org>2008-05-15 21:35:13 (GMT)
commitafbdbb8e93d2b2d96098abfa4bf1615205487ca5 (patch)
treeebbac9b3bfbd0e5e5aca73b1c6c10ac1f57034c6
parent134ec13cdc933b5342c3d5fd8ca2ef5663af0df8 (diff)
downloadhdf5-afbdbb8e93d2b2d96098abfa4bf1615205487ca5.zip
hdf5-afbdbb8e93d2b2d96098abfa4bf1615205487ca5.tar.gz
hdf5-afbdbb8e93d2b2d96098abfa4bf1615205487ca5.tar.bz2
[svn-r15014] Purpose: Configure Macro Modification
Description: The macro H5_HAVE_WINDOW_PATH is now defined to 1 only when MinGW is in use. This is needed to fix the "links" test, and the external link feature in the library. Tested: kagiso
-rwxr-xr-xconfigure26
-rw-r--r--configure.in19
2 files changed, 21 insertions, 24 deletions
diff --git a/configure b/configure
index c836ebc..02c80b4 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Id: configure.in 15007 2008-05-15 16:42:03Z mcgreevy .
+# From configure.in Id: configure.in 15012 2008-05-15 21:08:23Z mcgreevy .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for HDF5 1.9.6.
#
@@ -49227,26 +49227,22 @@ fi
{ echo "$as_me:$LINENO: checking if the machine has window style path name" >&5
echo $ECHO_N "checking if the machine has window style path name... $ECHO_C" >&6; }
-if test "${hdf5_have_window_path+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- hdf5_have_window_path=no
-fi
-
-if test ${hdf5_have_window_path} = "yes"; then
+case "`uname`" in
+ MINGW*)
cat >>confdefs.h <<\_ACEOF
#define HAVE_WINDOW_PATH 1
_ACEOF
- { echo "$as_me:$LINENO: result: true" >&5
-echo "${ECHO_T}true" >&6; }
-else
- { echo "$as_me:$LINENO: result: false" >&5
-echo "${ECHO_T}false" >&6; }
-fi
-
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ ;;
+ *)
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ ;;
+esac
{ echo "$as_me:$LINENO: checking if converting from long double to integers is accurate" >&5
echo $ECHO_N "checking if converting from long double to integers is accurate... $ECHO_C" >&6; }
diff --git a/configure.in b/configure.in
index 19b3c4b..f8921e3 100644
--- a/configure.in
+++ b/configure.in
@@ -2895,16 +2895,17 @@ dnl (This flag should be _unset_ for all machines, except for Windows, where
dnl it's set in the custom Windows H5pubconf.h file)
dnl
AC_MSG_CHECKING([if the machine has window style path name])
-AC_CACHE_VAL([hdf5_have_window_path], [hdf5_have_window_path=no])
-
-if test ${hdf5_have_window_path} = "yes"; then
- AC_DEFINE([HAVE_WINDOW_PATH], [1],
- [Define if your system has window style path name.])
- AC_MSG_RESULT([true])
-else
- AC_MSG_RESULT([false])
-fi
+case "`uname`" in
+ MINGW*)
+ AC_DEFINE([HAVE_WINDOW_PATH], [1],
+ [Define if your system has window style path name.])
+ AC_MSG_RESULT([yes])
+ ;;
+ *)
+ AC_MSG_RESULT([no])
+ ;;
+esac
dnl -----------------------------------------------------------------------
dnl Set flag to indicate that the machine can handle conversion from