~ps10gel/ubuntu/xenial/trafficserver/6.2.0

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Aron Xu
  • Date: 2013-05-09 01:00:04 UTC
  • mto: (1.1.11) (5.3.3 experimental)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: package-import@ubuntu.com-20130509010004-9fqq9n0adseg3f8w
Tags: upstream-3.3.2
ImportĀ upstreamĀ versionĀ 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
2
 
 
3
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
5
 
# Inc.
 
1
# generated automatically by aclocal 1.12.2 -*- Autoconf -*-
 
2
 
 
3
# Copyright (C) 1996-2012 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.
14
13
 
15
14
m4_ifndef([AC_AUTOCONF_VERSION],
16
15
  [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.
 
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
 
17
[m4_warning([this file was generated for autoconf 2.69.
19
18
You have another version of autoconf.  It may work, but is not guaranteed to.
20
19
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'.])])
22
 
 
23
 
# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
24
 
# serial 1 (pkg-config-0.24)
25
 
26
 
# Copyright Ā© 2004 Scott James Remnant <scott@netsplit.com>.
27
 
#
28
 
# This program is free software; you can redistribute it and/or modify
29
 
# it under the terms of the GNU General Public License as published by
30
 
# the Free Software Foundation; either version 2 of the License, or
31
 
# (at your option) any later version.
32
 
#
33
 
# This program is distributed in the hope that it will be useful, but
34
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
35
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
36
 
# General Public License for more details.
37
 
#
38
 
# You should have received a copy of the GNU General Public License
39
 
# along with this program; if not, write to the Free Software
40
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
41
 
#
42
 
# As a special exception to the GNU General Public License, if you
43
 
# distribute this file as part of a program that contains a
44
 
# configuration script generated by Autoconf, you may include it under
45
 
# the same distribution terms that you use for the rest of that program.
46
 
 
47
 
# PKG_PROG_PKG_CONFIG([MIN-VERSION])
48
 
# ----------------------------------
49
 
AC_DEFUN([PKG_PROG_PKG_CONFIG],
50
 
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
51
 
m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
52
 
m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
53
 
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
54
 
AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
55
 
AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
56
 
 
57
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
58
 
        AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
59
 
fi
60
 
if test -n "$PKG_CONFIG"; then
61
 
        _pkg_min_version=m4_default([$1], [0.9.0])
62
 
        AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
63
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
64
 
                AC_MSG_RESULT([yes])
65
 
        else
66
 
                AC_MSG_RESULT([no])
67
 
                PKG_CONFIG=""
68
 
        fi
69
 
fi[]dnl
70
 
])# PKG_PROG_PKG_CONFIG
71
 
 
72
 
# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
73
 
#
74
 
# Check to see whether a particular set of modules exists.  Similar
75
 
# to PKG_CHECK_MODULES(), but does not set variables or print errors.
76
 
#
77
 
# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
78
 
# only at the first occurence in configure.ac, so if the first place
79
 
# it's called might be skipped (such as if it is within an "if", you
80
 
# have to call PKG_CHECK_EXISTS manually
81
 
# --------------------------------------------------------------
82
 
AC_DEFUN([PKG_CHECK_EXISTS],
83
 
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
84
 
if test -n "$PKG_CONFIG" && \
85
 
    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
86
 
  m4_default([$2], [:])
87
 
m4_ifvaln([$3], [else
88
 
  $3])dnl
89
 
fi])
90
 
 
91
 
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
92
 
# ---------------------------------------------
93
 
m4_define([_PKG_CONFIG],
94
 
[if test -n "$$1"; then
95
 
    pkg_cv_[]$1="$$1"
96
 
 elif test -n "$PKG_CONFIG"; then
97
 
    PKG_CHECK_EXISTS([$3],
98
 
                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
99
 
                      test "x$?" != "x0" && pkg_failed=yes ],
100
 
                     [pkg_failed=yes])
101
 
 else
102
 
    pkg_failed=untried
103
 
fi[]dnl
104
 
])# _PKG_CONFIG
105
 
 
106
 
# _PKG_SHORT_ERRORS_SUPPORTED
107
 
# -----------------------------
108
 
AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
109
 
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
110
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
111
 
        _pkg_short_errors_supported=yes
112
 
else
113
 
        _pkg_short_errors_supported=no
114
 
fi[]dnl
115
 
])# _PKG_SHORT_ERRORS_SUPPORTED
116
 
 
117
 
 
118
 
# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
119
 
# [ACTION-IF-NOT-FOUND])
120
 
#
121
 
#
122
 
# Note that if there is a possibility the first call to
123
 
# PKG_CHECK_MODULES might not happen, you should be sure to include an
124
 
# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
125
 
#
126
 
#
127
 
# --------------------------------------------------------------
128
 
