]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Fortran Cray pointer macro support
authorMarshall Ward <marshall.ward@gmail.com>
Thu, 12 Aug 2021 00:43:36 +0000 (20:43 -0400)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 16 Aug 2021 16:56:09 +0000 (09:56 -0700)
commit6cfdc564894709122e71700ee95a71a4cb992a60
tree8abf43fd52f2a9b05b99bfafd30985febef3402b
parent706847e2d0c280d81b5c57596d7be1e475c7f02f
Fortran Cray pointer macro support

This patch adds the AC_F77_CRAY_POINTERS and AC_FC_CRAY_POINTERS macros,
which test if the Fortran compiler supports Cray pointers.

The macros are written such that the tests share a common backend
(_AC_FC_CRAY_POINTERS) which works on both F77 and FC compilers.
Wrappers are provided to address any future potential compatibility
issues.

The macros include additional tests for particular flags required by
GFortran and PGI compilers.  The current set of flags is sparse, but can
be extended for other compilers if needed.

Documentation and a minimal test of the macro have been included.

Two minor variable name typos (@EXEEXT@ as @EEXEXT@) were also fixed in
two of the other Fortran tests.
doc/autoconf.texi
lib/autoconf/fortran.m4
tests/fortran.at