Changeset 3728 for trunk/m4/yat_cblas.m4


Ignore:
Timestamp:
Mar 16, 2018, 5:12:53 AM (3 years ago)
Author:
Peter
Message:

New macro YAT_SEARCH_LIBS, similar to AC_SEARCH_LIBS but does not
modify variable LIBS.

Use macro in macros: YAT_LIB_CBLAS, YAT_LIB_HTS, and _YAT_CHECK_ZLIB
to simplify code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/m4/yat_cblas.m4

    r3453 r3728  
    22
    33#
    4 # serial 2 (yat 0.14)
     4# serial 3 (yat 0.16)
    55#
    66
     
    2020# COPYLEFT
    2121#
    22 #   Copyright (C) 2009, 2012, 2013, 2015 Peter Johansson
     22#   Copyright (C) 2009, 2012, 2013, 2015, 2018 Peter Johansson
    2323#
    2424#   This file is part of the yat library, http://dev.thep.lu.se/yat
     
    7575# - CBLAS in SCSL library (SGI/Cray Scientific Library)
    7676AS_IF([test $yat_cblas_ok = no], [
    77   AC_SEARCH_LIBS([cblas_sgemm],
     77  YAT_SEARCH_LIBS([cblas_sgemm],
    7878                 [tatlas satlas cblas opencblas mkl_core scs],
    7979                 [yat_cblas_ok=yes;
    80                   AS_IF([test "$ac_cv_search_cblas_sgemm" != "none required"],[
    81                     CBLAS_LIB=$ac_cv_search_cblas_sgemm
    82                   ])
     80                  CBLAS_LIB=$yat_cv_search_cblas_sgemm
    8381                 ])
    84   LIBS=$save_LIBS
    8582])
    8683
Note: See TracChangeset for help on using the changeset viewer.