|
From: | Steven G. Johnson |
Subject: | Re: [patch #7320] AX_BLAS: AC_CHECK_FUNC autocaching makes problems |
Date: | Mon, 20 Sep 2010 19:43:14 -0400 |
In AX_BLAS, AC_CHECK_FUNC is used to check for SGEMM. The problem is that AC_CHECK_FUNC autocaches its result, but the LIBS are being manipulated, so the cache is not valid after the test and can fool subsequent tests. For areal occurrence of the problem, see https://savannah.gnu.org/bugs/index.php?31046The attached patch replaces AC_CHECK_FUNC calls by AC_TRY_LINK_FUNC, whichdoes not autocache.
Thanks for the patch, in principle this looks good.As a cosmetic issue, however, it looks like you need to call AC_MSG_RESULT to print out a message from the tests: call AC_MSG_RESULT(yes) if it succeeds, and ...(no) if it fails.
Steven
[Prev in Thread] | Current Thread | [Next in Thread] |