Changeset 2856


Ignore:
Timestamp:
Sep 26, 2012, 3:14:52 AM (9 years ago)
Author:
Peter
Message:

if test fails, skip downstream tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/m4/yat.m4

    r2777 r2856  
    11## $Id$
    22#
    3 # serial 7  (yat 0.9)
     3# serial 8  (yat 0.10)
    44#
    55# see http://www.gnu.org/software/automake/manual/automake.html#Serials
     
    115115AC_REQUIRE([YAT_FIND_YAT])  dnl
    116116YAT_CHECK_VERSION([$1],,[ac_yat_check_yat_res="no"])
    117 YAT_CHECK_HEADER(,[ac_yat_check_yat_res="no"])
    118 YAT_CHECK_LIB(,[ac_yat_check_yat_res="no"])
     117
     118AS_IF([test x$ac_yat_check_yat_res = xyes], [
     119  YAT_CHECK_HEADER(,[ac_yat_check_yat_res="no"])
     120])
     121
     122AS_IF([test x$ac_yat_check_yat_res = xyes], [
     123  YAT_CHECK_LIB(,[ac_yat_check_yat_res="no"])
     124])
    119125
    120126_YAT_ACTION([test "$ac_yat_check_yat_res" != "no"],[$2],[$3])
Note: See TracChangeset for help on using the changeset viewer.