summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 3 insertions, 10 deletions
diff --git a/configure b/configure
index 246009f..7417ed0 100755
--- a/configure
+++ b/configure
@@ -27160,19 +27160,12 @@ if ${hdf5_cv_lone_colon+:} false; then :
else
echo "int main(int argc, char * argv) {return 0;}" > conftest.c
- $CC $CFLAGS conftest.c > /dev/null 2> /dev/null
-case "`uname`" in
- CYGWIN*)
- echo "./a.exe :" > conftest.sh
- ;;
- *)
- echo "./a.out :" > conftest.sh
- ;;
-esac
+ $CC $CFLAGS conftest.c -o a.out> /dev/null 2> /dev/null
+ echo "./a.out :" > conftest.sh
chmod 700 conftest.sh
./conftest.sh 2> conftest.out
- rm -f a.out a.exe
+ rm -f a.out
TEST_OUTPUT=`cat conftest.out`
if test "X$TEST_OUTPUT" = "X"; then