summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-01-14 18:01:57 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-01-14 18:01:57 (GMT)
commitfa9373afeb0a8fc790d14c02dc03976232d356e1 (patch)
treebb83468f1b2a4796f1d26487d40c2326c0ce77e9 /configure
parent1924dae977a037d5f0edd8d34c9dc188bbf29422 (diff)
downloadhdf5-fa9373afeb0a8fc790d14c02dc03976232d356e1.zip
hdf5-fa9373afeb0a8fc790d14c02dc03976232d356e1.tar.gz
hdf5-fa9373afeb0a8fc790d14c02dc03976232d356e1.tar.bz2
[svn-r23159] HDFFV-498: Eliminate a.exe file on cygwin configurations, pushed to branch from chunk so its tested on cygwin
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 4 insertions, 11 deletions
diff --git a/configure b/configure
index c6e8718..75eb5d5 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.ac Id: configure.ac 23123 2012-12-31 04:17:59Z hdftest .
+# From configure.ac Id: configure.ac 23142 2013-01-08 02:19:17Z derobins .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for HDF5 1.8.11-snap7.
#
@@ -27197,19 +27197,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