Changeset d2a182e for aclocal.m4


Ignore:
Timestamp:
Jun 14, 2016, 12:15:44 PM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
45576af9
Parents:
7b21d99
Message:

add silent option to configure.ac, i.e., enable V=0/1 for make build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal.m4

    r7b21d99 rd2a182e  
    899899AC_MSG_RESULT(yes)])
    900900
     901# Copyright (C) 2009, 2011  Free Software Foundation, Inc.
     902#
     903# This file is free software; the Free Software Foundation
     904# gives unlimited permission to copy and/or distribute it,
     905# with or without modifications, as long as this notice is preserved.
     906
     907# serial 2
     908
     909# AM_SILENT_RULES([DEFAULT])
     910# --------------------------
     911# Enable less verbose build rules; with the default set to DEFAULT
     912# (`yes' being less verbose, `no' or empty being verbose).
     913AC_DEFUN([AM_SILENT_RULES],
     914[AC_ARG_ENABLE([silent-rules],
     915[  --enable-silent-rules          less verbose build output (undo: `make V=1')
     916  --disable-silent-rules         verbose build output (undo: `make V=0')])
     917case $enable_silent_rules in
     918yes) AM_DEFAULT_VERBOSITY=0;;
     919no)  AM_DEFAULT_VERBOSITY=1;;
     920*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
     921esac
     922dnl
     923dnl A few `make' implementations (e.g., NonStop OS and NextStep)
     924dnl do not support nested variable expansions.
     925dnl See automake bug#9928 and bug#10237.
     926am_make=${MAKE-make}
     927AC_CACHE_CHECK([whether $am_make supports nested variables],
     928   [am_cv_make_support_nested_variables],
     929   [if AS_ECHO([['TRUE=$(BAR$(V))
     930BAR0=false
     931BAR1=true
     932V=1
     933am__doit:
     934        @$(TRUE)
     935.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
     936  am_cv_make_support_nested_variables=yes
     937else
     938  am_cv_make_support_nested_variables=no
     939fi])
     940if test $am_cv_make_support_nested_variables = yes; then
     941  dnl Using `$V' instead of `$(V)' breaks IRIX make.
     942  AM_V='$(V)'
     943  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
     944else
     945  AM_V=$AM_DEFAULT_VERBOSITY
     946  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
     947fi
     948AC_SUBST([AM_V])dnl
     949AM_SUBST_NOTMAKE([AM_V])dnl
     950AC_SUBST([AM_DEFAULT_V])dnl
     951AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
     952AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
     953AM_BACKSLASH='\'
     954AC_SUBST([AM_BACKSLASH])dnl
     955_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
     956])
     957
    901958# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
    902959#
Note: See TracChangeset for help on using the changeset viewer.