Changeset d2a182e for configure


Ignore:
Timestamp:
Jun 14, 2016, 12:15:44 PM (9 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
  • configure

    r7b21d99 rd2a182e  
    671671INSTALL_SCRIPT
    672672INSTALL_PROGRAM
     673AM_BACKSLASH
     674AM_DEFAULT_VERBOSITY
     675AM_DEFAULT_V
     676AM_V
    673677target_alias
    674678host_alias
     
    712716ac_user_opts='
    713717enable_option_checking
     718enable_silent_rules
    714719enable_maintainer_mode
    715720with_backend_compiler
     
    13461351  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    13471352  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     1353  --enable-silent-rules          less verbose build output (undo: `make V=1')
     1354  --disable-silent-rules         verbose build output (undo: `make V=0')
    13481355  --disable-maintainer-mode  disable make rules and dependencies not useful
    13491356                          (and sometimes confusing) to the casual installer
     
    24072414#AC_CONFIG_SRCDIR([src/main.cc])
    24082415ac_config_headers="$ac_config_headers config.h"
     2416
     2417# Check whether --enable-silent-rules was given.
     2418if test "${enable_silent_rules+set}" = set; then :
     2419  enableval=$enable_silent_rules;
     2420fi
     2421
     2422case $enable_silent_rules in
     2423yes) AM_DEFAULT_VERBOSITY=0;;
     2424no)  AM_DEFAULT_VERBOSITY=1;;
     2425*)   AM_DEFAULT_VERBOSITY=1;;
     2426esac
     2427am_make=${MAKE-make}
     2428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
     2429$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
     2430if ${am_cv_make_support_nested_variables+:} false; then :
     2431  $as_echo_n "(cached) " >&6
     2432else
     2433  if $as_echo 'TRUE=$(BAR$(V))
     2434BAR0=false
     2435BAR1=true
     2436V=1
     2437am__doit:
     2438        @$(TRUE)
     2439.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
     2440  am_cv_make_support_nested_variables=yes
     2441else
     2442  am_cv_make_support_nested_variables=no
     2443fi
     2444fi
     2445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
     2446$as_echo "$am_cv_make_support_nested_variables" >&6; }
     2447if test $am_cv_make_support_nested_variables = yes; then
     2448    AM_V='$(V)'
     2449  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
     2450else
     2451  AM_V=$AM_DEFAULT_VERBOSITY
     2452  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
     2453fi
     2454AM_BACKSLASH='\'
    24092455
    24102456
Note: See TracChangeset for help on using the changeset viewer.