configure.ac
 configure

Make ISO_C_BINDING a prereq, we're gonna need it.
This commit is contained in:
Salvatore Filippone
2012-02-29 19:57:25 +00:00
parent b184b0a76d
commit 823b0d5acc
2 changed files with 194 additions and 222 deletions
Vendored
+188 -217
View File
File diff suppressed because it is too large Load Diff
+6 -5
View File
@@ -559,6 +559,12 @@ PAC_FORTRAN_HAVE_MOVE_ALLOC(
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
#
@@ -575,11 +581,6 @@ PAC_FORTRAN_TEST_ISO_FORTRAN_ENV(
[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(
[FDEFINES="$psblas_cv_define_prepend-DHAVE_FINAL $FDEFINES"],
)