Changeset 6a16806 for aclocal.m4


Ignore:
Timestamp:
Dec 9, 2016, 10:24:11 AM (7 years ago)
Author:
Aaron Moss <a3moss@…>
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:
9a063c8
Parents:
2d59d53 (diff), 164d036 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal.m4

    r2d59d53 r6a16806  
    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.
     154m4_define([_AM_COND_IF])
     155m4_define([_AM_COND_ELSE])
     156m4_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).
     164AC_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
     168if test -z "$$1_TRUE"; then :
     169  m4_n([$2])[]dnl
     170m4_ifval([$3],
     171[_AM_COND_ELSE([$1])dnl
     172else
     173  $3
     174])dnl
     175_AM_COND_ENDIF([$1])dnl
     176fi[]dnl
    137177])
    138178
Note: See TracChangeset for help on using the changeset viewer.