harminv-1.3.1-configure.ac.patch 965 B

1234567891011121314151617181920212223242526272829303132
  1. --- a/configure.ac
  2. +++ b/configure.ac
  3. @@ -9,7 +9,7 @@
  4. # *not* the same as the "public" version number. CURRENT:REVISION:AGE
  5. SHARED_VERSION_INFO="2:4:0"
  6. AC_SUBST(SHARED_VERSION_INFO)
  7. -AM_ENABLE_SHARED(no) dnl shared libs cause too many headaches to be default
  8. +AM_ENABLE_SHARED(yes) dnl shared libs cause too many headaches to be default
  9. ##############################################################################
  10. @@ -123,9 +123,16 @@
  11. ###########################################################################
  12. # Checks for BLAS/LAPACK libraries:
  13. -
  14. -ACX_BLAS([], [AC_MSG_ERROR([BLAS library not found])])
  15. -ACX_LAPACK([], [AC_MSG_ERROR([LAPACK library not found])])
  16. +sinclude(acx_blas.m4)
  17. +ACX_BLAS
  18. +if test x"$BLAS_LIBS" = x ; then
  19. + AC_MSG_ERROR([BLAS library not found])
  20. +fi
  21. +sinclude(acx_lapack.m4)
  22. +ACX_LAPACK
  23. +if test x"$LAPACK_LIBS" = x ; then
  24. + AC_MSG_ERROR([LAPACK library not found])
  25. +fi
  26. LIBS="$LAPACK_LIBS $BLAS_LIBS $LIBS $FLIBS"