]> git.pld-linux.org Git - packages/mpich.git/blob - mpich-fuckssh.patch
- up to 1.2.5-1a, updated fuckssh and opt patches
[packages/mpich.git] / mpich-fuckssh.patch
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 @@
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
11 @@ -1173,22 +1174,8 @@
12  fi
13  
14          if test -n "$RSHCOMMAND" ; then
15 -           echo $ac_n "checking whether $RSHCOMMAND works""... $ac_c" 1>&1
16 -echo "configure:1178: checking whether $RSHCOMMAND works" >&2
17 -            output=`$RSHCOMMAND $machine -n true 2>&1 </dev/null`
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
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
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
This page took 0.237656 seconds and 4 git commands to generate.