diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2013-01-14 18:01:57 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2013-01-14 18:01:57 (GMT) |
commit | fa9373afeb0a8fc790d14c02dc03976232d356e1 (patch) | |
tree | bb83468f1b2a4796f1d26487d40c2326c0ce77e9 | |
parent | 1924dae977a037d5f0edd8d34c9dc188bbf29422 (diff) | |
download | hdf5-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
-rwxr-xr-x | configure | 15 | ||||
-rw-r--r-- | configure.ac | 13 |
2 files changed, 7 insertions, 21 deletions
@@ -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 diff --git a/configure.ac b/configure.ac index 5b00dbf..4984f0d 100644 --- a/configure.ac +++ b/configure.ac @@ -2270,19 +2270,12 @@ AC_CACHE_CHECK([if lone colon can be used as an argument], [hdf5_cv_lone_colon], [ 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 |