3
# Force F77 to use 4-byte INTEGERs regardless of any compiler- or
5
AC_DEFUN([ARMCI_F77_I4], [
6
AC_ARG_VAR([FFLAG_INT_4],
7
[Fortran 77 compiler flag to set integer size to 4 bytes])
8
AC_CACHE_CHECK([for INTEGER*4 size compile flag],
9
[armci_cv_f77_integer_size_flag],
10
[AS_IF([test x$cross_compiling = xyes],
11
[_GA_F77_INTEGER_4_FLAG_CROSS([armci_cv_f77_integer_size_flag])],
12
[_GA_F77_INTEGER_4_FLAG([armci_cv_f77_integer_size_flag])])])
13
AS_IF([test "x$armci_cv_f77_integer_size_flag" != x],
14
[AS_IF([test "x$armci_cv_f77_integer_size_flag" != xnone],
15
[AC_SUBST([FFLAG_INT_4], [$armci_cv_f77_integer_size_flag])])])