Permalink
Browse files

Fix issues with detecting Fortran libraries

  • Loading branch information...
dmalhotra committed Jan 4, 2018
1 parent d669667 commit eeace813a7474c3c69e8535749e00883d9a3ef5f
Showing with 6 additions and 0 deletions.
  1. +6 −0 configure.ac
@@ -163,10 +163,16 @@ AC_CHECK_FFTWF
# CPPFLAGS="${PETSC_BLASLAPACK_INCLUDE} $CPPFLAGS"
# fi
#fi
CFLAGS_save=$CFLAGS
CXXFLAGS_save=$CXXFLAGS
CFLAGS=""
CXXFLAGS=""
AX_BLAS(acx_blas_ok=yes, AC_MSG_ERROR([Cannot find BLAS library.
Please specify the location of the library using: --with-blas=LIB]))
AX_LAPACK(acx_lapack_ok=yes, AC_MSG_ERROR([Cannot find LAPACK library.
Please specify the location of the library using: --with-lapack=LIB]))
CFLAGS=$CFLAGS_save
CXXFLAGS=$CXXFLAGS_save
AC_SUBST(LAPACK_LIBS)
AC_SUBST(BLAS_LIBS)
AC_SUBST(FLIBS)

0 comments on commit eeace81

Please sign in to comment.