adding AC_DEFINE_UNQUOTED for LAM_F77 and LAM_F90
This commit was SVN r188.
Этот коммит содержится в:
родитель
9b2bf109c1
Коммит
16fbec7894
@ -29,13 +29,14 @@ else
|
||||
|
||||
lam_fflags_save="$FFLAGS"
|
||||
AC_PROG_F77
|
||||
AC_DEFINE_UNQUOTED(LAM_F77, "$F77", [LAM underlying F77 compiler])
|
||||
FFLAGS="$lam_fflags_save"
|
||||
if test -z "$F77"; then
|
||||
AC_MSG_WARN([*** Could not find Fortran 77 compiler])
|
||||
LAM_WANT_F77=0
|
||||
AC_MSG_WARN([*** Could not find Fortran 77 compiler])
|
||||
LAM_WANT_F77=0
|
||||
else
|
||||
LAM_WANT_F77=1
|
||||
BASEF77="`basename $F77`"
|
||||
LAM_WANT_F77=1
|
||||
BASEF77="`basename $F77`"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -29,18 +29,19 @@ else
|
||||
|
||||
lam_fflags_save="$FFLAGS"
|
||||
AC_PROG_FC
|
||||
AC_DEFINE_UNQUOTED(LAM_F90, "$FC", [LAM underlying F90 compiler])
|
||||
FFLAGS="$lam_fflags_save"
|
||||
if test -z "$FC"; then
|
||||
AC_MSG_WARN([*** Could not find Fortran 90/95 compiler])
|
||||
LAM_WANT_F90=0
|
||||
AC_MSG_WARN([*** Could not find Fortran 90/95 compiler])
|
||||
LAM_WANT_F90=0
|
||||
elif test "$FC" = "$F77"; then
|
||||
AC_MSG_WARN([*** Found same compiler for Fortran 77 and 90/95.])
|
||||
AC_MSG_WARN([*** Assuming no Fortran 90/95 compiler; disabling])
|
||||
AC_MSG_WARN([*** Fortran 90 MPI bindings.])
|
||||
LAM_WANT_F90=0
|
||||
AC_MSG_WARN([*** Found same compiler for Fortran 77 and 90/95.])
|
||||
AC_MSG_WARN([*** Assuming no Fortran 90/95 compiler; disabling])
|
||||
AC_MSG_WARN([*** Fortran 90 MPI bindings.])
|
||||
LAM_WANT_F90=0
|
||||
else
|
||||
LAM_WANT_F90=1
|
||||
BASEF90="`basename $FC`"
|
||||
LAM_WANT_F90=1
|
||||
BASEF90="`basename $FC`"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user