Changeset c59712e for aclocal.m4
- Timestamp:
- Aug 3, 2018, 11:25:46 AM (6 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, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- ff1e0f38
- Parents:
- 25a9b5a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
aclocal.m4
r25a9b5a rc59712e 127 127 # Expand $ac_aux_dir to an absolute path. 128 128 am_aux_dir=`cd "$ac_aux_dir" && pwd` 129 ])130 131 # AM_COND_IF -*- Autoconf -*-132 133 # Copyright (C) 2008-2014 Free Software Foundation, Inc.134 #135 # This file is free software; the Free Software Foundation136 # gives unlimited permission to copy and/or distribute it,137 # with or without modifications, as long as this notice is preserved.138 139 # _AM_COND_IF140 # _AM_COND_ELSE141 # _AM_COND_ENDIF142 # --------------143 # These macros are only used for tracing.144 m4_define([_AM_COND_IF])145 m4_define([_AM_COND_ELSE])146 m4_define([_AM_COND_ENDIF])147 148 # AM_COND_IF(COND, [IF-TRUE], [IF-FALSE])149 # ---------------------------------------150 # If the shell condition COND is true, execute IF-TRUE, otherwise execute151 # IF-FALSE. Allow automake to learn about conditional instantiating macros152 # (the AC_CONFIG_FOOS).153 AC_DEFUN([AM_COND_IF],154 [m4_ifndef([_AM_COND_VALUE_$1],155 [m4_fatal([$0: no such condition "$1"])])dnl156 _AM_COND_IF([$1])dnl157 if test -z "$$1_TRUE"; then :158 m4_n([$2])[]dnl159 m4_ifval([$3],160 [_AM_COND_ELSE([$1])dnl161 else162 $3163 ])dnl164 _AM_COND_ENDIF([$1])dnl165 fi[]dnl166 129 ]) 167 130
Note: See TracChangeset
for help on using the changeset viewer.