Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal.m4

    r9def87a r8e5724e  
    135135# expand $ac_aux_dir to an absolute path
    136136am_aux_dir=`cd $ac_aux_dir && pwd`
    137 ])
    138 
    139 # AM_COND_IF                                            -*- Autoconf -*-
    140 
    141 # Copyright (C) 2008, 2010 Free Software Foundation, Inc.
    142 #
    143 # This file is free software; the Free Software Foundation
    144 # gives unlimited permission to copy and/or distribute it,
    145 # with or without modifications, as long as this notice is preserved.
    146 
    147 # serial 3
    148 
    149 # _AM_COND_IF
    150 # _AM_COND_ELSE
    151 # _AM_COND_ENDIF
    152 # --------------
    153 # These macros are only used for tracing.
    154 m4_define([_AM_COND_IF])
    155 m4_define([_AM_COND_ELSE])
    156 m4_define([_AM_COND_ENDIF])
    157 
    158 
    159 # AM_COND_IF(COND, [IF-TRUE], [IF-FALSE])
    160 # ---------------------------------------
    161 # If the shell condition COND is true, execute IF-TRUE, otherwise execute
    162 # IF-FALSE.  Allow automake to learn about conditional instantiating macros
    163 # (the AC_CONFIG_FOOS).
    164 AC_DEFUN([AM_COND_IF],
    165 [m4_ifndef([_AM_COND_VALUE_$1],
    166            [m4_fatal([$0: no such condition "$1"])])dnl
    167 _AM_COND_IF([$1])dnl
    168 if test -z "$$1_TRUE"; then :
    169   m4_n([$2])[]dnl
    170 m4_ifval([$3],
    171 [_AM_COND_ELSE([$1])dnl
    172 else
    173   $3
    174 ])dnl
    175 _AM_COND_ENDIF([$1])dnl
    176 fi[]dnl
    177137])
    178138
Note: See TracChangeset for help on using the changeset viewer.