Mercurial > hg > octave-nkf
diff acx_lapack.m4 @ 5844:034cdbd34c0a
[project @ 2006-06-07 15:38:58 by jwe]
author | jwe |
---|---|
date | Wed, 07 Jun 2006 15:38:58 +0000 |
parents | 7da18459c08b |
children | 323be5eeed1f |
line wrap: on
line diff
--- a/acx_lapack.m4 +++ b/acx_lapack.m4 @@ -35,7 +35,7 @@ acx_lapack_ok=no AC_ARG_WITH(lapack, - [AC_HELP_STRING([--with-lapack=<lib>], [use LAPACK library <lib>])]) + [AS_HELP_STRING([--with-lapack=<lib>], [use LAPACK library <lib>])]) case $with_lapack in yes | "") ;; no) acx_lapack_ok=disable ;; @@ -55,7 +55,8 @@ if test "x$LAPACK_LIBS" != x; then save_LIBS="$LIBS"; LIBS="$LAPACK_LIBS $BLAS_LIBS $LIBS $FLIBS" AC_MSG_CHECKING([for $cheev in $LAPACK_LIBS]) - AC_TRY_LINK_FUNC($cheev, [acx_lapack_ok=yes], [LAPACK_LIBS=""]) + AC_LINK_IFELSE([AC_LANG_CALL([], [$cheev])], + [acx_lapack_ok=yes], [LAPACK_LIBS=""]) AC_MSG_RESULT($acx_lapack_ok) LIBS="$save_LIBS" if test acx_lapack_ok = no; then