]> git.pld-linux.org Git - packages/mpich.git/blob - mpich-sh.patch
- added mpi-{devel,static} Provides
[packages/mpich.git] / mpich-sh.patch
1 --- mpich-3.1.3/configure.ac.orig       2014-10-07 23:50:23.000000000 +0200
2 +++ mpich-3.1.3/configure.ac    2014-11-22 17:11:16.917471496 +0100
3 @@ -117,8 +117,8 @@
4          [http://www.mpich.org/])
5  
6  if test "x$prefix" != "xNONE" && test -d "$prefix"; then 
7 -    if test "x`(cd \"$prefix\"; echo \"$PWD\")`" = "x`(cd \"$srcdir\"; echo \"$PWD\")`" ||\
8 -       test "x`(cd \"$prefix\"; echo \"$PWD\")`" = "x$PWD"  ; then
9 +    if test "x$( (cd "$prefix"; pwd) )" = "x$( (cd "$srcdir"; pwd) )" ||\
10 +       test "x$$ (cd "$prefix"; pwd) )" = "x$(pwd)"  ; then
11          AC_MSG_ERROR([The install directory (--prefix=) cannot be the same as the build or src directory.])
12      fi
13  fi         
This page took 0.062923 seconds and 3 git commands to generate.