Changeset 523a60d


Ignore:
Timestamp:
Jun 14, 2016, 11:21:16 AM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, 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, resolv-new, with_gc
Children:
6cbc25a
Parents:
600b6c2
Message:

it seams the aclocal.m4 is necessary for silent rules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal.m4

    r600b6c2 r523a60d  
    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.14.1 -*- Autoconf -*-
     2
     3# Copyright (C) 1996-2013 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-2013 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.14'
    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.14.1], [],
    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.14.1])dnl
    5855m4_ifndef([AC_AUTOCONF_VERSION],
    5956  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
     
    6259# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
    6360
    64 # Copyright (C) 2001, 2003, 2005, 2011 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 1
     61# Copyright (C) 2001-2013 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# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
    73 # $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
    74 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
     68# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
     69# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
    7570#
    7671# Of course, Automake must honor this variable whenever it calls a
     
    9186# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
    9287# are both prefixed by $srcdir.  In an in-source build this is usually
    93 # harmless because $srcdir is `.', but things will broke when you
     88# harmless because $srcdir is '.', but things will broke when you
    9489# start a VPATH build or use an absolute $srcdir.
    9590#
     
    117112# AM_CONDITIONAL                                            -*- Autoconf -*-
    118113
    119 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
    120 # Free Software Foundation, Inc.
    121 #
    122 # This file is free software; the Free Software Foundation
    123 # gives unlimited permission to copy and/or distribute it,
    124 # with or without modifications, as long as this notice is preserved.
    125 
    126 # serial 9
     114# Copyright (C) 1997-2013 Free Software Foundation, Inc.
     115#
     116# This file is free software; the Free Software Foundation
     117# gives unlimited permission to copy and/or distribute it,
     118# with or without modifications, as long as this notice is preserved.
    127119
    128120# AM_CONDITIONAL(NAME, SHELL-CONDITION)
     
    130122# Define a conditional.
    131123AC_DEFUN([AM_CONDITIONAL],
    132 [AC_PREREQ(2.52)dnl
    133  ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
    134         [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
     124[AC_PREREQ([2.52])dnl
     125 m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
     126       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
    135127AC_SUBST([$1_TRUE])dnl
    136128AC_SUBST([$1_FALSE])dnl
     
    151143fi])])
    152144
    153 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
    154 # 2010, 2011 Free Software Foundation, Inc.
    155 #
    156 # This file is free software; the Free Software Foundation
    157 # gives unlimited permission to copy and/or distribute it,
    158 # with or without modifications, as long as this notice is preserved.
    159 
    160 # serial 12
    161 
    162 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
     145# Copyright (C) 1999-2013 Free Software Foundation, Inc.
     146#
     147# This file is free software; the Free Software Foundation
     148# gives unlimited permission to copy and/or distribute it,
     149# with or without modifications, as long as this notice is preserved.
     150
     151
     152# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
    163153# written in clear, in which case automake, when reading aclocal.m4,
    164154# will think it sees a *use*, and therefore will trigger all it's
     
    170160# ----------------------
    171161# See how the compiler implements dependency checking.
    172 # NAME is "CC", "CXX", "GCJ", or "OBJC".
     162# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
    173163# We try a few techniques and use that to set a single cache variable.
    174164#
     
    183173AC_REQUIRE([AM_DEP_TRACK])dnl
    184174
    185 ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
    186        [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
    187        [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
    188        [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
    189        [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
    190                    [depcc="$$1"   am_compiler_list=])
     175m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
     176      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
     177      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
     178      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
     179      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
     180      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
     181                    [depcc="$$1"   am_compiler_list=])
    191182
    192183AC_CACHE_CHECK([dependency style of $depcc],
     
    196187  # making bogus files that we don't know about and never remove.  For
    197188  # instance it was reported that on HP-UX the gcc test will end up
    198   # making a dummy file named `D' -- because `-MD' means `put the output
    199   # in D'.
     189  # making a dummy file named 'D' -- because '-MD' means "put the output
     190  # in D".
    200191  rm -rf conftest.dir
    201192  mkdir conftest.dir
     
    237228    for i in 1 2 3 4 5 6; do
    238229      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    239       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    240       # Solaris 8's {/usr,}/bin/sh.
    241       touch sub/conftst$i.h
     230      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     231      # Solaris 10 /bin/sh.
     232      echo '/* dummy */' > sub/conftst$i.h
    242233    done
    243234    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    244235
    245     # We check with `-c' and `-o' for the sake of the "dashmstdout"
     236    # We check with '-c' and '-o' for the sake of the "dashmstdout"
    246237    # mode.  It turns out that the SunPro C++ compiler does not properly
    247     # handle `-M -o', and we need to detect this.  Also, some Intel
    248     # versions had trouble with output in subdirs
     238    # handle '-M -o', and we need to detect this.  Also, some Intel
     239    # versions had trouble with output in subdirs.
    249240    am__obj=sub/conftest.${OBJEXT-o}
    250241    am__minus_obj="-o $am__obj"
     
    255246      ;;
    256247    nosideeffect)
    257       # after this tag, mechanisms are not by side-effect, so they'll
    258       # only be used when explicitly requested
     248      # After this tag, mechanisms are not by side-effect, so they'll
     249      # only be used when explicitly requested.
    259250      if test "x$enable_dependency_tracking" = xyes; then
    260251        continue
     
    264255      ;;
    265256    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
    266       # This compiler won't grok `-c -o', but also, the minuso test has
     257      # This compiler won't grok '-c -o', but also, the minuso test has
    267258      # not run yet.  These depmodes are late enough in the game, and
    268259      # so weak that their functioning should not be impacted.
     
    312303# -------------
    313304# Choose a directory name for dependency files.
    314 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
     305# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
    315306AC_DEFUN([AM_SET_DEPDIR],
    316307[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
     
    322313# ------------
    323314AC_DEFUN([AM_DEP_TRACK],
    324 [AC_ARG_ENABLE(dependency-tracking,
    325 [  --disable-dependency-tracking  speeds up one-time build
    326   --enable-dependency-tracking   do not reject slow dependency extractors])
     315[AC_ARG_ENABLE([dependency-tracking], [dnl
     316AS_HELP_STRING(
     317  [--enable-dependency-tracking],
     318  [do not reject slow dependency extractors])
     319AS_HELP_STRING(
     320  [--disable-dependency-tracking],
     321  [speeds up one-time build])])
    327322if test "x$enable_dependency_tracking" != xno; then
    328323  am_depcomp="$ac_aux_dir/depcomp"
     
    339334# Generate code to set up dependency tracking.              -*- Autoconf -*-
    340335
    341 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
    342 # Free Software Foundation, Inc.
    343 #
    344 # This file is free software; the Free Software Foundation
    345 # gives unlimited permission to copy and/or distribute it,
    346 # with or without modifications, as long as this notice is preserved.
    347 
    348 #serial 5
     336# Copyright (C) 1999-2013 Free Software Foundation, Inc.
     337#
     338# This file is free software; the Free Software Foundation
     339# gives unlimited permission to copy and/or distribute it,
     340# with or without modifications, as long as this notice is preserved.
     341
    349342
    350343# _AM_OUTPUT_DEPENDENCY_COMMANDS
     
    352345AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
    353346[{
    354   # Autoconf 2.62 quotes --file arguments for eval, but not when files
     347  # Older Autoconf quotes --file arguments for eval, but not when files
    355348  # are listed without --file.  Let's play safe and only enable the eval
    356349  # if we detect the quoting.
     
    365358    mf=`echo "$mf" | sed -e 's/:.*$//'`
    366359    # Check whether this is an Automake generated Makefile or not.
    367     # We used to match only the files named `Makefile.in', but
     360    # We used to match only the files named 'Makefile.in', but
    368361    # some people rename them; so instead we look at the file content.
    369362    # Grep'ing the first line is not enough: some people post-process
     
    377370    fi
    378371    # Extract the definition of DEPDIR, am__include, and am__quote
    379     # from the Makefile without running `make'.
     372    # from the Makefile without running 'make'.
    380373    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
    381374    test -z "$DEPDIR" && continue
    382375    am__include=`sed -n 's/^am__include = //p' < "$mf"`
    383     test -z "am__include" && continue
     376    test -z "$am__include" && continue
    384377    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
    385     # When using ansi2knr, U may be empty or an underscore; expand it
    386     U=`sed -n 's/^U = //p' < "$mf"`
    387378    # Find all dependency output files, they are included files with
    388379    # $(DEPDIR) in their names.  We invoke sed twice because it is the
     
    391382    for file in `sed -n "
    392383      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
    393          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
     384         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
    394385      # Make sure the directory exists.
    395386      test -f "$dirpart/$file" && continue
     
    409400#
    410401# This code is only required when automatic dependency tracking
    411 # is enabled.  FIXME.  This creates each `.P' file that we will
     402# is enabled.  FIXME.  This creates each '.P' file that we will
    412403# need in order to bootstrap the dependency handling code.
    413404AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
     
    419410# Do all the work for Automake.                             -*- Autoconf -*-
    420411
    421 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
    422 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
    423 #
    424 # This file is free software; the Free Software Foundation
    425 # gives unlimited permission to copy and/or distribute it,
    426 # with or without modifications, as long as this notice is preserved.
    427 
    428 # serial 16
     412# Copyright (C) 1996-2013 Free Software Foundation, Inc.
     413#
     414# This file is free software; the Free Software Foundation
     415# gives unlimited permission to copy and/or distribute it,
     416# with or without modifications, as long as this notice is preserved.
    429417
    430418# This macro actually does too much.  Some checks are only needed if
    431419# your package does certain things.  But this isn't really a big deal.
     420
     421dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
     422m4_define([AC_PROG_CC],
     423m4_defn([AC_PROG_CC])
     424[_AM_PROG_CC_C_O
     425])
    432426
    433427# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
     
    443437# release and drop the old call support.
    444438AC_DEFUN([AM_INIT_AUTOMAKE],
    445 [AC_PREREQ([2.62])dnl
     439[AC_PREREQ([2.65])dnl
    446440dnl Autoconf wants to disallow AM_ names.  We explicitly allow
    447441dnl the ones we care about.
     
    472466dnl Distinguish between old-style and new-style calls.
    473467m4_ifval([$2],
    474 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
     468[AC_DIAGNOSE([obsolete],
     469             [$0: two- and three-arguments forms are deprecated.])
     470m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
    475471 AC_SUBST([PACKAGE], [$1])dnl
    476472 AC_SUBST([VERSION], [$2])],
    477473[_AM_SET_OPTIONS([$1])dnl
    478474dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
    479 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
     475m4_if(
     476  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
     477  [ok:ok],,
    480478  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
    481479 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
     
    483481
    484482_AM_IF_OPTION([no-define],,
    485 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
    486  AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
     483[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
     484 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
    487485
    488486# Some tools Automake needs.
    489487AC_REQUIRE([AM_SANITY_CHECK])dnl
    490488AC_REQUIRE([AC_ARG_PROGRAM])dnl
    491 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
    492 AM_MISSING_PROG(AUTOCONF, autoconf)
    493 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
    494 AM_MISSING_PROG(AUTOHEADER, autoheader)
    495 AM_MISSING_PROG(MAKEINFO, makeinfo)
     489AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
     490AM_MISSING_PROG([AUTOCONF], [autoconf])
     491AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
     492AM_MISSING_PROG([AUTOHEADER], [autoheader])
     493AM_MISSING_PROG([MAKEINFO], [makeinfo])
    496494AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    497495AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
    498 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
     496AC_REQUIRE([AC_PROG_MKDIR_P])dnl
     497# For better backward compatibility.  To be removed once Automake 1.9.x
     498# dies out for good.  For more background, see:
     499# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
     500# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
     501AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
    499502# We need awk for the "check" target.  The system "awk" is bad on
    500503# some platforms.
     
    507510_AM_IF_OPTION([no-dependencies],,
    508511[AC_PROVIDE_IFELSE([AC_PROG_CC],
    509                   [_AM_DEPENDENCIES(CC)],
    510                   [define([AC_PROG_CC],
    511                           defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
     512                  [_AM_DEPENDENCIES([CC])],
     513                  [m4_define([AC_PROG_CC],
     514                             m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
    512515AC_PROVIDE_IFELSE([AC_PROG_CXX],
    513                   [_AM_DEPENDENCIES(CXX)],
    514                   [define([AC_PROG_CXX],
    515                           defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
     516                  [_AM_DEPENDENCIES([CXX])],
     517                  [m4_define([AC_PROG_CXX],
     518                             m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
    516519AC_PROVIDE_IFELSE([AC_PROG_OBJC],
    517                   [_AM_DEPENDENCIES(OBJC)],
    518                   [define([AC_PROG_OBJC],
    519                           defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
    520 ])
    521 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
    522 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
    523 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
    524 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
     520                  [_AM_DEPENDENCIES([OBJC])],
     521                  [m4_define([AC_PROG_OBJC],
     522                             m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
     523AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
     524                  [_AM_DEPENDENCIES([OBJCXX])],
     525                  [m4_define([AC_PROG_OBJCXX],
     526                             m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
     527])
     528AC_REQUIRE([AM_SILENT_RULES])dnl
     529dnl The testsuite driver may need to know about EXEEXT, so add the
     530dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
     531dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
    525532AC_CONFIG_COMMANDS_PRE(dnl
    526533[m4_provide_if([_AM_COMPILER_EXEEXT],
    527534  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
    528 ])
    529 
    530 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
     535
     536# POSIX will say in a future version that running "rm -f" with no argument
     537# is OK; and we want to be able to make that assumption in our Makefile
     538# recipes.  So use an aggressive probe to check that the usage we want is
     539# actually supported "in the wild" to an acceptable degree.
     540# See automake bug#10828.
     541# To make any issue more visible, cause the running configure to be aborted
     542# by default if the 'rm' program in use doesn't match our expectations; the
     543# user can still override this though.
     544if rm -f && rm -fr && rm -rf; then : OK; else
     545  cat >&2 <<'END'
     546Oops!
     547
     548Your 'rm' program seems unable to run without file operands specified
     549on the command line, even when the '-f' option is present.  This is contrary
     550to the behaviour of most rm programs out there, and not conforming with
     551the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
     552
     553Please tell bug-automake@gnu.org about your system, including the value
     554of your $PATH and any error possibly output before this message.  This
     555can help us improve future automake versions.
     556
     557END
     558  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
     559    echo 'Configuration will proceed anyway, since you have set the' >&2
     560    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
     561    echo >&2
     562  else
     563    cat >&2 <<'END'
     564Aborting the configuration process, to ensure you take notice of the issue.
     565
     566You can download and install GNU coreutils to get an 'rm' implementation
     567that behaves properly: <http://www.gnu.org/software/coreutils/>.
     568
     569If you want to complete the configuration process using your problematic
     570'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
     571to "yes", and re-run configure.
     572
     573END
     574    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
     575  fi
     576fi])
     577
     578dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
    531579dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
    532580dnl mangled by Autoconf and run in a shell conditional statement.
    533581m4_define([_AC_COMPILER_EXEEXT],
    534582m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
    535 
    536583
    537584# When config.status generates a header, we must update the stamp-h file.
     
    556603echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
    557604
    558 # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
    559 # Inc.
    560 #
    561 # This file is free software; the Free Software Foundation
    562 # gives unlimited permission to copy and/or distribute it,
    563 # with or without modifications, as long as this notice is preserved.
    564 
    565 # serial 1
     605# Copyright (C) 2001-2013 Free Software Foundation, Inc.
     606#
     607# This file is free software; the Free Software Foundation
     608# gives unlimited permission to copy and/or distribute it,
     609# with or without modifications, as long as this notice is preserved.
    566610
    567611# AM_PROG_INSTALL_SH
     
    578622  esac
    579623fi
    580 AC_SUBST(install_sh)])
    581 
    582 # Copyright (C) 2003, 2005  Free Software Foundation, Inc.
    583 #
    584 # This file is free software; the Free Software Foundation
    585 # gives unlimited permission to copy and/or distribute it,
    586 # with or without modifications, as long as this notice is preserved.
    587 
    588 # serial 2
     624AC_SUBST([install_sh])])
     625
     626# Copyright (C) 2003-2013 Free Software Foundation, Inc.
     627#
     628# This file is free software; the Free Software Foundation
     629# gives unlimited permission to copy and/or distribute it,
     630# with or without modifications, as long as this notice is preserved.
    589631
    590632# Check whether the underlying file-system supports filenames
     
    604646# From Jim Meyering
    605647
    606 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
    607 # 2011 Free Software Foundation, Inc.
    608 #
    609 # This file is free software; the Free Software Foundation
    610 # gives unlimited permission to copy and/or distribute it,
    611 # with or without modifications, as long as this notice is preserved.
    612 
    613 # serial 5
     648# Copyright (C) 1996-2013 Free Software Foundation, Inc.
     649#
     650# This file is free software; the Free Software Foundation
     651# gives unlimited permission to copy and/or distribute it,
     652# with or without modifications, as long as this notice is preserved.
    614653
    615654# AM_MAINTAINER_MODE([DEFAULT-MODE])
    616655# ----------------------------------
    617656# Control maintainer-specific portions of Makefiles.
    618 # Default is to disable them, unless `enable' is passed literally.
    619 # For symmetry, `disable' may be passed as well.  Anyway, the user
     657# Default is to disable them, unless 'enable' is passed literally.
     658# For symmetry, 'disable' may be passed as well.  Anyway, the user
    620659# can override the default with the --enable/--disable switch.
    621660AC_DEFUN([AM_MAINTAINER_MODE],
     
    628667  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
    629668  AC_ARG_ENABLE([maintainer-mode],
    630 [  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
    631                           (and sometimes confusing) to the casual installer],
    632       [USE_MAINTAINER_MODE=$enableval],
    633       [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
     669    [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
     670      am_maintainer_other[ make rules and dependencies not useful
     671      (and sometimes confusing) to the casual installer])],
     672    [USE_MAINTAINER_MODE=$enableval],
     673    [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
    634674  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
    635675  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
     
    639679)
    640680
    641 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
    642 
    643681# Check to see how 'make' treats includes.                  -*- Autoconf -*-
    644682
    645 # Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
    646 #
    647 # This file is free software; the Free Software Foundation
    648 # gives unlimited permission to copy and/or distribute it,
    649 # with or without modifications, as long as this notice is preserved.
    650 
    651 # serial 4
     683# Copyright (C) 2001-2013 Free Software Foundation, Inc.
     684#
     685# This file is free software; the Free Software Foundation
     686# gives unlimited permission to copy and/or distribute it,
     687# with or without modifications, as long as this notice is preserved.
    652688
    653689# AM_MAKE_INCLUDE()
     
    668704# First try GNU make style include.
    669705echo "include confinc" > confmf
    670 # Ignore all kinds of additional output from `make'.
     706# Ignore all kinds of additional output from 'make'.
    671707case `$am_make -s -f confmf 2> /dev/null` in #(
    672708*the\ am__doit\ target*)
     
    693729])
    694730
    695 # Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
    696 # Free Software Foundation, Inc.
    697 #
    698 # This file is free software; the Free Software Foundation
    699 # gives unlimited permission to copy and/or distribute it,
    700 # with or without modifications, as long as this notice is preserved.
    701 
    702 # serial 6
    703 
    704 # AM_PROG_CC_C_O
    705 # --------------
    706 # Like AC_PROG_CC_C_O, but changed for automake.
    707 AC_DEFUN([AM_PROG_CC_C_O],
    708 [AC_REQUIRE([AC_PROG_CC_C_O])dnl
    709 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    710 AC_REQUIRE_AUX_FILE([compile])dnl
    711 # FIXME: we rely on the cache variable name because
    712 # there is no other way.
    713 set dummy $CC
    714 am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
    715 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
    716 if test "$am_t" != yes; then
    717    # Losing compiler, so override with the script.
    718    # FIXME: It is wrong to rewrite CC.
    719    # But if we don't then we get into trouble of one sort or another.
    720    # A longer-term fix would be to have automake use am__CC in this case,
    721    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
    722    CC="$am_aux_dir/compile $CC"
    723 fi
    724 dnl Make sure AC_PROG_CC is never called again, or it will override our
    725 dnl setting of CC.
    726 m4_define([AC_PROG_CC],
    727           [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
    728 ])
    729 
    730731# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
    731732
    732 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
    733 # Free Software Foundation, Inc.
    734 #
    735 # This file is free software; the Free Software Foundation
    736 # gives unlimited permission to copy and/or distribute it,
    737 # with or without modifications, as long as this notice is preserved.
    738 
    739 # serial 6
     733# Copyright (C) 1997-2013 Free Software Foundation, Inc.
     734#
     735# This file is free software; the Free Software Foundation
     736# gives unlimited permission to copy and/or distribute it,
     737# with or without modifications, as long as this notice is preserved.
    740738
    741739# AM_MISSING_PROG(NAME, PROGRAM)
     
    746744AC_SUBST($1)])
    747745
    748 
    749746# AM_MISSING_HAS_RUN
    750747# ------------------
    751 # Define MISSING if not defined so far and test if it supports --run.
    752 # If it does, set am_missing_run to use it, otherwise, to nothing.
     748# Define MISSING if not defined so far and test if it is modern enough.
     749# If it is, set am_missing_run to use it, otherwise, to nothing.
    753750AC_DEFUN([AM_MISSING_HAS_RUN],
    754751[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     
    763760fi
    764761# Use eval to expand $SHELL
    765 if eval "$MISSING --run true"; then
    766   am_missing_run="$MISSING --run "
     762if eval "$MISSING --is-lightweight"; then
     763  am_missing_run="$MISSING "
    767764else
    768765  am_missing_run=
    769   AC_MSG_WARN([`missing' script is too old or missing])
    770 fi
    771 ])
    772 
    773 # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
    774 # Inc.
    775 #
    776 # This file is free software; the Free Software Foundation
    777 # gives unlimited permission to copy and/or distribute it,
    778 # with or without modifications, as long as this notice is preserved.
    779 
    780 # serial 1
    781 
    782 # AM_PROG_MKDIR_P
    783 # ---------------
    784 # Check for `mkdir -p'.
    785 AC_DEFUN([AM_PROG_MKDIR_P],
    786 [AC_PREREQ([2.60])dnl
    787 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
    788 dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
    789 dnl while keeping a definition of mkdir_p for backward compatibility.
    790 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
    791 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
    792 dnl Makefile.ins that do not define MKDIR_P, so we do our own
    793 dnl adjustment using top_builddir (which is defined more often than
    794 dnl MKDIR_P).
    795 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
    796 case $mkdir_p in
    797   [[\\/$]]* | ?:[[\\/]]*) ;;
    798   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
    799 esac
     766  AC_MSG_WARN(['missing' script is too old or missing])
     767fi
    800768])
    801769
    802770# Helper functions for option handling.                     -*- Autoconf -*-
    803771
    804 # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
    805 # Foundation, Inc.
    806 #
    807 # This file is free software; the Free Software Foundation
    808 # gives unlimited permission to copy and/or distribute it,
    809 # with or without modifications, as long as this notice is preserved.
    810 
    811 # serial 5
     772# Copyright (C) 2001-2013 Free Software Foundation, Inc.
     773#
     774# This file is free software; the Free Software Foundation
     775# gives unlimited permission to copy and/or distribute it,
     776# with or without modifications, as long as this notice is preserved.
    812777
    813778# _AM_MANGLE_OPTION(NAME)
     
    820785# Set option NAME.  Presently that only means defining a flag for this option.
    821786AC_DEFUN([_AM_SET_OPTION],
    822 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
     787[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
    823788
    824789# _AM_SET_OPTIONS(OPTIONS)
     
    834799[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
    835800
     801# Copyright (C) 1999-2013 Free Software Foundation, Inc.
     802#
     803# This file is free software; the Free Software Foundation
     804# gives unlimited permission to copy and/or distribute it,
     805# with or without modifications, as long as this notice is preserved.
     806
     807# _AM_PROG_CC_C_O
     808# ---------------
     809# Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
     810# to automatically call this.
     811AC_DEFUN([_AM_PROG_CC_C_O],
     812[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     813AC_REQUIRE_AUX_FILE([compile])dnl
     814AC_LANG_PUSH([C])dnl
     815AC_CACHE_CHECK(
     816  [whether $CC understands -c and -o together],
     817  [am_cv_prog_cc_c_o],
     818  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
     819  # Make sure it works both with $CC and with simple cc.
     820  # Following AC_PROG_CC_C_O, we do the test twice because some
     821  # compilers refuse to overwrite an existing .o file with -o,
     822  # though they will create one.
     823  am_cv_prog_cc_c_o=yes
     824  for am_i in 1 2; do
     825    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
     826         && test -f conftest2.$ac_objext; then
     827      : OK
     828    else
     829      am_cv_prog_cc_c_o=no
     830      break
     831    fi
     832  done
     833  rm -f core conftest*
     834  unset am_i])
     835if test "$am_cv_prog_cc_c_o" != yes; then
     836   # Losing compiler, so override with the script.
     837   # FIXME: It is wrong to rewrite CC.
     838   # But if we don't then we get into trouble of one sort or another.
     839   # A longer-term fix would be to have automake use am__CC in this case,
     840   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
     841   CC="$am_aux_dir/compile $CC"
     842fi
     843AC_LANG_POP([C])])
     844
     845# For backward compatibility.
     846AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
     847
     848# Copyright (C) 2001-2013 Free Software Foundation, Inc.
     849#
     850# This file is free software; the Free Software Foundation
     851# gives unlimited permission to copy and/or distribute it,
     852# with or without modifications, as long as this notice is preserved.
     853
     854# AM_RUN_LOG(COMMAND)
     855# -------------------
     856# Run COMMAND, save the exit status in ac_status, and log it.
     857# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
     858AC_DEFUN([AM_RUN_LOG],
     859[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
     860   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
     861   ac_status=$?
     862   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
     863   (exit $ac_status); }])
     864
    836865# Check to make sure that the build environment is sane.    -*- Autoconf -*-
    837866
    838 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
    839 # Free Software Foundation, Inc.
    840 #
    841 # This file is free software; the Free Software Foundation
    842 # gives unlimited permission to copy and/or distribute it,
    843 # with or without modifications, as long as this notice is preserved.
    844 
    845 # serial 5
     867# Copyright (C) 1996-2013 Free Software 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.
    846872
    847873# AM_SANITY_CHECK
     
    849875AC_DEFUN([AM_SANITY_CHECK],
    850876[AC_MSG_CHECKING([whether build environment is sane])
    851 # Just in case
    852 sleep 1
    853 echo timestamp > conftest.file
    854877# Reject unsafe characters in $srcdir or the absolute working directory
    855878# name.  Accept space and tab only in the latter.
     
    862885case $srcdir in
    863886  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
    864     AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
     887    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
    865888esac
    866889
    867 # Do `set' in a subshell so we don't clobber the current shell's
     890# Do 'set' in a subshell so we don't clobber the current shell's
    868891# arguments.  Must try -L first in case configure is actually a
    869892# symlink; some systems play weird games with the mod time of symlinks
     
    871894# directory).
    872895if (
    873    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
    874    if test "$[*]" = "X"; then
    875       # -L didn't work.
    876       set X `ls -t "$srcdir/configure" conftest.file`
    877    fi
    878    rm -f conftest.file
    879    if test "$[*]" != "X $srcdir/configure conftest.file" \
    880       && test "$[*]" != "X conftest.file $srcdir/configure"; then
    881 
    882       # If neither matched, then we have a broken ls.  This can happen
    883       # if, for instance, CONFIG_SHELL is bash and it inherits a
    884       # broken ls alias from the environment.  This has actually
    885       # happened.  Such a system could not be considered "sane".
    886       AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
    887 alias in your environment])
    888    fi
    889 
     896   am_has_slept=no
     897   for am_try in 1 2; do
     898     echo "timestamp, slept: $am_has_slept" > conftest.file
     899     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
     900     if test "$[*]" = "X"; then
     901        # -L didn't work.
     902        set X `ls -t "$srcdir/configure" conftest.file`
     903     fi
     904     if test "$[*]" != "X $srcdir/configure conftest.file" \
     905        && test "$[*]" != "X conftest.file $srcdir/configure"; then
     906
     907        # If neither matched, then we have a broken ls.  This can happen
     908        # if, for instance, CONFIG_SHELL is bash and it inherits a
     909        # broken ls alias from the environment.  This has actually
     910        # happened.  Such a system could not be considered "sane".
     911        AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
     912  alias in your environment])
     913     fi
     914     if test "$[2]" = conftest.file || test $am_try -eq 2; then
     915       break
     916     fi
     917     # Just in case.
     918     sleep 1
     919     am_has_slept=yes
     920   done
    890921   test "$[2]" = conftest.file
    891922   )
     
    897928Check your system clock])
    898929fi
    899 AC_MSG_RESULT(yes)])
    900 
    901 # Copyright (C) 2001, 2003, 2005, 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 1
     930AC_MSG_RESULT([yes])
     931# If we didn't sleep, we still need to ensure time stamps of config.status and
     932# generated files are strictly newer.
     933am_sleep_pid=
     934if grep 'slept: no' conftest.file >/dev/null 2>&1; then
     935  ( sleep 1 ) &
     936  am_sleep_pid=$!
     937fi
     938AC_CONFIG_COMMANDS_PRE(
     939  [AC_MSG_CHECKING([that generated files are newer than configure])
     940   if test -n "$am_sleep_pid"; then
     941     # Hide warnings about reused PIDs.
     942     wait $am_sleep_pid 2>/dev/null
     943   fi
     944   AC_MSG_RESULT([done])])
     945rm -f conftest.file
     946])
     947
     948# Copyright (C) 2009-2013 Free Software Foundation, Inc.
     949#
     950# This file is free software; the Free Software Foundation
     951# gives unlimited permission to copy and/or distribute it,
     952# with or without modifications, as long as this notice is preserved.
     953
     954# AM_SILENT_RULES([DEFAULT])
     955# --------------------------
     956# Enable less verbose build rules; with the default set to DEFAULT
     957# ("yes" being less verbose, "no" or empty being verbose).
     958AC_DEFUN([AM_SILENT_RULES],
     959[AC_ARG_ENABLE([silent-rules], [dnl
     960AS_HELP_STRING(
     961  [--enable-silent-rules],
     962  [less verbose build output (undo: "make V=1")])
     963AS_HELP_STRING(
     964  [--disable-silent-rules],
     965  [verbose build output (undo: "make V=0")])dnl
     966])
     967case $enable_silent_rules in @%:@ (((
     968  yes) AM_DEFAULT_VERBOSITY=0;;
     969   no) AM_DEFAULT_VERBOSITY=1;;
     970    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
     971esac
     972dnl
     973dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
     974dnl do not support nested variable expansions.
     975dnl See automake bug#9928 and bug#10237.
     976am_make=${MAKE-make}
     977AC_CACHE_CHECK([whether $am_make supports nested variables],
     978   [am_cv_make_support_nested_variables],
     979   [if AS_ECHO([['TRUE=$(BAR$(V))
     980BAR0=false
     981BAR1=true
     982V=1
     983am__doit:
     984        @$(TRUE)
     985.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
     986  am_cv_make_support_nested_variables=yes
     987else
     988  am_cv_make_support_nested_variables=no
     989fi])
     990if test $am_cv_make_support_nested_variables = yes; then
     991  dnl Using '$V' instead of '$(V)' breaks IRIX make.
     992  AM_V='$(V)'
     993  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
     994else
     995  AM_V=$AM_DEFAULT_VERBOSITY
     996  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
     997fi
     998AC_SUBST([AM_V])dnl
     999AM_SUBST_NOTMAKE([AM_V])dnl
     1000AC_SUBST([AM_DEFAULT_V])dnl
     1001AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
     1002AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
     1003AM_BACKSLASH='\'
     1004AC_SUBST([AM_BACKSLASH])dnl
     1005_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
     1006])
     1007
     1008# Copyright (C) 2001-2013 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.
    9081013
    9091014# AM_PROG_INSTALL_STRIP
    9101015# ---------------------
    911 # One issue with vendor `install' (even GNU) is that you can't
     1016# One issue with vendor 'install' (even GNU) is that you can't
    9121017# specify the program used to strip binaries.  This is especially
    9131018# annoying in cross-compiling environments, where the build's strip
    9141019# is unlikely to handle the host's binaries.
    9151020# Fortunately install-sh will honor a STRIPPROG variable, so we
    916 # always use install-sh in `make install-strip', and initialize
     1021# always use install-sh in "make install-strip", and initialize
    9171022# STRIPPROG with the value of the STRIP variable (set by the user).
    9181023AC_DEFUN([AM_PROG_INSTALL_STRIP],
    9191024[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    920 # Installed binaries are usually stripped using `strip' when the user
    921 # run `make install-strip'.  However `strip' might not be the right
     1025# Installed binaries are usually stripped using 'strip' when the user
     1026# run "make install-strip".  However 'strip' might not be the right
    9221027# tool to use in cross-compilation environments, therefore Automake
    923 # will honor the `STRIP' environment variable to overrule this program.
    924 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
     1028# will honor the 'STRIP' environment variable to overrule this program.
     1029dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
    9251030if test "$cross_compiling" != no; then
    9261031  AC_CHECK_TOOL([STRIP], [strip], :)
     
    9291034AC_SUBST([INSTALL_STRIP_PROGRAM])])
    9301035
    931 # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
    932 #
    933 # This file is free software; the Free Software Foundation
    934 # gives unlimited permission to copy and/or distribute it,
    935 # with or without modifications, as long as this notice is preserved.
    936 
    937 # serial 3
     1036# Copyright (C) 2006-2013 Free Software Foundation, Inc.
     1037#
     1038# This file is free software; the Free Software Foundation
     1039# gives unlimited permission to copy and/or distribute it,
     1040# with or without modifications, as long as this notice is preserved.
    9381041
    9391042# _AM_SUBST_NOTMAKE(VARIABLE)
     
    9501053# Check how to create a tarball.                            -*- Autoconf -*-
    9511054
    952 # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
    953 #
    954 # This file is free software; the Free Software Foundation
    955 # gives unlimited permission to copy and/or distribute it,
    956 # with or without modifications, as long as this notice is preserved.
    957 
    958 # serial 2
     1055# Copyright (C) 2004-2013 Free Software Foundation, Inc.
     1056#
     1057# This file is free software; the Free Software Foundation
     1058# gives unlimited permission to copy and/or distribute it,
     1059# with or without modifications, as long as this notice is preserved.
    9591060
    9601061# _AM_PROG_TAR(FORMAT)
    9611062# --------------------
    9621063# Check how to create a tarball in format FORMAT.
    963 # FORMAT should be one of `v7', `ustar', or `pax'.
     1064# FORMAT should be one of 'v7', 'ustar', or 'pax'.
    9641065#
    9651066# Substitute a variable $(am__tar) that is a command
     
    9711072# a tarball read from stdin.
    9721073#     $(am__untar) < result.tar
     1074#
    9731075AC_DEFUN([_AM_PROG_TAR],
    9741076[# Always define AMTAR for backward compatibility.  Yes, it's still used
    9751077# in the wild :-(  We should find a proper way to deprecate it ...
    9761078AC_SUBST([AMTAR], ['$${TAR-tar}'])
     1079
     1080# We'll loop over all known methods to create a tar archive until one works.
     1081_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
     1082
    9771083m4_if([$1], [v7],
    978      [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
    979      [m4_case([$1], [ustar],, [pax],,
    980               [m4_fatal([Unknown tar format])])
    981 AC_MSG_CHECKING([how to create a $1 tar archive])
    982 # Loop over all known methods to create a tar archive until one works.
    983 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
    984 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
    985 # Do not fold the above two line into one, because Tru64 sh and
    986 # Solaris sh will not grok spaces in the rhs of `-'.
    987 for _am_tool in $_am_tools
    988 do
    989   case $_am_tool in
    990   gnutar)
    991     for _am_tar in tar gnutar gtar;
    992     do
    993       AM_RUN_LOG([$_am_tar --version]) && break
    994     done
    995     am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
    996     am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
    997     am__untar="$_am_tar -xf -"
    998     ;;
    999   plaintar)
    1000     # Must skip GNU tar: if it does not support --format= it doesn't create
    1001     # ustar tarball either.
    1002     (tar --version) >/dev/null 2>&1 && continue
    1003     am__tar='tar chf - "$$tardir"'
    1004     am__tar_='tar chf - "$tardir"'
    1005     am__untar='tar xf -'
    1006     ;;
    1007   pax)
    1008     am__tar='pax -L -x $1 -w "$$tardir"'
    1009     am__tar_='pax -L -x $1 -w "$tardir"'
    1010     am__untar='pax -r'
    1011     ;;
    1012   cpio)
    1013     am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
    1014     am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
    1015     am__untar='cpio -i -H $1 -d'
    1016     ;;
    1017   none)
    1018     am__tar=false
    1019     am__tar_=false
    1020     am__untar=false
    1021     ;;
    1022   esac
    1023 
    1024   # If the value was cached, stop now.  We just wanted to have am__tar
    1025   # and am__untar set.
    1026   test -n "${am_cv_prog_tar_$1}" && break
    1027 
    1028   # tar/untar a dummy directory, and stop if the command works
     1084  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
     1085
     1086  [m4_case([$1],
     1087    [ustar],
     1088     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
     1089      # There is notably a 21 bits limit for the UID and the GID.  In fact,
     1090      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
     1091      # and bug#13588).
     1092      am_max_uid=2097151 # 2^21 - 1
     1093      am_max_gid=$am_max_uid
     1094      # The $UID and $GID variables are not portable, so we need to resort
     1095      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
     1096      # below are definitely unexpected, so allow the users to see them
     1097      # (that is, avoid stderr redirection).
     1098      am_uid=`id -u || echo unknown`
     1099      am_gid=`id -g || echo unknown`
     1100      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
     1101      if test $am_uid -le $am_max_uid; then
     1102         AC_MSG_RESULT([yes])
     1103      else
     1104         AC_MSG_RESULT([no])
     1105         _am_tools=none
     1106      fi
     1107      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
     1108      if test $am_gid -le $am_max_gid; then
     1109         AC_MSG_RESULT([yes])
     1110      else
     1111        AC_MSG_RESULT([no])
     1112        _am_tools=none
     1113      fi],
     1114
     1115  [pax],
     1116    [],
     1117
     1118  [m4_fatal([Unknown tar format])])
     1119
     1120  AC_MSG_CHECKING([how to create a $1 tar archive])
     1121
     1122  # Go ahead even if we have the value already cached.  We do so because we
     1123  # need to set the values for the 'am__tar' and 'am__untar' variables.
     1124  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
     1125
     1126  for _am_tool in $_am_tools; do
     1127    case $_am_tool in
     1128    gnutar)
     1129      for _am_tar in tar gnutar gtar; do
     1130        AM_RUN_LOG([$_am_tar --version]) && break
     1131      done
     1132      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
     1133      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
     1134      am__untar="$_am_tar -xf -"
     1135      ;;
     1136    plaintar)
     1137      # Must skip GNU tar: if it does not support --format= it doesn't create
     1138      # ustar tarball either.
     1139      (tar --version) >/dev/null 2>&1 && continue
     1140      am__tar='tar chf - "$$tardir"'
     1141      am__tar_='tar chf - "$tardir"'
     1142      am__untar='tar xf -'
     1143      ;;
     1144    pax)
     1145      am__tar='pax -L -x $1 -w "$$tardir"'
     1146      am__tar_='pax -L -x $1 -w "$tardir"'
     1147      am__untar='pax -r'
     1148      ;;
     1149    cpio)
     1150      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
     1151      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
     1152      am__untar='cpio -i -H $1 -d'
     1153      ;;
     1154    none)
     1155      am__tar=false
     1156      am__tar_=false
     1157      am__untar=false
     1158      ;;
     1159    esac
     1160
     1161    # If the value was cached, stop now.  We just wanted to have am__tar
     1162    # and am__untar set.
     1163    test -n "${am_cv_prog_tar_$1}" && break
     1164
     1165    # tar/untar a dummy directory, and stop if the command works.
     1166    rm -rf conftest.dir
     1167    mkdir conftest.dir
     1168    echo GrepMe > conftest.dir/file
     1169    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
     1170    rm -rf conftest.dir
     1171    if test -s conftest.tar; then
     1172      AM_RUN_LOG([$am__untar <conftest.tar])
     1173      AM_RUN_LOG([cat conftest.dir/file])
     1174      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
     1175    fi
     1176  done
    10291177  rm -rf conftest.dir
    1030   mkdir conftest.dir
    1031   echo GrepMe > conftest.dir/file
    1032   AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
    1033   rm -rf conftest.dir
    1034   if test -s conftest.tar; then
    1035     AM_RUN_LOG([$am__untar <conftest.tar])
    1036     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
    1037   fi
    1038 done
    1039 rm -rf conftest.dir
    1040 
    1041 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
    1042 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
     1178
     1179  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
     1180  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
     1181
    10431182AC_SUBST([am__tar])
    10441183AC_SUBST([am__untar])
Note: See TracChangeset for help on using the changeset viewer.