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 -- [EMAIL PROTECTED]
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool