Changeset ee51534 for aclocal.m4


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

fix update for silent option in configure.ac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal.m4

    r7ff30d07 ree51534  
    1 # generated automatically by aclocal 1.14.1 -*- Autoconf -*-
    2 
    3 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
    4 
     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.
    56# This file is free software; the Free Software Foundation
    67# gives unlimited permission to copy and/or distribute it,
     
    1213# PARTICULAR PURPOSE.
    1314
    14 m4_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.69],,
    18 [m4_warning([this file was generated for autoconf 2.69.
     17m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
     18[m4_warning([this file was generated for autoconf 2.68.
    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-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.
     21To 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
    2831
    2932# AM_AUTOMAKE_VERSION(VERSION)
     
    3336# (This private macro should not be called outside this file.)
    3437AC_DEFUN([AM_AUTOMAKE_VERSION],
    35 [am__api_version='1.14'
     38[am__api_version='1.11'
    3639dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
    3740dnl require some minimum version.  Point them to the right macro.
    38 m4_if([$1], [1.14.1], [],
     41m4_if([$1], [1.11.3], [],
    3942      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
    4043])
     
    5255# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
    5356AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
    54 [AM_AUTOMAKE_VERSION([1.14.1])dnl
     57[AM_AUTOMAKE_VERSION([1.11.3])dnl
    5558m4_ifndef([AC_AUTOCONF_VERSION],
    5659  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
     
    5962# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
    6063
    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.
     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
    6671
    6772# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
    68 # $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
    69 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
     73# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
     74# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
    7075#
    7176# Of course, Automake must honor this variable whenever it calls a
     
    8691# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
    8792# are both prefixed by $srcdir.  In an in-source build this is usually
    88 # harmless because $srcdir is '.', but things will broke when you
     93# harmless because $srcdir is `.', but things will broke when you
    8994# start a VPATH build or use an absolute $srcdir.
    9095#
     
    112117# AM_CONDITIONAL                                            -*- Autoconf -*-
    113118
    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.
     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
    119127
    120128# AM_CONDITIONAL(NAME, SHELL-CONDITION)
     
    122130# Define a conditional.
    123131AC_DEFUN([AM_CONDITIONAL],
    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
     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
    127135AC_SUBST([$1_TRUE])dnl
    128136AC_SUBST([$1_FALSE])dnl
     
    143151fi])])
    144152
    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
     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
    153163# written in clear, in which case automake, when reading aclocal.m4,
    154164# will think it sees a *use*, and therefore will trigger all it's
     
    160170# ----------------------
    161171# See how the compiler implements dependency checking.
    162 # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
     172# NAME is "CC", "CXX", "GCJ", or "OBJC".
    163173# We try a few techniques and use that to set a single cache variable.
    164174#
     
    173183AC_REQUIRE([AM_DEP_TRACK])dnl
    174184
    175 m4_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=])
     185ifelse([$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=])
    182191
    183192AC_CACHE_CHECK([dependency style of $depcc],
     
    187196  # making bogus files that we don't know about and never remove.  For
    188197  # instance it was reported that on HP-UX the gcc test will end up
    189   # making a dummy file named 'D' -- because '-MD' means "put the output
    190   # in D".
     198  # making a dummy file named `D' -- because `-MD' means `put the output
     199  # in D'.
    191200  rm -rf conftest.dir
    192201  mkdir conftest.dir
     
    228237    for i in 1 2 3 4 5 6; do
    229238      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    230       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
    231       # Solaris 10 /bin/sh.
    232       echo '/* dummy */' > sub/conftst$i.h
     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
    233242    done
    234243    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    235244
    236     # We check with '-c' and '-o' for the sake of the "dashmstdout"
     245    # We check with `-c' and `-o' for the sake of the "dashmstdout"
    237246    # mode.  It turns out that the SunPro C++ compiler does not properly
    238     # handle '-M -o', and we need to detect this.  Also, some Intel
    239     # versions had trouble with output in subdirs.
     247    # handle `-M -o', and we need to detect this.  Also, some Intel
     248    # versions had trouble with output in subdirs
    240249    am__obj=sub/conftest.${OBJEXT-o}
    241250    am__minus_obj="-o $am__obj"
     
    246255      ;;
    247256    nosideeffect)
    248       # After this tag, mechanisms are not by side-effect, so they'll
    249       # only be used when explicitly requested.
     257      # after this tag, mechanisms are not by side-effect, so they'll
     258      # only be used when explicitly requested
    250259      if test "x$enable_dependency_tracking" = xyes; then
    251260        continue
     
    255264      ;;
    256265    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
    257       # This compiler won't grok '-c -o', but also, the minuso test has
     266      # This compiler won't grok `-c -o', but also, the minuso test has
    258267      # not run yet.  These depmodes are late enough in the game, and
    259268      # so weak that their functioning should not be impacted.
     
    303312# -------------
    304313# Choose a directory name for dependency files.
    305 # This macro is AC_REQUIREd in _AM_DEPENDENCIES.
     314# This macro is AC_REQUIREd in _AM_DEPENDENCIES
    306315AC_DEFUN([AM_SET_DEPDIR],
    307316[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
     
    313322# ------------
    314323AC_DEFUN([AM_DEP_TRACK],
    315 [AC_ARG_ENABLE([dependency-tracking], [dnl
    316 AS_HELP_STRING(
    317   [--enable-dependency-tracking],
    318   [do not reject slow dependency extractors])
    319 AS_HELP_STRING(
    320   [--disable-dependency-tracking],
    321   [speeds up one-time build])])
     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])
    322327if test "x$enable_dependency_tracking" != xno; then
    323328  am_depcomp="$ac_aux_dir/depcomp"
     
    334339# Generate code to set up dependency tracking.              -*- Autoconf -*-
    335340
    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 
     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
    342349
    343350# _AM_OUTPUT_DEPENDENCY_COMMANDS
     
    345352AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
    346353[{
    347   # Older Autoconf quotes --file arguments for eval, but not when files
     354  # Autoconf 2.62 quotes --file arguments for eval, but not when files
    348355  # are listed without --file.  Let's play safe and only enable the eval
    349356  # if we detect the quoting.
     
    358365    mf=`echo "$mf" | sed -e 's/:.*$//'`
    359366    # Check whether this is an Automake generated Makefile or not.
    360     # We used to match only the files named 'Makefile.in', but
     367    # We used to match only the files named `Makefile.in', but
    361368    # some people rename them; so instead we look at the file content.
    362369    # Grep'ing the first line is not enough: some people post-process
     
    370377    fi
    371378    # Extract the definition of DEPDIR, am__include, and am__quote
    372     # from the Makefile without running 'make'.
     379    # from the Makefile without running `make'.
    373380    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
    374381    test -z "$DEPDIR" && continue
    375382    am__include=`sed -n 's/^am__include = //p' < "$mf"`
    376     test -z "$am__include" && continue
     383    test -z "am__include" && continue
    377384    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"`
    378387    # Find all dependency output files, they are included files with
    379388    # $(DEPDIR) in their names.  We invoke sed twice because it is the
     
    382391    for file in `sed -n "
    383392      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
    384          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
     393         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
    385394      # Make sure the directory exists.
    386395      test -f "$dirpart/$file" && continue
     
    400409#
    401410# This code is only required when automatic dependency tracking
    402 # is enabled.  FIXME.  This creates each '.P' file that we will
     411# is enabled.  FIXME.  This creates each `.P' file that we will
    403412# need in order to bootstrap the dependency handling code.
    404413AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
     
    410419# Do all the work for Automake.                             -*- Autoconf -*-
    411420
    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.
     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
    417429
    418430# This macro actually does too much.  Some checks are only needed if
    419431# your package does certain things.  But this isn't really a big deal.
    420 
    421 dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
    422 m4_define([AC_PROG_CC],
    423 m4_defn([AC_PROG_CC])
    424 [_AM_PROG_CC_C_O
    425 ])
    426432
    427433# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
     
    437443# release and drop the old call support.
    438444AC_DEFUN([AM_INIT_AUTOMAKE],
    439 [AC_PREREQ([2.65])dnl
     445[AC_PREREQ([2.62])dnl
    440446dnl Autoconf wants to disallow AM_ names.  We explicitly allow
    441447dnl the ones we care about.
     
    466472dnl Distinguish between old-style and new-style calls.
    467473m4_ifval([$2],
    468 [AC_DIAGNOSE([obsolete],
    469              [$0: two- and three-arguments forms are deprecated.])
    470 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
     474[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
    471475 AC_SUBST([PACKAGE], [$1])dnl
    472476 AC_SUBST([VERSION], [$2])],
    473477[_AM_SET_OPTIONS([$1])dnl
    474478dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
    475 m4_if(
    476   m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
    477   [ok:ok],,
     479m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
    478480  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
    479481 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
     
    481483
    482484_AM_IF_OPTION([no-define],,
    483 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
    484  AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
     485[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
     486 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
    485487
    486488# Some tools Automake needs.
    487489AC_REQUIRE([AM_SANITY_CHECK])dnl
    488490AC_REQUIRE([AC_ARG_PROGRAM])dnl
    489 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
    490 AM_MISSING_PROG([AUTOCONF], [autoconf])
    491 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
    492 AM_MISSING_PROG([AUTOHEADER], [autoheader])
    493 AM_MISSING_PROG([MAKEINFO], [makeinfo])
     491AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
     492AM_MISSING_PROG(AUTOCONF, autoconf)
     493AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
     494AM_MISSING_PROG(AUTOHEADER, autoheader)
     495AM_MISSING_PROG(MAKEINFO, makeinfo)
    494496AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    495497AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
    496 AC_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>
    501 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
     498AC_REQUIRE([AM_PROG_MKDIR_P])dnl
    502499# We need awk for the "check" target.  The system "awk" is bad on
    503500# some platforms.
     
    510507_AM_IF_OPTION([no-dependencies],,
    511508[AC_PROVIDE_IFELSE([AC_PROG_CC],
    512                   [_AM_DEPENDENCIES([CC])],
    513                   [m4_define([AC_PROG_CC],
    514                              m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
     509                  [_AM_DEPENDENCIES(CC)],
     510                  [define([AC_PROG_CC],
     511                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
    515512AC_PROVIDE_IFELSE([AC_PROG_CXX],
    516                   [_AM_DEPENDENCIES([CXX])],
    517                   [m4_define([AC_PROG_CXX],
    518                              m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
     513                  [_AM_DEPENDENCIES(CXX)],
     514                  [define([AC_PROG_CXX],
     515                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
    519516AC_PROVIDE_IFELSE([AC_PROG_OBJC],
    520                   [_AM_DEPENDENCIES([OBJC])],
    521                   [m4_define([AC_PROG_OBJC],
    522                              m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
    523 AC_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 ])
    528 AC_REQUIRE([AM_SILENT_RULES])dnl
    529 dnl The testsuite driver may need to know about EXEEXT, so add the
    530 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
    531 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
     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
     522dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
     523dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
     524dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
    532525AC_CONFIG_COMMANDS_PRE(dnl
    533526[m4_provide_if([_AM_COMPILER_EXEEXT],
    534527  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
    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.
    544 if rm -f && rm -fr && rm -rf; then : OK; else
    545   cat >&2 <<'END'
    546 Oops!
    547 
    548 Your 'rm' program seems unable to run without file operands specified
    549 on the command line, even when the '-f' option is present.  This is contrary
    550 to the behaviour of most rm programs out there, and not conforming with
    551 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
    552 
    553 Please tell bug-automake@gnu.org about your system, including the value
    554 of your $PATH and any error possibly output before this message.  This
    555 can help us improve future automake versions.
    556 
    557 END
    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'
    564 Aborting the configuration process, to ensure you take notice of the issue.
    565 
    566 You can download and install GNU coreutils to get an 'rm' implementation
    567 that behaves properly: <http://www.gnu.org/software/coreutils/>.
    568 
    569 If you want to complete the configuration process using your problematic
    570 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
    571 to "yes", and re-run configure.
    572 
    573 END
    574     AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
    575   fi
    576 fi])
    577 
    578 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
     528])
     529
     530dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
    579531dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
    580532dnl mangled by Autoconf and run in a shell conditional statement.
    581533m4_define([_AC_COMPILER_EXEEXT],
    582534m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
     535
    583536
    584537# When config.status generates a header, we must update the stamp-h file.
     
    603556echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
    604557
    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.
     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
    610566
    611567# AM_PROG_INSTALL_SH
     
    622578  esac
    623579fi
    624 AC_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.
     580AC_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
    631589
    632590# Check whether the underlying file-system supports filenames
     
    646604# From Jim Meyering
    647605
    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.
     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
    653614
    654615# AM_MAINTAINER_MODE([DEFAULT-MODE])
    655616# ----------------------------------
    656617# Control maintainer-specific portions of Makefiles.
    657 # Default is to disable them, unless 'enable' is passed literally.
    658 # For symmetry, 'disable' may be passed as well.  Anyway, the user
     618# Default is to disable them, unless `enable' is passed literally.
     619# For symmetry, `disable' may be passed as well.  Anyway, the user
    659620# can override the default with the --enable/--disable switch.
    660621AC_DEFUN([AM_MAINTAINER_MODE],
     
    667628  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
    668629  AC_ARG_ENABLE([maintainer-mode],
    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]))
     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]))
    674634  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
    675635  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
     
    679639)
    680640
     641AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
     642
    681643# Check to see how 'make' treats includes.                  -*- Autoconf -*-
    682644
    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.
     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
    688652
    689653# AM_MAKE_INCLUDE()
     
    704668# First try GNU make style include.
    705669echo "include confinc" > confmf
    706 # Ignore all kinds of additional output from 'make'.
     670# Ignore all kinds of additional output from `make'.
    707671case `$am_make -s -f confmf 2> /dev/null` in #(
    708672*the\ am__doit\ target*)
     
    729693])
    730694
     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.
     707AC_DEFUN([AM_PROG_CC_C_O],
     708[AC_REQUIRE([AC_PROG_CC_C_O])dnl
     709AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     710AC_REQUIRE_AUX_FILE([compile])dnl
     711# FIXME: we rely on the cache variable name because
     712# there is no other way.
     713set dummy $CC
     714am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
     715eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
     716if 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"
     723fi
     724dnl Make sure AC_PROG_CC is never called again, or it will override our
     725dnl setting of CC.
     726m4_define([AC_PROG_CC],
     727          [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
     728])
     729
    731730# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
    732731
    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.
     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
    738740
    739741# AM_MISSING_PROG(NAME, PROGRAM)
     
    744746AC_SUBST($1)])
    745747
     748
    746749# AM_MISSING_HAS_RUN
    747750# ------------------
    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.
     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.
    750753AC_DEFUN([AM_MISSING_HAS_RUN],
    751754[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     
    760763fi
    761764# Use eval to expand $SHELL
    762 if eval "$MISSING --is-lightweight"; then
    763   am_missing_run="$MISSING "
     765if eval "$MISSING --run true"; then
     766  am_missing_run="$MISSING --run "
    764767else
    765768  am_missing_run=
    766   AC_MSG_WARN(['missing' script is too old or missing])
    767 fi
     769  AC_MSG_WARN([`missing' script is too old or missing])
     770fi
     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'.
     785AC_DEFUN([AM_PROG_MKDIR_P],
     786[AC_PREREQ([2.60])dnl
     787AC_REQUIRE([AC_PROG_MKDIR_P])dnl
     788dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
     789dnl while keeping a definition of mkdir_p for backward compatibility.
     790dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
     791dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
     792dnl Makefile.ins that do not define MKDIR_P, so we do our own
     793dnl adjustment using top_builddir (which is defined more often than
     794dnl MKDIR_P).
     795AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
     796case $mkdir_p in
     797  [[\\/$]]* | ?:[[\\/]]*) ;;
     798  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
     799esac
    768800])
    769801
    770802# Helper functions for option handling.                     -*- Autoconf -*-
    771803
    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.
     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
    777812
    778813# _AM_MANGLE_OPTION(NAME)
     
    785820# Set option NAME.  Presently that only means defining a flag for this option.
    786821AC_DEFUN([_AM_SET_OPTION],
    787 [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
     822[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
    788823
    789824# _AM_SET_OPTIONS(OPTIONS)
     
    799834[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
    800835
    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.
    811 AC_DEFUN([_AM_PROG_CC_C_O],
    812 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    813 AC_REQUIRE_AUX_FILE([compile])dnl
    814 AC_LANG_PUSH([C])dnl
    815 AC_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])
    835 if 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"
    842 fi
    843 AC_LANG_POP([C])])
    844 
    845 # For backward compatibility.
    846 AC_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.)
    858 AC_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 
    865836# Check to make sure that the build environment is sane.    -*- Autoconf -*-
    866837
    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.
     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
    872846
    873847# AM_SANITY_CHECK
     
    875849AC_DEFUN([AM_SANITY_CHECK],
    876850[AC_MSG_CHECKING([whether build environment is sane])
     851# Just in case
     852sleep 1
     853echo timestamp > conftest.file
    877854# Reject unsafe characters in $srcdir or the absolute working directory
    878855# name.  Accept space and tab only in the latter.
     
    885862case $srcdir in
    886863  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
    887     AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
     864    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
    888865esac
    889866
    890 # Do 'set' in a subshell so we don't clobber the current shell's
     867# Do `set' in a subshell so we don't clobber the current shell's
    891868# arguments.  Must try -L first in case configure is actually a
    892869# symlink; some systems play weird games with the mod time of symlinks
     
    894871# directory).
    895872if (
    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
     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
     887alias in your environment])
     888   fi
     889
    921890   test "$[2]" = conftest.file
    922891   )
     
    928897Check your system clock])
    929898fi
    930 AC_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.
    933 am_sleep_pid=
    934 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
    935   ( sleep 1 ) &
    936   am_sleep_pid=$!
    937 fi
    938 AC_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])])
    945 rm -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.
     899AC_MSG_RESULT(yes)])
     900
     901# Copyright (C) 2009, 2011  Free Software Foundation, Inc.
     902#
     903# This file is free software; the Free Software Foundation
     904# gives unlimited permission to copy and/or distribute it,
     905# with or without modifications, as long as this notice is preserved.
     906
     907# serial 2
    953908
    954909# AM_SILENT_RULES([DEFAULT])
    955910# --------------------------
    956911# Enable less verbose build rules; with the default set to DEFAULT
    957 # ("yes" being less verbose, "no" or empty being verbose).
     912# (`yes' being less verbose, `no' or empty being verbose).
    958913AC_DEFUN([AM_SILENT_RULES],
    959 [AC_ARG_ENABLE([silent-rules], [dnl
    960 AS_HELP_STRING(
    961   [--enable-silent-rules],
    962   [less verbose build output (undo: "make V=1")])
    963 AS_HELP_STRING(
    964   [--disable-silent-rules],
    965   [verbose build output (undo: "make V=0")])dnl
    966 ])
    967 case $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]);;
     914[AC_ARG_ENABLE([silent-rules],
     915[  --enable-silent-rules          less verbose build output (undo: `make V=1')
     916  --disable-silent-rules         verbose build output (undo: `make V=0')])
     917case $enable_silent_rules in
     918yes) AM_DEFAULT_VERBOSITY=0;;
     919no)  AM_DEFAULT_VERBOSITY=1;;
     920*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
    971921esac
    972922dnl
    973 dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
     923dnl A few `make' implementations (e.g., NonStop OS and NextStep)
    974924dnl do not support nested variable expansions.
    975925dnl See automake bug#9928 and bug#10237.
     
    989939fi])
    990940if test $am_cv_make_support_nested_variables = yes; then
    991   dnl Using '$V' instead of '$(V)' breaks IRIX make.
     941  dnl Using `$V' instead of `$(V)' breaks IRIX make.
    992942  AM_V='$(V)'
    993943  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
     
    1006956])
    1007957
    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.
     958# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
     959#
     960# This file is free software; the Free Software Foundation
     961# gives unlimited permission to copy and/or distribute it,
     962# with or without modifications, as long as this notice is preserved.
     963
     964# serial 1
    1013965
    1014966# AM_PROG_INSTALL_STRIP
    1015967# ---------------------
    1016 # One issue with vendor 'install' (even GNU) is that you can't
     968# One issue with vendor `install' (even GNU) is that you can't
    1017969# specify the program used to strip binaries.  This is especially
    1018970# annoying in cross-compiling environments, where the build's strip
    1019971# is unlikely to handle the host's binaries.
    1020972# Fortunately install-sh will honor a STRIPPROG variable, so we
    1021 # always use install-sh in "make install-strip", and initialize
     973# always use install-sh in `make install-strip', and initialize
    1022974# STRIPPROG with the value of the STRIP variable (set by the user).
    1023975AC_DEFUN([AM_PROG_INSTALL_STRIP],
    1024976[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    1025 # Installed binaries are usually stripped using 'strip' when the user
    1026 # run "make install-strip".  However 'strip' might not be the right
     977# Installed binaries are usually stripped using `strip' when the user
     978# run `make install-strip'.  However `strip' might not be the right
    1027979# tool to use in cross-compilation environments, therefore Automake
    1028 # will honor the 'STRIP' environment variable to overrule this program.
    1029 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
     980# will honor the `STRIP' environment variable to overrule this program.
     981dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
    1030982if test "$cross_compiling" != no; then
    1031983  AC_CHECK_TOOL([STRIP], [strip], :)
     
    1034986AC_SUBST([INSTALL_STRIP_PROGRAM])])
    1035987
    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.
     988# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
     989#
     990# This file is free software; the Free Software Foundation
     991# gives unlimited permission to copy and/or distribute it,
     992# with or without modifications, as long as this notice is preserved.
     993
     994# serial 3
    1041995
    1042996# _AM_SUBST_NOTMAKE(VARIABLE)
     
    10531007# Check how to create a tarball.                            -*- Autoconf -*-
    10541008
    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.
     1009# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
     1010#
     1011# This file is free software; the Free Software Foundation
     1012# gives unlimited permission to copy and/or distribute it,
     1013# with or without modifications, as long as this notice is preserved.
     1014
     1015# serial 2
    10601016
    10611017# _AM_PROG_TAR(FORMAT)
    10621018# --------------------
    10631019# Check how to create a tarball in format FORMAT.
    1064 # FORMAT should be one of 'v7', 'ustar', or 'pax'.
     1020# FORMAT should be one of `v7', `ustar', or `pax'.
    10651021#
    10661022# Substitute a variable $(am__tar) that is a command
     
    10721028# a tarball read from stdin.
    10731029#     $(am__untar) < result.tar
    1074 #
    10751030AC_DEFUN([_AM_PROG_TAR],
    10761031[# Always define AMTAR for backward compatibility.  Yes, it's still used
    10771032# in the wild :-(  We should find a proper way to deprecate it ...
    10781033AC_SUBST([AMTAR], ['$${TAR-tar}'])
    1079 
    1080 # We'll loop over all known methods to create a tar archive until one works.
     1034m4_if([$1], [v7],
     1035     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
     1036     [m4_case([$1], [ustar],, [pax],,
     1037              [m4_fatal([Unknown tar format])])
     1038AC_MSG_CHECKING([how to create a $1 tar archive])
     1039# Loop over all known methods to create a tar archive until one works.
    10811040_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
    1082 
    1083 m4_if([$1], [v7],
    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
     1041_am_tools=${am_cv_prog_tar_$1-$_am_tools}
     1042# Do not fold the above two line into one, because Tru64 sh and
     1043# Solaris sh will not grok spaces in the rhs of `-'.
     1044for _am_tool in $_am_tools
     1045do
     1046  case $_am_tool in
     1047  gnutar)
     1048    for _am_tar in tar gnutar gtar;
     1049    do
     1050      AM_RUN_LOG([$_am_tar --version]) && break
     1051    done
     1052    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
     1053    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
     1054    am__untar="$_am_tar -xf -"
     1055    ;;
     1056  plaintar)
     1057    # Must skip GNU tar: if it does not support --format= it doesn't create
     1058    # ustar tarball either.
     1059    (tar --version) >/dev/null 2>&1 && continue
     1060    am__tar='tar chf - "$$tardir"'
     1061    am__tar_='tar chf - "$tardir"'
     1062    am__untar='tar xf -'
     1063    ;;
     1064  pax)
     1065    am__tar='pax -L -x $1 -w "$$tardir"'
     1066    am__tar_='pax -L -x $1 -w "$tardir"'
     1067    am__untar='pax -r'
     1068    ;;
     1069  cpio)
     1070    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
     1071    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
     1072    am__untar='cpio -i -H $1 -d'
     1073    ;;
     1074  none)
     1075    am__tar=false
     1076    am__tar_=false
     1077    am__untar=false
     1078    ;;
     1079  esac
     1080
     1081  # If the value was cached, stop now.  We just wanted to have am__tar
     1082  # and am__untar set.
     1083  test -n "${am_cv_prog_tar_$1}" && break
     1084
     1085  # tar/untar a dummy directory, and stop if the command works
    11771086  rm -rf conftest.dir
    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 
     1087  mkdir conftest.dir
     1088  echo GrepMe > conftest.dir/file
     1089  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
     1090  rm -rf conftest.dir
     1091  if test -s conftest.tar; then
     1092    AM_RUN_LOG([$am__untar <conftest.tar])
     1093    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
     1094  fi
     1095done
     1096rm -rf conftest.dir
     1097
     1098AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
     1099AC_MSG_RESULT([$am_cv_prog_tar_$1])])
    11821100AC_SUBST([am__tar])
    11831101AC_SUBST([am__untar])
Note: See TracChangeset for help on using the changeset viewer.