1
# generated automatically by aclocal 1.11.4 -*- Autoconf -*-
1
# generated automatically by aclocal 1.12 -*- Autoconf -*-
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
4
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
15
15
m4_ifndef([AC_AUTOCONF_VERSION],
16
16
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
18
[m4_warning([this file was generated for autoconf 2.68.
17
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
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
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
23
# Copyright (C) 2002-2012 Free Software Foundation, Inc.
26
25
# This file is free software; the Free Software Foundation
27
26
# gives unlimited permission to copy and/or distribute it,
28
27
# with or without modifications, as long as this notice is preserved.
32
31
# AM_AUTOMAKE_VERSION(VERSION)
33
32
# ----------------------------
35
34
# generated from the m4 files accompanying Automake X.Y.
36
35
# (This private macro should not be called outside this file.)
37
36
AC_DEFUN([AM_AUTOMAKE_VERSION],
38
[am__api_version='1.11'
37
[am__api_version='1.12'
39
38
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
40
39
dnl require some minimum version. Point them to the right macro.
41
m4_if([$1], [1.11.4], [],
40
m4_if([$1], [1.12], [],
42
41
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
54
53
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
55
54
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
56
55
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
57
[AM_AUTOMAKE_VERSION([1.11.4])dnl
56
[AM_AUTOMAKE_VERSION([1.12])dnl
58
57
m4_ifndef([AC_AUTOCONF_VERSION],
59
58
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
60
59
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
62
61
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
64
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
63
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
66
65
# This file is free software; the Free Software Foundation
67
66
# gives unlimited permission to copy and/or distribute it,
68
67
# with or without modifications, as long as this notice is preserved.
72
71
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
73
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
74
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
72
# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
73
# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
76
75
# Of course, Automake must honor this variable whenever it calls a
77
76
# tool from the auxiliary directory. The problem is that $srcdir (and
91
90
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
92
91
# are both prefixed by $srcdir. In an in-source build this is usually
93
# harmless because $srcdir is `.', but things will broke when you
92
# harmless because $srcdir is '.', but things will broke when you
94
93
# start a VPATH build or use an absolute $srcdir.
96
95
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
117
116
# AM_CONDITIONAL -*- Autoconf -*-
119
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
120
# Free Software Foundation, Inc.
118
# Copyright (C) 1997-2012 Free Software Foundation, Inc.
122
120
# This file is free software; the Free Software Foundation
123
121
# gives unlimited permission to copy and/or distribute it,
124
122
# with or without modifications, as long as this notice is preserved.
128
126
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
129
127
# -------------------------------------
130
128
# Define a conditional.
131
129
AC_DEFUN([AM_CONDITIONAL],
133
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
134
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
130
[AC_PREREQ([2.52])dnl
131
m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
132
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
135
133
AC_SUBST([$1_TRUE])dnl
136
134
AC_SUBST([$1_FALSE])dnl
137
135
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
150
148
Usually this means the macro was only invoked conditionally.]])
153
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
154
# 2010, 2011 Free Software Foundation, Inc.
151
# Copyright (C) 1999-2012 Free Software Foundation, Inc.
156
153
# This file is free software; the Free Software Foundation
157
154
# gives unlimited permission to copy and/or distribute it,
158
155
# with or without modifications, as long as this notice is preserved.
162
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
159
# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
163
160
# written in clear, in which case automake, when reading aclocal.m4,
164
161
# will think it sees a *use*, and therefore will trigger all it's
165
162
# C support machinery. Also note that it means that autoscan, seeing
182
179
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
183
180
AC_REQUIRE([AM_DEP_TRACK])dnl
185
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
186
[$1], CXX, [depcc="$CXX" am_compiler_list=],
187
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
188
[$1], UPC, [depcc="$UPC" am_compiler_list=],
189
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
190
[depcc="$$1" am_compiler_list=])
182
m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
183
[$1], [CXX], [depcc="$CXX" am_compiler_list=],
184
[$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
185
[$1], [UPC], [depcc="$UPC" am_compiler_list=],
186
[$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
187
[depcc="$$1" am_compiler_list=])
192
189
AC_CACHE_CHECK([dependency style of $depcc],
193
190
[am_cv_$1_dependencies_compiler_type],
236
233
: > sub/conftest.c
237
234
for i in 1 2 3 4 5 6; do
238
235
echo '#include "conftst'$i'.h"' >> sub/conftest.c
239
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
240
# Solaris 8's {/usr,}/bin/sh.
241
touch sub/conftst$i.h
236
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
237
# Solaris 10 /bin/sh.
238
echo '/* dummy */' > sub/conftst$i.h
243
240
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
245
# We check with `-c' and `-o' for the sake of the "dashmstdout"
242
# We check with '-c' and '-o' for the sake of the "dashmstdout"
246
243
# mode. It turns out that the SunPro C++ compiler does not properly
247
# handle `-M -o', and we need to detect this. Also, some Intel
248
# versions had trouble with output in subdirs
244
# handle '-M -o', and we need to detect this. Also, some Intel
245
# versions had trouble with output in subdirs.
249
246
am__obj=sub/conftest.${OBJEXT-o}
250
247
am__minus_obj="-o $am__obj"
254
251
test "$am__universal" = false || continue
257
# after this tag, mechanisms are not by side-effect, so they'll
258
# only be used when explicitly requested
254
# After this tag, mechanisms are not by side-effect, so they'll
255
# only be used when explicitly requested.
259
256
if test "x$enable_dependency_tracking" = xyes; then
265
262
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
266
# This compiler won't grok `-c -o', but also, the minuso test has
263
# This compiler won't grok '-c -o', but also, the minuso test has
267
264
# not run yet. These depmodes are late enough in the game, and
268
265
# so weak that their functioning should not be impacted.
269
266
am__obj=conftest.${OBJEXT-o}
323
320
AC_DEFUN([AM_DEP_TRACK],
324
[AC_ARG_ENABLE(dependency-tracking,
325
[ --disable-dependency-tracking speeds up one-time build
326
--enable-dependency-tracking do not reject slow dependency extractors])
321
[AC_ARG_ENABLE([dependency-tracking], [dnl
323
[--enable-dependency-tracking],
324
[do not reject slow dependency extractors])
326
[--disable-dependency-tracking],
327
[speeds up one-time build])])
327
328
if test "x$enable_dependency_tracking" != xno; then
328
329
am_depcomp="$ac_aux_dir/depcomp"
329
330
AMDEPBACKSLASH='\'
339
340
# Generate code to set up dependency tracking. -*- Autoconf -*-
341
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
342
# Free Software Foundation, Inc.
342
# Copyright (C) 1999-2012 Free Software Foundation, Inc.
344
344
# This file is free software; the Free Software Foundation
345
345
# gives unlimited permission to copy and/or distribute it,
346
346
# with or without modifications, as long as this notice is preserved.
350
350
# _AM_OUTPUT_DEPENDENCY_COMMANDS
351
351
# ------------------------------
364
364
# Strip MF so we end up with the name of the file.
365
365
mf=`echo "$mf" | sed -e 's/:.*$//'`
366
366
# Check whether this is an Automake generated Makefile or not.
367
# We used to match only the files named `Makefile.in', but
367
# We used to match only the files named 'Makefile.in', but
368
368
# some people rename them; so instead we look at the file content.
369
369
# Grep'ing the first line is not enough: some people post-process
370
370
# each Makefile.in and add a new line on top of each file to say so.
378
378
# Extract the definition of DEPDIR, am__include, and am__quote
379
# from the Makefile without running `make'.
379
# from the Makefile without running 'make'.
380
380
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
381
381
test -z "$DEPDIR" && continue
382
382
am__include=`sed -n 's/^am__include = //p' < "$mf"`
383
383
test -z "am__include" && continue
384
384
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"`
387
385
# Find all dependency output files, they are included files with
388
386
# $(DEPDIR) in their names. We invoke sed twice because it is the
389
387
# simplest approach to changing $(DEPDIR) to its actual value in the
391
389
for file in `sed -n "
392
390
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
393
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
391
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
394
392
# Make sure the directory exists.
395
393
test -f "$dirpart/$file" && continue
396
394
fdir=`AS_DIRNAME(["$file"])`
408
406
# This macro should only be invoked once -- use via AC_REQUIRE.
410
408
# This code is only required when automatic dependency tracking
411
# is enabled. FIXME. This creates each `.P' file that we will
409
# is enabled. FIXME. This creates each '.P' file that we will
412
410
# need in order to bootstrap the dependency handling code.
413
411
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
414
412
[AC_CONFIG_COMMANDS([depfiles],
419
417
# Do all the work for Automake. -*- Autoconf -*-
421
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
422
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
419
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
424
421
# This file is free software; the Free Software Foundation
425
422
# gives unlimited permission to copy and/or distribute it,
426
423
# with or without modifications, as long as this notice is preserved.
430
427
# This macro actually does too much. Some checks are only needed if
431
428
# your package does certain things. But this isn't really a big deal.
476
473
AC_SUBST([VERSION], [$2])],
477
474
[_AM_SET_OPTIONS([$1])dnl
478
475
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
479
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
477
m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
480
479
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
481
480
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
482
481
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
484
483
_AM_IF_OPTION([no-define],,
485
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
486
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
484
[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
485
AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
488
487
# Some tools Automake needs.
489
488
AC_REQUIRE([AM_SANITY_CHECK])dnl
490
489
AC_REQUIRE([AC_ARG_PROGRAM])dnl
491
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
492
AM_MISSING_PROG(AUTOCONF, autoconf)
493
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
494
AM_MISSING_PROG(AUTOHEADER, autoheader)
495
AM_MISSING_PROG(MAKEINFO, makeinfo)
490
AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
491
AM_MISSING_PROG([AUTOCONF], [autoconf])
492
AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
493
AM_MISSING_PROG([AUTOHEADER], [autoheader])
494
AM_MISSING_PROG([MAKEINFO], [makeinfo])
496
495
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
497
496
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
498
497
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
506
505
[_AM_PROG_TAR([v7])])])
507
506
_AM_IF_OPTION([no-dependencies],,
508
507
[AC_PROVIDE_IFELSE([AC_PROG_CC],
509
[_AM_DEPENDENCIES(CC)],
508
[_AM_DEPENDENCIES([CC])],
510
509
[define([AC_PROG_CC],
511
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
510
defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
512
511
AC_PROVIDE_IFELSE([AC_PROG_CXX],
513
[_AM_DEPENDENCIES(CXX)],
512
[_AM_DEPENDENCIES([CXX])],
514
513
[define([AC_PROG_CXX],
515
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
514
defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
516
515
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
517
[_AM_DEPENDENCIES(OBJC)],
516
[_AM_DEPENDENCIES([OBJC])],
518
517
[define([AC_PROG_OBJC],
519
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
518
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
521
520
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
522
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
523
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
521
dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
522
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
524
523
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
525
524
AC_CONFIG_COMMANDS_PRE(dnl
526
525
[m4_provide_if([_AM_COMPILER_EXEEXT],
527
526
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
530
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
529
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
531
530
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
532
531
dnl mangled by Autoconf and run in a shell conditional statement.
533
532
m4_define([_AC_COMPILER_EXEEXT],
556
555
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
558
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
557
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
561
559
# This file is free software; the Free Software Foundation
562
560
# gives unlimited permission to copy and/or distribute it,
563
561
# with or without modifications, as long as this notice is preserved.
567
565
# AM_PROG_INSTALL_SH
568
566
# ------------------
603
601
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
604
602
# From Jim Meyering
606
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
607
# 2011 Free Software Foundation, Inc.
604
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
609
606
# This file is free software; the Free Software Foundation
610
607
# gives unlimited permission to copy and/or distribute it,
611
608
# with or without modifications, as long as this notice is preserved.
615
612
# AM_MAINTAINER_MODE([DEFAULT-MODE])
616
613
# ----------------------------------
617
614
# Control maintainer-specific portions of Makefiles.
618
# Default is to disable them, unless `enable' is passed literally.
619
# For symmetry, `disable' may be passed as well. Anyway, the user
615
# Default is to disable them, unless 'enable' is passed literally.
616
# For symmetry, 'disable' may be passed as well. Anyway, the user
620
617
# can override the default with the --enable/--disable switch.
621
618
AC_DEFUN([AM_MAINTAINER_MODE],
622
619
[m4_case(m4_default([$1], [disable]),
627
624
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
628
625
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
629
626
AC_ARG_ENABLE([maintainer-mode],
630
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
631
(and sometimes confusing) to the casual installer],
632
[USE_MAINTAINER_MODE=$enableval],
633
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
627
[AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
628
am_maintainer_other[ make rules and dependencies not useful
629
(and sometimes confusing) to the casual installer])],
630
[USE_MAINTAINER_MODE=$enableval],
631
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
634
632
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
635
633
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
636
634
MAINT=$MAINTAINER_MODE_TRUE
643
641
# Check to see how 'make' treats includes. -*- Autoconf -*-
645
# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
643
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
647
645
# This file is free software; the Free Software Foundation
648
646
# gives unlimited permission to copy and/or distribute it,
649
647
# with or without modifications, as long as this notice is preserved.
653
651
# AM_MAKE_INCLUDE()
654
652
# -----------------
695
693
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
697
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
698
# Free Software Foundation, Inc.
695
# Copyright (C) 1997-2012 Free Software Foundation, Inc.
700
697
# This file is free software; the Free Software Foundation
701
698
# gives unlimited permission to copy and/or distribute it,
702
699
# with or without modifications, as long as this notice is preserved.
706
703
# AM_MISSING_PROG(NAME, PROGRAM)
707
704
# ------------------------------
731
728
am_missing_run="$MISSING --run "
734
AC_MSG_WARN([`missing' script is too old or missing])
731
AC_MSG_WARN(['missing' script is too old or missing])
738
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
735
# Copyright (C) 2003-2012 Free Software Foundation, Inc.
741
737
# This file is free software; the Free Software Foundation
742
738
# gives unlimited permission to copy and/or distribute it,
743
739
# with or without modifications, as long as this notice is preserved.
747
743
# AM_PROG_MKDIR_P
748
744
# ---------------
749
# Check for `mkdir -p'.
745
# Check for 'mkdir -p'.
750
746
AC_DEFUN([AM_PROG_MKDIR_P],
751
747
[AC_PREREQ([2.60])dnl
752
748
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
767
763
# Helper functions for option handling. -*- Autoconf -*-
769
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
765
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
772
767
# This file is free software; the Free Software Foundation
773
768
# gives unlimited permission to copy and/or distribute it,
774
769
# with or without modifications, as long as this notice is preserved.
778
773
# _AM_MANGLE_OPTION(NAME)
779
774
# -----------------------
801
796
# Check to make sure that the build environment is sane. -*- Autoconf -*-
803
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
804
# Free Software Foundation, Inc.
798
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
806
800
# This file is free software; the Free Software Foundation
807
801
# gives unlimited permission to copy and/or distribute it,
808
802
# with or without modifications, as long as this notice is preserved.
812
806
# AM_SANITY_CHECK
813
807
# ---------------
814
808
AC_DEFUN([AM_SANITY_CHECK],
815
809
[AC_MSG_CHECKING([whether build environment is sane])
818
echo timestamp > conftest.file
819
810
# Reject unsafe characters in $srcdir or the absolute working directory
820
811
# name. Accept space and tab only in the latter.
828
819
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
829
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
820
AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
832
# Do `set' in a subshell so we don't clobber the current shell's
823
# Do 'set' in a subshell so we don't clobber the current shell's
833
824
# arguments. Must try -L first in case configure is actually a
834
825
# symlink; some systems play weird games with the mod time of symlinks
835
826
# (eg FreeBSD returns the mod time of the symlink's containing
838
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
839
if test "$[*]" = "X"; then
841
set X `ls -t "$srcdir/configure" conftest.file`
844
if test "$[*]" != "X $srcdir/configure conftest.file" \
845
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
847
# If neither matched, then we have a broken ls. This can happen
848
# if, for instance, CONFIG_SHELL is bash and it inherits a
849
# broken ls alias from the environment. This has actually
850
# happened. Such a system could not be considered "sane".
851
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
852
alias in your environment])
830
for am_try in 1 2; do
831
echo "timestamp, slept: $am_has_slept" > conftest.file
832
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
833
if test "$[*]" = "X"; then
835
set X `ls -t "$srcdir/configure" conftest.file`
837
if test "$[*]" != "X $srcdir/configure conftest.file" \
838
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
840
# If neither matched, then we have a broken ls. This can happen
841
# if, for instance, CONFIG_SHELL is bash and it inherits a
842
# broken ls alias from the environment. This has actually
843
# happened. Such a system could not be considered "sane".
844
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
845
alias in your environment])
847
if test "$[2]" = conftest.file || test $am_try -eq 2; then
855
854
test "$[2]" = conftest.file
861
860
AC_MSG_ERROR([newly created file is older than distributed files!
862
861
Check your system clock])
864
# If we didn't sleep, we still need to ensure time stamps of config.status and
865
# generated files are strictly newer.
867
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
871
AC_CONFIG_COMMANDS_PRE(
872
[AC_MSG_CHECKING([that generated files are newer than configure])
873
if test -n "$am_sleep_pid"; then
874
# Hide warnings about reused PIDs.
875
wait $am_sleep_pid 2>/dev/null
877
AC_MSG_RESULT([done])])
866
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
881
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
868
883
# This file is free software; the Free Software Foundation
869
884
# gives unlimited permission to copy and/or distribute it,
870
885
# with or without modifications, as long as this notice is preserved.
874
889
# AM_PROG_INSTALL_STRIP
875
890
# ---------------------
876
# One issue with vendor `install' (even GNU) is that you can't
891
# One issue with vendor 'install' (even GNU) is that you can't
877
892
# specify the program used to strip binaries. This is especially
878
893
# annoying in cross-compiling environments, where the build's strip
879
894
# is unlikely to handle the host's binaries.
880
895
# Fortunately install-sh will honor a STRIPPROG variable, so we
881
# always use install-sh in `make install-strip', and initialize
896
# always use install-sh in "make install-strip", and initialize
882
897
# STRIPPROG with the value of the STRIP variable (set by the user).
883
898
AC_DEFUN([AM_PROG_INSTALL_STRIP],
884
899
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
885
# Installed binaries are usually stripped using `strip' when the user
886
# run `make install-strip'. However `strip' might not be the right
900
# Installed binaries are usually stripped using 'strip' when the user
901
# run "make install-strip". However 'strip' might not be the right
887
902
# tool to use in cross-compilation environments, therefore Automake
888
# will honor the `STRIP' environment variable to overrule this program.
889
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
903
# will honor the 'STRIP' environment variable to overrule this program.
904
dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
890
905
if test "$cross_compiling" != no; then
891
906
AC_CHECK_TOOL([STRIP], [strip], :)
893
908
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
894
909
AC_SUBST([INSTALL_STRIP_PROGRAM])])
896
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
911
# Copyright (C) 2006-2012 Free Software Foundation, Inc.
898
913
# This file is free software; the Free Software Foundation
899
914
# gives unlimited permission to copy and/or distribute it,
915
930
# Check how to create a tarball. -*- Autoconf -*-
917
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
932
# Copyright (C) 2004-2012 Free Software Foundation, Inc.
919
934
# This file is free software; the Free Software Foundation
920
935
# gives unlimited permission to copy and/or distribute it,
921
936
# with or without modifications, as long as this notice is preserved.
925
940
# _AM_PROG_TAR(FORMAT)
926
941
# --------------------
927
942
# Check how to create a tarball in format FORMAT.
928
# FORMAT should be one of `v7', `ustar', or `pax'.
943
# FORMAT should be one of 'v7', 'ustar', or 'pax'.
930
945
# Substitute a variable $(am__tar) that is a command
931
946
# writing to stdout a FORMAT-tarball containing the directory