AC_DEFUN([PKG_CHECK_MODULES],
129
 
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
130
 
AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
131
 
AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
132
 
 
133
 
pkg_failed=no
134
 
AC_MSG_CHECKING([for $1])
135
 
 
136
 
_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
137
 
_PKG_CONFIG([$1][_LIBS], [libs], [$2])
138
 
 
139
 
m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
140
 
and $1[]_LIBS to avoid the need to call pkg-config.
141
 
See the pkg-config man page for more details.])
142
 
 
143
 
if test $pkg_failed = yes; then
144
 
        AC_MSG_RESULT([no])
145
 
        _PKG_SHORT_ERRORS_SUPPORTED
146
 
        if test $_pkg_short_errors_supported = yes; then
147
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
148
 
        else 
149
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
150
 
        fi
151
 
        # Put the nasty error message in config.log where it belongs
152
 
        echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
153
 
 
154
 
        m4_default([$4], [AC_MSG_ERROR(
155
 
[Package requirements ($2) were not met:
156
 
 
157
 
$$1_PKG_ERRORS
158
 
 
159
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
160
 
installed software in a non-standard prefix.
161
 
 
162
 
_PKG_TEXT])[]dnl
163
 
        ])
164
 
elif test $pkg_failed = untried; then
165
 
        AC_MSG_RESULT([no])
166
 
        m4_default([$4], [AC_MSG_FAILURE(
167
 
[The pkg-config script could not be found or is too old.  Make sure it
168
 
is in your PATH or set the PKG_CONFIG environment variable to the full
169
 
path to pkg-config.
170
 
 
171
 
_PKG_TEXT
172
 
 
173
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
174
 
        ])
175
 
else
176
 
        $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
177
 
        $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
178
 
        AC_MSG_RESULT([yes])
179
 
        $3
180
 
fi[]dnl
181
 
])# PKG_CHECK_MODULES
182
 
 
183
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
184
 
# Foundation, Inc.
 
20
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
 
21
 
 
22
# Copyright (C) 2002-2012 Free Software Foundation, Inc.
185
23
#
186
24
# This file is free software; the Free Software Foundation
187
25
# gives unlimited permission to copy and/or distribute it,
188
26
# with or without modifications, as long as this notice is preserved.
189
27
 
190
 
# serial 1
 
28
# serial 8
191
29
 
192
30
# AM_AUTOMAKE_VERSION(VERSION)
193
31
# ----------------------------
195
33
# generated from the m4 files accompanying Automake X.Y.
196
34
# (This private macro should not be called outside this file.)
197
35
AC_DEFUN([AM_AUTOMAKE_VERSION],
198
 
[am__api_version='1.11'
 
36
[am__api_version='1.12'
199
37
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
200
38
dnl require some minimum version.  Point them to the right macro.
201
 
m4_if([$1], [1.11.3], [],
 
39
m4_if([$1], [1.12.2], [],
202
40
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
203
41
])
204
42
 
214
52
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
215
53
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
216
54
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
217
 
[AM_AUTOMAKE_VERSION([1.11.3])dnl
 
55
[AM_AUTOMAKE_VERSION([1.12.2])dnl
218
56
m4_ifndef([AC_AUTOCONF_VERSION],
219
57
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
220
58
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
221
59
 
222
 
# Copyright (C) 2011 Free Software Foundation, Inc.
 
60
# Copyright (C) 2011-2012 Free Software Foundation, Inc.
223
61
#
224
62
# This file is free software; the Free Software Foundation
225
63
# gives unlimited permission to copy and/or distribute it,
282
120
 
283
121
# Figure out how to run the assembler.                      -*- Autoconf -*-
284
122
 
285
 
# Copyright (C) 2001, 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
 
123
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
286
124
#
287
125
# This file is free software; the Free Software Foundation
288
126
# gives unlimited permission to copy and/or distribute it,
304
142
 
305
143
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
306
144
 
307
 
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 
145
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
308
146
#
309
147
# This file is free software; the Free Software Foundation
310
148
# gives unlimited permission to copy and/or distribute it,
311
149
# with or without modifications, as long as this notice is preserved.
312
150
 
313
 
# serial 1
 
151
# serial 2
314
152
 
315
153
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
316
 
# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
317
 
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
 
154
# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
 
155
# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
318
156
#
319
157
# Of course, Automake must honor this variable whenever it calls a
320
158
# tool from the auxiliary directory.  The problem is that $srcdir (and
333
171
#
334
172
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
335
173
# are both prefixed by $srcdir.  In an in-source build this is usually
336
 
# harmless because $srcdir is `.', but things will broke when you
 
174
# harmless because $srcdir is '.', but things will broke when you
337
175
# start a VPATH build or use an absolute $srcdir.
338
176
#
339
177
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
359
197
 
360
198
# AM_CONDITIONAL                                            -*- Autoconf -*-
361
199
 
362
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
363
 
# Free Software Foundation, Inc.
 
200
# Copyright (C) 1997-2012 Free Software Foundation, Inc.
364
201
#
365
202
# This file is free software; the Free Software Foundation
366
203
# gives unlimited permission to copy and/or distribute it,
367
204
# with or without modifications, as long as this notice is preserved.
368
205
 
369
 
# serial 9
 
206
# serial 10
370
207
 
371
208
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
372
209
# -------------------------------------
373
210
# Define a conditional.
374
211
AC_DEFUN([AM_CONDITIONAL],
375
 
[AC_PREREQ(2.52)dnl
376
 
 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
377
 
        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
 
212
[AC_PREREQ([2.52])dnl
 
213
 m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
 
214
       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
378
215
AC_SUBST([$1_TRUE])dnl
379
216
AC_SUBST([$1_FALSE])dnl
380
217
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
393
230
Usually this means the macro was only invoked conditionally.]])
394
231
fi])])
395
232
 
396
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
397
 
# 2010, 2011 Free Software Foundation, Inc.
 
233
# Copyright (C) 1999-2012 Free Software Foundation, Inc.
398
234
#
399
235
# This file is free software; the Free Software Foundation
400
236
# gives unlimited permission to copy and/or distribute it,
401
237
# with or without modifications, as long as this notice is preserved.
402
238
 
403
 
# serial 12
 
239
# serial 17
404
240
 
405
 
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
 
241
# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
406
242
# written in clear, in which case automake, when reading aclocal.m4,
407
243
# will think it sees a *use*, and therefore will trigger all it's
408
244
# C support machinery.  Also note that it means that autoscan, seeing
412
248
# _AM_DEPENDENCIES(NAME)
413
249
# ----------------------
414
250
# See how the compiler implements dependency checking.
415
 
# NAME is "CC", "CXX", "GCJ", or "OBJC".
 
251
# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
416
252
# We try a few techniques and use that to set a single cache variable.
417
253
#
418
254
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
425
261
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
426
262
AC_REQUIRE([AM_DEP_TRACK])dnl
427
263
 
428
 
ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
429
 
       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
430
 
       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
431
 
       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
432
 
       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
433
 
                   [depcc="$$1"   am_compiler_list=])
 
264
m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
 
265
      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
 
266
      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
 
267
      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
 
268
      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
 
269
      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
 
270
                    [depcc="$$1"   am_compiler_list=])
434
271
 
435
272
AC_CACHE_CHECK([dependency style of $depcc],
436
273
               [am_cv_$1_dependencies_compiler_type],
438
275
  # We make a subdir and do the tests there.  Otherwise we can end up
439
276
  # making bogus files that we don't know about and never remove.  For
440
277
  # instance it was reported that on HP-UX the gcc test will end up
441
 
  # making a dummy file named `D' -- because `-MD' means `put the output
442
 
  # in D'.
 
278
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
279
  # in D".
443
280
  rm -rf conftest.dir
444
281
  mkdir conftest.dir
445
282
  # Copy depcomp to subdir because otherwise we won't find it if we're
479
316
    : > sub/conftest.c
480
317
    for i in 1 2 3 4 5 6; do
481
318
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
482
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
483
 
      # Solaris 8's {/usr,}/bin/sh.
484
 
      touch sub/conftst$i.h
 
319
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 
320
      # Solaris 10 /bin/sh.
 
321
      echo '/* dummy */' > sub/conftst$i.h
485
322
    done
486
323
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
487
324
 
488
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
325
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
489
326
    # mode.  It turns out that the SunPro C++ compiler does not properly
490
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
491
 
    # versions had trouble with output in subdirs
 
327
    # handle '-M -o', and we need to detect this.  Also, some Intel
 
328
    # versions had trouble with output in subdirs.
492
329
    am__obj=sub/conftest.${OBJEXT-o}
493
330
    am__minus_obj="-o $am__obj"
494
331
    case $depmode in
497
334
      test "$am__universal" = false || continue
498
335
      ;;
499
336
    nosideeffect)
500
 
      # after this tag, mechanisms are not by side-effect, so they'll
501
 
      # only be used when explicitly requested
 
337
      # After this tag, mechanisms are not by side-effect, so they'll
 
338
      # only be used when explicitly requested.
502
339
      if test "x$enable_dependency_tracking" = xyes; then
503
340
        continue
504
341
      else
506
343
      fi
507
344
      ;;
508
345
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
509
 
      # This compiler won't grok `-c -o', but also, the minuso test has
 
346
      # This compiler won't grok '-c -o', but also, the minuso test has
510
347
      # not run yet.  These depmodes are late enough in the game, and
