diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2013-01-11 19:11:33 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2013-01-11 19:11:33 (GMT) |
commit | 9ac4f9ad6b410e775656a623a09b677ab8909f2a (patch) | |
tree | 7bb8dcd77ed6be2888174ccaf3f7f13dee80e8af /configure | |
parent | fd07eb96aff5ee7e37f9695d5df9ba7b8ab8cd4b (diff) | |
download | hdf5-9ac4f9ad6b410e775656a623a09b677ab8909f2a.zip hdf5-9ac4f9ad6b410e775656a623a09b677ab8909f2a.tar.gz hdf5-9ac4f9ad6b410e775656a623a09b677ab8909f2a.tar.bz2 |
[svn-r23151] HDFFV-498: Eliminate a.exe file on cygwin configurations
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -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 |