]>
Commit | Line | Data |
---|---|---|
8e991428 JB |
1 | --- mpich-1.2.5/mpid/ch_p4/configure.orig Fri Oct 4 23:22:22 2002 |
2 | +++ mpich-1.2.5/mpid/ch_p4/configure Sat Apr 5 09:46:24 2003 | |
3 | @@ -1165,6 +1165,7 @@ | |
f7c44dd4 | 4 | ;; |
5 | esac | |
6 | fi | |
7 | +set -x | |
8 | RSHCOMMAND="$ac_cv_path_RSHCOMMAND" | |
9 | if test -n "$RSHCOMMAND"; then | |
10 | echo "$ac_t""$RSHCOMMAND" 1>&1 | |
8e991428 | 11 | @@ -1173,22 +1174,8 @@ |
f7c44dd4 | 12 | fi |
13 | ||
14 | if test -n "$RSHCOMMAND" ; then | |
15 | - echo $ac_n "checking whether $RSHCOMMAND works""... $ac_c" 1>&1 | |
8e991428 JB |
16 | -echo "configure:1178: checking whether $RSHCOMMAND works" >&2 |
17 | - output=`$RSHCOMMAND $machine -n true 2>&1 </dev/null` | |
f7c44dd4 | 18 | - if test -n "$output" ; then |
19 | - echo "$ac_t""no" 1>&1 | |
20 | - echo "Errors while trying to run true on $machine with $program" | |
21 | - echo "$output" | |
22 | - RSHCOMMAND="" | |
23 | - # HORRIBLE, TERRIBLE BUG in AUTOCONF!!! | |
24 | - # It is determined to INCORRECTLY remember some results, | |
25 | - # while forgetting others (like "cross-compiling") | |
26 | - unset ac_cv_path_RSHCOMMAND | |
27 | - else | |
28 | echo "$ac_t""yes" 1>&1 | |
29 | break | |
30 | - fi | |
31 | fi | |
32 | done | |
8e991428 JB |
33 | # Check ssh with special options to avoid user prompting which causes the |
34 | @@ -1229,25 +1216,11 @@ | |
35 | fi | |
36 | ||
37 | if test -n "$RSHCOMMAND" ; then | |
38 | - echo $ac_n "checking whether $RSHCOMMAND works""... $ac_c" 1>&1 | |
39 | -echo "configure:1235: checking whether $RSHCOMMAND works" >&2 | |
40 | - output=`$RSHCOMMAND -o "StrictHostKeyChecking no" \ | |
41 | - -o "BatchMode yes" $machine -n true 2>&1 </dev/null` | |
42 | - if test $? -ne 0 ; then | |
43 | - echo "$ac_t""no" 1>&1 | |
44 | - echo "Errors while trying to run true on $machine with ssh" | |
45 | - echo "$output" | |
46 | - RSHCOMMAND="" | |
47 | - # HORRIBLE, TERRIBLE BUG in AUTOCONF!!! | |
48 | - # It is determined to INCORRECTLY remember some results, | |
49 | - # while forgetting others (like "cross-compiling") | |
50 | - unset ac_cv_path_RSHCOMMAND | |
51 | - else | |
52 | echo "$ac_t""yes" 1>&1 | |
53 | - fi | |
54 | fi | |
55 | fi | |
f7c44dd4 | 56 | fi |
57 | +set +x | |
58 | if test -z "$RSHCOMMAND" ; then | |
59 | echo "configure: warning: You must use the secure server to start programs" 1>&2 | |
60 | fi |