configure.ac
 configure

Make ISO_C_BINDING a prereq, we're gonna need it.
psblas-3.0-maint
Salvatore Filippone 13 years ago
parent b184b0a76d
commit 823b0d5acc

405
configure vendored

File diff suppressed because it is too large Load Diff

@ -559,6 +559,12 @@ PAC_FORTRAN_HAVE_MOVE_ALLOC(
Please get a Fortran compiler that supports it, e.g. GNU Fortran 4.6.])] Please get a Fortran compiler that supports it, e.g. GNU Fortran 4.6.])]
) )
PAC_FORTRAN_TEST_ISO_C_BIND(
[FDEFINES="$psblas_cv_define_prepend-DHAVE_ISO_C_BINDING $FDEFINES"],
[AC_MSG_ERROR([Sorry, cannot build PSBLAS without support for ISO_C_BINDING.
Please get a Fortran compiler that supports it, e.g. GNU Fortran 4.6.])]
)
# #
# Optional features # Optional features
# #
@ -575,11 +581,6 @@ PAC_FORTRAN_TEST_ISO_FORTRAN_ENV(
[FDEFINES="$psblas_cv_define_prepend-DHAVE_ISO_FORTRAN_ENV $FDEFINES"], [FDEFINES="$psblas_cv_define_prepend-DHAVE_ISO_FORTRAN_ENV $FDEFINES"],
) )
PAC_FORTRAN_TEST_ISO_C_BIND(
[FDEFINES="$psblas_cv_define_prepend-DHAVE_ISO_C_BINDING $FDEFINES"],
)
PAC_FORTRAN_TEST_FINAL( PAC_FORTRAN_TEST_FINAL(
[FDEFINES="$psblas_cv_define_prepend-DHAVE_FINAL $FDEFINES"], [FDEFINES="$psblas_cv_define_prepend-DHAVE_FINAL $FDEFINES"],
) )

Loading…
Cancel
Save