diff options
-rwxr-xr-x | configure | 26 | ||||
-rw-r--r-- | configure.in | 19 |
2 files changed, 21 insertions, 24 deletions
@@ -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 |