Replace gfortran41, gfortran42, and gfortran43 by gfortran44 when it comes
to looking for a compiler at configure time, now that lang/gcc44 is our default Fortran compiler. (Mostly in case someone else wants to polish and resurrect this port.) Feature safe: yes
This commit is contained in:
parent
51e18d2043
commit
2e73a828b0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241779
@ -5,7 +5,7 @@
|
||||
AC_CHECK_PROG(WITH_G77,g77,yes,no)
|
||||
if test "$WITH_G77" = no; then
|
||||
- AC_CHECK_PROG(WITH_GFORTRAN,gfortran,yes,no)
|
||||
+ AC_CHECK_PROGS(WITH_GFORTRAN,[gfortran gfortran41 gfortran42 gfortran43],no)
|
||||
+ AC_CHECK_PROGS(WITH_GFORTRAN,[gfortran gfortran44],no)
|
||||
if test "$WITH_GFORTRAN" = no; then
|
||||
AC_MSG_ERROR([Unable to configure: g77 or gfortran compiler not found])
|
||||
fi
|
||||
@ -14,7 +14,7 @@
|
||||
elif test "$with_gfortran" = yes; then
|
||||
# GNU g95 (gfortran) required
|
||||
- AC_CHECK_PROG(WITH_GFORTRAN,gfortran,yes,no)
|
||||
+ AC_CHECK_PROGS(WITH_GFORTRAN,[gfortran gfortran41 gfortran42 gfortran43],no)
|
||||
+ AC_CHECK_PROGS(WITH_GFORTRAN,[gfortran gfortran44],no)
|
||||
if test "$WITH_GFORTRAN" = no; then
|
||||
AC_MSG_ERROR([Unable to configure: gfortran compiler not found])
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user