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 15006 2008-05-15 15:48:48Z mcgreevy . +# From configure.in Id: configure.in 15011 2008-05-15 21:02:34Z mcgreevy . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for HDF5 1.8.0-snap7. # @@ -49201,26 +49201,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 8fff9a0..6a40a77 100644 --- a/configure.in +++ b/configure.in @@ -2850,16 +2850,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 |