511
348
      # so weak that their functioning should not be impacted.
512
349
      am__obj=conftest.${OBJEXT-o}
554
391
# AM_SET_DEPDIR
555
392
# -------------
556
393
# Choose a directory name for dependency files.
557
 
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
 
394
# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
558
395
AC_DEFUN([AM_SET_DEPDIR],
559
396
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
560
397
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
564
401
# AM_DEP_TRACK
565
402
# ------------
566
403
AC_DEFUN([AM_DEP_TRACK],
567
 
[AC_ARG_ENABLE(dependency-tracking,
568
 
[  --disable-dependency-tracking  speeds up one-time build
569
 
  --enable-dependency-tracking   do not reject slow dependency extractors])
 
404
[AC_ARG_ENABLE([dependency-tracking], [dnl
 
405
AS_HELP_STRING(
 
406
  [--enable-dependency-tracking],
 
407
  [do not reject slow dependency extractors])
 
408
AS_HELP_STRING(
 
409
  [--disable-dependency-tracking],
 
410
  [speeds up one-time build])])
570
411
if test "x$enable_dependency_tracking" != xno; then
571
412
  am_depcomp="$ac_aux_dir/depcomp"
572
413
  AMDEPBACKSLASH='\'
581
422
 
582
423
# Generate code to set up dependency tracking.              -*- Autoconf -*-
583
424
 
584
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
585
 
# Free Software Foundation, Inc.
 
425
# Copyright (C) 1999-2012 Free Software Foundation, Inc.
586
426
#
587
427
# This file is free software; the Free Software Foundation
588
428
# gives unlimited permission to copy and/or distribute it,
589
429
# with or without modifications, as long as this notice is preserved.
590
430
 
591
 
#serial 5
 
431
# serial 6
592
432
 
593
433
# _AM_OUTPUT_DEPENDENCY_COMMANDS
594
434
# ------------------------------
607
447
    # Strip MF so we end up with the name of the file.
608
448
    mf=`echo "$mf" | sed -e 's/:.*$//'`
609
449
    # Check whether this is an Automake generated Makefile or not.
610
 
    # We used to match only the files named `Makefile.in', but
 
450
    # We used to match only the files named 'Makefile.in', but
611
451
    # some people rename them; so instead we look at the file content.
612
452
    # Grep'ing the first line is not enough: some people post-process
613
453
    # each Makefile.in and add a new line on top of each file to say so.
619
459
      continue
620
460
    fi
621
461
    # Extract the definition of DEPDIR, am__include, and am__quote
622
 
    # from the Makefile without running `make'.
 
462
    # from the Makefile without running 'make'.
623
463
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
624
464
    test -z "$DEPDIR" && continue
625
465
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
626
466
    test -z "am__include" && continue
627
467
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
628
 
    # When using ansi2knr, U may be empty or an underscore; expand it
629
 
    U=`sed -n 's/^U = //p' < "$mf"`
630
468
    # Find all dependency output files, they are included files with
631
469
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
632
470
    # simplest approach to changing $(DEPDIR) to its actual value in the
633
471
    # expansion.
634
472
    for file in `sed -n "
635
473
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
636
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
474
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
637
475
      # Make sure the directory exists.
638
476
      test -f "$dirpart/$file" && continue
639
477
      fdir=`AS_DIRNAME(["$file"])`
651
489
# This macro should only be invoked once -- use via AC_REQUIRE.
652
490
#
653
491
# This code is only required when automatic dependency tracking
654
 
# is enabled.  FIXME.  This creates each `.P' file that we will
 
492
# is enabled.  FIXME.  This creates each '.P' file that we will
655
493
# need in order to bootstrap the dependency handling code.
656
494
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
657
495
[AC_CONFIG_COMMANDS([depfiles],
659
497
     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
660
498
])
661
499
 
662
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
663
 
# Free Software Foundation, Inc.
664
 
#
665
 
# This file is free software; the Free Software Foundation
666
 
# gives unlimited permission to copy and/or distribute it,
667
 
# with or without modifications, as long as this notice is preserved.
668
 
 
669
 
# serial 8
670
 
 
671
 
# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
672
 
AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
673
 
 
674
500
# Do all the work for Automake.                             -*- Autoconf -*-
675
501
 
676
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
677
 
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
 
502
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
678
503
#
679
504
# This file is free software; the Free Software Foundation
680
505
# gives unlimited permission to copy and/or distribute it,
681
506
# with or without modifications, as long as this notice is preserved.
682
507
 
683
 
# serial 16
 
508
# serial 19
684
509
 
685
510
# This macro actually does too much.  Some checks are only needed if
686
511
# your package does certain things.  But this isn't really a big deal.
726
551
# Define the identity of the package.
727
552
dnl Distinguish between old-style and new-style calls.
728
553
m4_ifval([$2],
729
 
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
 
554
[AC_DIAGNOSE([obsolete],
 
555
[$0: two- and three-arguments forms are deprecated.  For more info, see:
 
556
http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
 
557
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
730
558
 AC_SUBST([PACKAGE], [$1])dnl
731
559
 AC_SUBST([VERSION], [$2])],
732
560
[_AM_SET_OPTIONS([$1])dnl
733
561
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
734
 
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
 
562
m4_if(
 
563
  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
 
564
  [ok:ok],,
735
565
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
736
566
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
737
567
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
738
568
 
739
569
_AM_IF_OPTION([no-define],,
740
 
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
741
 
 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
 
570
[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
 
571
 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
742
572
 
743
573
# Some tools Automake needs.
744
574
AC_REQUIRE([AM_SANITY_CHECK])dnl
745
575
AC_REQUIRE([AC_ARG_PROGRAM])dnl
746
 
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
747
 
AM_MISSING_PROG(AUTOCONF, autoconf)
748
 
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
749
 
AM_MISSING_PROG(AUTOHEADER, autoheader)
750
 
AM_MISSING_PROG(MAKEINFO, makeinfo)
 
576
AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
 
577
AM_MISSING_PROG([AUTOCONF], [autoconf])
 
578
AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
 
579
AM_MISSING_PROG([AUTOHEADER], [autoheader])
 
580
AM_MISSING_PROG([MAKEINFO], [makeinfo])
751
581
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
752
582
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
753
 
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
 
583
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
 
584
# For better backward compatibility.  To be removed once Automake 1.9.x
 
585
# dies out for good.  For more background, see:
 
586
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 
587
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 
588
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
754
589
# We need awk for the "check" target.  The system "awk" is bad on
755
590
# some platforms.
756
591
AC_REQUIRE([AC_PROG_AWK])dnl
761
596
                             [_AM_PROG_TAR([v7])])])
762
597
_AM_IF_OPTION([no-dependencies],,
763
598
[AC_PROVIDE_IFELSE([AC_PROG_CC],
764
 
                  [_AM_DEPENDENCIES(CC)],
765
 
                  [define([AC_PROG_CC],
766
 
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
599
                  [_AM_DEPENDENCIES([CC])],
 
600
                  [m4_define([AC_PROG_CC],
 
601
                             m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
767
602
AC_PROVIDE_IFELSE([AC_PROG_CXX],
768
 
                  [_AM_DEPENDENCIES(CXX)],
769
 
                  [define([AC_PROG_CXX],
770
 
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
603
                  [_AM_DEPENDENCIES([CXX])],
 
604
                  [m4_define([AC_PROG_CXX],
 
605
                             m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
771
606
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
772
 
                  [_AM_DEPENDENCIES(OBJC)],
773
 
                  [define([AC_PROG_OBJC],
774
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
607
                  [_AM_DEPENDENCIES([OBJC])],
 
608
                  [m4_define([AC_PROG_OBJC],
 
609
                             m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
 
610
dnl Support for Objective C++ was only introduced in Autoconf 2.65,
 
611
dnl but we still cater to Autoconf 2.62.
 
612
m4_ifdef([AC_PROG_OBJCXX],
 
613
[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
 
614
                  [_AM_DEPENDENCIES([OBJCXX])],
 
615
                  [m4_define([AC_PROG_OBJCXX],
 
616
                             m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
775
617
])
776
618
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
777
 
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
778
 
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
 
619
dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
 
620
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
779
621
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
780
622
AC_CONFIG_COMMANDS_PRE(dnl
781
623
[m4_provide_if([_AM_COMPILER_EXEEXT],
782
624
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
783
625
])
784
626
 
785
 
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 
627
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
786
628
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
787
629
dnl mangled by Autoconf and run in a shell conditional statement.
788
630
m4_define([_AC_COMPILER_EXEEXT],
810
652
done
811
653
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
812
654
 
813
 
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
814
 
# Inc.
 
655
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
815
656
#
816
657
# This file is free software; the Free Software Foundation
817
658
# gives unlimited permission to copy and/or distribute it,
818
659
# with or without modifications, as long as this notice is preserved.
819
660
 
820
 
# serial 1
 
661
# serial 8
821
662
 
822
663
# AM_PROG_INSTALL_SH
823
664
# ------------------
832
673
    install_sh="\${SHELL} $am_aux_dir/install-sh"
833
674
  esac
834
675
fi
835
 
AC_SUBST(install_sh)])
 
676
AC_SUBST([install_sh])])
836
677
 
837
 
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
 
678
# Copyright (C) 2003-2012 Free Software Foundation, Inc.
838
679
#
839
680
# This file is free software; the Free Software Foundation
840
681
# gives unlimited permission to copy and/or distribute it,
857
698
 
858
699
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
859
700
 
860
 
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
 
701
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
861
702
#
862
703
# This file is free software; the Free Software Foundation
863
704
# gives unlimited permission to copy and/or distribute it,
864
705
# with or without modifications, as long as this notice is preserved.
865
706
 
866
 
# serial 4
 
707
# serial 5
867
708
 
868
709
# AM_MAKE_INCLUDE()
869
710
# -----------------
882
723
_am_result=none
883
724
# First try GNU make style include.
884
725
echo "include confinc" > confmf
885
 
# Ignore all kinds of additional output from `make'.
 
726
# Ignore all kinds of additional output from 'make'.
886
727
case `$am_make -s -f confmf 2> /dev/null` in #(
887
728
*the\ am__doit\ target*)
888
729
  am__include=include
909
750
 
910
751
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
911
752
 
912
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
913
 
# Free Software Foundation, Inc.
 
753
# Copyright (C) 1997-2012 Free Software Foundation, Inc.
914
754
#
915
755
# This file is free software; the Free Software Foundation
916
756
# gives unlimited permission to copy and/or distribute it,
917
757
# with or without modifications, as long as this notice is preserved.
918
758
 
919
 
# serial 6
 
759
# serial 7
920
760
 
921
761
# AM_MISSING_PROG(NAME, PROGRAM)
922
762
# ------------------------------
946
786
  am_missing_run="$MISSING --run "
947
787
else
948
788
  am_missing_run=
949
 
  AC_MSG_WARN([`missing' script is too old or missing])
 
789
  AC_MSG_WARN(['missing' script is too old or missing])
950
790
fi
951
791
])
952
792
 
953
 
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
954
 
# Inc.
955
 
#
956
 
# This file is free software; the Free Software Foundation
957
 
# gives unlimited permission to copy and/or distribute it,
958
 
# with or without modifications, as long as this notice is preserved.
959
 
 
960
 
# serial 1
961
 
 
962
 
# AM_PROG_MKDIR_P
963
 
# ---------------
964
 
# Check for `mkdir -p'.
965
 
AC_DEFUN([AM_PROG_MKDIR_P],
966
 
[AC_PREREQ([2.60])dnl
967
 
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
968
 
dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
969
 
dnl while keeping a definition of mkdir_p for backward compatibility.
970
 
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
971
 
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
972
 
dnl Makefile.ins that do not define MKDIR_P, so we do our own
973
 
dnl adjustment using top_builddir (which is defined more often than
974
 
dnl MKDIR_P).
975
 
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
976
 
case $mkdir_p in
977
 
  [[\\/$]]* | ?:[[\\/]]*) ;;
978
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
979
 
esac
980
 
])
981
 
 
982
793
# Helper functions for option handling.                     -*- Autoconf -*-
983
794
 
984
 
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
985
 
# Foundation, Inc.
 
795
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
986
796
#
987
797
# This file is free software; the Free Software Foundation
988
798
# gives unlimited permission to copy and/or distribute it,
989
799
# with or without modifications, as long as this notice is preserved.
990
800
 
991
 
# serial 5
 
801
# serial 6
992
802
 
993
803
# _AM_MANGLE_OPTION(NAME)
994
804
# -----------------------
999
809
# --------------------
1000
810
# Set option NAME.  Presently that only means defining a flag for this option.
1001
811
AC_DEFUN([_AM_SET_OPTION],
1002
 
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
 
812
[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
1003
813
 
1004
814
# _AM_SET_OPTIONS(OPTIONS)
1005
815
# ------------------------
1015
825
 
1016
826
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
1017
827
 
1018
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
1019
 
# Free Software Foundation, Inc.
 
828
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
1020
829
#
1021
830
# This file is free software; the Free Software Foundation
1022
831
# gives unlimited permission to copy and/or distribute it,
1023
832
# with or without modifications, as long as this notice is preserved.
1024
833
 
1025
 
# serial 5
 
834
# serial 9
1026
835
 
1027
836
# AM_SANITY_CHECK
1028
837
# ---------------
1029
838
AC_DEFUN([AM_SANITY_CHECK],
1030
839
[AC_MSG_CHECKING([whether build environment is sane])
1031
 
# Just in case
1032
 
sleep 1
1033
 
echo timestamp > conftest.file
1034
840
# Reject unsafe characters in $srcdir or the absolute working directory
1035
841
# name.  Accept space and tab only in the latter.
1036
842
am_lf='
1041
847
esac
1042
848
case $srcdir in
1043
849
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
1044
 
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
850
    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
1045
851
esac
1046
852
 
1047
 
# Do `set' in a subshell so we don't clobber the current shell's
 
853
# Do 'set' in a subshell so we don't clobber the current shell's
1048
854
# arguments.  Must try -L first in case configure is actually a
1049
855
# symlink; some systems play weird games with the mod time of symlinks
1050
856
# (eg FreeBSD returns the mod time of the symlink's containing
1051
857
# directory).
1052
858
if (
1053
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1054
 
   if test "$[*]" = "X"; then
1055
 
      # -L didn't work.
1056
 
      set X `ls -t "$srcdir/configure" conftest.file`
1057
 
   fi
1058
 
   rm -f conftest.file
1059
 
   if test "$[*]" != "X $srcdir/configure conftest.file" \
1060
 
      && test "$[*]" != "X conftest.file $srcdir/configure"; then
1061
 
 
1062
 
      # If neither matched, then we have a broken ls.  This can happen
1063
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1064
 
      # broken ls alias from the environment.  This has actually
1065
 
      # happened.  Such a system could not be considered "sane".
1066
 
      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
1067
 
alias in your environment])
1068
 
   fi
1069
 
 
 
859
   am_has_slept=no
 
860
   for am_try in 1 2; do
 
861
     echo "timestamp, slept: $am_has_slept" > conftest.file
 
862
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
863
     if test "$[*]" = "X"; then
 
864
        # -L didn't work.
 
865
        set X `ls -t "$srcdir/configure" conftest.file`
 
866
     fi
 
867
     if test "$[*]" != "X $srcdir/configure conftest.file" \
 
868
        && test "$[*]" != "X conftest.file $srcdir/configure"; then
 
869
 
 
870
        # If neither matched, then we have a broken ls.  This can happen
 
871
        # if, for instance, CONFIG_SHELL is bash and it inherits a
 
872
        # broken ls alias from the environment.  This has actually
 
873
        # happened.  Such a system could not be considered "sane".
 
874
        AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
 
875
  alias in your environment])
 
876
     fi
 
877
     if test "$[2]" = conftest.file || test $am_try -eq 2; then
 
878
       break
 
879
     fi
 
880
     # Just in case.
 
881
     sleep 1
 
882
     am_has_slept=yes
 
883
   done
1070
884
   test "$[2]" = conftest.file
1071
885
   )
1072
886
then
1076
890
   AC_MSG_ERROR([newly created file is older than distributed files!
1077
891
Check your system clock])
1078
892
fi
1079
 
AC_MSG_RESULT(yes)])
 
893
AC_MSG_RESULT([yes])
 
894
# If we didn't sleep, we still need to ensure time stamps of config.status and
 
895
# generated files are strictly newer.
 
896
am_sleep_pid=
 
897
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 
898
  ( sleep 1 ) &
 
899
  am_sleep_pid=$!
 
900
fi
 
901
AC_CONFIG_COMMANDS_PRE(
 
902
  [AC_MSG_CHECKING([that generated files are newer than configure])
 
903
   if test -n "$am_sleep_pid"; then
 
904
     # Hide warnings about reused PIDs.
 
905
     wait $am_sleep_pid 2>/dev/null
 
906
   fi
 
907
   AC_MSG_RESULT([done])])
 
908
rm -f conftest.file
 
909
])
1080
910
 
1081
 
# Copyright (C) 2009, 2011  Free Software Foundation, Inc.
 
911
# Copyright (C) 2009-2012 Free Software Foundation, Inc.
1082
912
#
1083
913
# This file is free software; the Free Software Foundation
1084
914
# gives unlimited permission to copy and/or distribute it,
1085
915
# with or without modifications, as long as this notice is preserved.
1086
916
 
1087
 
# serial 2
 
917
# serial 3
1088
918
 
1089
919
# AM_SILENT_RULES([DEFAULT])
1090
920
# --------------------------
1091
921
# Enable less verbose build rules; with the default set to DEFAULT
1092
 
# (`yes' being less verbose, `no' or empty being verbose).
 
922
# ("yes" being less verbose, "no" or empty being verbose).
1093
923
AC_DEFUN([AM_SILENT_RULES],
1094
 
[AC_ARG_ENABLE([silent-rules],
1095
 
[  --enable-silent-rules          less verbose build output (undo: `make V=1')
1096
 
  --disable-silent-rules         verbose build output (undo: `make V=0')])
1097
 
case $enable_silent_rules in
1098
 
yes) AM_DEFAULT_VERBOSITY=0;;
1099
 
no)  AM_DEFAULT_VERBOSITY=1;;
1100
 
*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
 
924
[AC_ARG_ENABLE([silent-rules], [dnl
 
925
AS_HELP_STRING(
 
926
  [--enable-silent-rules],
 
927
  [less verbose build output (undo: "make V=1")])
 
928
AS_HELP_STRING(
 
929
  [--disable-silent-rules],
 
930
  [verbose build output (undo: "make V=0")])dnl
 
931
])
 
932
case $enable_silent_rules in @%:@ (((
 
933
  yes) AM_DEFAULT_VERBOSITY=0;;
 
934
   no) AM_DEFAULT_VERBOSITY=1;;
 
935
    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1101
936
esac
1102
937
dnl
1103
 
dnl A few `make' implementations (e.g., NonStop OS and NextStep)
 
938
dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
1104
939
dnl do not support nested variable expansions.
1105
940
dnl See automake bug#9928 and bug#10237.
1106
941
am_make=${MAKE-make}
1118
953
  am_cv_make_support_nested_variables=no
1119
954
fi])
1120
955
if test $am_cv_make_support_nested_variables = yes; then
1121
 
  dnl Using `$V' instead of `$(V)' breaks IRIX make.
 
956
  dnl Using '$V' instead of '$(V)' breaks IRIX make.
1122
957
  AM_V='$(V)'
1123
958
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1124
959
else
1135
970
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1136
971
])
1137
972
 
1138
 
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 
973
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
1139
974
#
1140
975
# This file is free software; the Free Software Foundation
1141
976
# gives unlimited permission to copy and/or distribute it,
1142
977
# with or without modifications, as long as this notice is preserved.
1143
978
 
1144
 
# serial 1
 
979
# serial 2
1145
980
 
1146
981
# AM_PROG_INSTALL_STRIP
1147
982
# ---------------------
1148
 
# One issue with vendor `install' (even GNU) is that you can't
 
983
# One issue with vendor 'install' (even GNU) is that you can't
1149
984
# specify the program used to strip binaries.  This is especially
1150
985
# annoying in cross-compiling environments, where the build's strip
1151
986
# is unlikely to handle the host's binaries.
1152
987
# Fortunately install-sh will honor a STRIPPROG variable, so we
1153
 
# always use install-sh in `make install-strip', and initialize
 
988
# always use install-sh in "make install-strip", and initialize
1154
989
# STRIPPROG with the value of the STRIP variable (set by the user).
1155
990
AC_DEFUN([AM_PROG_INSTALL_STRIP],
1156
991
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1157
 
# Installed binaries are usually stripped using `strip' when the user
1158
 
# run `make install-strip'.  However `strip' might not be the right
 
992
# Installed binaries are usually stripped using 'strip' when the user
 
993
# run "make install-strip".  However 'strip' might not be the right
1159
994
# tool to use in cross-compilation environments, therefore Automake
1160
 
# will honor the `STRIP' environment variable to overrule this program.
1161
 
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
 
995
# will honor the 'STRIP' environment variable to overrule this program.
 
996
dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
1162
997
if test "$cross_compiling" != no; then
1163
998
  AC_CHECK_TOOL([STRIP], [strip], :)
1164
999
fi
1165
1000
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1166
1001
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1167
1002
 
1168
 
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
 
1003
# Copyright (C) 2006-2012 Free Software Foundation, Inc.
1169
1004
#
1170
1005
# This file is free software; the Free Software Foundation
1171
1006
# gives unlimited permission to copy and/or distribute it,
1186
1021
 
1187
1022
# Check how to create a tarball.                            -*- Autoconf -*-
1188
1023
 
1189
 
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
 
1024
# Copyright (C) 2004-2012 Free Software Foundation, Inc.
1190
1025
#
1191
1026
# This file is free software; the Free Software Foundation
1192
1027
# gives unlimited permission to copy and/or distribute it,
1193
1028
# with or without modifications, as long as this notice is preserved.
1194
1029
 
1195
 
# serial 2
 
1030
# serial 3
1196
1031
 
1197
1032
# _AM_PROG_TAR(FORMAT)
1198
1033
# --------------------
1199
1034
# Check how to create a tarball in format FORMAT.
1200
 
# FORMAT should be one of `v7', `ustar', or `pax'.
 
1035
# FORMAT should be one of 'v7', 'ustar', or 'pax'.
1201
1036
#
1202
1037
# Substitute a variable $(am__tar) that is a command
1203
1038
# writing to stdout a FORMAT-tarball containing the directory
1220
1055
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1221
1056
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
1222
1057
# Do not fold the above two line into one, because Tru64 sh and
1223
 
# Solaris sh will not grok spaces in the rhs of `-'.
 
1058
# Solaris sh will not grok spaces in the rhs of '-'.
1224
1059
for _am_tool in $_am_tools
1225
1060
do
1226
1061
  case $_am_tool in
1296
1131
m4_include([build/lzma.m4])
1297
1132
m4_include([build/network.m4])
1298
1133
m4_include([build/pcre.m4])
 
1134
m4_include([build/pkg.m4])
1299
1135
m4_include([build/tcl.m4])
1300
1136
m4_include([build/tcmalloc.m4])
1301
1137
m4_include([build/xml.m4])