Changeset 44f44617 for aclocal.m4


Ignore:
Timestamp:
Jul 5, 2017, 4:29:43 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, 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:
8c97ee7, b72d4ed
Parents:
307a732
Message:

Fix build for 16.04

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal.m4

    r307a732 r44f44617  
    1 # generated automatically by aclocal 1.11.3 -*- Autoconf -*-
    2 
    3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
    4 # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
    5 # Inc.
     1# generated automatically by aclocal 1.15 -*- Autoconf -*-
     2
     3# Copyright (C) 1996-2014 Free Software Foundation, Inc.
     4
    65# This file is free software; the Free Software Foundation
    76# gives unlimited permission to copy and/or distribute it,
     
    1312# PARTICULAR PURPOSE.
    1413
     14m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
    1515m4_ifndef([AC_AUTOCONF_VERSION],
    1616  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
    17 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
    18 [m4_warning([this file was generated for autoconf 2.68.
     17m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
     18[m4_warning([this file was generated for autoconf 2.69.
    1919You have another version of autoconf.  It may work, but is not guaranteed to.
    2020If you have problems, you may need to regenerate the build system entirely.
    21 To do so, use the procedure documented by the package, typically `autoreconf'.])])
    22 
    23 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
    24 # Foundation, Inc.
    25 #
    26 # This file is free software; the Free Software Foundation
    27 # gives unlimited permission to copy and/or distribute it,
    28 # with or without modifications, as long as this notice is preserved.
    29 
    30 # serial 1
     21To do so, use the procedure documented by the package, typically 'autoreconf'.])])
     22
     23# Copyright (C) 2002-2014 Free Software Foundation, Inc.
     24#
     25# This file is free software; the Free Software Foundation
     26# gives unlimited permission to copy and/or distribute it,
     27# with or without modifications, as long as this notice is preserved.
    3128
    3229# AM_AUTOMAKE_VERSION(VERSION)
     
    3633# (This private macro should not be called outside this file.)
    3734AC_DEFUN([AM_AUTOMAKE_VERSION],
    38 [am__api_version='1.11'
     35[am__api_version='1.15'
    3936dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
    4037dnl require some minimum version.  Point them to the right macro.
    41 m4_if([$1], [1.11.3], [],
     38m4_if([$1], [1.15], [],
    4239      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
    4340])
     
    5552# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
    5653AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
    57 [AM_AUTOMAKE_VERSION([1.11.3])dnl
     54[AM_AUTOMAKE_VERSION([1.15])dnl
    5855m4_ifndef([AC_AUTOCONF_VERSION],
    5956  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
     
    6259# Figure out how to run the assembler.                      -*- Autoconf -*-
    6360
    64 # Copyright (C) 2001, 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
    65 #
    66 # This file is free software; the Free Software Foundation
    67 # gives unlimited permission to copy and/or distribute it,
    68 # with or without modifications, as long as this notice is preserved.
    69 
    70 # serial 5
     61# Copyright (C) 2001-2014 Free Software Foundation, Inc.
     62#
     63# This file is free software; the Free Software Foundation
     64# gives unlimited permission to copy and/or distribute it,
     65# with or without modifications, as long as this notice is preserved.
    7166
    7267# AM_PROG_AS
     
    8479# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
    8580
    86 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
    87 #
    88 # This file is free software; the Free Software Foundation
    89 # gives unlimited permission to copy and/or distribute it,
    90 # with or without modifications, as long as this notice is preserved.
    91 
    92 # serial 1
     81# Copyright (C) 2001-2014 Free Software Foundation, Inc.
     82#
     83# This file is free software; the Free Software Foundation
     84# gives unlimited permission to copy and/or distribute it,
     85# with or without modifications, as long as this notice is preserved.
    9386
    9487# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
    95 # $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
    96 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
     88# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
     89# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
    9790#
    9891# Of course, Automake must honor this variable whenever it calls a
     
    113106# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
    114107# are both prefixed by $srcdir.  In an in-source build this is usually
    115 # harmless because $srcdir is `.', but things will broke when you
     108# harmless because $srcdir is '.', but things will broke when you
    116109# start a VPATH build or use an absolute $srcdir.
    117110#
     
    131124
    132125AC_DEFUN([AM_AUX_DIR_EXPAND],
    133 [dnl Rely on autoconf to set up CDPATH properly.
    134 AC_PREREQ([2.50])dnl
    135 # expand $ac_aux_dir to an absolute path
    136 am_aux_dir=`cd $ac_aux_dir && pwd`
     126[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
     127# Expand $ac_aux_dir to an absolute path.
     128am_aux_dir=`cd "$ac_aux_dir" && pwd`
    137129])
    138130
    139131# AM_COND_IF                                            -*- Autoconf -*-
    140132
    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
     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.
    148138
    149139# _AM_COND_IF
     
    155145m4_define([_AM_COND_ELSE])
    156146m4_define([_AM_COND_ENDIF])
    157 
    158147
    159148# AM_COND_IF(COND, [IF-TRUE], [IF-FALSE])
     
    179168# AM_CONDITIONAL                                            -*- Autoconf -*-
    180169
    181 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
    182 # Free Software Foundation, Inc.
    183 #
    184 # This file is free software; the Free Software Foundation
    185 # gives unlimited permission to copy and/or distribute it,
    186 # with or without modifications, as long as this notice is preserved.
    187 
    188 # serial 9
     170# Copyright (C) 1997-2014 Free Software Foundation, Inc.
     171#
     172# This file is free software; the Free Software Foundation
     173# gives unlimited permission to copy and/or distribute it,
     174# with or without modifications, as long as this notice is preserved.
    189175
    190176# AM_CONDITIONAL(NAME, SHELL-CONDITION)
     
    192178# Define a conditional.
    193179AC_DEFUN([AM_CONDITIONAL],
    194 [AC_PREREQ(2.52)dnl
    195  ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
    196         [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
     180[AC_PREREQ([2.52])dnl
     181 m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
     182       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
    197183AC_SUBST([$1_TRUE])dnl
    198184AC_SUBST([$1_FALSE])dnl
     
    213199fi])])
    214200
    215 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
    216 # 2010, 2011 Free Software Foundation, Inc.
    217 #
    218 # This file is free software; the Free Software Foundation
    219 # gives unlimited permission to copy and/or distribute it,
    220 # with or without modifications, as long as this notice is preserved.
    221 
    222 # serial 12
    223 
    224 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
     201# Copyright (C) 1999-2014 Free Software Foundation, Inc.
     202#
     203# This file is free software; the Free Software Foundation
     204# gives unlimited permission to copy and/or distribute it,
     205# with or without modifications, as long as this notice is preserved.
     206
     207
     208# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
    225209# written in clear, in which case automake, when reading aclocal.m4,
    226210# will think it sees a *use*, and therefore will trigger all it's
     
    232216# ----------------------
    233217# See how the compiler implements dependency checking.
    234 # NAME is "CC", "CXX", "GCJ", or "OBJC".
     218# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
    235219# We try a few techniques and use that to set a single cache variable.
    236220#
     
    245229AC_REQUIRE([AM_DEP_TRACK])dnl
    246230
    247 ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
    248        [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
    249        [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
    250        [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
    251        [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
    252                    [depcc="$$1"   am_compiler_list=])
     231m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
     232      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
     233      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
     234      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
     235      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
     236      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
     237                    [depcc="$$1"   am_compiler_list=])
    253238
    254239AC_CACHE_CHECK([dependency style of $depcc],
     
    258243  # making bogus files that we don't know about and never remove.  For
    259244  # instance it was reported that on HP-UX the gcc test will end up
    260   # making a dummy file named `D' -- because `-MD' means `put the output
    261   # in D'.
     245  # making a dummy file named 'D' -- because '-MD' means "put the output
     246  # in D".
    262247  rm -rf conftest.dir
    263248  mkdir conftest.dir
     
    299284    for i in 1 2 3 4 5 6; do
    300285      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    301       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    302       # Solaris 8's {/usr,}/bin/sh.
    303       touch sub/conftst$i.h
     286      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     287      # Solaris 10 /bin/sh.
     288      echo '/* dummy */' > sub/conftst$i.h
    304289    done
    305290    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    306291
    307     # We check with `-c' and `-o' for the sake of the "dashmstdout"
     292    # We check with '-c' and '-o' for the sake of the "dashmstdout"
    308293    # mode.  It turns out that the SunPro C++ compiler does not properly
    309     # handle `-M -o', and we need to detect this.  Also, some Intel
    310     # versions had trouble with output in subdirs
     294    # handle '-M -o', and we need to detect this.  Also, some Intel
     295    # versions had trouble with output in subdirs.
    311296    am__obj=sub/conftest.${OBJEXT-o}
    312297    am__minus_obj="-o $am__obj"
     
    317302      ;;
    318303    nosideeffect)
    319       # after this tag, mechanisms are not by side-effect, so they'll
    320       # only be used when explicitly requested
     304      # After this tag, mechanisms are not by side-effect, so they'll
     305      # only be used when explicitly requested.
    321306      if test "x$enable_dependency_tracking" = xyes; then
    322307        continue
     
    326311      ;;
    327312    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
    328       # This compiler won't grok `-c -o', but also, the minuso test has
     313      # This compiler won't grok '-c -o', but also, the minuso test has
    329314      # not run yet.  These depmodes are late enough in the game, and
    330315      # so weak that their functioning should not be impacted.
     
    374359# -------------
    375360# Choose a directory name for dependency files.
    376 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
     361# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
    377362AC_DEFUN([AM_SET_DEPDIR],
    378363[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
     
    384369# ------------
    385370AC_DEFUN([AM_DEP_TRACK],
    386 [AC_ARG_ENABLE(dependency-tracking,
    387 [  --disable-dependency-tracking  speeds up one-time build
    388   --enable-dependency-tracking   do not reject slow dependency extractors])
     371[AC_ARG_ENABLE([dependency-tracking], [dnl
     372AS_HELP_STRING(
     373  [--enable-dependency-tracking],
     374  [do not reject slow dependency extractors])
     375AS_HELP_STRING(
     376  [--disable-dependency-tracking],
     377  [speeds up one-time build])])
    389378if test "x$enable_dependency_tracking" != xno; then
    390379  am_depcomp="$ac_aux_dir/depcomp"
     
    401390# Generate code to set up dependency tracking.              -*- Autoconf -*-
    402391
    403 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
    404 # Free Software Foundation, Inc.
    405 #
    406 # This file is free software; the Free Software Foundation
    407 # gives unlimited permission to copy and/or distribute it,
    408 # with or without modifications, as long as this notice is preserved.
    409 
    410 #serial 5
     392# Copyright (C) 1999-2014 Free Software Foundation, Inc.
     393#
     394# This file is free software; the Free Software Foundation
     395# gives unlimited permission to copy and/or distribute it,
     396# with or without modifications, as long as this notice is preserved.
     397
    411398
    412399# _AM_OUTPUT_DEPENDENCY_COMMANDS
     
    414401AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
    415402[{
    416   # Autoconf 2.62 quotes --file arguments for eval, but not when files
     403  # Older Autoconf quotes --file arguments for eval, but not when files
    417404  # are listed without --file.  Let's play safe and only enable the eval
    418405  # if we detect the quoting.
     
    427414    mf=`echo "$mf" | sed -e 's/:.*$//'`
    428415    # Check whether this is an Automake generated Makefile or not.
    429     # We used to match only the files named `Makefile.in', but
     416    # We used to match only the files named 'Makefile.in', but
    430417    # some people rename them; so instead we look at the file content.
    431418    # Grep'ing the first line is not enough: some people post-process
     
    439426    fi
    440427    # Extract the definition of DEPDIR, am__include, and am__quote
    441     # from the Makefile without running `make'.
     428    # from the Makefile without running 'make'.
    442429    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
    443430    test -z "$DEPDIR" && continue
    444431    am__include=`sed -n 's/^am__include = //p' < "$mf"`
    445     test -z "am__include" && continue
     432    test -z "$am__include" && continue
    446433    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
    447     # When using ansi2knr, U may be empty or an underscore; expand it
    448     U=`sed -n 's/^U = //p' < "$mf"`
    449434    # Find all dependency output files, they are included files with
    450435    # $(DEPDIR) in their names.  We invoke sed twice because it is the
     
    453438    for file in `sed -n "
    454439      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
    455          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
     440         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
    456441      # Make sure the directory exists.
    457442      test -f "$dirpart/$file" && continue
     
    471456#
    472457# This code is only required when automatic dependency tracking
    473 # is enabled.  FIXME.  This creates each `.P' file that we will
     458# is enabled.  FIXME.  This creates each '.P' file that we will
    474459# need in order to bootstrap the dependency handling code.
    475460AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
     
    481466# Do all the work for Automake.                             -*- Autoconf -*-
    482467
    483 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
    484 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
    485 #
    486 # This file is free software; the Free Software Foundation
    487 # gives unlimited permission to copy and/or distribute it,
    488 # with or without modifications, as long as this notice is preserved.
    489 
    490 # serial 16
     468# Copyright (C) 1996-2014 Free Software Foundation, Inc.
     469#
     470# This file is free software; the Free Software Foundation
     471# gives unlimited permission to copy and/or distribute it,
     472# with or without modifications, as long as this notice is preserved.
    491473
    492474# This macro actually does too much.  Some checks are only needed if
    493475# your package does certain things.  But this isn't really a big deal.
     476
     477dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
     478m4_define([AC_PROG_CC],
     479m4_defn([AC_PROG_CC])
     480[_AM_PROG_CC_C_O
     481])
    494482
    495483# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
     
    505493# release and drop the old call support.
    506494AC_DEFUN([AM_INIT_AUTOMAKE],
    507 [AC_PREREQ([2.62])dnl
     495[AC_PREREQ([2.65])dnl
    508496dnl Autoconf wants to disallow AM_ names.  We explicitly allow
    509497dnl the ones we care about.
     
    534522dnl Distinguish between old-style and new-style calls.
    535523m4_ifval([$2],
    536 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
     524[AC_DIAGNOSE([obsolete],
     525             [$0: two- and three-arguments forms are deprecated.])
     526m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
    537527 AC_SUBST([PACKAGE], [$1])dnl
    538528 AC_SUBST([VERSION], [$2])],
    539529[_AM_SET_OPTIONS([$1])dnl
    540530dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
    541 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
     531m4_if(
     532  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
     533  [ok:ok],,
    542534  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
    543535 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
     
    545537
    546538_AM_IF_OPTION([no-define],,
    547 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
    548  AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
     539[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
     540 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
    549541
    550542# Some tools Automake needs.
    551543AC_REQUIRE([AM_SANITY_CHECK])dnl
    552544AC_REQUIRE([AC_ARG_PROGRAM])dnl
    553 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
    554 AM_MISSING_PROG(AUTOCONF, autoconf)
    555 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
    556 AM_MISSING_PROG(AUTOHEADER, autoheader)
    557 AM_MISSING_PROG(MAKEINFO, makeinfo)
     545AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
     546AM_MISSING_PROG([AUTOCONF], [autoconf])
     547AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
     548AM_MISSING_PROG([AUTOHEADER], [autoheader])
     549AM_MISSING_PROG([MAKEINFO], [makeinfo])
    558550AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    559551AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
    560 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
    561 # We need awk for the "check" target.  The system "awk" is bad on
    562 # some platforms.
     552AC_REQUIRE([AC_PROG_MKDIR_P])dnl
     553# For better backward compatibility.  To be removed once Automake 1.9.x
     554# dies out for good.  For more background, see:
     555# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
     556# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
     557AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
     558# We need awk for the "check" target (and possibly the TAP driver).  The
     559# system "awk" is bad on some platforms.
    563560AC_REQUIRE([AC_PROG_AWK])dnl
    564561AC_REQUIRE([AC_PROG_MAKE_SET])dnl
     
    569566_AM_IF_OPTION([no-dependencies],,
    570567[AC_PROVIDE_IFELSE([AC_PROG_CC],
    571                   [_AM_DEPENDENCIES(CC)],
    572                   [define([AC_PROG_CC],
    573                           defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
     568                  [_AM_DEPENDENCIES([CC])],
     569                  [m4_define([AC_PROG_CC],
     570                             m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
    574571AC_PROVIDE_IFELSE([AC_PROG_CXX],
    575                   [_AM_DEPENDENCIES(CXX)],
    576                   [define([AC_PROG_CXX],
    577                           defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
     572                  [_AM_DEPENDENCIES([CXX])],
     573                  [m4_define([AC_PROG_CXX],
     574                             m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
    578575AC_PROVIDE_IFELSE([AC_PROG_OBJC],
    579                   [_AM_DEPENDENCIES(OBJC)],
    580                   [define([AC_PROG_OBJC],
    581                           defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
    582 ])
    583 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
    584 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
    585 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
    586 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
     576                  [_AM_DEPENDENCIES([OBJC])],
     577                  [m4_define([AC_PROG_OBJC],
     578                             m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
     579AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
     580                  [_AM_DEPENDENCIES([OBJCXX])],
     581                  [m4_define([AC_PROG_OBJCXX],
     582                             m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
     583])
     584AC_REQUIRE([AM_SILENT_RULES])dnl
     585dnl The testsuite driver may need to know about EXEEXT, so add the
     586dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
     587dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
    587588AC_CONFIG_COMMANDS_PRE(dnl
    588589[m4_provide_if([_AM_COMPILER_EXEEXT],
    589590  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
    590 ])
    591 
    592 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
     591
     592# POSIX will say in a future version that running "rm -f" with no argument
     593# is OK; and we want to be able to make that assumption in our Makefile
     594# recipes.  So use an aggressive probe to check that the usage we want is
     595# actually supported "in the wild" to an acceptable degree.
     596# See automake bug#10828.
     597# To make any issue more visible, cause the running configure to be aborted
     598# by default if the 'rm' program in use doesn't match our expectations; the
     599# user can still override this though.
     600if rm -f && rm -fr && rm -rf; then : OK; else
     601  cat >&2 <<'END'
     602Oops!
     603
     604Your 'rm' program seems unable to run without file operands specified
     605on the command line, even when the '-f' option is present.  This is contrary
     606to the behaviour of most rm programs out there, and not conforming with
     607the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
     608
     609Please tell bug-automake@gnu.org about your system, including the value
     610of your $PATH and any error possibly output before this message.  This
     611can help us improve future automake versions.
     612
     613END
     614  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
     615    echo 'Configuration will proceed anyway, since you have set the' >&2
     616    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
     617    echo >&2
     618  else
     619    cat >&2 <<'END'
     620Aborting the configuration process, to ensure you take notice of the issue.
     621
     622You can download and install GNU coreutils to get an 'rm' implementation
     623that behaves properly: <http://www.gnu.org/software/coreutils/>.
     624
     625If you want to complete the configuration process using your problematic
     626'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
     627to "yes", and re-run configure.
     628
     629END
     630    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
     631  fi
     632fi
     633dnl The trailing newline in this macro's definition is deliberate, for
     634dnl backward compatibility and to allow trailing 'dnl'-style comments
     635dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
     636])
     637
     638dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
    593639dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
    594640dnl mangled by Autoconf and run in a shell conditional statement.
    595641m4_define([_AC_COMPILER_EXEEXT],
    596642m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
    597 
    598643
    599644# When config.status generates a header, we must update the stamp-h file.
     
    618663echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
    619664
    620 # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
    621 # Inc.
    622 #
    623 # This file is free software; the Free Software Foundation
    624 # gives unlimited permission to copy and/or distribute it,
    625 # with or without modifications, as long as this notice is preserved.
    626 
    627 # serial 1
     665# Copyright (C) 2001-2014 Free Software Foundation, Inc.
     666#
     667# This file is free software; the Free Software Foundation
     668# gives unlimited permission to copy and/or distribute it,
     669# with or without modifications, as long as this notice is preserved.
    628670
    629671# AM_PROG_INSTALL_SH
     
    632674AC_DEFUN([AM_PROG_INSTALL_SH],
    633675[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    634 if test x"${install_sh}" != xset; then
     676if test x"${install_sh+set}" != xset; then
    635677  case $am_aux_dir in
    636678  *\ * | *\     *)
     
    640682  esac
    641683fi
    642 AC_SUBST(install_sh)])
    643 
    644 # Copyright (C) 2003, 2005  Free Software Foundation, Inc.
    645 #
    646 # This file is free software; the Free Software Foundation
    647 # gives unlimited permission to copy and/or distribute it,
    648 # with or without modifications, as long as this notice is preserved.
    649 
    650 # serial 2
     684AC_SUBST([install_sh])])
     685
     686# Copyright (C) 2003-2014 Free Software Foundation, Inc.
     687#
     688# This file is free software; the Free Software Foundation
     689# gives unlimited permission to copy and/or distribute it,
     690# with or without modifications, as long as this notice is preserved.
    651691
    652692# Check whether the underlying file-system supports filenames
     
    666706# From Jim Meyering
    667707
    668 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
    669 # 2011 Free Software Foundation, Inc.
    670 #
    671 # This file is free software; the Free Software Foundation
    672 # gives unlimited permission to copy and/or distribute it,
    673 # with or without modifications, as long as this notice is preserved.
    674 
    675 # serial 5
     708# Copyright (C) 1996-2014 Free Software Foundation, Inc.
     709#
     710# This file is free software; the Free Software Foundation
     711# gives unlimited permission to copy and/or distribute it,
     712# with or without modifications, as long as this notice is preserved.
    676713
    677714# AM_MAINTAINER_MODE([DEFAULT-MODE])
    678715# ----------------------------------
    679716# Control maintainer-specific portions of Makefiles.
    680 # Default is to disable them, unless `enable' is passed literally.
    681 # For symmetry, `disable' may be passed as well.  Anyway, the user
     717# Default is to disable them, unless 'enable' is passed literally.
     718# For symmetry, 'disable' may be passed as well.  Anyway, the user
    682719# can override the default with the --enable/--disable switch.
    683720AC_DEFUN([AM_MAINTAINER_MODE],
     
    690727  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
    691728  AC_ARG_ENABLE([maintainer-mode],
    692 [  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
    693                           (and sometimes confusing) to the casual installer],
    694       [USE_MAINTAINER_MODE=$enableval],
    695       [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
     729    [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
     730      am_maintainer_other[ make rules and dependencies not useful
     731      (and sometimes confusing) to the casual installer])],
     732    [USE_MAINTAINER_MODE=$enableval],
     733    [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
    696734  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
    697735  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
     
    701739)
    702740
    703 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
    704 
    705741# Check to see how 'make' treats includes.                  -*- Autoconf -*-
    706742
    707 # Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
    708 #
    709 # This file is free software; the Free Software Foundation
    710 # gives unlimited permission to copy and/or distribute it,
    711 # with or without modifications, as long as this notice is preserved.
    712 
    713 # serial 4
     743# Copyright (C) 2001-2014 Free Software Foundation, Inc.
     744#
     745# This file is free software; the Free Software Foundation
     746# gives unlimited permission to copy and/or distribute it,
     747# with or without modifications, as long as this notice is preserved.
    714748
    715749# AM_MAKE_INCLUDE()
     
    730764# First try GNU make style include.
    731765echo "include confinc" > confmf
    732 # Ignore all kinds of additional output from `make'.
     766# Ignore all kinds of additional output from 'make'.
    733767case `$am_make -s -f confmf 2> /dev/null` in #(
    734768*the\ am__doit\ target*)
     
    755789])
    756790
    757 # Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
    758 # Free Software Foundation, Inc.
    759 #
    760 # This file is free software; the Free Software Foundation
    761 # gives unlimited permission to copy and/or distribute it,
    762 # with or without modifications, as long as this notice is preserved.
    763 
    764 # serial 6
    765 
    766 # AM_PROG_CC_C_O
    767 # --------------
    768 # Like AC_PROG_CC_C_O, but changed for automake.
    769 AC_DEFUN([AM_PROG_CC_C_O],
    770 [AC_REQUIRE([AC_PROG_CC_C_O])dnl
    771 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    772 AC_REQUIRE_AUX_FILE([compile])dnl
    773 # FIXME: we rely on the cache variable name because
    774 # there is no other way.
    775 set dummy $CC
    776 am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
    777 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
    778 if test "$am_t" != yes; then
    779    # Losing compiler, so override with the script.
    780    # FIXME: It is wrong to rewrite CC.
    781    # But if we don't then we get into trouble of one sort or another.
    782    # A longer-term fix would be to have automake use am__CC in this case,
    783    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
    784    CC="$am_aux_dir/compile $CC"
    785 fi
    786 dnl Make sure AC_PROG_CC is never called again, or it will override our
    787 dnl setting of CC.
    788 m4_define([AC_PROG_CC],
    789           [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
    790 ])
    791 
    792791# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
    793792
    794 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
    795 # Free Software Foundation, Inc.
    796 #
    797 # This file is free software; the Free Software Foundation
    798 # gives unlimited permission to copy and/or distribute it,
    799 # with or without modifications, as long as this notice is preserved.
    800 
    801 # serial 6
     793# Copyright (C) 1997-2014 Free Software Foundation, Inc.
     794#
     795# This file is free software; the Free Software Foundation
     796# gives unlimited permission to copy and/or distribute it,
     797# with or without modifications, as long as this notice is preserved.
    802798
    803799# AM_MISSING_PROG(NAME, PROGRAM)
     
    808804AC_SUBST($1)])
    809805
    810 
    811806# AM_MISSING_HAS_RUN
    812807# ------------------
    813 # Define MISSING if not defined so far and test if it supports --run.
    814 # If it does, set am_missing_run to use it, otherwise, to nothing.
     808# Define MISSING if not defined so far and test if it is modern enough.
     809# If it is, set am_missing_run to use it, otherwise, to nothing.
    815810AC_DEFUN([AM_MISSING_HAS_RUN],
    816811[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     
    825820fi
    826821# Use eval to expand $SHELL
    827 if eval "$MISSING --run true"; then
    828   am_missing_run="$MISSING --run "
     822if eval "$MISSING --is-lightweight"; then
     823  am_missing_run="$MISSING "
    829824else
    830825  am_missing_run=
    831   AC_MSG_WARN([`missing' script is too old or missing])
    832 fi
    833 ])
    834 
    835 # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
    836 # Inc.
    837 #
    838 # This file is free software; the Free Software Foundation
    839 # gives unlimited permission to copy and/or distribute it,
    840 # with or without modifications, as long as this notice is preserved.
    841 
    842 # serial 1
    843 
    844 # AM_PROG_MKDIR_P
    845 # ---------------
    846 # Check for `mkdir -p'.
    847 AC_DEFUN([AM_PROG_MKDIR_P],
    848 [AC_PREREQ([2.60])dnl
    849 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
    850 dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
    851 dnl while keeping a definition of mkdir_p for backward compatibility.
    852 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
    853 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
    854 dnl Makefile.ins that do not define MKDIR_P, so we do our own
    855 dnl adjustment using top_builddir (which is defined more often than
    856 dnl MKDIR_P).
    857 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
    858 case $mkdir_p in
    859   [[\\/$]]* | ?:[[\\/]]*) ;;
    860   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
    861 esac
     826  AC_MSG_WARN(['missing' script is too old or missing])
     827fi
    862828])
    863829
    864830# Helper functions for option handling.                     -*- Autoconf -*-
    865831
    866 # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
    867 # Foundation, Inc.
    868 #
    869 # This file is free software; the Free Software Foundation
    870 # gives unlimited permission to copy and/or distribute it,
    871 # with or without modifications, as long as this notice is preserved.
    872 
    873 # serial 5
     832# Copyright (C) 2001-2014 Free Software Foundation, Inc.
     833#
     834# This file is free software; the Free Software Foundation
     835# gives unlimited permission to copy and/or distribute it,
     836# with or without modifications, as long as this notice is preserved.
    874837
    875838# _AM_MANGLE_OPTION(NAME)
     
    882845# Set option NAME.  Presently that only means defining a flag for this option.
    883846AC_DEFUN([_AM_SET_OPTION],
    884 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
     847[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
    885848
    886849# _AM_SET_OPTIONS(OPTIONS)
     
    896859[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
    897860
     861# Copyright (C) 1999-2014 Free Software Foundation, Inc.
     862#
     863# This file is free software; the Free Software Foundation
     864# gives unlimited permission to copy and/or distribute it,
     865# with or without modifications, as long as this notice is preserved.
     866
     867# _AM_PROG_CC_C_O
     868# ---------------
     869# Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
     870# to automatically call this.
     871AC_DEFUN([_AM_PROG_CC_C_O],
     872[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     873AC_REQUIRE_AUX_FILE([compile])dnl
     874AC_LANG_PUSH([C])dnl
     875AC_CACHE_CHECK(
     876  [whether $CC understands -c and -o together],
     877  [am_cv_prog_cc_c_o],
     878  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
     879  # Make sure it works both with $CC and with simple cc.
     880  # Following AC_PROG_CC_C_O, we do the test twice because some
     881  # compilers refuse to overwrite an existing .o file with -o,
     882  # though they will create one.
     883  am_cv_prog_cc_c_o=yes
     884  for am_i in 1 2; do
     885    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
     886         && test -f conftest2.$ac_objext; then
     887      : OK
     888    else
     889      am_cv_prog_cc_c_o=no
     890      break
     891    fi
     892  done
     893  rm -f core conftest*
     894  unset am_i])
     895if test "$am_cv_prog_cc_c_o" != yes; then
     896   # Losing compiler, so override with the script.
     897   # FIXME: It is wrong to rewrite CC.
     898   # But if we don't then we get into trouble of one sort or another.
     899   # A longer-term fix would be to have automake use am__CC in this case,
     900   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
     901   CC="$am_aux_dir/compile $CC"
     902fi
     903AC_LANG_POP([C])])
     904
     905# For backward compatibility.
     906AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
     907
     908# Copyright (C) 2001-2014 Free Software Foundation, Inc.
     909#
     910# This file is free software; the Free Software Foundation
     911# gives unlimited permission to copy and/or distribute it,
     912# with or without modifications, as long as this notice is preserved.
     913
     914# AM_RUN_LOG(COMMAND)
     915# -------------------
     916# Run COMMAND, save the exit status in ac_status, and log it.
     917# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
     918AC_DEFUN([AM_RUN_LOG],
     919[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
     920   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
     921   ac_status=$?
     922   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
     923   (exit $ac_status); }])
     924
    898925# Check to make sure that the build environment is sane.    -*- Autoconf -*-
    899926
    900 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
    901 # 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 5
     927# Copyright (C) 1996-2014 Free Software Foundation, Inc.
     928#
     929# This file is free software; the Free Software Foundation
     930# gives unlimited permission to copy and/or distribute it,
     931# with or without modifications, as long as this notice is preserved.
    908932
    909933# AM_SANITY_CHECK
     
    911935AC_DEFUN([AM_SANITY_CHECK],
    912936[AC_MSG_CHECKING([whether build environment is sane])
    913 # Just in case
    914 sleep 1
    915 echo timestamp > conftest.file
    916937# Reject unsafe characters in $srcdir or the absolute working directory
    917938# name.  Accept space and tab only in the latter.
     
    924945case $srcdir in
    925946  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
    926     AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
     947    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
    927948esac
    928949
    929 # Do `set' in a subshell so we don't clobber the current shell's
     950# Do 'set' in a subshell so we don't clobber the current shell's
    930951# arguments.  Must try -L first in case configure is actually a
    931952# symlink; some systems play weird games with the mod time of symlinks
     
    933954# directory).
    934955if (
    935    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
    936    if test "$[*]" = "X"; then
    937       # -L didn't work.
    938       set X `ls -t "$srcdir/configure" conftest.file`
    939    fi
    940    rm -f conftest.file
    941    if test "$[*]" != "X $srcdir/configure conftest.file" \
    942       && test "$[*]" != "X conftest.file $srcdir/configure"; then
    943 
    944       # If neither matched, then we have a broken ls.  This can happen
    945       # if, for instance, CONFIG_SHELL is bash and it inherits a
    946       # broken ls alias from the environment.  This has actually
    947       # happened.  Such a system could not be considered "sane".
    948       AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
    949 alias in your environment])
    950    fi
    951 
     956   am_has_slept=no
     957   for am_try in 1 2; do
     958     echo "timestamp, slept: $am_has_slept" > conftest.file
     959     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
     960     if test "$[*]" = "X"; then
     961        # -L didn't work.
     962        set X `ls -t "$srcdir/configure" conftest.file`
     963     fi
     964     if test "$[*]" != "X $srcdir/configure conftest.file" \
     965        && test "$[*]" != "X conftest.file $srcdir/configure"; then
     966
     967        # If neither matched, then we have a broken ls.  This can happen
     968        # if, for instance, CONFIG_SHELL is bash and it inherits a
     969        # broken ls alias from the environment.  This has actually
     970        # happened.  Such a system could not be considered "sane".
     971        AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
     972  alias in your environment])
     973     fi
     974     if test "$[2]" = conftest.file || test $am_try -eq 2; then
     975       break
     976     fi
     977     # Just in case.
     978     sleep 1
     979     am_has_slept=yes
     980   done
    952981   test "$[2]" = conftest.file
    953982   )
     
    959988Check your system clock])
    960989fi
    961 AC_MSG_RESULT(yes)])
    962 
    963 # Copyright (C) 2009, 2011  Free Software Foundation, Inc.
    964 #
    965 # This file is free software; the Free Software Foundation
    966 # gives unlimited permission to copy and/or distribute it,
    967 # with or without modifications, as long as this notice is preserved.
    968 
    969 # serial 2
     990AC_MSG_RESULT([yes])
     991# If we didn't sleep, we still need to ensure time stamps of config.status and
     992# generated files are strictly newer.
     993am_sleep_pid=
     994if grep 'slept: no' conftest.file >/dev/null 2>&1; then
     995  ( sleep 1 ) &
     996  am_sleep_pid=$!
     997fi
     998AC_CONFIG_COMMANDS_PRE(
     999  [AC_MSG_CHECKING([that generated files are newer than configure])
     1000   if test -n "$am_sleep_pid"; then
     1001     # Hide warnings about reused PIDs.
     1002     wait $am_sleep_pid 2>/dev/null
     1003   fi
     1004   AC_MSG_RESULT([done])])
     1005rm -f conftest.file
     1006])
     1007
     1008# Copyright (C) 2009-2014 Free Software Foundation, Inc.
     1009#
     1010# This file is free software; the Free Software Foundation
     1011# gives unlimited permission to copy and/or distribute it,
     1012# with or without modifications, as long as this notice is preserved.
    9701013
    9711014# AM_SILENT_RULES([DEFAULT])
    9721015# --------------------------
    9731016# Enable less verbose build rules; with the default set to DEFAULT
    974 # (`yes' being less verbose, `no' or empty being verbose).
     1017# ("yes" being less verbose, "no" or empty being verbose).
    9751018AC_DEFUN([AM_SILENT_RULES],
    976 [AC_ARG_ENABLE([silent-rules],
    977 [  --enable-silent-rules          less verbose build output (undo: `make V=1')
    978   --disable-silent-rules         verbose build output (undo: `make V=0')])
    979 case $enable_silent_rules in
    980 yes) AM_DEFAULT_VERBOSITY=0;;
    981 no)  AM_DEFAULT_VERBOSITY=1;;
    982 *)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
     1019[AC_ARG_ENABLE([silent-rules], [dnl
     1020AS_HELP_STRING(
     1021  [--enable-silent-rules],
     1022  [less verbose build output (undo: "make V=1")])
     1023AS_HELP_STRING(
     1024  [--disable-silent-rules],
     1025  [verbose build output (undo: "make V=0")])dnl
     1026])
     1027case $enable_silent_rules in @%:@ (((
     1028  yes) AM_DEFAULT_VERBOSITY=0;;
     1029   no) AM_DEFAULT_VERBOSITY=1;;
     1030    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
    9831031esac
    9841032dnl
    985 dnl A few `make' implementations (e.g., NonStop OS and NextStep)
     1033dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
    9861034dnl do not support nested variable expansions.
    9871035dnl See automake bug#9928 and bug#10237.
     
    10011049fi])
    10021050if test $am_cv_make_support_nested_variables = yes; then
    1003   dnl Using `$V' instead of `$(V)' breaks IRIX make.
     1051  dnl Using '$V' instead of '$(V)' breaks IRIX make.
    10041052  AM_V='$(V)'
    10051053  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
     
    10181066])
    10191067
    1020 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
    1021 #
    1022 # This file is free software; the Free Software Foundation
    1023 # gives unlimited permission to copy and/or distribute it,
    1024 # with or without modifications, as long as this notice is preserved.
    1025 
    1026 # serial 1
     1068# Copyright (C) 2001-2014 Free Software Foundation, Inc.
     1069#
     1070# This file is free software; the Free Software Foundation
     1071# gives unlimited permission to copy and/or distribute it,
     1072# with or without modifications, as long as this notice is preserved.
    10271073
    10281074# AM_PROG_INSTALL_STRIP
    10291075# ---------------------
    1030 # One issue with vendor `install' (even GNU) is that you can't
     1076# One issue with vendor 'install' (even GNU) is that you can't
    10311077# specify the program used to strip binaries.  This is especially
    10321078# annoying in cross-compiling environments, where the build's strip
    10331079# is unlikely to handle the host's binaries.
    10341080# Fortunately install-sh will honor a STRIPPROG variable, so we
    1035 # always use install-sh in `make install-strip', and initialize
     1081# always use install-sh in "make install-strip", and initialize
    10361082# STRIPPROG with the value of the STRIP variable (set by the user).
    10371083AC_DEFUN([AM_PROG_INSTALL_STRIP],
    10381084[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    1039 # Installed binaries are usually stripped using `strip' when the user
    1040 # run `make install-strip'.  However `strip' might not be the right
     1085# Installed binaries are usually stripped using 'strip' when the user
     1086# run "make install-strip".  However 'strip' might not be the right
    10411087# tool to use in cross-compilation environments, therefore Automake
    1042 # will honor the `STRIP' environment variable to overrule this program.
    1043 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
     1088# will honor the 'STRIP' environment variable to overrule this program.
     1089dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
    10441090if test "$cross_compiling" != no; then
    10451091  AC_CHECK_TOOL([STRIP], [strip], :)
     
    10481094AC_SUBST([INSTALL_STRIP_PROGRAM])])
    10491095
    1050 # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
    1051 #
    1052 # This file is free software; the Free Software Foundation
    1053 # gives unlimited permission to copy and/or distribute it,
    1054 # with or without modifications, as long as this notice is preserved.
    1055 
    1056 # serial 3
     1096# Copyright (C) 2006-2014 Free Software Foundation, Inc.
     1097#
     1098# This file is free software; the Free Software Foundation
     1099# gives unlimited permission to copy and/or distribute it,
     1100# with or without modifications, as long as this notice is preserved.
    10571101
    10581102# _AM_SUBST_NOTMAKE(VARIABLE)
     
    10691113# Check how to create a tarball.                            -*- Autoconf -*-
    10701114
    1071 # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
    1072 #
    1073 # This file is free software; the Free Software Foundation
    1074 # gives unlimited permission to copy and/or distribute it,
    1075 # with or without modifications, as long as this notice is preserved.
    1076 
    1077 # serial 2
     1115# Copyright (C) 2004-2014 Free Software Foundation, Inc.
     1116#
     1117# This file is free software; the Free Software Foundation
     1118# gives unlimited permission to copy and/or distribute it,
     1119# with or without modifications, as long as this notice is preserved.
    10781120
    10791121# _AM_PROG_TAR(FORMAT)
    10801122# --------------------
    10811123# Check how to create a tarball in format FORMAT.
    1082 # FORMAT should be one of `v7', `ustar', or `pax'.
     1124# FORMAT should be one of 'v7', 'ustar', or 'pax'.
    10831125#
    10841126# Substitute a variable $(am__tar) that is a command
     
    10901132# a tarball read from stdin.
    10911133#     $(am__untar) < result.tar
     1134#
    10921135AC_DEFUN([_AM_PROG_TAR],
    10931136[# Always define AMTAR for backward compatibility.  Yes, it's still used
    10941137# in the wild :-(  We should find a proper way to deprecate it ...
    10951138AC_SUBST([AMTAR], ['$${TAR-tar}'])
     1139
     1140# We'll loop over all known methods to create a tar archive until one works.
     1141_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
     1142
    10961143m4_if([$1], [v7],
    1097      [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
    1098      [m4_case([$1], [ustar],, [pax],,
    1099               [m4_fatal([Unknown tar format])])
    1100 AC_MSG_CHECKING([how to create a $1 tar archive])
    1101 # Loop over all known methods to create a tar archive until one works.
    1102 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
    1103 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
    1104 # Do not fold the above two line into one, because Tru64 sh and
    1105 # Solaris sh will not grok spaces in the rhs of `-'.
    1106 for _am_tool in $_am_tools
    1107 do
    1108   case $_am_tool in
    1109   gnutar)
    1110     for _am_tar in tar gnutar gtar;
    1111     do
    1112       AM_RUN_LOG([$_am_tar --version]) && break
    1113     done
    1114     am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
    1115     am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
    1116     am__untar="$_am_tar -xf -"
    1117     ;;
    1118   plaintar)
    1119     # Must skip GNU tar: if it does not support --format= it doesn't create
    1120     # ustar tarball either.
    1121     (tar --version) >/dev/null 2>&1 && continue
    1122     am__tar='tar chf - "$$tardir"'
    1123     am__tar_='tar chf - "$tardir"'
    1124     am__untar='tar xf -'
    1125     ;;
    1126   pax)
    1127     am__tar='pax -L -x $1 -w "$$tardir"'
    1128     am__tar_='pax -L -x $1 -w "$tardir"'
    1129     am__untar='pax -r'
    1130     ;;
    1131   cpio)
    1132     am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
    1133     am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
    1134     am__untar='cpio -i -H $1 -d'
    1135     ;;
    1136   none)
    1137     am__tar=false
    1138     am__tar_=false
    1139     am__untar=false
    1140     ;;
    1141   esac
    1142 
    1143   # If the value was cached, stop now.  We just wanted to have am__tar
    1144   # and am__untar set.
    1145   test -n "${am_cv_prog_tar_$1}" && break
    1146 
    1147   # tar/untar a dummy directory, and stop if the command works
     1144  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
     1145
     1146  [m4_case([$1],
     1147    [ustar],
     1148     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
     1149      # There is notably a 21 bits limit for the UID and the GID.  In fact,
     1150      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
     1151      # and bug#13588).
     1152      am_max_uid=2097151 # 2^21 - 1
     1153      am_max_gid=$am_max_uid
     1154      # The $UID and $GID variables are not portable, so we need to resort
     1155      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
     1156      # below are definitely unexpected, so allow the users to see them
     1157      # (that is, avoid stderr redirection).
     1158      am_uid=`id -u || echo unknown`
     1159      am_gid=`id -g || echo unknown`
     1160      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
     1161      if test $am_uid -le $am_max_uid; then
     1162         AC_MSG_RESULT([yes])
     1163      else
     1164         AC_MSG_RESULT([no])
     1165         _am_tools=none
     1166      fi
     1167      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
     1168      if test $am_gid -le $am_max_gid; then
     1169         AC_MSG_RESULT([yes])
     1170      else
     1171        AC_MSG_RESULT([no])
     1172        _am_tools=none
     1173      fi],
     1174
     1175  [pax],
     1176    [],
     1177
     1178  [m4_fatal([Unknown tar format])])
     1179
     1180  AC_MSG_CHECKING([how to create a $1 tar archive])
     1181
     1182  # Go ahead even if we have the value already cached.  We do so because we
     1183  # need to set the values for the 'am__tar' and 'am__untar' variables.
     1184  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
     1185
     1186  for _am_tool in $_am_tools; do
     1187    case $_am_tool in
     1188    gnutar)
     1189      for _am_tar in tar gnutar gtar; do
     1190        AM_RUN_LOG([$_am_tar --version]) && break
     1191      done
     1192      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
     1193      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
     1194      am__untar="$_am_tar -xf -"
     1195      ;;
     1196    plaintar)
     1197      # Must skip GNU tar: if it does not support --format= it doesn't create
     1198      # ustar tarball either.
     1199      (tar --version) >/dev/null 2>&1 && continue
     1200      am__tar='tar chf - "$$tardir"'
     1201      am__tar_='tar chf - "$tardir"'
     1202      am__untar='tar xf -'
     1203      ;;
     1204    pax)
     1205      am__tar='pax -L -x $1 -w "$$tardir"'
     1206      am__tar_='pax -L -x $1 -w "$tardir"'
     1207      am__untar='pax -r'
     1208      ;;
     1209    cpio)
     1210      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
     1211      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
     1212      am__untar='cpio -i -H $1 -d'
     1213      ;;
     1214    none)
     1215      am__tar=false
     1216      am__tar_=false
     1217      am__untar=false
     1218      ;;
     1219    esac
     1220
     1221    # If the value was cached, stop now.  We just wanted to have am__tar
     1222    # and am__untar set.
     1223    test -n "${am_cv_prog_tar_$1}" && break
     1224
     1225    # tar/untar a dummy directory, and stop if the command works.
     1226    rm -rf conftest.dir
     1227    mkdir conftest.dir
     1228    echo GrepMe > conftest.dir/file
     1229    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
     1230    rm -rf conftest.dir
     1231    if test -s conftest.tar; then
     1232      AM_RUN_LOG([$am__untar <conftest.tar])
     1233      AM_RUN_LOG([cat conftest.dir/file])
     1234      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
     1235    fi
     1236  done
    11481237  rm -rf conftest.dir
    1149   mkdir conftest.dir
    1150   echo GrepMe > conftest.dir/file
    1151   AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
    1152   rm -rf conftest.dir
    1153   if test -s conftest.tar; then
    1154     AM_RUN_LOG([$am__untar <conftest.tar])
    1155     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
    1156   fi
    1157 done
    1158 rm -rf conftest.dir
    1159 
    1160 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
    1161 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
     1238
     1239  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
     1240  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
     1241
    11621242AC_SUBST([am__tar])
    11631243AC_SUBST([am__untar])
Note: See TracChangeset for help on using the changeset viewer.