dnl -------------------------------------------------------------------------
dnl -------------------------------------------------------------------------
dnl Copyright by the Board of Trustees of the University of Illinois.
dnl This file is part of HDF5. The full HDF5 copyright notice, including
dnl terms governing use, modification, and redistribution, is contained in
dnl the files COPYING and Copyright.html. COPYING can be found at the root
dnl of the source code distribution tree; Copyright.html can be found at the
dnl root level of an installed copy of the electronic HDF5 document set and
dnl is linked from the top-level documents page. It can also be found at
dnl http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have
dnl access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu.
dnl -------------------------------------------------------------------------
dnl -------------------------------------------------------------------------
dnl *********************************
dnl Contains Macros for HDF5 Fortran
dnl *********************************
dnl Special characteristics that have no autoconf counterpart but that
dnl we need as part of the C++ support. To distinquish these, they
dnl -------------------------------------------------------------------------
dnl PAC_FC_SEARCH_LIST - expands to a whitespace separated list of modern
dnl fortran compilers for use with AC_PROG_FC that is more suitable for HPC
AC_DEFUN([PAC_FC_SEARCH_LIST],
[gfortran ifort pgf90 pathf90 pathf95 xlf90 xlf95 xlf2003 f90 epcf90 f95 fort lf95 g95 ifc efc gfc])
dnl PAC_PROG_FC([COMPILERS])
dnl COMPILERS is a space separated list of Fortran compilers to search for.
dnl Compilers are ordered by
dnl 2. Good/tested native compilers, bad/untested native compilers
dnl 3. Wrappers around f2c go last.
dnl frt is the Fujitsu Fortran compiler.
dnl pgf90 are the Portland Group F90 compilers.
dnl xlf/xlf90/xlf95/xlf2003 are IBM (AIX) F90/F95/F2003 compilers.
dnl lf95 is the Lahey-Fujitsu compiler.
dnl fl32 is the Microsoft Fortran "PowerStation" compiler.
dnl epcf90 is the "Edinburgh Portable Compiler" F90.
dnl fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha.