Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal.m4

    rc59712e r857638d  
    127127# Expand $ac_aux_dir to an absolute path.
    128128am_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 Foundation
     136# 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_IF
     140# _AM_COND_ELSE
     141# _AM_COND_ENDIF
     142# --------------
     143# These macros are only used for tracing.
     144m4_define([_AM_COND_IF])
     145m4_define([_AM_COND_ELSE])
     146m4_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 execute
     151# IF-FALSE.  Allow automake to learn about conditional instantiating macros
     152# (the AC_CONFIG_FOOS).
     153AC_DEFUN([AM_COND_IF],
     154[m4_ifndef([_AM_COND_VALUE_$1],
     155           [m4_fatal([$0: no such condition "$1"])])dnl
     156_AM_COND_IF([$1])dnl
     157if test -z "$$1_TRUE"; then :
     158  m4_n([$2])[]dnl
     159m4_ifval([$3],
     160[_AM_COND_ELSE([$1])dnl
     161else
     162  $3
     163])dnl
     164_AM_COND_ENDIF([$1])dnl
     165fi[]dnl
    129166])
    130167
Note: See TracChangeset for help on using the changeset viewer.