Changeset 9def87a for aclocal.m4
- Timestamp:
- Dec 8, 2016, 5:44:46 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 164d036
- Parents:
- 57f408e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
aclocal.m4
r57f408e r9def87a 135 135 # expand $ac_aux_dir to an absolute path 136 136 am_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 137 177 ]) 138 178
Note: See TracChangeset
for help on using the changeset viewer.