Ignore:
Timestamp:
Sep 26, 2013, 8:38:17 AM (8 years ago)
Author:
Peter
Message:

avoid repetetive code and add tests for boost libs. refs #737

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/m4/yat_common.m4

    r3085 r3088  
    6666])
    6767])
     68
     69# YAT_CHECK_LA_LIBS(CODE, LIBS, VALUE, VAR)
     70# ============================================
     71# Check if we can create a libtool archive based on CODE linking with
     72# LIBS. If not, add VALUE to VAR.
     73AC_DEFUN([YAT_CHECK_LA_LIBS],
     74[
     75save_LIBS=$LIBS
     76LIBS=$2
     77AC_MSG_CHECKING([if libtool archive can be created with $LIBS])
     78YAT_LT_LINK_LA_IFELSE([$1],
     79  [AC_MSG_RESULT([yes])],
     80  [AC_MSG_RESULT([no])
     81   $4="$$4 $3"])
     82LIBS=$save_LIBS
     83])
Note: See TracChangeset for help on using the changeset viewer.