[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FC and F77 at the same time?
From: |
Ed Hartnett |
Subject: |
FC and F77 at the same time? |
Date: |
Wed, 09 Nov 2005 12:23:36 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) |
Howdy all!
My configure.ac file contains the following:
# We must call AC_PROG_F77 here, otherwise the LIBTOOL macro below
# will call it, and reset F77 to g77.
AC_PROG_F77([xlf f95 fort xlf95 ifort ifc efc pgf95 lf95 gfortran frt pgf77 f77
fort77 fl32 af77 f90 xlf90 pgf90 epcf90 g77])
if test "${F77+set}" = set && test "x$F77" = x && test
"x$enable_compiler_recover" = xno &&
test "x$nc_build_f77" = xyes; then
AC_MSG_ERROR([Can't find F77 compiler, and compiler recovery disabled.])
fi
AC_PROG_FC([xlf90 f95 fort xlf95 ifort ifc efc pgf95 lf95 gfortran frt pgf77
f77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 g77])
So here I call first AC_PROG_F77, then AC_PROG_FC.
If I just call AC_PROG_FC, the later, when I call AC_PROG_LIBTOOL it
will call AC_PROG_F77, ignoring the fact that FC is set to the fortran
compiler.
Is there a better way to handle this?
Thanks!
Ed
--
Ed Hartnett -- address@hidden
- FC and F77 at the same time?,
Ed Hartnett <=