Fix a problem when $FC/$F77 were multiple tokens.
This commit was SVN r12246.
Этот коммит содержится в:
родитель
7b6536e912
Коммит
533b4db7b5
3
NEWS
3
NEWS
@ -67,6 +67,9 @@ version 1.0.
|
||||
1.1.3
|
||||
-----
|
||||
|
||||
- Fix a problem for when $FC and/or $F77 were specified as multiple
|
||||
tokens. Thanks to Orion Poplawski for identifying the problem and
|
||||
to Ralf Wildenhues for suggesting the fix.
|
||||
- Fix several MPI_*ERRHANDLER* functions and MPI_GROUP_TRANSLATE_RANKS
|
||||
with respect to what arguments they allowed and the behavior that
|
||||
they effected. Thanks to Lisandro Dalcin for reporting the
|
||||
|
@ -58,8 +58,10 @@ if test -z "$F77"; then
|
||||
OMPI_F77_ABSOLUTE="none"
|
||||
else
|
||||
OMPI_F77="$F77"
|
||||
BASEF77="`basename $OMPI_F77`"
|
||||
OMPI_F77_ABSOLUTE="`which $F77`"
|
||||
set dummy $OMPI_F77
|
||||
OMPI_F77_ARGV0=[$]2
|
||||
BASEF77="`basename $OMPI_F77_ARGV0`"
|
||||
OMPI_F77_ABSOLUTE="`which $OMPI_F77_ARGV0`"
|
||||
|
||||
if test "$OMPI_WANT_F77_BINDINGS" = "0" ; then
|
||||
AC_MSG_WARN([*** Fortran 77 bindings disabled by user])
|
||||
|
@ -87,8 +87,10 @@ else
|
||||
else
|
||||
OMPI_WANT_F90_BINDINGS=1
|
||||
OMPI_F90="$FC"
|
||||
BASEF90="`basename $FC`"
|
||||
OMPI_F90_ABSOLUTE="`which $FC`"
|
||||
set dummy $OMPI_F90
|
||||
OMPI_F90_ARGV0=[$]2
|
||||
BASEF90="`basename $OMPI_F90_ARGV0`"
|
||||
OMPI_F90_ABSOLUTE="`which $OMPI_F90_ARGV0`"
|
||||
fi
|
||||
fi
|
||||
# make sure the compiler actually works, if not cross-compiling
|
||||
@ -115,7 +117,7 @@ AS_IF([test $OMPI_WANT_F90_BINDINGS -eq 1],
|
||||
# BWB - FIX ME - remove once everyone updates to LT 2.0.
|
||||
#
|
||||
AS_IF([test $OMPI_WANT_F90_BINDINGS -eq 1],
|
||||
[if test $OMPI_F77 != $OMPI_F90; then
|
||||
[if test $BASEF77 != $BASEF90; then
|
||||
lt_ver=`grep '^VERSION' $srcdir/config/ltmain.sh | cut -f2 -d= | cut -f1 -d'.'`
|
||||
if test $lt_ver -lt 2 ; then
|
||||
AC_MSG_ERROR([You appear to be trying to build the Fortran 90
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user