40ef0e9573
Specifically: - Enable C++, Fortran 77 and Fortran (95+) through Libtool's LT_LANG if available and through the traditional AC_PROG_* macros if not. This configuration is compatible with the versions of Libtool easily available for testing. For whatever reason--possibly a programming error in Libtool proper--invoking the AC_PROG_F* macros either directly or through AC_REQUIRE following an LT_INIT invocation leads to various ``expanded before required'' warnings. Searching the Autotools mailing lists does suggest that the interaction of C++, Fortran and Libtool is traditionally somewhat unstable but has improved in very recent editions of Autoconf and Libtool. - Re-factor the LAPACK support out to a custom macro, OPM_LAPACK, and invoke it from configure.ac.
5 lines
93 B
Plaintext
5 lines
93 B
Plaintext
AC_DEFUN([OPM_LAPACK],
|
|
[AC_REQUIRE([AC_F77_WRAPPERS])dnl
|
|
AC_REQUIRE([AX_LAPACK])dnl
|
|
])[]dnl
|