3
# Whether to enable Fortran code within ARMCI.
4
AC_DEFUN([ARMCI_F77_ENABLE],
6
[AS_HELP_STRING([--enable-f77], [enable Fortran code])],
9
AS_IF([test "x$enable_f77" = xyes],
10
[AC_DEFINE([NOFORT], [0], [Define to 1 if not using Fortran])
11
AC_DEFINE([ENABLE_F77], [1], [Define to 1 if using Fortran])],
12
[AC_DEFINE([NOFORT], [1], [Define to 1 if not using Fortran])
13
AC_DEFINE([ENABLE_F77], [0], [Define to 1 if using Fortran])])
14
AM_CONDITIONAL([NOFORT], [test "x$enable_f77" = xno])
15
AM_CONDITIONAL([ENABLE_F77], [test "x$enable_f77" = xyes])