12
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
12
# PARTICULAR PURPOSE.
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'.])])
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
9661
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
9661
# Copyright (C) 2002-2013 Free Software Foundation, Inc.
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.
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
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]))])
9700
9697
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
9702
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
9699
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
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.
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/../..'.
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
9755
9750
# AM_CONDITIONAL -*- Autoconf -*-
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.
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.
9766
9758
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
9767
9759
# -------------------------------------
9768
9760
# Define a conditional.
9769
9761
AC_DEFUN([AM_CONDITIONAL],
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.]])
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.
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.
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
9820
9810
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
9821
9811
AC_REQUIRE([AM_DEP_TRACK])dnl
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=])
9830
9821
AC_CACHE_CHECK([dependency style of $depcc],
9831
9822
[am_cv_$1_dependencies_compiler_type],
9977
9972
# Generate code to set up dependency tracking. -*- Autoconf -*-
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.
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.
9988
9981
# _AM_OUTPUT_DEPENDENCY_COMMANDS
9989
9982
# ------------------------------
9990
9983
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
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
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
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"])`
10054
10045
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
10057
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
10058
# Free Software Foundation, Inc.
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.
10066
# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
10067
AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
10069
10048
# Do all the work for Automake. -*- Autoconf -*-
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.
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.
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.
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,,
10108
m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [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
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
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
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
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],
10253
10237
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
10254
10238
# From Jim Meyering
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.
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.
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
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 "
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])
10388
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
10363
# Obsolete and "removed" macros, that must however still report explicit
10364
# error messages when used, to smooth transition.
10366
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
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.
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
10410
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
10412
[[\\/$]]* | ?:[[\\/]]*) ;;
10413
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
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($@)])
10378
AC_DEFUN([AM_PROG_CC_STDC],
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'.])])
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])
10417
10391
# Helper functions for option handling. -*- Autoconf -*-
10419
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
10393
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
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.
10428
10399
# _AM_MANGLE_OPTION(NAME)
10429
10400
# -----------------------
10430
10401
AC_DEFUN([_AM_MANGLE_OPTION],
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']);;
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).
10507
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
10508
if test "$[*]" = "X"; then
10510
set X `ls -t "$srcdir/configure" conftest.file`
10512
rm -f conftest.file
10513
if test "$[*]" != "X $srcdir/configure conftest.file" \
10514
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
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])
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
10476
set X `ls -t "$srcdir/configure" conftest.file`
10478
if test "$[*]" != "X $srcdir/configure conftest.file" \
10479
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
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])
10488
if test "$[2]" = conftest.file || test $am_try -eq 2; then
10524
10495
test "$[2]" = conftest.file
10530
10501
AC_MSG_ERROR([newly created file is older than distributed files!
10531
10502
Check your system clock])
10533
AC_MSG_RESULT(yes)])
10535
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
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.
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.
10508
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
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
10518
AC_MSG_RESULT([done])])
10519
rm -f conftest.file
10522
# Copyright (C) 2009-2013 Free Software Foundation, Inc.
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.
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
10535
[--enable-silent-rules],
10536
[less verbose build output (undo: "make V=1")])
10538
[--disable-silent-rules],
10539
[verbose build output (undo: "make V=0")])dnl
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]);;
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))
10559
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
10560
am_cv_make_support_nested_variables=yes
10562
am_cv_make_support_nested_variables=no
10564
if test $am_cv_make_support_nested_variables = yes; then
10565
dnl Using '$V' instead of '$(V)' breaks IRIX make.
10567
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
10569
AM_V=$AM_DEFAULT_VERBOSITY
10570
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
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
10578
AC_SUBST([AM_BACKSLASH])dnl
10579
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
10582
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
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.
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], :)
10562
10607
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
10563
10608
AC_SUBST([INSTALL_STRIP_PROGRAM])])
10565
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
10610
# Copyright (C) 2006-2013 Free Software Foundation, Inc.
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.
10573
10616
# _AM_SUBST_NOTMAKE(VARIABLE)
10574
10617
# ---------------------------
10575
10618
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
10604
10645
# Substitute a variable $(am__untar) that extract such
10605
10646
# a tarball read from stdin.
10606
10647
# $(am__untar) < result.tar
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}'])
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'
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
10625
for _am_tar in tar gnutar gtar;
10627
AM_RUN_LOG([$_am_tar --version]) && break
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 -"
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 -'
10642
am__tar='pax -L -x $1 -w "$$tardir"'
10643
am__tar_='pax -L -x $1 -w "$tardir"'
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'
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
10662
# tar/untar a dummy directory, and stop if the command works
10663
rm -rf 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
10673
rm -rf conftest.dir
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 -'],
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
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])
10678
AC_MSG_RESULT([no])
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])
10685
AC_MSG_RESULT([no])
10692
[m4_fatal([Unknown tar format])])
10694
AC_MSG_CHECKING([how to create a $1 tar archive])
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}
10700
for _am_tool in $_am_tools; do
10703
for _am_tar in tar gnutar gtar; do
10704
AM_RUN_LOG([$_am_tar --version]) && break
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 -"
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 -'
10719
am__tar='pax -L -x $1 -w "$$tardir"'
10720
am__tar_='pax -L -x $1 -w "$tardir"'
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'
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
10739
# tar/untar a dummy directory, and stop if the command works.
10740
rm -rf 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
10751
rm -rf conftest.dir
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])])
10677
10756
AC_SUBST([am__tar])
10678
10757
AC_SUBST([am__untar])
10679
10758
]) # _AM_PROG_TAR