Skip to content

Commit

Permalink
test/config: remove enable-fortran sub options
Browse files Browse the repository at this point in the history
We only accept --enable-fortran/--disable-fortran now.
  • Loading branch information
hzhou committed Nov 17, 2021
1 parent e398a04 commit 26cc6a9
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions test/mpi/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,8 @@ AC_ARG_ENABLE(echo,
AC_ARG_ENABLE(fortran,
[ --enable-fortran=option - Control the level of Fortran support in the MPICH implementation.
yes|all - Enable all available Fortran implementations (F77, F90, F08)
f77 - Enable Fortran 77 support
f90 - Enable Fortran 90 support
f08 - Enable Fortran 2008 support
no|none - No Fortran support
],,[enable_fortran=f77,f90])
],,[enable_fortran=all])

save_IFS="$IFS"
IFS=","
Expand All @@ -122,15 +119,6 @@ for option in $enable_fortran ; do
enable_fc=no
enable_f08=no
;;
f77)
enable_f77=yes
;;
f90)
enable_fc=yes
;;
f08)
enable_f08=yes
;;
*)
IFS="$save_IFS"
AC_MSG_WARN([Unknown value $option for --enable-fortran])
Expand Down

0 comments on commit 26cc6a9

Please sign in to comment.