Ignore:
Timestamp:
Nov 10, 2013, 10:47:37 AM (8 years ago)
Author:
Peter
Message:

change YAT_USE_LIBTOOL_[PUSH|POP] so it only affects the linking tests and *no longer* the compilation tests. closes #737

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/m4/yat_lt_link_ifelse.m4

    r3090 r3113  
    4848# YAT_USE_LIBTOOL_PUSH
    4949# --------------------
    50 # Assign `$ac_link' and `$ac_compile' to use libtool. Variables are
    51 # saved so they can be restored with YAT_USE_LIBTOOL_POP
     50# Assign `$ac_link' to use libtool. Variable is saved so they can be
     51# restored with YAT_USE_LIBTOOL_POP
    5252AC_DEFUN([YAT_USE_LIBTOOL_PUSH],
    5353[
     
    5555m4_ifdef([_YAT_USE_LIBTOOL], [],
    5656  [LT_OUTPUT
    57    yat_use_libtool_ac_compile=$ac_compile;
    58    ac_compile='./libtool --mode=compile --tag=_YAT_USE_LIBTOOL_TAG '"$ac_compile";
    5957   yat_use_libtool_ac_link=$ac_link;
    6058   ac_link='./libtool --mode=link --tag=_YAT_USE_LIBTOOL_TAG '"$ac_link";
     
    7270m4_popdef([_YAT_USE_LIBTOOL])
    7371m4_ifndef([_YAT_USE_LIBTOOL], dnl
    74   [ac_compile=$yat_use_libtool_ac_compile;
    75    ac_link=$yat_use_libtool_ac_link;
     72  [ac_link=$yat_use_libtool_ac_link;
    7673  ])
    7774]) # YAT_USE_LIBTOOL_POP
Note: See TracChangeset for help on using the changeset viewer.