patchGNU Autoconf Archive - Patches: patch #7320, AX_BLAS: AC_CHECK_FUNC autocaching...


patch #7320: AX_BLAS: AC_CHECK_FUNC autocaching makes problems

Submitted by:  Jaroslav Hajek <highegg>
Submitted on:  Mon 20 Sep 2010 06:31:45 AM UTC  
Priority:  5 - Normal Status:  Done
Assigned to:  Peter Simons <simons> Open/Closed:  Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 24 Sep 2010 07:13:02 PM UTC, comment #2:

Applied in f4fa3496237868e4a27506d226803afb0d45d7e2. Thank you very much!

Peter Simons <simons>
Project AdministratorIn charge of this item.
Tue 21 Sep 2010 05:27:13 AM UTC, comment #1:

Thanks for Steven's suggestion. Here's an updated version that also calls AC_MSG_RESULT after the tests.

(file #21513)

Jaroslav Hajek <highegg>
Mon 20 Sep 2010 06:31:45 AM UTC, original submission:


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 a real occurrence of the problem, see

The attached patch replaces AC_CHECK_FUNC calls by AC_TRY_LINK_FUNC, which does not autocache.

Jaroslav Hajek <highegg>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by simons (Posted a comment)
  • -email is unavailable- added by highegg (Submitted the item)
  • -email is unavailable- added by highegg



    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-09-24 simons StatusNone => Done
        Assigned toNone => simons
        Open/ClosedOpen => Closed
    2010-09-21 highegg Attached File- => Added 0002-avoid-caching-issues-in-ax_blas.m4.patch, #21513
    2010-09-20 highegg Attached File- => Added 0001-avoid-caching-issues-in-ax_blas.m4.patch, #21505
        Carbon-Copy- => Added steven g. johnson

    Back to the top

    Powered by Savane 3.3