~ubuntu-branches/ubuntu/utopic/tomboy/utopic

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2014-01-24 15:46:08 UTC
  • mfrom: (1.5.21)
  • Revision ID: package-import@ubuntu.com-20140124154608-rh4orzccnoro7svg
Tags: 1.15.4-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.11.6 -*- 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.13.4 -*- Autoconf -*-
 
2
 
 
3
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
 
4
 
6
5
# This file is free software; the Free Software Foundation
7
6
# gives unlimited permission to copy and/or distribute it,
8
7
# with or without modifications, as long as this notice is preserved.
12
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
12
# PARTICULAR PURPOSE.
14
13
 
 
14
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
15
15
m4_ifndef([AC_AUTOCONF_VERSION],
16
16
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17
17
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
18
18
[m4_warning([this file was generated for autoconf 2.69.
19
19
You have another version of autoconf.  It may work, but is not guaranteed to.
20
20
If 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'.])])
 
21
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
22
22
 
23
23
dnl AM_GCONF_SOURCE_2
24
24
dnl Defines GCONF_SCHEMA_CONFIG_SOURCE which is where you should install schemas
9658
9658
AS_VAR_IF([$1], [""], [$5], [$4])dnl
9659
9659
])# PKG_CHECK_VAR
9660
9660
 
9661
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
9662
 
# Foundation, Inc.
 
9661
# Copyright (C) 2002-2013 Free Software Foundation, Inc.
9663
9662
#
9664
9663
# This file is free software; the Free Software Foundation
9665
9664
# gives unlimited permission to copy and/or distribute it,
9666
9665
# with or without modifications, as long as this notice is preserved.
9667
9666
 
9668
 
# serial 1
9669
 
 
9670
9667
# AM_AUTOMAKE_VERSION(VERSION)
9671
9668
# ----------------------------
9672
9669
# Automake X.Y traces this macro to ensure aclocal.m4 has been
9673
9670
# generated from the m4 files accompanying Automake X.Y.
9674
9671
# (This private macro should not be called outside this file.)
9675
9672
AC_DEFUN([AM_AUTOMAKE_VERSION],
9676
 
[am__api_version='1.11'
 
9673
[am__api_version='1.13'
9677
9674
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
9678
9675
dnl require some minimum version.  Point them to the right macro.
9679
 
m4_if([$1], [1.11.6], [],
 
9676
m4_if([$1], [1.13.4], [],
9680
9677
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
9681
9678
])
9682
9679
 
9692
9689
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
9693
9690
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
9694
9691
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
9695
 
[AM_AUTOMAKE_VERSION([1.11.6])dnl
 
9692
[AM_AUTOMAKE_VERSION([1.13.4])dnl
9696
9693
m4_ifndef([AC_AUTOCONF_VERSION],
9697
9694
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
9698
9695
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
9699
9696
 
9700
9697
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
9701
9698
 
9702
 
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 
9699
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
9703
9700
#
9704
9701
# This file is free software; the Free Software Foundation
9705
9702
# gives unlimited permission to copy and/or distribute it,
9706
9703
# with or without modifications, as long as this notice is preserved.
9707
9704
 
9708
 
# serial 1
9709
 
 
9710
9705
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
9711
 
# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
9712
 
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
 
9706
# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
 
9707
# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
9713
9708
#
9714
9709
# Of course, Automake must honor this variable whenever it calls a
9715
9710
# tool from the auxiliary directory.  The problem is that $srcdir (and
9728
9723
#
9729
9724
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
9730
9725
# are both prefixed by $srcdir.  In an in-source build this is usually
9731
 
# harmless because $srcdir is `.', but things will broke when you
 
9726
# harmless because $srcdir is '.', but things will broke when you
9732
9727
# start a VPATH build or use an absolute $srcdir.
9733
9728
#
9734
9729
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
9754
9749
 
9755
9750
# AM_CONDITIONAL                                            -*- Autoconf -*-
9756
9751
 
9757
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
9758
 
# Free Software Foundation, Inc.
 
9752
# Copyright (C) 1997-2013 Free Software Foundation, Inc.
9759
9753
#
9760
9754
# This file is free software; the Free Software Foundation
9761
9755
# gives unlimited permission to copy and/or distribute it,
9762
9756
# with or without modifications, as long as this notice is preserved.
9763
9757
 
9764
 
# serial 9
9765
 
 
9766
9758
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
9767
9759
# -------------------------------------
9768
9760
# Define a conditional.
9769
9761
AC_DEFUN([AM_CONDITIONAL],
9770
 
[AC_PREREQ(2.52)dnl
9771
 
 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
9772
 
        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
 
9762
[AC_PREREQ([2.52])dnl
 
9763
 m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
 
9764
       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
9773
9765
AC_SUBST([$1_TRUE])dnl
9774
9766
AC_SUBST([$1_FALSE])dnl
9775
9767
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
9788
9780
Usually this means the macro was only invoked conditionally.]])
9789
9781
fi])])
9790
9782
 
9791
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
9792
 
# 2010, 2011 Free Software Foundation, Inc.
 
9783
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
9793
9784
#
9794
9785
# This file is free software; the Free Software Foundation
9795
9786
# gives unlimited permission to copy and/or distribute it,
9796
9787
# with or without modifications, as long as this notice is preserved.
9797
9788
 
9798
 
# serial 12
9799
9789
 
9800
 
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
 
9790
# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
9801
9791
# written in clear, in which case automake, when reading aclocal.m4,
9802
9792
# will think it sees a *use*, and therefore will trigger all it's
9803
9793
# C support machinery.  Also note that it means that autoscan, seeing
9807
9797
# _AM_DEPENDENCIES(NAME)
9808
9798
# ----------------------
9809
9799
# See how the compiler implements dependency checking.
9810
 
# NAME is "CC", "CXX", "GCJ", or "OBJC".
 
9800
# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
9811
9801
# We try a few techniques and use that to set a single cache variable.
9812
9802
#
9813
9803
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
9820
9810
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
9821
9811
AC_REQUIRE([AM_DEP_TRACK])dnl
9822
9812
 
9823
 
ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
9824
 
       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
9825
 
       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
9826
 
       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
9827
 
       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
9828
 
                   [depcc="$$1"   am_compiler_list=])
 
9813
m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
 
9814
      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
 
9815
      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
 
9816
      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
 
9817
      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
 
9818
      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
 
9819
                    [depcc="$$1"   am_compiler_list=])
9829
9820
 
9830
9821
AC_CACHE_CHECK([dependency style of $depcc],
9831
9822
               [am_cv_$1_dependencies_compiler_type],
9833
9824
  # We make a subdir and do the tests there.  Otherwise we can end up
9834
9825
  # making bogus files that we don't know about and never remove.  For
9835
9826
  # instance it was reported that on HP-UX the gcc test will end up
9836
 
  # making a dummy file named `D' -- because `-MD' means `put the output
9837
 
  # in D'.
 
9827
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
9828
  # in D".
9838
9829
  rm -rf conftest.dir
9839
9830
  mkdir conftest.dir
9840
9831
  # Copy depcomp to subdir because otherwise we won't find it if we're
9874
9865
    : > sub/conftest.c
9875
9866
    for i in 1 2 3 4 5 6; do
9876
9867
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
9877
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
9878
 
      # Solaris 8's {/usr,}/bin/sh.
9879
 
      touch sub/conftst$i.h
 
9868
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 
9869
      # Solaris 10 /bin/sh.
 
9870
      echo '/* dummy */' > sub/conftst$i.h
9880
9871
    done
9881
9872
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9882
9873
 
9883
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
9874
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
9884
9875
    # mode.  It turns out that the SunPro C++ compiler does not properly
9885
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
9886
 
    # versions had trouble with output in subdirs
 
9876
    # handle '-M -o', and we need to detect this.  Also, some Intel
 
9877
    # versions had trouble with output in subdirs.
9887
9878
    am__obj=sub/conftest.${OBJEXT-o}
9888
9879
    am__minus_obj="-o $am__obj"
9889
9880
    case $depmode in
9892
9883
      test "$am__universal" = false || continue
9893
9884
      ;;
9894
9885
    nosideeffect)
9895
 
      # after this tag, mechanisms are not by side-effect, so they'll
9896
 
      # only be used when explicitly requested
 
9886
      # After this tag, mechanisms are not by side-effect, so they'll
 
9887
      # only be used when explicitly requested.
9897
9888
      if test "x$enable_dependency_tracking" = xyes; then
9898
9889
        continue
9899
9890
      else
9901
9892
      fi
9902
9893
      ;;
9903
9894
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
9904
 
      # This compiler won't grok `-c -o', but also, the minuso test has
 
9895
      # This compiler won't grok '-c -o', but also, the minuso test has
9905
9896
      # not run yet.  These depmodes are late enough in the game, and
9906
9897
      # so weak that their functioning should not be impacted.
9907
9898
      am__obj=conftest.${OBJEXT-o}
9949
9940
# AM_SET_DEPDIR
9950
9941
# -------------
9951
9942
# Choose a directory name for dependency files.
9952
 
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
 
9943
# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
9953
9944
AC_DEFUN([AM_SET_DEPDIR],
9954
9945
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9955
9946
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
9959
9950
# AM_DEP_TRACK
9960
9951
# ------------
9961
9952
AC_DEFUN([AM_DEP_TRACK],
9962
 
[AC_ARG_ENABLE(dependency-tracking,
9963
 
[  --disable-dependency-tracking  speeds up one-time build
9964
 
  --enable-dependency-tracking   do not reject slow dependency extractors])
 
9953
[AC_ARG_ENABLE([dependency-tracking], [dnl
 
9954
AS_HELP_STRING(
 
9955
  [--enable-dependency-tracking],
 
9956
  [do not reject slow dependency extractors])
 
9957
AS_HELP_STRING(
 
9958
  [--disable-dependency-tracking],
 
9959
  [speeds up one-time build])])
9965
9960
if test "x$enable_dependency_tracking" != xno; then
9966
9961
  am_depcomp="$ac_aux_dir/depcomp"
9967
9962
  AMDEPBACKSLASH='\'
9976
9971
 
9977
9972
# Generate code to set up dependency tracking.              -*- Autoconf -*-
9978
9973
 
9979
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9980
 
# Free Software Foundation, Inc.
 
9974
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
9981
9975
#
9982
9976
# This file is free software; the Free Software Foundation
9983
9977
# gives unlimited permission to copy and/or distribute it,
9984
9978
# with or without modifications, as long as this notice is preserved.
9985
9979
 
9986
 
#serial 5
9987
9980
 
9988
9981
# _AM_OUTPUT_DEPENDENCY_COMMANDS
9989
9982
# ------------------------------
9990
9983
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
9991
9984
[{
9992
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
9985
  # Older Autoconf quotes --file arguments for eval, but not when files
9993
9986
  # are listed without --file.  Let's play safe and only enable the eval
9994
9987
  # if we detect the quoting.
9995
9988
  case $CONFIG_FILES in
10002
9995
    # Strip MF so we end up with the name of the file.
10003
9996
    mf=`echo "$mf" | sed -e 's/:.*$//'`
10004
9997
    # Check whether this is an Automake generated Makefile or not.
10005
 
    # We used to match only the files named `Makefile.in', but
 
9998
    # We used to match only the files named 'Makefile.in', but
10006
9999
    # some people rename them; so instead we look at the file content.
10007
10000
    # Grep'ing the first line is not enough: some people post-process
10008
10001
    # each Makefile.in and add a new line on top of each file to say so.
10014
10007
      continue
10015
10008
    fi
10016
10009
    # Extract the definition of DEPDIR, am__include, and am__quote
10017
 
    # from the Makefile without running `make'.
 
10010
    # from the Makefile without running 'make'.
10018
10011
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10019
10012
    test -z "$DEPDIR" && continue
10020
10013
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
10021
 
    test -z "am__include" && continue
 
10014
    test -z "$am__include" && continue
10022
10015
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10023
 
    # When using ansi2knr, U may be empty or an underscore; expand it
10024
 
    U=`sed -n 's/^U = //p' < "$mf"`
10025
10016
    # Find all dependency output files, they are included files with
10026
10017
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
10027
10018
    # simplest approach to changing $(DEPDIR) to its actual value in the
10028
10019
    # expansion.
10029
10020
    for file in `sed -n "
10030
10021
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10031
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
10022
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
10032
10023
      # Make sure the directory exists.
10033
10024
      test -f "$dirpart/$file" && continue
10034
10025
      fdir=`AS_DIRNAME(["$file"])`
10046
10037
# This macro should only be invoked once -- use via AC_REQUIRE.
10047
10038
#
10048
10039
# This code is only required when automatic dependency tracking
10049
 
# is enabled.  FIXME.  This creates each `.P' file that we will
 
10040
# is enabled.  FIXME.  This creates each '.P' file that we will
10050
10041
# need in order to bootstrap the dependency handling code.
10051
10042
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
10052
10043
[AC_CONFIG_COMMANDS([depfiles],
10054
10045
     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
10055
10046
])
10056
10047
 
10057
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
10058
 
# Free Software Foundation, Inc.
10059
 
#
10060
 
# This file is free software; the Free Software Foundation
10061
 
# gives unlimited permission to copy and/or distribute it,
10062
 
# with or without modifications, as long as this notice is preserved.
10063
 
 
10064
 
# serial 8
10065
 
 
10066
 
# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
10067
 
AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
10068
 
 
10069
10048
# Do all the work for Automake.                             -*- Autoconf -*-
10070
10049
 
10071
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
10072
 
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
 
10050
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
10073
10051
#
10074
10052
# This file is free software; the Free Software Foundation
10075
10053
# gives unlimited permission to copy and/or distribute it,
10076
10054
# with or without modifications, as long as this notice is preserved.
10077
10055
 
10078
 
# serial 16
10079
 
 
10080
10056
# This macro actually does too much.  Some checks are only needed if
10081
10057
# your package does certain things.  But this isn't really a big deal.
10082
10058
 
10092
10068
# arguments mandatory, and then we can depend on a new Autoconf
10093
10069
# release and drop the old call support.
10094
10070
AC_DEFUN([AM_INIT_AUTOMAKE],
10095
 
[AC_PREREQ([2.62])dnl
 
10071
[AC_PREREQ([2.65])dnl
10096
10072
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
10097
10073
dnl the ones we care about.
10098
10074
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
10121
10097
# Define the identity of the package.
10122
10098
dnl Distinguish between old-style and new-style calls.
10123
10099
m4_ifval([$2],
10124
 
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
 
10100
[AC_DIAGNOSE([obsolete],
 
10101
             [$0: two- and three-arguments forms are deprecated.])
 
10102
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
10125
10103
 AC_SUBST([PACKAGE], [$1])dnl
10126
10104
 AC_SUBST([VERSION], [$2])],
10127
10105
[_AM_SET_OPTIONS([$1])dnl
10128
10106
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
10129
 
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
 
10107
m4_if(
 
10108
  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
 
10109
  [ok:ok],,
10130
10110
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
10131
10111
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
10132
10112
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
10133
10113
 
10134
10114
_AM_IF_OPTION([no-define],,
10135
 
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
10136
 
 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
 
10115
[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
 
10116
 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
10137
10117
 
10138
10118
# Some tools Automake needs.
10139
10119
AC_REQUIRE([AM_SANITY_CHECK])dnl
10140
10120
AC_REQUIRE([AC_ARG_PROGRAM])dnl
10141
 
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
10142
 
AM_MISSING_PROG(AUTOCONF, autoconf)
10143
 
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
10144
 
AM_MISSING_PROG(AUTOHEADER, autoheader)
10145
 
AM_MISSING_PROG(MAKEINFO, makeinfo)
 
10121
AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
 
10122
AM_MISSING_PROG([AUTOCONF], [autoconf])
 
10123
AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
 
10124
AM_MISSING_PROG([AUTOHEADER], [autoheader])
 
10125
AM_MISSING_PROG([MAKEINFO], [makeinfo])
10146
10126
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
10147
10127
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
10148
 
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
 
10128
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
 
10129
# For better backward compatibility.  To be removed once Automake 1.9.x
 
10130
# dies out for good.  For more background, see:
 
10131
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 
10132
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 
10133
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
10149
10134
# We need awk for the "check" target.  The system "awk" is bad on
10150
10135
# some platforms.
10151
10136
AC_REQUIRE([AC_PROG_AWK])dnl
10156
10141
                             [_AM_PROG_TAR([v7])])])
10157
10142
_AM_IF_OPTION([no-dependencies],,
10158
10143
[AC_PROVIDE_IFELSE([AC_PROG_CC],
10159
 
                  [_AM_DEPENDENCIES(CC)],
10160
 
                  [define([AC_PROG_CC],
10161
 
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
10144
                  [_AM_DEPENDENCIES([CC])],
 
10145
                  [m4_define([AC_PROG_CC],
 
10146
                             m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
10162
10147
AC_PROVIDE_IFELSE([AC_PROG_CXX],
10163
 
                  [_AM_DEPENDENCIES(CXX)],
10164
 
                  [define([AC_PROG_CXX],
10165
 
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
10148
                  [_AM_DEPENDENCIES([CXX])],
 
10149
                  [m4_define([AC_PROG_CXX],
 
10150
                             m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
10166
10151
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
10167
 
                  [_AM_DEPENDENCIES(OBJC)],
10168
 
                  [define([AC_PROG_OBJC],
10169
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
10152
                  [_AM_DEPENDENCIES([OBJC])],
 
10153
                  [m4_define([AC_PROG_OBJC],
 
10154
                             m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
 
10155
AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
 
10156
                  [_AM_DEPENDENCIES([OBJCXX])],
 
10157
                  [m4_define([AC_PROG_OBJCXX],
 
10158
                             m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
10170
10159
])
10171
 
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
10172
 
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
10173
 
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
10174
 
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
 
10160
AC_REQUIRE([AM_SILENT_RULES])dnl
 
10161
dnl The testsuite driver may need to know about EXEEXT, so add the
 
10162
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
 
10163
dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
10175
10164
AC_CONFIG_COMMANDS_PRE(dnl
10176
10165
[m4_provide_if([_AM_COMPILER_EXEEXT],
10177
10166
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
10178
10167
])
10179
10168
 
10180
 
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 
10169
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
10181
10170
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
10182
10171
dnl mangled by Autoconf and run in a shell conditional statement.
10183
10172
m4_define([_AC_COMPILER_EXEEXT],
10205
10194
done
10206
10195
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
10207
10196
 
10208
 
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
10209
 
# Inc.
 
10197
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
10210
10198
#
10211
10199
# This file is free software; the Free Software Foundation
10212
10200
# gives unlimited permission to copy and/or distribute it,
10213
10201
# with or without modifications, as long as this notice is preserved.
10214
10202
 
10215
 
# serial 1
10216
 
 
10217
10203
# AM_PROG_INSTALL_SH
10218
10204
# ------------------
10219
10205
# Define $install_sh.
10227
10213
    install_sh="\${SHELL} $am_aux_dir/install-sh"
10228
10214
  esac
10229
10215
fi
10230
 
AC_SUBST(install_sh)])
 
10216
AC_SUBST([install_sh])])
10231
10217
 
10232
 
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
 
10218
# Copyright (C) 2003-2013 Free Software Foundation, Inc.
10233
10219
#
10234
10220
# This file is free software; the Free Software Foundation
10235
10221
# gives unlimited permission to copy and/or distribute it,
10236
10222
# with or without modifications, as long as this notice is preserved.
10237
10223
 
10238
 
# serial 2
10239
 
 
10240
10224
# Check whether the underlying file-system supports filenames
10241
10225
# with a leading dot.  For instance MS-DOS doesn't.
10242
10226
AC_DEFUN([AM_SET_LEADING_DOT],
10253
10237
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
10254
10238
# From Jim Meyering
10255
10239
 
10256
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
10257
 
# 2011 Free Software Foundation, Inc.
 
10240
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
10258
10241
#
10259
10242
# This file is free software; the Free Software Foundation
10260
10243
# gives unlimited permission to copy and/or distribute it,
10261
10244
# with or without modifications, as long as this notice is preserved.
10262
10245
 
10263
 
# serial 5
10264
 
 
10265
10246
# AM_MAINTAINER_MODE([DEFAULT-MODE])
10266
10247
# ----------------------------------
10267
10248
# Control maintainer-specific portions of Makefiles.
10268
 
# Default is to disable them, unless `enable' is passed literally.
10269
 
# For symmetry, `disable' may be passed as well.  Anyway, the user
 
10249
# Default is to disable them, unless 'enable' is passed literally.
 
10250
# For symmetry, 'disable' may be passed as well.  Anyway, the user
10270
10251
# can override the default with the --enable/--disable switch.
10271
10252
AC_DEFUN([AM_MAINTAINER_MODE],
10272
10253
[m4_case(m4_default([$1], [disable]),
10277
10258
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
10278
10259
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
10279
10260
  AC_ARG_ENABLE([maintainer-mode],
10280
 
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
10281
 
                          (and sometimes confusing) to the casual installer],
10282
 
      [USE_MAINTAINER_MODE=$enableval],
10283
 
      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
 
10261
    [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
 
10262
      am_maintainer_other[ make rules and dependencies not useful
 
10263
      (and sometimes confusing) to the casual installer])],
 
10264
    [USE_MAINTAINER_MODE=$enableval],
 
10265
    [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
10284
10266
  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
10285
10267
  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
10286
10268
  MAINT=$MAINTAINER_MODE_TRUE
10288
10270
]
10289
10271
)
10290
10272
 
10291
 
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
10292
 
 
10293
10273
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
10294
10274
 
10295
 
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
 
10275
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
10296
10276
#
10297
10277
# This file is free software; the Free Software Foundation
10298
10278
# gives unlimited permission to copy and/or distribute it,
10299
10279
# with or without modifications, as long as this notice is preserved.
10300
10280
 
10301
 
# serial 4
10302
 
 
10303
10281
# AM_MAKE_INCLUDE()
10304
10282
# -----------------
10305
10283
# Check to see how make treats includes.
10317
10295
_am_result=none
10318
10296
# First try GNU make style include.
10319
10297
echo "include confinc" > confmf
10320
 
# Ignore all kinds of additional output from `make'.
 
10298
# Ignore all kinds of additional output from 'make'.
10321
10299
case `$am_make -s -f confmf 2> /dev/null` in #(
10322
10300
*the\ am__doit\ target*)
10323
10301
  am__include=include
10344
10322
 
10345
10323
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
10346
10324
 
10347
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
10348
 
# Free Software Foundation, Inc.
 
10325
# Copyright (C) 1997-2013 Free Software Foundation, Inc.
10349
10326
#
10350
10327
# This file is free software; the Free Software Foundation
10351
10328
# gives unlimited permission to copy and/or distribute it,
10352
10329
# with or without modifications, as long as this notice is preserved.
10353
10330
 
10354
 
# serial 6
10355
 
 
10356
10331
# AM_MISSING_PROG(NAME, PROGRAM)
10357
10332
# ------------------------------
10358
10333
AC_DEFUN([AM_MISSING_PROG],
10360
10335
$1=${$1-"${am_missing_run}$2"}
10361
10336
AC_SUBST($1)])
10362
10337
 
10363
 
 
10364
10338
# AM_MISSING_HAS_RUN
10365
10339
# ------------------
10366
 
# Define MISSING if not defined so far and test if it supports --run.
10367
 
# If it does, set am_missing_run to use it, otherwise, to nothing.
 
10340
# Define MISSING if not defined so far and test if it is modern enough.
 
10341
# If it is, set am_missing_run to use it, otherwise, to nothing.
10368
10342
AC_DEFUN([AM_MISSING_HAS_RUN],
10369
10343
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
10370
10344
AC_REQUIRE_AUX_FILE([missing])dnl
10377
10351
  esac
10378
10352
fi
10379
10353
# Use eval to expand $SHELL
10380
 
if eval "$MISSING --run true"; then
10381
 
  am_missing_run="$MISSING --run "
 
10354
if eval "$MISSING --is-lightweight"; then
 
10355
  am_missing_run="$MISSING "
10382
10356
else
10383
10357
  am_missing_run=
10384
 
  AC_MSG_WARN([`missing' script is too old or missing])
 
10358
  AC_MSG_WARN(['missing' script is too old or missing])
10385
10359
fi
10386
10360
])
10387
10361
 
10388
 
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
10389
 
# Inc.
 
10362
#  -*- Autoconf -*-
 
10363
# Obsolete and "removed" macros, that must however still report explicit
 
10364
# error messages when used, to smooth transition.
 
10365
#
 
10366
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
10390
10367
#
10391
10368
# This file is free software; the Free Software Foundation
10392
10369
# gives unlimited permission to copy and/or distribute it,
10393
10370
# with or without modifications, as long as this notice is preserved.
10394
10371
 
10395
 
# serial 1
10396
 
 
10397
 
# AM_PROG_MKDIR_P
10398
 
# ---------------
10399
 
# Check for `mkdir -p'.
10400
 
AC_DEFUN([AM_PROG_MKDIR_P],
10401
 
[AC_PREREQ([2.60])dnl
10402
 
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
10403
 
dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
10404
 
dnl while keeping a definition of mkdir_p for backward compatibility.
10405
 
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
10406
 
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
10407
 
dnl Makefile.ins that do not define MKDIR_P, so we do our own
10408
 
dnl adjustment using top_builddir (which is defined more often than
10409
 
dnl MKDIR_P).
10410
 
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
10411
 
case $mkdir_p in
10412
 
  [[\\/$]]* | ?:[[\\/]]*) ;;
10413
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
10414
 
esac
10415
 
])
 
10372
AC_DEFUN([AM_CONFIG_HEADER],
 
10373
[AC_DIAGNOSE([obsolete],
 
10374
['$0': this macro is obsolete.
 
10375
You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl
 
10376
AC_CONFIG_HEADERS($@)])
 
10377
 
 
10378
AC_DEFUN([AM_PROG_CC_STDC],
 
10379
[AC_PROG_CC
 
10380
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
 
10381
AC_DIAGNOSE([obsolete],
 
10382
['$0': this macro is obsolete.
 
10383
You should simply use the 'AC][_PROG_CC' macro instead.
 
10384
Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
 
10385
but upon 'ac_cv_prog_cc_stdc'.])])
 
10386
 
 
10387
AC_DEFUN([AM_C_PROTOTYPES],
 
10388
         [AC_FATAL([automatic de-ANSI-fication support has been removed])])
 
10389
AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
10416
10390
 
10417
10391
# Helper functions for option handling.                     -*- Autoconf -*-
10418
10392
 
10419
 
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
10420
 
# Foundation, Inc.
 
10393
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
10421
10394
#
10422
10395
# This file is free software; the Free Software Foundation
10423
10396
# gives unlimited permission to copy and/or distribute it,
10424
10397
# with or without modifications, as long as this notice is preserved.
10425
10398
 
10426
 
# serial 5
10427
 
 
10428
10399
# _AM_MANGLE_OPTION(NAME)
10429
10400
# -----------------------
10430
10401
AC_DEFUN([_AM_MANGLE_OPTION],
10434
10405
# --------------------
10435
10406
# Set option NAME.  Presently that only means defining a flag for this option.
10436
10407
AC_DEFUN([_AM_SET_OPTION],
10437
 
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
 
10408
[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
10438
10409
 
10439
10410
# _AM_SET_OPTIONS(OPTIONS)
10440
10411
# ------------------------
10448
10419
AC_DEFUN([_AM_IF_OPTION],
10449
10420
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
10450
10421
 
10451
 
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 
10422
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
10452
10423
#
10453
10424
# This file is free software; the Free Software Foundation
10454
10425
# gives unlimited permission to copy and/or distribute it,
10455
10426
# with or without modifications, as long as this notice is preserved.
10456
10427
 
10457
 
# serial 1
10458
 
 
10459
10428
# AM_RUN_LOG(COMMAND)
10460
10429
# -------------------
10461
10430
# Run COMMAND, save the exit status in ac_status, and log it.
10469
10438
 
10470
10439
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
10471
10440
 
10472
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
10473
 
# Free Software Foundation, Inc.
 
10441
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
10474
10442
#
10475
10443
# This file is free software; the Free Software Foundation
10476
10444
# gives unlimited permission to copy and/or distribute it,
10477
10445
# with or without modifications, as long as this notice is preserved.
10478
10446
 
10479
 
# serial 5
10480
 
 
10481
10447
# AM_SANITY_CHECK
10482
10448
# ---------------
10483
10449
AC_DEFUN([AM_SANITY_CHECK],
10484
10450
[AC_MSG_CHECKING([whether build environment is sane])
10485
 
# Just in case
10486
 
sleep 1
10487
 
echo timestamp > conftest.file
10488
10451
# Reject unsafe characters in $srcdir or the absolute working directory
10489
10452
# name.  Accept space and tab only in the latter.
10490
10453
am_lf='
10495
10458
esac
10496
10459
case $srcdir in
10497
10460
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
10498
 
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
10461
    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
10499
10462
esac
10500
10463
 
10501
 
# Do `set' in a subshell so we don't clobber the current shell's
 
10464
# Do 'set' in a subshell so we don't clobber the current shell's
10502
10465
# arguments.  Must try -L first in case configure is actually a
10503
10466
# symlink; some systems play weird games with the mod time of symlinks
10504
10467
# (eg FreeBSD returns the mod time of the symlink's containing
10505
10468
# directory).
10506
10469
if (
10507
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
10508
 
   if test "$[*]" = "X"; then
10509
 
      # -L didn't work.
10510
 
      set X `ls -t "$srcdir/configure" conftest.file`
10511
 
   fi
10512
 
   rm -f conftest.file
10513
 
   if test "$[*]" != "X $srcdir/configure conftest.file" \
10514
 
      && test "$[*]" != "X conftest.file $srcdir/configure"; then
10515
 
 
10516
 
      # If neither matched, then we have a broken ls.  This can happen
10517
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
10518
 
      # broken ls alias from the environment.  This has actually
10519
 
      # happened.  Such a system could not be considered "sane".
10520
 
      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
10521
 
alias in your environment])
10522
 
   fi
10523
 
 
 
10470
   am_has_slept=no
 
10471
   for am_try in 1 2; do
 
10472
     echo "timestamp, slept: $am_has_slept" > conftest.file
 
10473
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
10474
     if test "$[*]" = "X"; then
 
10475
        # -L didn't work.
 
10476
        set X `ls -t "$srcdir/configure" conftest.file`
 
10477
     fi
 
10478
     if test "$[*]" != "X $srcdir/configure conftest.file" \
 
10479
        && test "$[*]" != "X conftest.file $srcdir/configure"; then
 
10480
 
 
10481
        # If neither matched, then we have a broken ls.  This can happen
 
10482
        # if, for instance, CONFIG_SHELL is bash and it inherits a
 
10483
        # broken ls alias from the environment.  This has actually
 
10484
        # happened.  Such a system could not be considered "sane".
 
10485
        AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
 
10486
  alias in your environment])
 
10487
     fi
 
10488
     if test "$[2]" = conftest.file || test $am_try -eq 2; then
 
10489
       break
 
10490
     fi
 
10491
     # Just in case.
 
10492
     sleep 1
 
10493
     am_has_slept=yes
 
10494
   done
10524
10495
   test "$[2]" = conftest.file
10525
10496
   )
10526
10497
then
10530
10501
   AC_MSG_ERROR([newly created file is older than distributed files!
10531
10502
Check your system clock])
10532
10503
fi
10533
 
AC_MSG_RESULT(yes)])
10534
 
 
10535
 
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
10536
 
#
10537
 
# This file is free software; the Free Software Foundation
10538
 
# gives unlimited permission to copy and/or distribute it,
10539
 
# with or without modifications, as long as this notice is preserved.
10540
 
 
10541
 
# serial 1
 
10504
AC_MSG_RESULT([yes])
 
10505
# If we didn't sleep, we still need to ensure time stamps of config.status and
 
10506
# generated files are strictly newer.
 
10507
am_sleep_pid=
 
10508
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 
10509
  ( sleep 1 ) &
 
10510
  am_sleep_pid=$!
 
10511
fi
 
10512
AC_CONFIG_COMMANDS_PRE(
 
10513
  [AC_MSG_CHECKING([that generated files are newer than configure])
 
10514
   if test -n "$am_sleep_pid"; then
 
10515
     # Hide warnings about reused PIDs.
 
10516
     wait $am_sleep_pid 2>/dev/null
 
10517
   fi
 
10518
   AC_MSG_RESULT([done])])
 
10519
rm -f conftest.file
 
10520
])
 
10521
 
 
10522
# Copyright (C) 2009-2013 Free Software Foundation, Inc.
 
10523
#
 
10524
# This file is free software; the Free Software Foundation
 
10525
# gives unlimited permission to copy and/or distribute it,
 
10526
# with or without modifications, as long as this notice is preserved.
 
10527
 
 
10528
# AM_SILENT_RULES([DEFAULT])
 
10529
# --------------------------
 
10530
# Enable less verbose build rules; with the default set to DEFAULT
 
10531
# ("yes" being less verbose, "no" or empty being verbose).
 
10532
AC_DEFUN([AM_SILENT_RULES],
 
10533
[AC_ARG_ENABLE([silent-rules], [dnl
 
10534
AS_HELP_STRING(
 
10535
  [--enable-silent-rules],
 
10536
  [less verbose build output (undo: "make V=1")])
 
10537
AS_HELP_STRING(
 
10538
  [--disable-silent-rules],
 
10539
  [verbose build output (undo: "make V=0")])dnl
 
10540
])
 
10541
case $enable_silent_rules in @%:@ (((
 
10542
  yes) AM_DEFAULT_VERBOSITY=0;;
 
10543
   no) AM_DEFAULT_VERBOSITY=1;;
 
10544
    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
 
10545
esac
 
10546
dnl
 
10547
dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
 
10548
dnl do not support nested variable expansions.
 
10549
dnl See automake bug#9928 and bug#10237.
 
10550
am_make=${MAKE-make}
 
10551
AC_CACHE_CHECK([whether $am_make supports nested variables],
 
10552
   [am_cv_make_support_nested_variables],
 
10553
   [if AS_ECHO([['TRUE=$(BAR$(V))
 
10554
BAR0=false
 
10555
BAR1=true
 
10556
V=1
 
10557
am__doit:
 
10558
        @$(TRUE)
 
10559
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
 
10560
  am_cv_make_support_nested_variables=yes
 
10561
else
 
10562
  am_cv_make_support_nested_variables=no
 
10563
fi])
 
10564
if test $am_cv_make_support_nested_variables = yes; then
 
10565
  dnl Using '$V' instead of '$(V)' breaks IRIX make.
 
10566
  AM_V='$(V)'
 
10567
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
10568
else
 
10569
  AM_V=$AM_DEFAULT_VERBOSITY
 
10570
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
10571
fi
 
10572
AC_SUBST([AM_V])dnl
 
10573
AM_SUBST_NOTMAKE([AM_V])dnl
 
10574
AC_SUBST([AM_DEFAULT_V])dnl
 
10575
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
 
10576
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
 
10577
AM_BACKSLASH='\'
 
10578
AC_SUBST([AM_BACKSLASH])dnl
 
10579
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
 
10580
])
 
10581
 
 
10582
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
 
10583
#
 
10584
# This file is free software; the Free Software Foundation
 
10585
# gives unlimited permission to copy and/or distribute it,
 
10586
# with or without modifications, as long as this notice is preserved.
10542
10587
 
10543
10588
# AM_PROG_INSTALL_STRIP
10544
10589
# ---------------------
10545
 
# One issue with vendor `install' (even GNU) is that you can't
 
10590
# One issue with vendor 'install' (even GNU) is that you can't
10546
10591
# specify the program used to strip binaries.  This is especially
10547
10592
# annoying in cross-compiling environments, where the build's strip
10548
10593
# is unlikely to handle the host's binaries.
10549
10594
# Fortunately install-sh will honor a STRIPPROG variable, so we
10550
 
# always use install-sh in `make install-strip', and initialize
 
10595
# always use install-sh in "make install-strip", and initialize
10551
10596
# STRIPPROG with the value of the STRIP variable (set by the user).
10552
10597
AC_DEFUN([AM_PROG_INSTALL_STRIP],
10553
10598
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
10554
 
# Installed binaries are usually stripped using `strip' when the user
10555
 
# run `make install-strip'.  However `strip' might not be the right
 
10599
# Installed binaries are usually stripped using 'strip' when the user
 
10600
# run "make install-strip".  However 'strip' might not be the right
10556
10601
# tool to use in cross-compilation environments, therefore Automake
10557
 
# will honor the `STRIP' environment variable to overrule this program.
10558
 
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
 
10602
# will honor the 'STRIP' environment variable to overrule this program.
 
10603
dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
10559
10604
if test "$cross_compiling" != no; then
10560
10605
  AC_CHECK_TOOL([STRIP], [strip], :)
10561
10606
fi
10562
10607
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
10563
10608
AC_SUBST([INSTALL_STRIP_PROGRAM])])
10564
10609
 
10565
 
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
 
10610
# Copyright (C) 2006-2013 Free Software Foundation, Inc.
10566
10611
#
10567
10612
# This file is free software; the Free Software Foundation
10568
10613
# gives unlimited permission to copy and/or distribute it,
10569
10614
# with or without modifications, as long as this notice is preserved.
10570
10615
 
10571
 
# serial 3
10572
 
 
10573
10616
# _AM_SUBST_NOTMAKE(VARIABLE)
10574
10617
# ---------------------------
10575
10618
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
10583
10626
 
10584
10627
# Check how to create a tarball.                            -*- Autoconf -*-
10585
10628
 
10586
 
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
 
10629
# Copyright (C) 2004-2013 Free Software Foundation, Inc.
10587
10630
#
10588
10631
# This file is free software; the Free Software Foundation
10589
10632
# gives unlimited permission to copy and/or distribute it,
10590
10633
# with or without modifications, as long as this notice is preserved.
10591
10634
 
10592
 
# serial 2
10593
 
 
10594
10635
# _AM_PROG_TAR(FORMAT)
10595
10636
# --------------------
10596
10637
# Check how to create a tarball in format FORMAT.
10597
 
# FORMAT should be one of `v7', `ustar', or `pax'.
 
10638
# FORMAT should be one of 'v7', 'ustar', or 'pax'.
10598
10639
#
10599
10640
# Substitute a variable $(am__tar) that is a command
10600
10641
# writing to stdout a FORMAT-tarball containing the directory
10604
10645
# Substitute a variable $(am__untar) that extract such
10605
10646
# a tarball read from stdin.
10606
10647
#     $(am__untar) < result.tar
 
10648
#
10607
10649
AC_DEFUN([_AM_PROG_TAR],
10608
10650
[# Always define AMTAR for backward compatibility.  Yes, it's still used
10609
10651
# in the wild :-(  We should find a proper way to deprecate it ...
10610
10652
AC_SUBST([AMTAR], ['$${TAR-tar}'])
 
10653
 
 
10654
# We'll loop over all known methods to create a tar archive until one works.
 
10655
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
 
10656
 
10611
10657
m4_if([$1], [v7],
10612
 
     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
10613
 
     [m4_case([$1], [ustar],, [pax],,
10614
 
              [m4_fatal([Unknown tar format])])
10615
 
AC_MSG_CHECKING([how to create a $1 tar archive])
10616
 
# Loop over all known methods to create a tar archive until one works.
10617
 
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
10618
 
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
10619
 
# Do not fold the above two line into one, because Tru64 sh and
10620
 
# Solaris sh will not grok spaces in the rhs of `-'.
10621
 
for _am_tool in $_am_tools
10622
 
do
10623
 
  case $_am_tool in
10624
 
  gnutar)
10625
 
    for _am_tar in tar gnutar gtar;
10626
 
    do
10627
 
      AM_RUN_LOG([$_am_tar --version]) && break
10628
 
    done
10629
 
    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
10630
 
    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
10631
 
    am__untar="$_am_tar -xf -"
10632
 
    ;;
10633
 
  plaintar)
10634
 
    # Must skip GNU tar: if it does not support --format= it doesn't create
10635
 
    # ustar tarball either.
10636
 
    (tar --version) >/dev/null 2>&1 && continue
10637
 
    am__tar='tar chf - "$$tardir"'
10638
 
    am__tar_='tar chf - "$tardir"'
10639
 
    am__untar='tar xf -'
10640
 
    ;;
10641
 
  pax)
10642
 
    am__tar='pax -L -x $1 -w "$$tardir"'
10643
 
    am__tar_='pax -L -x $1 -w "$tardir"'
10644
 
    am__untar='pax -r'
10645
 
    ;;
10646
 
  cpio)
10647
 
    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
10648
 
    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
10649
 
    am__untar='cpio -i -H $1 -d'
10650
 
    ;;
10651
 
  none)
10652
 
    am__tar=false
10653
 
    am__tar_=false
10654
 
    am__untar=false
10655
 
    ;;
10656
 
  esac
10657
 
 
10658
 
  # If the value was cached, stop now.  We just wanted to have am__tar
10659
 
  # and am__untar set.
10660
 
  test -n "${am_cv_prog_tar_$1}" && break
10661
 
 
10662
 
  # tar/untar a dummy directory, and stop if the command works
10663
 
  rm -rf conftest.dir
10664
 
  mkdir conftest.dir
10665
 
  echo GrepMe > conftest.dir/file
10666
 
  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
10667
 
  rm -rf conftest.dir
10668
 
  if test -s conftest.tar; then
10669
 
    AM_RUN_LOG([$am__untar <conftest.tar])
10670
 
    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
10671
 
  fi
10672
 
done
10673
 
rm -rf conftest.dir
10674
 
 
10675
 
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
10676
 
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
 
10658
  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
 
10659
 
 
10660
  [m4_case([$1],
 
10661
    [ustar],
 
10662
     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
 
10663
      # There is notably a 21 bits limit for the UID and the GID.  In fact,
 
10664
      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
 
10665
      # and bug#13588).
 
10666
      am_max_uid=2097151 # 2^21 - 1
 
10667
      am_max_gid=$am_max_uid
 
10668
      # The $UID and $GID variables are not portable, so we need to resort
 
10669
      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
 
10670
      # below are definitely unexpected, so allow the users to see them
 
10671
      # (that is, avoid stderr redirection).
 
10672
      am_uid=`id -u || echo unknown`
 
10673
      am_gid=`id -g || echo unknown`
 
10674
      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
 
10675
      if test $am_uid -le $am_max_uid; then
 
10676
         AC_MSG_RESULT([yes])
 
10677
      else
 
10678
         AC_MSG_RESULT([no])
 
10679
         _am_tools=none
 
10680
      fi
 
10681
      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
 
10682
      if test $am_gid -le $am_max_gid; then
 
10683
         AC_MSG_RESULT([yes])
 
10684
      else
 
10685
        AC_MSG_RESULT([no])
 
10686
        _am_tools=none
 
10687
      fi],
 
10688
 
 
10689
  [pax],
 
10690
    [],
 
10691
 
 
10692
  [m4_fatal([Unknown tar format])])
 
10693
 
 
10694
  AC_MSG_CHECKING([how to create a $1 tar archive])
 
10695
 
 
10696
  # Go ahead even if we have the value already cached.  We do so because we
 
10697
  # need to set the values for the 'am__tar' and 'am__untar' variables.
 
10698
  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
 
10699
 
 
10700
  for _am_tool in $_am_tools; do
 
10701
    case $_am_tool in
 
10702
    gnutar)
 
10703
      for _am_tar in tar gnutar gtar; do
 
10704
        AM_RUN_LOG([$_am_tar --version]) && break
 
10705
      done
 
10706
      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
 
10707
      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
 
10708
      am__untar="$_am_tar -xf -"
 
10709
      ;;
 
10710
    plaintar)
 
10711
      # Must skip GNU tar: if it does not support --format= it doesn't create
 
10712
      # ustar tarball either.
 
10713
      (tar --version) >/dev/null 2>&1 && continue
 
10714
      am__tar='tar chf - "$$tardir"'
 
10715
      am__tar_='tar chf - "$tardir"'
 
10716
      am__untar='tar xf -'
 
10717
      ;;
 
10718
    pax)
 
10719
      am__tar='pax -L -x $1 -w "$$tardir"'
 
10720
      am__tar_='pax -L -x $1 -w "$tardir"'
 
10721
      am__untar='pax -r'
 
10722
      ;;
 
10723
    cpio)
 
10724
      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
 
10725
      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
 
10726
      am__untar='cpio -i -H $1 -d'
 
10727
      ;;
 
10728
    none)
 
10729
      am__tar=false
 
10730
      am__tar_=false
 
10731
      am__untar=false
 
10732
      ;;
 
10733
    esac
 
10734
 
 
10735
    # If the value was cached, stop now.  We just wanted to have am__tar
 
10736
    # and am__untar set.
 
10737
    test -n "${am_cv_prog_tar_$1}" && break
 
10738
 
 
10739
    # tar/untar a dummy directory, and stop if the command works.
 
10740
    rm -rf conftest.dir
 
10741
    mkdir conftest.dir
 
10742
    echo GrepMe > conftest.dir/file
 
10743
    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
 
10744
    rm -rf conftest.dir
 
10745
    if test -s conftest.tar; then
 
10746
      AM_RUN_LOG([$am__untar <conftest.tar])
 
10747
      AM_RUN_LOG([cat conftest.dir/file])
 
10748
      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
 
10749
    fi
 
10750
  done
 
10751
  rm -rf conftest.dir
 
10752
 
 
10753
  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
 
10754
  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
 
10755
 
10677
10756
AC_SUBST([am__tar])
10678
10757
AC_SUBST([am__untar])
10679
10758
]) # _AM_PROG_TAR