Ignore:
Timestamp:
Sep 19, 2013, 9:17:15 AM (8 years ago)
Author:
Peter
Message:

fix problem that YAT_CBLAS_LIB were not subtracted from YAT_PRIMARY_LIBS if YAT_CBLAS_LIB contained a space e.g.: '-lcblas -latlas'; also introduce a new help macro YAT_VAR_REMOVE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/m4/yat_common.m4

    r3071 r3085  
    5353  m4_popdef([COMMAND])
    5454]) #YAT_RUN_LOG
     55
     56
     57# YAT_VAR_REMOVE(VAR, LIST)
     58# ==========================
     59# Loop over LIST (space-separated) and for each value, remove value from VAR.
     60AC_DEFUN([YAT_VAR_REMOVE],
     61[
     62AS_IF([test x"$2" != x], [
     63  for value in $2; do
     64    APR_REMOVEFROM([$1], [$value])
     65  done
     66])
     67])
Note: See TracChangeset for help on using the changeset viewer.