xref: /aosp_15_r20/external/strace/aclocal.m4 (revision cf84ac9a129d8ea9952db616b4e9b904c4bdde56)
1*cf84ac9aSAndroid Build Coastguard Worker# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
2*cf84ac9aSAndroid Build Coastguard Worker
3*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 1996-2013 Free Software Foundation, Inc.
4*cf84ac9aSAndroid Build Coastguard Worker
5*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
6*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
7*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
8*cf84ac9aSAndroid Build Coastguard Worker
9*cf84ac9aSAndroid Build Coastguard Worker# This program is distributed in the hope that it will be useful,
10*cf84ac9aSAndroid Build Coastguard Worker# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11*cf84ac9aSAndroid Build Coastguard Worker# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12*cf84ac9aSAndroid Build Coastguard Worker# PARTICULAR PURPOSE.
13*cf84ac9aSAndroid Build Coastguard Worker
14*cf84ac9aSAndroid Build Coastguard Workerm4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
15*cf84ac9aSAndroid Build Coastguard Workerm4_ifndef([AC_AUTOCONF_VERSION],
16*cf84ac9aSAndroid Build Coastguard Worker  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17*cf84ac9aSAndroid Build Coastguard Workerm4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
18*cf84ac9aSAndroid Build Coastguard Worker[m4_warning([this file was generated for autoconf 2.69.
19*cf84ac9aSAndroid Build Coastguard WorkerYou have another version of autoconf.  It may work, but is not guaranteed to.
20*cf84ac9aSAndroid Build Coastguard WorkerIf you have problems, you may need to regenerate the build system entirely.
21*cf84ac9aSAndroid Build Coastguard WorkerTo do so, use the procedure documented by the package, typically 'autoreconf'.])])
22*cf84ac9aSAndroid Build Coastguard Worker
23*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 2002-2013 Free Software Foundation, Inc.
24*cf84ac9aSAndroid Build Coastguard Worker#
25*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
26*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
27*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
28*cf84ac9aSAndroid Build Coastguard Worker
29*cf84ac9aSAndroid Build Coastguard Worker# AM_AUTOMAKE_VERSION(VERSION)
30*cf84ac9aSAndroid Build Coastguard Worker# ----------------------------
31*cf84ac9aSAndroid Build Coastguard Worker# Automake X.Y traces this macro to ensure aclocal.m4 has been
32*cf84ac9aSAndroid Build Coastguard Worker# generated from the m4 files accompanying Automake X.Y.
33*cf84ac9aSAndroid Build Coastguard Worker# (This private macro should not be called outside this file.)
34*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_AUTOMAKE_VERSION],
35*cf84ac9aSAndroid Build Coastguard Worker[am__api_version='1.14'
36*cf84ac9aSAndroid Build Coastguard Workerdnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
37*cf84ac9aSAndroid Build Coastguard Workerdnl require some minimum version.  Point them to the right macro.
38*cf84ac9aSAndroid Build Coastguard Workerm4_if([$1], [1.14.1], [],
39*cf84ac9aSAndroid Build Coastguard Worker      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
40*cf84ac9aSAndroid Build Coastguard Worker])
41*cf84ac9aSAndroid Build Coastguard Worker
42*cf84ac9aSAndroid Build Coastguard Worker# _AM_AUTOCONF_VERSION(VERSION)
43*cf84ac9aSAndroid Build Coastguard Worker# -----------------------------
44*cf84ac9aSAndroid Build Coastguard Worker# aclocal traces this macro to find the Autoconf version.
45*cf84ac9aSAndroid Build Coastguard Worker# This is a private macro too.  Using m4_define simplifies
46*cf84ac9aSAndroid Build Coastguard Worker# the logic in aclocal, which can simply ignore this definition.
47*cf84ac9aSAndroid Build Coastguard Workerm4_define([_AM_AUTOCONF_VERSION], [])
48*cf84ac9aSAndroid Build Coastguard Worker
49*cf84ac9aSAndroid Build Coastguard Worker# AM_SET_CURRENT_AUTOMAKE_VERSION
50*cf84ac9aSAndroid Build Coastguard Worker# -------------------------------
51*cf84ac9aSAndroid Build Coastguard Worker# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
52*cf84ac9aSAndroid Build Coastguard Worker# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
53*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
54*cf84ac9aSAndroid Build Coastguard Worker[AM_AUTOMAKE_VERSION([1.14.1])dnl
55*cf84ac9aSAndroid Build Coastguard Workerm4_ifndef([AC_AUTOCONF_VERSION],
56*cf84ac9aSAndroid Build Coastguard Worker  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
57*cf84ac9aSAndroid Build Coastguard Worker_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
58*cf84ac9aSAndroid Build Coastguard Worker
59*cf84ac9aSAndroid Build Coastguard Worker# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
60*cf84ac9aSAndroid Build Coastguard Worker
61*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 2001-2013 Free Software Foundation, Inc.
62*cf84ac9aSAndroid Build Coastguard Worker#
63*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
64*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
65*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
66*cf84ac9aSAndroid Build Coastguard Worker
67*cf84ac9aSAndroid Build Coastguard Worker# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
68*cf84ac9aSAndroid Build Coastguard Worker# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
69*cf84ac9aSAndroid Build Coastguard Worker# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
70*cf84ac9aSAndroid Build Coastguard Worker#
71*cf84ac9aSAndroid Build Coastguard Worker# Of course, Automake must honor this variable whenever it calls a
72*cf84ac9aSAndroid Build Coastguard Worker# tool from the auxiliary directory.  The problem is that $srcdir (and
73*cf84ac9aSAndroid Build Coastguard Worker# therefore $ac_aux_dir as well) can be either absolute or relative,
74*cf84ac9aSAndroid Build Coastguard Worker# depending on how configure is run.  This is pretty annoying, since
75*cf84ac9aSAndroid Build Coastguard Worker# it makes $ac_aux_dir quite unusable in subdirectories: in the top
76*cf84ac9aSAndroid Build Coastguard Worker# source directory, any form will work fine, but in subdirectories a
77*cf84ac9aSAndroid Build Coastguard Worker# relative path needs to be adjusted first.
78*cf84ac9aSAndroid Build Coastguard Worker#
79*cf84ac9aSAndroid Build Coastguard Worker# $ac_aux_dir/missing
80*cf84ac9aSAndroid Build Coastguard Worker#    fails when called from a subdirectory if $ac_aux_dir is relative
81*cf84ac9aSAndroid Build Coastguard Worker# $top_srcdir/$ac_aux_dir/missing
82*cf84ac9aSAndroid Build Coastguard Worker#    fails if $ac_aux_dir is absolute,
83*cf84ac9aSAndroid Build Coastguard Worker#    fails when called from a subdirectory in a VPATH build with
84*cf84ac9aSAndroid Build Coastguard Worker#          a relative $ac_aux_dir
85*cf84ac9aSAndroid Build Coastguard Worker#
86*cf84ac9aSAndroid Build Coastguard Worker# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
87*cf84ac9aSAndroid Build Coastguard Worker# are both prefixed by $srcdir.  In an in-source build this is usually
88*cf84ac9aSAndroid Build Coastguard Worker# harmless because $srcdir is '.', but things will broke when you
89*cf84ac9aSAndroid Build Coastguard Worker# start a VPATH build or use an absolute $srcdir.
90*cf84ac9aSAndroid Build Coastguard Worker#
91*cf84ac9aSAndroid Build Coastguard Worker# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
92*cf84ac9aSAndroid Build Coastguard Worker# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
93*cf84ac9aSAndroid Build Coastguard Worker#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
94*cf84ac9aSAndroid Build Coastguard Worker# and then we would define $MISSING as
95*cf84ac9aSAndroid Build Coastguard Worker#   MISSING="\${SHELL} $am_aux_dir/missing"
96*cf84ac9aSAndroid Build Coastguard Worker# This will work as long as MISSING is not called from configure, because
97*cf84ac9aSAndroid Build Coastguard Worker# unfortunately $(top_srcdir) has no meaning in configure.
98*cf84ac9aSAndroid Build Coastguard Worker# However there are other variables, like CC, which are often used in
99*cf84ac9aSAndroid Build Coastguard Worker# configure, and could therefore not use this "fixed" $ac_aux_dir.
100*cf84ac9aSAndroid Build Coastguard Worker#
101*cf84ac9aSAndroid Build Coastguard Worker# Another solution, used here, is to always expand $ac_aux_dir to an
102*cf84ac9aSAndroid Build Coastguard Worker# absolute PATH.  The drawback is that using absolute paths prevent a
103*cf84ac9aSAndroid Build Coastguard Worker# configured tree to be moved without reconfiguration.
104*cf84ac9aSAndroid Build Coastguard Worker
105*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_AUX_DIR_EXPAND],
106*cf84ac9aSAndroid Build Coastguard Worker[dnl Rely on autoconf to set up CDPATH properly.
107*cf84ac9aSAndroid Build Coastguard WorkerAC_PREREQ([2.50])dnl
108*cf84ac9aSAndroid Build Coastguard Worker# expand $ac_aux_dir to an absolute path
109*cf84ac9aSAndroid Build Coastguard Workeram_aux_dir=`cd $ac_aux_dir && pwd`
110*cf84ac9aSAndroid Build Coastguard Worker])
111*cf84ac9aSAndroid Build Coastguard Worker
112*cf84ac9aSAndroid Build Coastguard Worker# AM_CONDITIONAL                                            -*- Autoconf -*-
113*cf84ac9aSAndroid Build Coastguard Worker
114*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 1997-2013 Free Software Foundation, Inc.
115*cf84ac9aSAndroid Build Coastguard Worker#
116*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
117*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
118*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
119*cf84ac9aSAndroid Build Coastguard Worker
120*cf84ac9aSAndroid Build Coastguard Worker# AM_CONDITIONAL(NAME, SHELL-CONDITION)
121*cf84ac9aSAndroid Build Coastguard Worker# -------------------------------------
122*cf84ac9aSAndroid Build Coastguard Worker# Define a conditional.
123*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_CONDITIONAL],
124*cf84ac9aSAndroid Build Coastguard Worker[AC_PREREQ([2.52])dnl
125*cf84ac9aSAndroid Build Coastguard Worker m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
126*cf84ac9aSAndroid Build Coastguard Worker       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
127*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([$1_TRUE])dnl
128*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([$1_FALSE])dnl
129*cf84ac9aSAndroid Build Coastguard Worker_AM_SUBST_NOTMAKE([$1_TRUE])dnl
130*cf84ac9aSAndroid Build Coastguard Worker_AM_SUBST_NOTMAKE([$1_FALSE])dnl
131*cf84ac9aSAndroid Build Coastguard Workerm4_define([_AM_COND_VALUE_$1], [$2])dnl
132*cf84ac9aSAndroid Build Coastguard Workerif $2; then
133*cf84ac9aSAndroid Build Coastguard Worker  $1_TRUE=
134*cf84ac9aSAndroid Build Coastguard Worker  $1_FALSE='#'
135*cf84ac9aSAndroid Build Coastguard Workerelse
136*cf84ac9aSAndroid Build Coastguard Worker  $1_TRUE='#'
137*cf84ac9aSAndroid Build Coastguard Worker  $1_FALSE=
138*cf84ac9aSAndroid Build Coastguard Workerfi
139*cf84ac9aSAndroid Build Coastguard WorkerAC_CONFIG_COMMANDS_PRE(
140*cf84ac9aSAndroid Build Coastguard Worker[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
141*cf84ac9aSAndroid Build Coastguard Worker  AC_MSG_ERROR([[conditional "$1" was never defined.
142*cf84ac9aSAndroid Build Coastguard WorkerUsually this means the macro was only invoked conditionally.]])
143*cf84ac9aSAndroid Build Coastguard Workerfi])])
144*cf84ac9aSAndroid Build Coastguard Worker
145*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 1999-2013 Free Software Foundation, Inc.
146*cf84ac9aSAndroid Build Coastguard Worker#
147*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
148*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
149*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
150*cf84ac9aSAndroid Build Coastguard Worker
151*cf84ac9aSAndroid Build Coastguard Worker
152*cf84ac9aSAndroid Build Coastguard Worker# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
153*cf84ac9aSAndroid Build Coastguard Worker# written in clear, in which case automake, when reading aclocal.m4,
154*cf84ac9aSAndroid Build Coastguard Worker# will think it sees a *use*, and therefore will trigger all it's
155*cf84ac9aSAndroid Build Coastguard Worker# C support machinery.  Also note that it means that autoscan, seeing
156*cf84ac9aSAndroid Build Coastguard Worker# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
157*cf84ac9aSAndroid Build Coastguard Worker
158*cf84ac9aSAndroid Build Coastguard Worker
159*cf84ac9aSAndroid Build Coastguard Worker# _AM_DEPENDENCIES(NAME)
160*cf84ac9aSAndroid Build Coastguard Worker# ----------------------
161*cf84ac9aSAndroid Build Coastguard Worker# See how the compiler implements dependency checking.
162*cf84ac9aSAndroid Build Coastguard Worker# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
163*cf84ac9aSAndroid Build Coastguard Worker# We try a few techniques and use that to set a single cache variable.
164*cf84ac9aSAndroid Build Coastguard Worker#
165*cf84ac9aSAndroid Build Coastguard Worker# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
166*cf84ac9aSAndroid Build Coastguard Worker# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
167*cf84ac9aSAndroid Build Coastguard Worker# dependency, and given that the user is not expected to run this macro,
168*cf84ac9aSAndroid Build Coastguard Worker# just rely on AC_PROG_CC.
169*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([_AM_DEPENDENCIES],
170*cf84ac9aSAndroid Build Coastguard Worker[AC_REQUIRE([AM_SET_DEPDIR])dnl
171*cf84ac9aSAndroid Build Coastguard WorkerAC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
172*cf84ac9aSAndroid Build Coastguard WorkerAC_REQUIRE([AM_MAKE_INCLUDE])dnl
173*cf84ac9aSAndroid Build Coastguard WorkerAC_REQUIRE([AM_DEP_TRACK])dnl
174*cf84ac9aSAndroid Build Coastguard Worker
175*cf84ac9aSAndroid Build Coastguard Workerm4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
176*cf84ac9aSAndroid Build Coastguard Worker      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
177*cf84ac9aSAndroid Build Coastguard Worker      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
178*cf84ac9aSAndroid Build Coastguard Worker      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
179*cf84ac9aSAndroid Build Coastguard Worker      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
180*cf84ac9aSAndroid Build Coastguard Worker      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
181*cf84ac9aSAndroid Build Coastguard Worker                    [depcc="$$1"   am_compiler_list=])
182*cf84ac9aSAndroid Build Coastguard Worker
183*cf84ac9aSAndroid Build Coastguard WorkerAC_CACHE_CHECK([dependency style of $depcc],
184*cf84ac9aSAndroid Build Coastguard Worker               [am_cv_$1_dependencies_compiler_type],
185*cf84ac9aSAndroid Build Coastguard Worker[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
186*cf84ac9aSAndroid Build Coastguard Worker  # We make a subdir and do the tests there.  Otherwise we can end up
187*cf84ac9aSAndroid Build Coastguard Worker  # making bogus files that we don't know about and never remove.  For
188*cf84ac9aSAndroid Build Coastguard Worker  # instance it was reported that on HP-UX the gcc test will end up
189*cf84ac9aSAndroid Build Coastguard Worker  # making a dummy file named 'D' -- because '-MD' means "put the output
190*cf84ac9aSAndroid Build Coastguard Worker  # in D".
191*cf84ac9aSAndroid Build Coastguard Worker  rm -rf conftest.dir
192*cf84ac9aSAndroid Build Coastguard Worker  mkdir conftest.dir
193*cf84ac9aSAndroid Build Coastguard Worker  # Copy depcomp to subdir because otherwise we won't find it if we're
194*cf84ac9aSAndroid Build Coastguard Worker  # using a relative directory.
195*cf84ac9aSAndroid Build Coastguard Worker  cp "$am_depcomp" conftest.dir
196*cf84ac9aSAndroid Build Coastguard Worker  cd conftest.dir
197*cf84ac9aSAndroid Build Coastguard Worker  # We will build objects and dependencies in a subdirectory because
198*cf84ac9aSAndroid Build Coastguard Worker  # it helps to detect inapplicable dependency modes.  For instance
199*cf84ac9aSAndroid Build Coastguard Worker  # both Tru64's cc and ICC support -MD to output dependencies as a
200*cf84ac9aSAndroid Build Coastguard Worker  # side effect of compilation, but ICC will put the dependencies in
201*cf84ac9aSAndroid Build Coastguard Worker  # the current directory while Tru64 will put them in the object
202*cf84ac9aSAndroid Build Coastguard Worker  # directory.
203*cf84ac9aSAndroid Build Coastguard Worker  mkdir sub
204*cf84ac9aSAndroid Build Coastguard Worker
205*cf84ac9aSAndroid Build Coastguard Worker  am_cv_$1_dependencies_compiler_type=none
206*cf84ac9aSAndroid Build Coastguard Worker  if test "$am_compiler_list" = ""; then
207*cf84ac9aSAndroid Build Coastguard Worker     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
208*cf84ac9aSAndroid Build Coastguard Worker  fi
209*cf84ac9aSAndroid Build Coastguard Worker  am__universal=false
210*cf84ac9aSAndroid Build Coastguard Worker  m4_case([$1], [CC],
211*cf84ac9aSAndroid Build Coastguard Worker    [case " $depcc " in #(
212*cf84ac9aSAndroid Build Coastguard Worker     *\ -arch\ *\ -arch\ *) am__universal=true ;;
213*cf84ac9aSAndroid Build Coastguard Worker     esac],
214*cf84ac9aSAndroid Build Coastguard Worker    [CXX],
215*cf84ac9aSAndroid Build Coastguard Worker    [case " $depcc " in #(
216*cf84ac9aSAndroid Build Coastguard Worker     *\ -arch\ *\ -arch\ *) am__universal=true ;;
217*cf84ac9aSAndroid Build Coastguard Worker     esac])
218*cf84ac9aSAndroid Build Coastguard Worker
219*cf84ac9aSAndroid Build Coastguard Worker  for depmode in $am_compiler_list; do
220*cf84ac9aSAndroid Build Coastguard Worker    # Setup a source with many dependencies, because some compilers
221*cf84ac9aSAndroid Build Coastguard Worker    # like to wrap large dependency lists on column 80 (with \), and
222*cf84ac9aSAndroid Build Coastguard Worker    # we should not choose a depcomp mode which is confused by this.
223*cf84ac9aSAndroid Build Coastguard Worker    #
224*cf84ac9aSAndroid Build Coastguard Worker    # We need to recreate these files for each test, as the compiler may
225*cf84ac9aSAndroid Build Coastguard Worker    # overwrite some of them when testing with obscure command lines.
226*cf84ac9aSAndroid Build Coastguard Worker    # This happens at least with the AIX C compiler.
227*cf84ac9aSAndroid Build Coastguard Worker    : > sub/conftest.c
228*cf84ac9aSAndroid Build Coastguard Worker    for i in 1 2 3 4 5 6; do
229*cf84ac9aSAndroid Build Coastguard Worker      echo '#include "conftst'$i'.h"' >> sub/conftest.c
230*cf84ac9aSAndroid Build Coastguard Worker      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
231*cf84ac9aSAndroid Build Coastguard Worker      # Solaris 10 /bin/sh.
232*cf84ac9aSAndroid Build Coastguard Worker      echo '/* dummy */' > sub/conftst$i.h
233*cf84ac9aSAndroid Build Coastguard Worker    done
234*cf84ac9aSAndroid Build Coastguard Worker    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
235*cf84ac9aSAndroid Build Coastguard Worker
236*cf84ac9aSAndroid Build Coastguard Worker    # We check with '-c' and '-o' for the sake of the "dashmstdout"
237*cf84ac9aSAndroid Build Coastguard Worker    # mode.  It turns out that the SunPro C++ compiler does not properly
238*cf84ac9aSAndroid Build Coastguard Worker    # handle '-M -o', and we need to detect this.  Also, some Intel
239*cf84ac9aSAndroid Build Coastguard Worker    # versions had trouble with output in subdirs.
240*cf84ac9aSAndroid Build Coastguard Worker    am__obj=sub/conftest.${OBJEXT-o}
241*cf84ac9aSAndroid Build Coastguard Worker    am__minus_obj="-o $am__obj"
242*cf84ac9aSAndroid Build Coastguard Worker    case $depmode in
243*cf84ac9aSAndroid Build Coastguard Worker    gcc)
244*cf84ac9aSAndroid Build Coastguard Worker      # This depmode causes a compiler race in universal mode.
245*cf84ac9aSAndroid Build Coastguard Worker      test "$am__universal" = false || continue
246*cf84ac9aSAndroid Build Coastguard Worker      ;;
247*cf84ac9aSAndroid Build Coastguard Worker    nosideeffect)
248*cf84ac9aSAndroid Build Coastguard Worker      # After this tag, mechanisms are not by side-effect, so they'll
249*cf84ac9aSAndroid Build Coastguard Worker      # only be used when explicitly requested.
250*cf84ac9aSAndroid Build Coastguard Worker      if test "x$enable_dependency_tracking" = xyes; then
251*cf84ac9aSAndroid Build Coastguard Worker	continue
252*cf84ac9aSAndroid Build Coastguard Worker      else
253*cf84ac9aSAndroid Build Coastguard Worker	break
254*cf84ac9aSAndroid Build Coastguard Worker      fi
255*cf84ac9aSAndroid Build Coastguard Worker      ;;
256*cf84ac9aSAndroid Build Coastguard Worker    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
257*cf84ac9aSAndroid Build Coastguard Worker      # This compiler won't grok '-c -o', but also, the minuso test has
258*cf84ac9aSAndroid Build Coastguard Worker      # not run yet.  These depmodes are late enough in the game, and
259*cf84ac9aSAndroid Build Coastguard Worker      # so weak that their functioning should not be impacted.
260*cf84ac9aSAndroid Build Coastguard Worker      am__obj=conftest.${OBJEXT-o}
261*cf84ac9aSAndroid Build Coastguard Worker      am__minus_obj=
262*cf84ac9aSAndroid Build Coastguard Worker      ;;
263*cf84ac9aSAndroid Build Coastguard Worker    none) break ;;
264*cf84ac9aSAndroid Build Coastguard Worker    esac
265*cf84ac9aSAndroid Build Coastguard Worker    if depmode=$depmode \
266*cf84ac9aSAndroid Build Coastguard Worker       source=sub/conftest.c object=$am__obj \
267*cf84ac9aSAndroid Build Coastguard Worker       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
268*cf84ac9aSAndroid Build Coastguard Worker       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
269*cf84ac9aSAndroid Build Coastguard Worker         >/dev/null 2>conftest.err &&
270*cf84ac9aSAndroid Build Coastguard Worker       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
271*cf84ac9aSAndroid Build Coastguard Worker       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
272*cf84ac9aSAndroid Build Coastguard Worker       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
273*cf84ac9aSAndroid Build Coastguard Worker       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
274*cf84ac9aSAndroid Build Coastguard Worker      # icc doesn't choke on unknown options, it will just issue warnings
275*cf84ac9aSAndroid Build Coastguard Worker      # or remarks (even with -Werror).  So we grep stderr for any message
276*cf84ac9aSAndroid Build Coastguard Worker      # that says an option was ignored or not supported.
277*cf84ac9aSAndroid Build Coastguard Worker      # When given -MP, icc 7.0 and 7.1 complain thusly:
278*cf84ac9aSAndroid Build Coastguard Worker      #   icc: Command line warning: ignoring option '-M'; no argument required
279*cf84ac9aSAndroid Build Coastguard Worker      # The diagnosis changed in icc 8.0:
280*cf84ac9aSAndroid Build Coastguard Worker      #   icc: Command line remark: option '-MP' not supported
281*cf84ac9aSAndroid Build Coastguard Worker      if (grep 'ignoring option' conftest.err ||
282*cf84ac9aSAndroid Build Coastguard Worker          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
283*cf84ac9aSAndroid Build Coastguard Worker        am_cv_$1_dependencies_compiler_type=$depmode
284*cf84ac9aSAndroid Build Coastguard Worker        break
285*cf84ac9aSAndroid Build Coastguard Worker      fi
286*cf84ac9aSAndroid Build Coastguard Worker    fi
287*cf84ac9aSAndroid Build Coastguard Worker  done
288*cf84ac9aSAndroid Build Coastguard Worker
289*cf84ac9aSAndroid Build Coastguard Worker  cd ..
290*cf84ac9aSAndroid Build Coastguard Worker  rm -rf conftest.dir
291*cf84ac9aSAndroid Build Coastguard Workerelse
292*cf84ac9aSAndroid Build Coastguard Worker  am_cv_$1_dependencies_compiler_type=none
293*cf84ac9aSAndroid Build Coastguard Workerfi
294*cf84ac9aSAndroid Build Coastguard Worker])
295*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
296*cf84ac9aSAndroid Build Coastguard WorkerAM_CONDITIONAL([am__fastdep$1], [
297*cf84ac9aSAndroid Build Coastguard Worker  test "x$enable_dependency_tracking" != xno \
298*cf84ac9aSAndroid Build Coastguard Worker  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
299*cf84ac9aSAndroid Build Coastguard Worker])
300*cf84ac9aSAndroid Build Coastguard Worker
301*cf84ac9aSAndroid Build Coastguard Worker
302*cf84ac9aSAndroid Build Coastguard Worker# AM_SET_DEPDIR
303*cf84ac9aSAndroid Build Coastguard Worker# -------------
304*cf84ac9aSAndroid Build Coastguard Worker# Choose a directory name for dependency files.
305*cf84ac9aSAndroid Build Coastguard Worker# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
306*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_SET_DEPDIR],
307*cf84ac9aSAndroid Build Coastguard Worker[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
308*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
309*cf84ac9aSAndroid Build Coastguard Worker])
310*cf84ac9aSAndroid Build Coastguard Worker
311*cf84ac9aSAndroid Build Coastguard Worker
312*cf84ac9aSAndroid Build Coastguard Worker# AM_DEP_TRACK
313*cf84ac9aSAndroid Build Coastguard Worker# ------------
314*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_DEP_TRACK],
315*cf84ac9aSAndroid Build Coastguard Worker[AC_ARG_ENABLE([dependency-tracking], [dnl
316*cf84ac9aSAndroid Build Coastguard WorkerAS_HELP_STRING(
317*cf84ac9aSAndroid Build Coastguard Worker  [--enable-dependency-tracking],
318*cf84ac9aSAndroid Build Coastguard Worker  [do not reject slow dependency extractors])
319*cf84ac9aSAndroid Build Coastguard WorkerAS_HELP_STRING(
320*cf84ac9aSAndroid Build Coastguard Worker  [--disable-dependency-tracking],
321*cf84ac9aSAndroid Build Coastguard Worker  [speeds up one-time build])])
322*cf84ac9aSAndroid Build Coastguard Workerif test "x$enable_dependency_tracking" != xno; then
323*cf84ac9aSAndroid Build Coastguard Worker  am_depcomp="$ac_aux_dir/depcomp"
324*cf84ac9aSAndroid Build Coastguard Worker  AMDEPBACKSLASH='\'
325*cf84ac9aSAndroid Build Coastguard Worker  am__nodep='_no'
326*cf84ac9aSAndroid Build Coastguard Workerfi
327*cf84ac9aSAndroid Build Coastguard WorkerAM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
328*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([AMDEPBACKSLASH])dnl
329*cf84ac9aSAndroid Build Coastguard Worker_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
330*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([am__nodep])dnl
331*cf84ac9aSAndroid Build Coastguard Worker_AM_SUBST_NOTMAKE([am__nodep])dnl
332*cf84ac9aSAndroid Build Coastguard Worker])
333*cf84ac9aSAndroid Build Coastguard Worker
334*cf84ac9aSAndroid Build Coastguard Worker# Generate code to set up dependency tracking.              -*- Autoconf -*-
335*cf84ac9aSAndroid Build Coastguard Worker
336*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 1999-2013 Free Software Foundation, Inc.
337*cf84ac9aSAndroid Build Coastguard Worker#
338*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
339*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
340*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
341*cf84ac9aSAndroid Build Coastguard Worker
342*cf84ac9aSAndroid Build Coastguard Worker
343*cf84ac9aSAndroid Build Coastguard Worker# _AM_OUTPUT_DEPENDENCY_COMMANDS
344*cf84ac9aSAndroid Build Coastguard Worker# ------------------------------
345*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
346*cf84ac9aSAndroid Build Coastguard Worker[{
347*cf84ac9aSAndroid Build Coastguard Worker  # Older Autoconf quotes --file arguments for eval, but not when files
348*cf84ac9aSAndroid Build Coastguard Worker  # are listed without --file.  Let's play safe and only enable the eval
349*cf84ac9aSAndroid Build Coastguard Worker  # if we detect the quoting.
350*cf84ac9aSAndroid Build Coastguard Worker  case $CONFIG_FILES in
351*cf84ac9aSAndroid Build Coastguard Worker  *\'*) eval set x "$CONFIG_FILES" ;;
352*cf84ac9aSAndroid Build Coastguard Worker  *)   set x $CONFIG_FILES ;;
353*cf84ac9aSAndroid Build Coastguard Worker  esac
354*cf84ac9aSAndroid Build Coastguard Worker  shift
355*cf84ac9aSAndroid Build Coastguard Worker  for mf
356*cf84ac9aSAndroid Build Coastguard Worker  do
357*cf84ac9aSAndroid Build Coastguard Worker    # Strip MF so we end up with the name of the file.
358*cf84ac9aSAndroid Build Coastguard Worker    mf=`echo "$mf" | sed -e 's/:.*$//'`
359*cf84ac9aSAndroid Build Coastguard Worker    # Check whether this is an Automake generated Makefile or not.
360*cf84ac9aSAndroid Build Coastguard Worker    # We used to match only the files named 'Makefile.in', but
361*cf84ac9aSAndroid Build Coastguard Worker    # some people rename them; so instead we look at the file content.
362*cf84ac9aSAndroid Build Coastguard Worker    # Grep'ing the first line is not enough: some people post-process
363*cf84ac9aSAndroid Build Coastguard Worker    # each Makefile.in and add a new line on top of each file to say so.
364*cf84ac9aSAndroid Build Coastguard Worker    # Grep'ing the whole file is not good either: AIX grep has a line
365*cf84ac9aSAndroid Build Coastguard Worker    # limit of 2048, but all sed's we know have understand at least 4000.
366*cf84ac9aSAndroid Build Coastguard Worker    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
367*cf84ac9aSAndroid Build Coastguard Worker      dirpart=`AS_DIRNAME("$mf")`
368*cf84ac9aSAndroid Build Coastguard Worker    else
369*cf84ac9aSAndroid Build Coastguard Worker      continue
370*cf84ac9aSAndroid Build Coastguard Worker    fi
371*cf84ac9aSAndroid Build Coastguard Worker    # Extract the definition of DEPDIR, am__include, and am__quote
372*cf84ac9aSAndroid Build Coastguard Worker    # from the Makefile without running 'make'.
373*cf84ac9aSAndroid Build Coastguard Worker    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
374*cf84ac9aSAndroid Build Coastguard Worker    test -z "$DEPDIR" && continue
375*cf84ac9aSAndroid Build Coastguard Worker    am__include=`sed -n 's/^am__include = //p' < "$mf"`
376*cf84ac9aSAndroid Build Coastguard Worker    test -z "$am__include" && continue
377*cf84ac9aSAndroid Build Coastguard Worker    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
378*cf84ac9aSAndroid Build Coastguard Worker    # Find all dependency output files, they are included files with
379*cf84ac9aSAndroid Build Coastguard Worker    # $(DEPDIR) in their names.  We invoke sed twice because it is the
380*cf84ac9aSAndroid Build Coastguard Worker    # simplest approach to changing $(DEPDIR) to its actual value in the
381*cf84ac9aSAndroid Build Coastguard Worker    # expansion.
382*cf84ac9aSAndroid Build Coastguard Worker    for file in `sed -n "
383*cf84ac9aSAndroid Build Coastguard Worker      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
384*cf84ac9aSAndroid Build Coastguard Worker	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
385*cf84ac9aSAndroid Build Coastguard Worker      # Make sure the directory exists.
386*cf84ac9aSAndroid Build Coastguard Worker      test -f "$dirpart/$file" && continue
387*cf84ac9aSAndroid Build Coastguard Worker      fdir=`AS_DIRNAME(["$file"])`
388*cf84ac9aSAndroid Build Coastguard Worker      AS_MKDIR_P([$dirpart/$fdir])
389*cf84ac9aSAndroid Build Coastguard Worker      # echo "creating $dirpart/$file"
390*cf84ac9aSAndroid Build Coastguard Worker      echo '# dummy' > "$dirpart/$file"
391*cf84ac9aSAndroid Build Coastguard Worker    done
392*cf84ac9aSAndroid Build Coastguard Worker  done
393*cf84ac9aSAndroid Build Coastguard Worker}
394*cf84ac9aSAndroid Build Coastguard Worker])# _AM_OUTPUT_DEPENDENCY_COMMANDS
395*cf84ac9aSAndroid Build Coastguard Worker
396*cf84ac9aSAndroid Build Coastguard Worker
397*cf84ac9aSAndroid Build Coastguard Worker# AM_OUTPUT_DEPENDENCY_COMMANDS
398*cf84ac9aSAndroid Build Coastguard Worker# -----------------------------
399*cf84ac9aSAndroid Build Coastguard Worker# This macro should only be invoked once -- use via AC_REQUIRE.
400*cf84ac9aSAndroid Build Coastguard Worker#
401*cf84ac9aSAndroid Build Coastguard Worker# This code is only required when automatic dependency tracking
402*cf84ac9aSAndroid Build Coastguard Worker# is enabled.  FIXME.  This creates each '.P' file that we will
403*cf84ac9aSAndroid Build Coastguard Worker# need in order to bootstrap the dependency handling code.
404*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
405*cf84ac9aSAndroid Build Coastguard Worker[AC_CONFIG_COMMANDS([depfiles],
406*cf84ac9aSAndroid Build Coastguard Worker     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
407*cf84ac9aSAndroid Build Coastguard Worker     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
408*cf84ac9aSAndroid Build Coastguard Worker])
409*cf84ac9aSAndroid Build Coastguard Worker
410*cf84ac9aSAndroid Build Coastguard Worker# AM_EXTRA_RECURSIVE_TARGETS                                -*- Autoconf -*-
411*cf84ac9aSAndroid Build Coastguard Worker
412*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 2012-2013 Free Software Foundation, Inc.
413*cf84ac9aSAndroid Build Coastguard Worker#
414*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
415*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
416*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
417*cf84ac9aSAndroid Build Coastguard Worker
418*cf84ac9aSAndroid Build Coastguard Worker# AM_EXTRA_RECURSIVE_TARGETS
419*cf84ac9aSAndroid Build Coastguard Worker# --------------------------
420*cf84ac9aSAndroid Build Coastguard Worker# Define the list of user recursive targets.  This macro exists only to
421*cf84ac9aSAndroid Build Coastguard Worker# be traced by Automake, which will ensure that a proper definition of
422*cf84ac9aSAndroid Build Coastguard Worker# user-defined recursive targets (and associated rules) is propagated
423*cf84ac9aSAndroid Build Coastguard Worker# into all the generated Makefiles.
424*cf84ac9aSAndroid Build Coastguard Worker# TODO: We should really reject non-literal arguments here...
425*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_EXTRA_RECURSIVE_TARGETS], [])
426*cf84ac9aSAndroid Build Coastguard Worker
427*cf84ac9aSAndroid Build Coastguard Worker# Do all the work for Automake.                             -*- Autoconf -*-
428*cf84ac9aSAndroid Build Coastguard Worker
429*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 1996-2013 Free Software Foundation, Inc.
430*cf84ac9aSAndroid Build Coastguard Worker#
431*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
432*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
433*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
434*cf84ac9aSAndroid Build Coastguard Worker
435*cf84ac9aSAndroid Build Coastguard Worker# This macro actually does too much.  Some checks are only needed if
436*cf84ac9aSAndroid Build Coastguard Worker# your package does certain things.  But this isn't really a big deal.
437*cf84ac9aSAndroid Build Coastguard Worker
438*cf84ac9aSAndroid Build Coastguard Workerdnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
439*cf84ac9aSAndroid Build Coastguard Workerm4_define([AC_PROG_CC],
440*cf84ac9aSAndroid Build Coastguard Workerm4_defn([AC_PROG_CC])
441*cf84ac9aSAndroid Build Coastguard Worker[_AM_PROG_CC_C_O
442*cf84ac9aSAndroid Build Coastguard Worker])
443*cf84ac9aSAndroid Build Coastguard Worker
444*cf84ac9aSAndroid Build Coastguard Worker# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
445*cf84ac9aSAndroid Build Coastguard Worker# AM_INIT_AUTOMAKE([OPTIONS])
446*cf84ac9aSAndroid Build Coastguard Worker# -----------------------------------------------
447*cf84ac9aSAndroid Build Coastguard Worker# The call with PACKAGE and VERSION arguments is the old style
448*cf84ac9aSAndroid Build Coastguard Worker# call (pre autoconf-2.50), which is being phased out.  PACKAGE
449*cf84ac9aSAndroid Build Coastguard Worker# and VERSION should now be passed to AC_INIT and removed from
450*cf84ac9aSAndroid Build Coastguard Worker# the call to AM_INIT_AUTOMAKE.
451*cf84ac9aSAndroid Build Coastguard Worker# We support both call styles for the transition.  After
452*cf84ac9aSAndroid Build Coastguard Worker# the next Automake release, Autoconf can make the AC_INIT
453*cf84ac9aSAndroid Build Coastguard Worker# arguments mandatory, and then we can depend on a new Autoconf
454*cf84ac9aSAndroid Build Coastguard Worker# release and drop the old call support.
455*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_INIT_AUTOMAKE],
456*cf84ac9aSAndroid Build Coastguard Worker[AC_PREREQ([2.65])dnl
457*cf84ac9aSAndroid Build Coastguard Workerdnl Autoconf wants to disallow AM_ names.  We explicitly allow
458*cf84ac9aSAndroid Build Coastguard Workerdnl the ones we care about.
459*cf84ac9aSAndroid Build Coastguard Workerm4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
460*cf84ac9aSAndroid Build Coastguard WorkerAC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
461*cf84ac9aSAndroid Build Coastguard WorkerAC_REQUIRE([AC_PROG_INSTALL])dnl
462*cf84ac9aSAndroid Build Coastguard Workerif test "`cd $srcdir && pwd`" != "`pwd`"; then
463*cf84ac9aSAndroid Build Coastguard Worker  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
464*cf84ac9aSAndroid Build Coastguard Worker  # is not polluted with repeated "-I."
465*cf84ac9aSAndroid Build Coastguard Worker  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
466*cf84ac9aSAndroid Build Coastguard Worker  # test to see if srcdir already configured
467*cf84ac9aSAndroid Build Coastguard Worker  if test -f $srcdir/config.status; then
468*cf84ac9aSAndroid Build Coastguard Worker    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
469*cf84ac9aSAndroid Build Coastguard Worker  fi
470*cf84ac9aSAndroid Build Coastguard Workerfi
471*cf84ac9aSAndroid Build Coastguard Worker
472*cf84ac9aSAndroid Build Coastguard Worker# test whether we have cygpath
473*cf84ac9aSAndroid Build Coastguard Workerif test -z "$CYGPATH_W"; then
474*cf84ac9aSAndroid Build Coastguard Worker  if (cygpath --version) >/dev/null 2>/dev/null; then
475*cf84ac9aSAndroid Build Coastguard Worker    CYGPATH_W='cygpath -w'
476*cf84ac9aSAndroid Build Coastguard Worker  else
477*cf84ac9aSAndroid Build Coastguard Worker    CYGPATH_W=echo
478*cf84ac9aSAndroid Build Coastguard Worker  fi
479*cf84ac9aSAndroid Build Coastguard Workerfi
480*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([CYGPATH_W])
481*cf84ac9aSAndroid Build Coastguard Worker
482*cf84ac9aSAndroid Build Coastguard Worker# Define the identity of the package.
483*cf84ac9aSAndroid Build Coastguard Workerdnl Distinguish between old-style and new-style calls.
484*cf84ac9aSAndroid Build Coastguard Workerm4_ifval([$2],
485*cf84ac9aSAndroid Build Coastguard Worker[AC_DIAGNOSE([obsolete],
486*cf84ac9aSAndroid Build Coastguard Worker             [$0: two- and three-arguments forms are deprecated.])
487*cf84ac9aSAndroid Build Coastguard Workerm4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
488*cf84ac9aSAndroid Build Coastguard Worker AC_SUBST([PACKAGE], [$1])dnl
489*cf84ac9aSAndroid Build Coastguard Worker AC_SUBST([VERSION], [$2])],
490*cf84ac9aSAndroid Build Coastguard Worker[_AM_SET_OPTIONS([$1])dnl
491*cf84ac9aSAndroid Build Coastguard Workerdnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
492*cf84ac9aSAndroid Build Coastguard Workerm4_if(
493*cf84ac9aSAndroid Build Coastguard Worker  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
494*cf84ac9aSAndroid Build Coastguard Worker  [ok:ok],,
495*cf84ac9aSAndroid Build Coastguard Worker  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
496*cf84ac9aSAndroid Build Coastguard Worker AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
497*cf84ac9aSAndroid Build Coastguard Worker AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
498*cf84ac9aSAndroid Build Coastguard Worker
499*cf84ac9aSAndroid Build Coastguard Worker_AM_IF_OPTION([no-define],,
500*cf84ac9aSAndroid Build Coastguard Worker[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
501*cf84ac9aSAndroid Build Coastguard Worker AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
502*cf84ac9aSAndroid Build Coastguard Worker
503*cf84ac9aSAndroid Build Coastguard Worker# Some tools Automake needs.
504*cf84ac9aSAndroid Build Coastguard WorkerAC_REQUIRE([AM_SANITY_CHECK])dnl
505*cf84ac9aSAndroid Build Coastguard WorkerAC_REQUIRE([AC_ARG_PROGRAM])dnl
506*cf84ac9aSAndroid Build Coastguard WorkerAM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
507*cf84ac9aSAndroid Build Coastguard WorkerAM_MISSING_PROG([AUTOCONF], [autoconf])
508*cf84ac9aSAndroid Build Coastguard WorkerAM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
509*cf84ac9aSAndroid Build Coastguard WorkerAM_MISSING_PROG([AUTOHEADER], [autoheader])
510*cf84ac9aSAndroid Build Coastguard WorkerAM_MISSING_PROG([MAKEINFO], [makeinfo])
511*cf84ac9aSAndroid Build Coastguard WorkerAC_REQUIRE([AM_PROG_INSTALL_SH])dnl
512*cf84ac9aSAndroid Build Coastguard WorkerAC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
513*cf84ac9aSAndroid Build Coastguard WorkerAC_REQUIRE([AC_PROG_MKDIR_P])dnl
514*cf84ac9aSAndroid Build Coastguard Worker# For better backward compatibility.  To be removed once Automake 1.9.x
515*cf84ac9aSAndroid Build Coastguard Worker# dies out for good.  For more background, see:
516*cf84ac9aSAndroid Build Coastguard Worker# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
517*cf84ac9aSAndroid Build Coastguard Worker# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
518*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([mkdir_p], ['$(MKDIR_P)'])
519*cf84ac9aSAndroid Build Coastguard Worker# We need awk for the "check" target.  The system "awk" is bad on
520*cf84ac9aSAndroid Build Coastguard Worker# some platforms.
521*cf84ac9aSAndroid Build Coastguard WorkerAC_REQUIRE([AC_PROG_AWK])dnl
522*cf84ac9aSAndroid Build Coastguard WorkerAC_REQUIRE([AC_PROG_MAKE_SET])dnl
523*cf84ac9aSAndroid Build Coastguard WorkerAC_REQUIRE([AM_SET_LEADING_DOT])dnl
524*cf84ac9aSAndroid Build Coastguard Worker_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
525*cf84ac9aSAndroid Build Coastguard Worker	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
526*cf84ac9aSAndroid Build Coastguard Worker			     [_AM_PROG_TAR([v7])])])
527*cf84ac9aSAndroid Build Coastguard Worker_AM_IF_OPTION([no-dependencies],,
528*cf84ac9aSAndroid Build Coastguard Worker[AC_PROVIDE_IFELSE([AC_PROG_CC],
529*cf84ac9aSAndroid Build Coastguard Worker		  [_AM_DEPENDENCIES([CC])],
530*cf84ac9aSAndroid Build Coastguard Worker		  [m4_define([AC_PROG_CC],
531*cf84ac9aSAndroid Build Coastguard Worker			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
532*cf84ac9aSAndroid Build Coastguard WorkerAC_PROVIDE_IFELSE([AC_PROG_CXX],
533*cf84ac9aSAndroid Build Coastguard Worker		  [_AM_DEPENDENCIES([CXX])],
534*cf84ac9aSAndroid Build Coastguard Worker		  [m4_define([AC_PROG_CXX],
535*cf84ac9aSAndroid Build Coastguard Worker			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
536*cf84ac9aSAndroid Build Coastguard WorkerAC_PROVIDE_IFELSE([AC_PROG_OBJC],
537*cf84ac9aSAndroid Build Coastguard Worker		  [_AM_DEPENDENCIES([OBJC])],
538*cf84ac9aSAndroid Build Coastguard Worker		  [m4_define([AC_PROG_OBJC],
539*cf84ac9aSAndroid Build Coastguard Worker			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
540*cf84ac9aSAndroid Build Coastguard WorkerAC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
541*cf84ac9aSAndroid Build Coastguard Worker		  [_AM_DEPENDENCIES([OBJCXX])],
542*cf84ac9aSAndroid Build Coastguard Worker		  [m4_define([AC_PROG_OBJCXX],
543*cf84ac9aSAndroid Build Coastguard Worker			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
544*cf84ac9aSAndroid Build Coastguard Worker])
545*cf84ac9aSAndroid Build Coastguard WorkerAC_REQUIRE([AM_SILENT_RULES])dnl
546*cf84ac9aSAndroid Build Coastguard Workerdnl The testsuite driver may need to know about EXEEXT, so add the
547*cf84ac9aSAndroid Build Coastguard Workerdnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
548*cf84ac9aSAndroid Build Coastguard Workerdnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
549*cf84ac9aSAndroid Build Coastguard WorkerAC_CONFIG_COMMANDS_PRE(dnl
550*cf84ac9aSAndroid Build Coastguard Worker[m4_provide_if([_AM_COMPILER_EXEEXT],
551*cf84ac9aSAndroid Build Coastguard Worker  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
552*cf84ac9aSAndroid Build Coastguard Worker
553*cf84ac9aSAndroid Build Coastguard Worker# POSIX will say in a future version that running "rm -f" with no argument
554*cf84ac9aSAndroid Build Coastguard Worker# is OK; and we want to be able to make that assumption in our Makefile
555*cf84ac9aSAndroid Build Coastguard Worker# recipes.  So use an aggressive probe to check that the usage we want is
556*cf84ac9aSAndroid Build Coastguard Worker# actually supported "in the wild" to an acceptable degree.
557*cf84ac9aSAndroid Build Coastguard Worker# See automake bug#10828.
558*cf84ac9aSAndroid Build Coastguard Worker# To make any issue more visible, cause the running configure to be aborted
559*cf84ac9aSAndroid Build Coastguard Worker# by default if the 'rm' program in use doesn't match our expectations; the
560*cf84ac9aSAndroid Build Coastguard Worker# user can still override this though.
561*cf84ac9aSAndroid Build Coastguard Workerif rm -f && rm -fr && rm -rf; then : OK; else
562*cf84ac9aSAndroid Build Coastguard Worker  cat >&2 <<'END'
563*cf84ac9aSAndroid Build Coastguard WorkerOops!
564*cf84ac9aSAndroid Build Coastguard Worker
565*cf84ac9aSAndroid Build Coastguard WorkerYour 'rm' program seems unable to run without file operands specified
566*cf84ac9aSAndroid Build Coastguard Workeron the command line, even when the '-f' option is present.  This is contrary
567*cf84ac9aSAndroid Build Coastguard Workerto the behaviour of most rm programs out there, and not conforming with
568*cf84ac9aSAndroid Build Coastguard Workerthe upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
569*cf84ac9aSAndroid Build Coastguard Worker
570*cf84ac9aSAndroid Build Coastguard WorkerPlease tell [email protected] about your system, including the value
571*cf84ac9aSAndroid Build Coastguard Workerof your $PATH and any error possibly output before this message.  This
572*cf84ac9aSAndroid Build Coastguard Workercan help us improve future automake versions.
573*cf84ac9aSAndroid Build Coastguard Worker
574*cf84ac9aSAndroid Build Coastguard WorkerEND
575*cf84ac9aSAndroid Build Coastguard Worker  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
576*cf84ac9aSAndroid Build Coastguard Worker    echo 'Configuration will proceed anyway, since you have set the' >&2
577*cf84ac9aSAndroid Build Coastguard Worker    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
578*cf84ac9aSAndroid Build Coastguard Worker    echo >&2
579*cf84ac9aSAndroid Build Coastguard Worker  else
580*cf84ac9aSAndroid Build Coastguard Worker    cat >&2 <<'END'
581*cf84ac9aSAndroid Build Coastguard WorkerAborting the configuration process, to ensure you take notice of the issue.
582*cf84ac9aSAndroid Build Coastguard Worker
583*cf84ac9aSAndroid Build Coastguard WorkerYou can download and install GNU coreutils to get an 'rm' implementation
584*cf84ac9aSAndroid Build Coastguard Workerthat behaves properly: <http://www.gnu.org/software/coreutils/>.
585*cf84ac9aSAndroid Build Coastguard Worker
586*cf84ac9aSAndroid Build Coastguard WorkerIf you want to complete the configuration process using your problematic
587*cf84ac9aSAndroid Build Coastguard Worker'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
588*cf84ac9aSAndroid Build Coastguard Workerto "yes", and re-run configure.
589*cf84ac9aSAndroid Build Coastguard Worker
590*cf84ac9aSAndroid Build Coastguard WorkerEND
591*cf84ac9aSAndroid Build Coastguard Worker    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
592*cf84ac9aSAndroid Build Coastguard Worker  fi
593*cf84ac9aSAndroid Build Coastguard Workerfi])
594*cf84ac9aSAndroid Build Coastguard Worker
595*cf84ac9aSAndroid Build Coastguard Workerdnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
596*cf84ac9aSAndroid Build Coastguard Workerdnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
597*cf84ac9aSAndroid Build Coastguard Workerdnl mangled by Autoconf and run in a shell conditional statement.
598*cf84ac9aSAndroid Build Coastguard Workerm4_define([_AC_COMPILER_EXEEXT],
599*cf84ac9aSAndroid Build Coastguard Workerm4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
600*cf84ac9aSAndroid Build Coastguard Worker
601*cf84ac9aSAndroid Build Coastguard Worker# When config.status generates a header, we must update the stamp-h file.
602*cf84ac9aSAndroid Build Coastguard Worker# This file resides in the same directory as the config header
603*cf84ac9aSAndroid Build Coastguard Worker# that is generated.  The stamp files are numbered to have different names.
604*cf84ac9aSAndroid Build Coastguard Worker
605*cf84ac9aSAndroid Build Coastguard Worker# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
606*cf84ac9aSAndroid Build Coastguard Worker# loop where config.status creates the headers, so we can generate
607*cf84ac9aSAndroid Build Coastguard Worker# our stamp files there.
608*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
609*cf84ac9aSAndroid Build Coastguard Worker[# Compute $1's index in $config_headers.
610*cf84ac9aSAndroid Build Coastguard Worker_am_arg=$1
611*cf84ac9aSAndroid Build Coastguard Worker_am_stamp_count=1
612*cf84ac9aSAndroid Build Coastguard Workerfor _am_header in $config_headers :; do
613*cf84ac9aSAndroid Build Coastguard Worker  case $_am_header in
614*cf84ac9aSAndroid Build Coastguard Worker    $_am_arg | $_am_arg:* )
615*cf84ac9aSAndroid Build Coastguard Worker      break ;;
616*cf84ac9aSAndroid Build Coastguard Worker    * )
617*cf84ac9aSAndroid Build Coastguard Worker      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
618*cf84ac9aSAndroid Build Coastguard Worker  esac
619*cf84ac9aSAndroid Build Coastguard Workerdone
620*cf84ac9aSAndroid Build Coastguard Workerecho "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
621*cf84ac9aSAndroid Build Coastguard Worker
622*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 2001-2013 Free Software Foundation, Inc.
623*cf84ac9aSAndroid Build Coastguard Worker#
624*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
625*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
626*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
627*cf84ac9aSAndroid Build Coastguard Worker
628*cf84ac9aSAndroid Build Coastguard Worker# AM_PROG_INSTALL_SH
629*cf84ac9aSAndroid Build Coastguard Worker# ------------------
630*cf84ac9aSAndroid Build Coastguard Worker# Define $install_sh.
631*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_PROG_INSTALL_SH],
632*cf84ac9aSAndroid Build Coastguard Worker[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
633*cf84ac9aSAndroid Build Coastguard Workerif test x"${install_sh}" != xset; then
634*cf84ac9aSAndroid Build Coastguard Worker  case $am_aux_dir in
635*cf84ac9aSAndroid Build Coastguard Worker  *\ * | *\	*)
636*cf84ac9aSAndroid Build Coastguard Worker    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
637*cf84ac9aSAndroid Build Coastguard Worker  *)
638*cf84ac9aSAndroid Build Coastguard Worker    install_sh="\${SHELL} $am_aux_dir/install-sh"
639*cf84ac9aSAndroid Build Coastguard Worker  esac
640*cf84ac9aSAndroid Build Coastguard Workerfi
641*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([install_sh])])
642*cf84ac9aSAndroid Build Coastguard Worker
643*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 2003-2013 Free Software Foundation, Inc.
644*cf84ac9aSAndroid Build Coastguard Worker#
645*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
646*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
647*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
648*cf84ac9aSAndroid Build Coastguard Worker
649*cf84ac9aSAndroid Build Coastguard Worker# Check whether the underlying file-system supports filenames
650*cf84ac9aSAndroid Build Coastguard Worker# with a leading dot.  For instance MS-DOS doesn't.
651*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_SET_LEADING_DOT],
652*cf84ac9aSAndroid Build Coastguard Worker[rm -rf .tst 2>/dev/null
653*cf84ac9aSAndroid Build Coastguard Workermkdir .tst 2>/dev/null
654*cf84ac9aSAndroid Build Coastguard Workerif test -d .tst; then
655*cf84ac9aSAndroid Build Coastguard Worker  am__leading_dot=.
656*cf84ac9aSAndroid Build Coastguard Workerelse
657*cf84ac9aSAndroid Build Coastguard Worker  am__leading_dot=_
658*cf84ac9aSAndroid Build Coastguard Workerfi
659*cf84ac9aSAndroid Build Coastguard Workerrmdir .tst 2>/dev/null
660*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([am__leading_dot])])
661*cf84ac9aSAndroid Build Coastguard Worker
662*cf84ac9aSAndroid Build Coastguard Worker# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
663*cf84ac9aSAndroid Build Coastguard Worker# From Jim Meyering
664*cf84ac9aSAndroid Build Coastguard Worker
665*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 1996-2013 Free Software Foundation, Inc.
666*cf84ac9aSAndroid Build Coastguard Worker#
667*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
668*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
669*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
670*cf84ac9aSAndroid Build Coastguard Worker
671*cf84ac9aSAndroid Build Coastguard Worker# AM_MAINTAINER_MODE([DEFAULT-MODE])
672*cf84ac9aSAndroid Build Coastguard Worker# ----------------------------------
673*cf84ac9aSAndroid Build Coastguard Worker# Control maintainer-specific portions of Makefiles.
674*cf84ac9aSAndroid Build Coastguard Worker# Default is to disable them, unless 'enable' is passed literally.
675*cf84ac9aSAndroid Build Coastguard Worker# For symmetry, 'disable' may be passed as well.  Anyway, the user
676*cf84ac9aSAndroid Build Coastguard Worker# can override the default with the --enable/--disable switch.
677*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_MAINTAINER_MODE],
678*cf84ac9aSAndroid Build Coastguard Worker[m4_case(m4_default([$1], [disable]),
679*cf84ac9aSAndroid Build Coastguard Worker       [enable], [m4_define([am_maintainer_other], [disable])],
680*cf84ac9aSAndroid Build Coastguard Worker       [disable], [m4_define([am_maintainer_other], [enable])],
681*cf84ac9aSAndroid Build Coastguard Worker       [m4_define([am_maintainer_other], [enable])
682*cf84ac9aSAndroid Build Coastguard Worker        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
683*cf84ac9aSAndroid Build Coastguard WorkerAC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
684*cf84ac9aSAndroid Build Coastguard Worker  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
685*cf84ac9aSAndroid Build Coastguard Worker  AC_ARG_ENABLE([maintainer-mode],
686*cf84ac9aSAndroid Build Coastguard Worker    [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
687*cf84ac9aSAndroid Build Coastguard Worker      am_maintainer_other[ make rules and dependencies not useful
688*cf84ac9aSAndroid Build Coastguard Worker      (and sometimes confusing) to the casual installer])],
689*cf84ac9aSAndroid Build Coastguard Worker    [USE_MAINTAINER_MODE=$enableval],
690*cf84ac9aSAndroid Build Coastguard Worker    [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
691*cf84ac9aSAndroid Build Coastguard Worker  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
692*cf84ac9aSAndroid Build Coastguard Worker  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
693*cf84ac9aSAndroid Build Coastguard Worker  MAINT=$MAINTAINER_MODE_TRUE
694*cf84ac9aSAndroid Build Coastguard Worker  AC_SUBST([MAINT])dnl
695*cf84ac9aSAndroid Build Coastguard Worker]
696*cf84ac9aSAndroid Build Coastguard Worker)
697*cf84ac9aSAndroid Build Coastguard Worker
698*cf84ac9aSAndroid Build Coastguard Worker# Check to see how 'make' treats includes.	            -*- Autoconf -*-
699*cf84ac9aSAndroid Build Coastguard Worker
700*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 2001-2013 Free Software Foundation, Inc.
701*cf84ac9aSAndroid Build Coastguard Worker#
702*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
703*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
704*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
705*cf84ac9aSAndroid Build Coastguard Worker
706*cf84ac9aSAndroid Build Coastguard Worker# AM_MAKE_INCLUDE()
707*cf84ac9aSAndroid Build Coastguard Worker# -----------------
708*cf84ac9aSAndroid Build Coastguard Worker# Check to see how make treats includes.
709*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_MAKE_INCLUDE],
710*cf84ac9aSAndroid Build Coastguard Worker[am_make=${MAKE-make}
711*cf84ac9aSAndroid Build Coastguard Workercat > confinc << 'END'
712*cf84ac9aSAndroid Build Coastguard Workeram__doit:
713*cf84ac9aSAndroid Build Coastguard Worker	@echo this is the am__doit target
714*cf84ac9aSAndroid Build Coastguard Worker.PHONY: am__doit
715*cf84ac9aSAndroid Build Coastguard WorkerEND
716*cf84ac9aSAndroid Build Coastguard Worker# If we don't find an include directive, just comment out the code.
717*cf84ac9aSAndroid Build Coastguard WorkerAC_MSG_CHECKING([for style of include used by $am_make])
718*cf84ac9aSAndroid Build Coastguard Workeram__include="#"
719*cf84ac9aSAndroid Build Coastguard Workeram__quote=
720*cf84ac9aSAndroid Build Coastguard Worker_am_result=none
721*cf84ac9aSAndroid Build Coastguard Worker# First try GNU make style include.
722*cf84ac9aSAndroid Build Coastguard Workerecho "include confinc" > confmf
723*cf84ac9aSAndroid Build Coastguard Worker# Ignore all kinds of additional output from 'make'.
724*cf84ac9aSAndroid Build Coastguard Workercase `$am_make -s -f confmf 2> /dev/null` in #(
725*cf84ac9aSAndroid Build Coastguard Worker*the\ am__doit\ target*)
726*cf84ac9aSAndroid Build Coastguard Worker  am__include=include
727*cf84ac9aSAndroid Build Coastguard Worker  am__quote=
728*cf84ac9aSAndroid Build Coastguard Worker  _am_result=GNU
729*cf84ac9aSAndroid Build Coastguard Worker  ;;
730*cf84ac9aSAndroid Build Coastguard Workeresac
731*cf84ac9aSAndroid Build Coastguard Worker# Now try BSD make style include.
732*cf84ac9aSAndroid Build Coastguard Workerif test "$am__include" = "#"; then
733*cf84ac9aSAndroid Build Coastguard Worker   echo '.include "confinc"' > confmf
734*cf84ac9aSAndroid Build Coastguard Worker   case `$am_make -s -f confmf 2> /dev/null` in #(
735*cf84ac9aSAndroid Build Coastguard Worker   *the\ am__doit\ target*)
736*cf84ac9aSAndroid Build Coastguard Worker     am__include=.include
737*cf84ac9aSAndroid Build Coastguard Worker     am__quote="\""
738*cf84ac9aSAndroid Build Coastguard Worker     _am_result=BSD
739*cf84ac9aSAndroid Build Coastguard Worker     ;;
740*cf84ac9aSAndroid Build Coastguard Worker   esac
741*cf84ac9aSAndroid Build Coastguard Workerfi
742*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([am__include])
743*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([am__quote])
744*cf84ac9aSAndroid Build Coastguard WorkerAC_MSG_RESULT([$_am_result])
745*cf84ac9aSAndroid Build Coastguard Workerrm -f confinc confmf
746*cf84ac9aSAndroid Build Coastguard Worker])
747*cf84ac9aSAndroid Build Coastguard Worker
748*cf84ac9aSAndroid Build Coastguard Worker# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
749*cf84ac9aSAndroid Build Coastguard Worker
750*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 1997-2013 Free Software Foundation, Inc.
751*cf84ac9aSAndroid Build Coastguard Worker#
752*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
753*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
754*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
755*cf84ac9aSAndroid Build Coastguard Worker
756*cf84ac9aSAndroid Build Coastguard Worker# AM_MISSING_PROG(NAME, PROGRAM)
757*cf84ac9aSAndroid Build Coastguard Worker# ------------------------------
758*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_MISSING_PROG],
759*cf84ac9aSAndroid Build Coastguard Worker[AC_REQUIRE([AM_MISSING_HAS_RUN])
760*cf84ac9aSAndroid Build Coastguard Worker$1=${$1-"${am_missing_run}$2"}
761*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST($1)])
762*cf84ac9aSAndroid Build Coastguard Worker
763*cf84ac9aSAndroid Build Coastguard Worker# AM_MISSING_HAS_RUN
764*cf84ac9aSAndroid Build Coastguard Worker# ------------------
765*cf84ac9aSAndroid Build Coastguard Worker# Define MISSING if not defined so far and test if it is modern enough.
766*cf84ac9aSAndroid Build Coastguard Worker# If it is, set am_missing_run to use it, otherwise, to nothing.
767*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_MISSING_HAS_RUN],
768*cf84ac9aSAndroid Build Coastguard Worker[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
769*cf84ac9aSAndroid Build Coastguard WorkerAC_REQUIRE_AUX_FILE([missing])dnl
770*cf84ac9aSAndroid Build Coastguard Workerif test x"${MISSING+set}" != xset; then
771*cf84ac9aSAndroid Build Coastguard Worker  case $am_aux_dir in
772*cf84ac9aSAndroid Build Coastguard Worker  *\ * | *\	*)
773*cf84ac9aSAndroid Build Coastguard Worker    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
774*cf84ac9aSAndroid Build Coastguard Worker  *)
775*cf84ac9aSAndroid Build Coastguard Worker    MISSING="\${SHELL} $am_aux_dir/missing" ;;
776*cf84ac9aSAndroid Build Coastguard Worker  esac
777*cf84ac9aSAndroid Build Coastguard Workerfi
778*cf84ac9aSAndroid Build Coastguard Worker# Use eval to expand $SHELL
779*cf84ac9aSAndroid Build Coastguard Workerif eval "$MISSING --is-lightweight"; then
780*cf84ac9aSAndroid Build Coastguard Worker  am_missing_run="$MISSING "
781*cf84ac9aSAndroid Build Coastguard Workerelse
782*cf84ac9aSAndroid Build Coastguard Worker  am_missing_run=
783*cf84ac9aSAndroid Build Coastguard Worker  AC_MSG_WARN(['missing' script is too old or missing])
784*cf84ac9aSAndroid Build Coastguard Workerfi
785*cf84ac9aSAndroid Build Coastguard Worker])
786*cf84ac9aSAndroid Build Coastguard Worker
787*cf84ac9aSAndroid Build Coastguard Worker# Helper functions for option handling.                     -*- Autoconf -*-
788*cf84ac9aSAndroid Build Coastguard Worker
789*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 2001-2013 Free Software Foundation, Inc.
790*cf84ac9aSAndroid Build Coastguard Worker#
791*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
792*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
793*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
794*cf84ac9aSAndroid Build Coastguard Worker
795*cf84ac9aSAndroid Build Coastguard Worker# _AM_MANGLE_OPTION(NAME)
796*cf84ac9aSAndroid Build Coastguard Worker# -----------------------
797*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([_AM_MANGLE_OPTION],
798*cf84ac9aSAndroid Build Coastguard Worker[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
799*cf84ac9aSAndroid Build Coastguard Worker
800*cf84ac9aSAndroid Build Coastguard Worker# _AM_SET_OPTION(NAME)
801*cf84ac9aSAndroid Build Coastguard Worker# --------------------
802*cf84ac9aSAndroid Build Coastguard Worker# Set option NAME.  Presently that only means defining a flag for this option.
803*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([_AM_SET_OPTION],
804*cf84ac9aSAndroid Build Coastguard Worker[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
805*cf84ac9aSAndroid Build Coastguard Worker
806*cf84ac9aSAndroid Build Coastguard Worker# _AM_SET_OPTIONS(OPTIONS)
807*cf84ac9aSAndroid Build Coastguard Worker# ------------------------
808*cf84ac9aSAndroid Build Coastguard Worker# OPTIONS is a space-separated list of Automake options.
809*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([_AM_SET_OPTIONS],
810*cf84ac9aSAndroid Build Coastguard Worker[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
811*cf84ac9aSAndroid Build Coastguard Worker
812*cf84ac9aSAndroid Build Coastguard Worker# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
813*cf84ac9aSAndroid Build Coastguard Worker# -------------------------------------------
814*cf84ac9aSAndroid Build Coastguard Worker# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
815*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([_AM_IF_OPTION],
816*cf84ac9aSAndroid Build Coastguard Worker[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
817*cf84ac9aSAndroid Build Coastguard Worker
818*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 1999-2013 Free Software Foundation, Inc.
819*cf84ac9aSAndroid Build Coastguard Worker#
820*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
821*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
822*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
823*cf84ac9aSAndroid Build Coastguard Worker
824*cf84ac9aSAndroid Build Coastguard Worker# _AM_PROG_CC_C_O
825*cf84ac9aSAndroid Build Coastguard Worker# ---------------
826*cf84ac9aSAndroid Build Coastguard Worker# Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
827*cf84ac9aSAndroid Build Coastguard Worker# to automatically call this.
828*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([_AM_PROG_CC_C_O],
829*cf84ac9aSAndroid Build Coastguard Worker[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
830*cf84ac9aSAndroid Build Coastguard WorkerAC_REQUIRE_AUX_FILE([compile])dnl
831*cf84ac9aSAndroid Build Coastguard WorkerAC_LANG_PUSH([C])dnl
832*cf84ac9aSAndroid Build Coastguard WorkerAC_CACHE_CHECK(
833*cf84ac9aSAndroid Build Coastguard Worker  [whether $CC understands -c and -o together],
834*cf84ac9aSAndroid Build Coastguard Worker  [am_cv_prog_cc_c_o],
835*cf84ac9aSAndroid Build Coastguard Worker  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
836*cf84ac9aSAndroid Build Coastguard Worker  # Make sure it works both with $CC and with simple cc.
837*cf84ac9aSAndroid Build Coastguard Worker  # Following AC_PROG_CC_C_O, we do the test twice because some
838*cf84ac9aSAndroid Build Coastguard Worker  # compilers refuse to overwrite an existing .o file with -o,
839*cf84ac9aSAndroid Build Coastguard Worker  # though they will create one.
840*cf84ac9aSAndroid Build Coastguard Worker  am_cv_prog_cc_c_o=yes
841*cf84ac9aSAndroid Build Coastguard Worker  for am_i in 1 2; do
842*cf84ac9aSAndroid Build Coastguard Worker    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
843*cf84ac9aSAndroid Build Coastguard Worker         && test -f conftest2.$ac_objext; then
844*cf84ac9aSAndroid Build Coastguard Worker      : OK
845*cf84ac9aSAndroid Build Coastguard Worker    else
846*cf84ac9aSAndroid Build Coastguard Worker      am_cv_prog_cc_c_o=no
847*cf84ac9aSAndroid Build Coastguard Worker      break
848*cf84ac9aSAndroid Build Coastguard Worker    fi
849*cf84ac9aSAndroid Build Coastguard Worker  done
850*cf84ac9aSAndroid Build Coastguard Worker  rm -f core conftest*
851*cf84ac9aSAndroid Build Coastguard Worker  unset am_i])
852*cf84ac9aSAndroid Build Coastguard Workerif test "$am_cv_prog_cc_c_o" != yes; then
853*cf84ac9aSAndroid Build Coastguard Worker   # Losing compiler, so override with the script.
854*cf84ac9aSAndroid Build Coastguard Worker   # FIXME: It is wrong to rewrite CC.
855*cf84ac9aSAndroid Build Coastguard Worker   # But if we don't then we get into trouble of one sort or another.
856*cf84ac9aSAndroid Build Coastguard Worker   # A longer-term fix would be to have automake use am__CC in this case,
857*cf84ac9aSAndroid Build Coastguard Worker   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
858*cf84ac9aSAndroid Build Coastguard Worker   CC="$am_aux_dir/compile $CC"
859*cf84ac9aSAndroid Build Coastguard Workerfi
860*cf84ac9aSAndroid Build Coastguard WorkerAC_LANG_POP([C])])
861*cf84ac9aSAndroid Build Coastguard Worker
862*cf84ac9aSAndroid Build Coastguard Worker# For backward compatibility.
863*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
864*cf84ac9aSAndroid Build Coastguard Worker
865*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 2001-2013 Free Software Foundation, Inc.
866*cf84ac9aSAndroid Build Coastguard Worker#
867*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
868*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
869*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
870*cf84ac9aSAndroid Build Coastguard Worker
871*cf84ac9aSAndroid Build Coastguard Worker# AM_RUN_LOG(COMMAND)
872*cf84ac9aSAndroid Build Coastguard Worker# -------------------
873*cf84ac9aSAndroid Build Coastguard Worker# Run COMMAND, save the exit status in ac_status, and log it.
874*cf84ac9aSAndroid Build Coastguard Worker# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
875*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_RUN_LOG],
876*cf84ac9aSAndroid Build Coastguard Worker[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
877*cf84ac9aSAndroid Build Coastguard Worker   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
878*cf84ac9aSAndroid Build Coastguard Worker   ac_status=$?
879*cf84ac9aSAndroid Build Coastguard Worker   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
880*cf84ac9aSAndroid Build Coastguard Worker   (exit $ac_status); }])
881*cf84ac9aSAndroid Build Coastguard Worker
882*cf84ac9aSAndroid Build Coastguard Worker# Check to make sure that the build environment is sane.    -*- Autoconf -*-
883*cf84ac9aSAndroid Build Coastguard Worker
884*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 1996-2013 Free Software Foundation, Inc.
885*cf84ac9aSAndroid Build Coastguard Worker#
886*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
887*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
888*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
889*cf84ac9aSAndroid Build Coastguard Worker
890*cf84ac9aSAndroid Build Coastguard Worker# AM_SANITY_CHECK
891*cf84ac9aSAndroid Build Coastguard Worker# ---------------
892*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_SANITY_CHECK],
893*cf84ac9aSAndroid Build Coastguard Worker[AC_MSG_CHECKING([whether build environment is sane])
894*cf84ac9aSAndroid Build Coastguard Worker# Reject unsafe characters in $srcdir or the absolute working directory
895*cf84ac9aSAndroid Build Coastguard Worker# name.  Accept space and tab only in the latter.
896*cf84ac9aSAndroid Build Coastguard Workeram_lf='
897*cf84ac9aSAndroid Build Coastguard Worker'
898*cf84ac9aSAndroid Build Coastguard Workercase `pwd` in
899*cf84ac9aSAndroid Build Coastguard Worker  *[[\\\"\#\$\&\'\`$am_lf]]*)
900*cf84ac9aSAndroid Build Coastguard Worker    AC_MSG_ERROR([unsafe absolute working directory name]);;
901*cf84ac9aSAndroid Build Coastguard Workeresac
902*cf84ac9aSAndroid Build Coastguard Workercase $srcdir in
903*cf84ac9aSAndroid Build Coastguard Worker  *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
904*cf84ac9aSAndroid Build Coastguard Worker    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
905*cf84ac9aSAndroid Build Coastguard Workeresac
906*cf84ac9aSAndroid Build Coastguard Worker
907*cf84ac9aSAndroid Build Coastguard Worker# Do 'set' in a subshell so we don't clobber the current shell's
908*cf84ac9aSAndroid Build Coastguard Worker# arguments.  Must try -L first in case configure is actually a
909*cf84ac9aSAndroid Build Coastguard Worker# symlink; some systems play weird games with the mod time of symlinks
910*cf84ac9aSAndroid Build Coastguard Worker# (eg FreeBSD returns the mod time of the symlink's containing
911*cf84ac9aSAndroid Build Coastguard Worker# directory).
912*cf84ac9aSAndroid Build Coastguard Workerif (
913*cf84ac9aSAndroid Build Coastguard Worker   am_has_slept=no
914*cf84ac9aSAndroid Build Coastguard Worker   for am_try in 1 2; do
915*cf84ac9aSAndroid Build Coastguard Worker     echo "timestamp, slept: $am_has_slept" > conftest.file
916*cf84ac9aSAndroid Build Coastguard Worker     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
917*cf84ac9aSAndroid Build Coastguard Worker     if test "$[*]" = "X"; then
918*cf84ac9aSAndroid Build Coastguard Worker	# -L didn't work.
919*cf84ac9aSAndroid Build Coastguard Worker	set X `ls -t "$srcdir/configure" conftest.file`
920*cf84ac9aSAndroid Build Coastguard Worker     fi
921*cf84ac9aSAndroid Build Coastguard Worker     if test "$[*]" != "X $srcdir/configure conftest.file" \
922*cf84ac9aSAndroid Build Coastguard Worker	&& test "$[*]" != "X conftest.file $srcdir/configure"; then
923*cf84ac9aSAndroid Build Coastguard Worker
924*cf84ac9aSAndroid Build Coastguard Worker	# If neither matched, then we have a broken ls.  This can happen
925*cf84ac9aSAndroid Build Coastguard Worker	# if, for instance, CONFIG_SHELL is bash and it inherits a
926*cf84ac9aSAndroid Build Coastguard Worker	# broken ls alias from the environment.  This has actually
927*cf84ac9aSAndroid Build Coastguard Worker	# happened.  Such a system could not be considered "sane".
928*cf84ac9aSAndroid Build Coastguard Worker	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
929*cf84ac9aSAndroid Build Coastguard Worker  alias in your environment])
930*cf84ac9aSAndroid Build Coastguard Worker     fi
931*cf84ac9aSAndroid Build Coastguard Worker     if test "$[2]" = conftest.file || test $am_try -eq 2; then
932*cf84ac9aSAndroid Build Coastguard Worker       break
933*cf84ac9aSAndroid Build Coastguard Worker     fi
934*cf84ac9aSAndroid Build Coastguard Worker     # Just in case.
935*cf84ac9aSAndroid Build Coastguard Worker     sleep 1
936*cf84ac9aSAndroid Build Coastguard Worker     am_has_slept=yes
937*cf84ac9aSAndroid Build Coastguard Worker   done
938*cf84ac9aSAndroid Build Coastguard Worker   test "$[2]" = conftest.file
939*cf84ac9aSAndroid Build Coastguard Worker   )
940*cf84ac9aSAndroid Build Coastguard Workerthen
941*cf84ac9aSAndroid Build Coastguard Worker   # Ok.
942*cf84ac9aSAndroid Build Coastguard Worker   :
943*cf84ac9aSAndroid Build Coastguard Workerelse
944*cf84ac9aSAndroid Build Coastguard Worker   AC_MSG_ERROR([newly created file is older than distributed files!
945*cf84ac9aSAndroid Build Coastguard WorkerCheck your system clock])
946*cf84ac9aSAndroid Build Coastguard Workerfi
947*cf84ac9aSAndroid Build Coastguard WorkerAC_MSG_RESULT([yes])
948*cf84ac9aSAndroid Build Coastguard Worker# If we didn't sleep, we still need to ensure time stamps of config.status and
949*cf84ac9aSAndroid Build Coastguard Worker# generated files are strictly newer.
950*cf84ac9aSAndroid Build Coastguard Workeram_sleep_pid=
951*cf84ac9aSAndroid Build Coastguard Workerif grep 'slept: no' conftest.file >/dev/null 2>&1; then
952*cf84ac9aSAndroid Build Coastguard Worker  ( sleep 1 ) &
953*cf84ac9aSAndroid Build Coastguard Worker  am_sleep_pid=$!
954*cf84ac9aSAndroid Build Coastguard Workerfi
955*cf84ac9aSAndroid Build Coastguard WorkerAC_CONFIG_COMMANDS_PRE(
956*cf84ac9aSAndroid Build Coastguard Worker  [AC_MSG_CHECKING([that generated files are newer than configure])
957*cf84ac9aSAndroid Build Coastguard Worker   if test -n "$am_sleep_pid"; then
958*cf84ac9aSAndroid Build Coastguard Worker     # Hide warnings about reused PIDs.
959*cf84ac9aSAndroid Build Coastguard Worker     wait $am_sleep_pid 2>/dev/null
960*cf84ac9aSAndroid Build Coastguard Worker   fi
961*cf84ac9aSAndroid Build Coastguard Worker   AC_MSG_RESULT([done])])
962*cf84ac9aSAndroid Build Coastguard Workerrm -f conftest.file
963*cf84ac9aSAndroid Build Coastguard Worker])
964*cf84ac9aSAndroid Build Coastguard Worker
965*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 2009-2013 Free Software Foundation, Inc.
966*cf84ac9aSAndroid Build Coastguard Worker#
967*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
968*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
969*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
970*cf84ac9aSAndroid Build Coastguard Worker
971*cf84ac9aSAndroid Build Coastguard Worker# AM_SILENT_RULES([DEFAULT])
972*cf84ac9aSAndroid Build Coastguard Worker# --------------------------
973*cf84ac9aSAndroid Build Coastguard Worker# Enable less verbose build rules; with the default set to DEFAULT
974*cf84ac9aSAndroid Build Coastguard Worker# ("yes" being less verbose, "no" or empty being verbose).
975*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_SILENT_RULES],
976*cf84ac9aSAndroid Build Coastguard Worker[AC_ARG_ENABLE([silent-rules], [dnl
977*cf84ac9aSAndroid Build Coastguard WorkerAS_HELP_STRING(
978*cf84ac9aSAndroid Build Coastguard Worker  [--enable-silent-rules],
979*cf84ac9aSAndroid Build Coastguard Worker  [less verbose build output (undo: "make V=1")])
980*cf84ac9aSAndroid Build Coastguard WorkerAS_HELP_STRING(
981*cf84ac9aSAndroid Build Coastguard Worker  [--disable-silent-rules],
982*cf84ac9aSAndroid Build Coastguard Worker  [verbose build output (undo: "make V=0")])dnl
983*cf84ac9aSAndroid Build Coastguard Worker])
984*cf84ac9aSAndroid Build Coastguard Workercase $enable_silent_rules in @%:@ (((
985*cf84ac9aSAndroid Build Coastguard Worker  yes) AM_DEFAULT_VERBOSITY=0;;
986*cf84ac9aSAndroid Build Coastguard Worker   no) AM_DEFAULT_VERBOSITY=1;;
987*cf84ac9aSAndroid Build Coastguard Worker    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
988*cf84ac9aSAndroid Build Coastguard Workeresac
989*cf84ac9aSAndroid Build Coastguard Workerdnl
990*cf84ac9aSAndroid Build Coastguard Workerdnl A few 'make' implementations (e.g., NonStop OS and NextStep)
991*cf84ac9aSAndroid Build Coastguard Workerdnl do not support nested variable expansions.
992*cf84ac9aSAndroid Build Coastguard Workerdnl See automake bug#9928 and bug#10237.
993*cf84ac9aSAndroid Build Coastguard Workeram_make=${MAKE-make}
994*cf84ac9aSAndroid Build Coastguard WorkerAC_CACHE_CHECK([whether $am_make supports nested variables],
995*cf84ac9aSAndroid Build Coastguard Worker   [am_cv_make_support_nested_variables],
996*cf84ac9aSAndroid Build Coastguard Worker   [if AS_ECHO([['TRUE=$(BAR$(V))
997*cf84ac9aSAndroid Build Coastguard WorkerBAR0=false
998*cf84ac9aSAndroid Build Coastguard WorkerBAR1=true
999*cf84ac9aSAndroid Build Coastguard WorkerV=1
1000*cf84ac9aSAndroid Build Coastguard Workeram__doit:
1001*cf84ac9aSAndroid Build Coastguard Worker	@$(TRUE)
1002*cf84ac9aSAndroid Build Coastguard Worker.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
1003*cf84ac9aSAndroid Build Coastguard Worker  am_cv_make_support_nested_variables=yes
1004*cf84ac9aSAndroid Build Coastguard Workerelse
1005*cf84ac9aSAndroid Build Coastguard Worker  am_cv_make_support_nested_variables=no
1006*cf84ac9aSAndroid Build Coastguard Workerfi])
1007*cf84ac9aSAndroid Build Coastguard Workerif test $am_cv_make_support_nested_variables = yes; then
1008*cf84ac9aSAndroid Build Coastguard Worker  dnl Using '$V' instead of '$(V)' breaks IRIX make.
1009*cf84ac9aSAndroid Build Coastguard Worker  AM_V='$(V)'
1010*cf84ac9aSAndroid Build Coastguard Worker  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1011*cf84ac9aSAndroid Build Coastguard Workerelse
1012*cf84ac9aSAndroid Build Coastguard Worker  AM_V=$AM_DEFAULT_VERBOSITY
1013*cf84ac9aSAndroid Build Coastguard Worker  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
1014*cf84ac9aSAndroid Build Coastguard Workerfi
1015*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([AM_V])dnl
1016*cf84ac9aSAndroid Build Coastguard WorkerAM_SUBST_NOTMAKE([AM_V])dnl
1017*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([AM_DEFAULT_V])dnl
1018*cf84ac9aSAndroid Build Coastguard WorkerAM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1019*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1020*cf84ac9aSAndroid Build Coastguard WorkerAM_BACKSLASH='\'
1021*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([AM_BACKSLASH])dnl
1022*cf84ac9aSAndroid Build Coastguard Worker_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1023*cf84ac9aSAndroid Build Coastguard Worker])
1024*cf84ac9aSAndroid Build Coastguard Worker
1025*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 2001-2013 Free Software Foundation, Inc.
1026*cf84ac9aSAndroid Build Coastguard Worker#
1027*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
1028*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
1029*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
1030*cf84ac9aSAndroid Build Coastguard Worker
1031*cf84ac9aSAndroid Build Coastguard Worker# AM_PROG_INSTALL_STRIP
1032*cf84ac9aSAndroid Build Coastguard Worker# ---------------------
1033*cf84ac9aSAndroid Build Coastguard Worker# One issue with vendor 'install' (even GNU) is that you can't
1034*cf84ac9aSAndroid Build Coastguard Worker# specify the program used to strip binaries.  This is especially
1035*cf84ac9aSAndroid Build Coastguard Worker# annoying in cross-compiling environments, where the build's strip
1036*cf84ac9aSAndroid Build Coastguard Worker# is unlikely to handle the host's binaries.
1037*cf84ac9aSAndroid Build Coastguard Worker# Fortunately install-sh will honor a STRIPPROG variable, so we
1038*cf84ac9aSAndroid Build Coastguard Worker# always use install-sh in "make install-strip", and initialize
1039*cf84ac9aSAndroid Build Coastguard Worker# STRIPPROG with the value of the STRIP variable (set by the user).
1040*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_PROG_INSTALL_STRIP],
1041*cf84ac9aSAndroid Build Coastguard Worker[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1042*cf84ac9aSAndroid Build Coastguard Worker# Installed binaries are usually stripped using 'strip' when the user
1043*cf84ac9aSAndroid Build Coastguard Worker# run "make install-strip".  However 'strip' might not be the right
1044*cf84ac9aSAndroid Build Coastguard Worker# tool to use in cross-compilation environments, therefore Automake
1045*cf84ac9aSAndroid Build Coastguard Worker# will honor the 'STRIP' environment variable to overrule this program.
1046*cf84ac9aSAndroid Build Coastguard Workerdnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
1047*cf84ac9aSAndroid Build Coastguard Workerif test "$cross_compiling" != no; then
1048*cf84ac9aSAndroid Build Coastguard Worker  AC_CHECK_TOOL([STRIP], [strip], :)
1049*cf84ac9aSAndroid Build Coastguard Workerfi
1050*cf84ac9aSAndroid Build Coastguard WorkerINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1051*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([INSTALL_STRIP_PROGRAM])])
1052*cf84ac9aSAndroid Build Coastguard Worker
1053*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 2006-2013 Free Software Foundation, Inc.
1054*cf84ac9aSAndroid Build Coastguard Worker#
1055*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
1056*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
1057*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
1058*cf84ac9aSAndroid Build Coastguard Worker
1059*cf84ac9aSAndroid Build Coastguard Worker# _AM_SUBST_NOTMAKE(VARIABLE)
1060*cf84ac9aSAndroid Build Coastguard Worker# ---------------------------
1061*cf84ac9aSAndroid Build Coastguard Worker# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1062*cf84ac9aSAndroid Build Coastguard Worker# This macro is traced by Automake.
1063*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([_AM_SUBST_NOTMAKE])
1064*cf84ac9aSAndroid Build Coastguard Worker
1065*cf84ac9aSAndroid Build Coastguard Worker# AM_SUBST_NOTMAKE(VARIABLE)
1066*cf84ac9aSAndroid Build Coastguard Worker# --------------------------
1067*cf84ac9aSAndroid Build Coastguard Worker# Public sister of _AM_SUBST_NOTMAKE.
1068*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1069*cf84ac9aSAndroid Build Coastguard Worker
1070*cf84ac9aSAndroid Build Coastguard Worker# Check how to create a tarball.                            -*- Autoconf -*-
1071*cf84ac9aSAndroid Build Coastguard Worker
1072*cf84ac9aSAndroid Build Coastguard Worker# Copyright (C) 2004-2013 Free Software Foundation, Inc.
1073*cf84ac9aSAndroid Build Coastguard Worker#
1074*cf84ac9aSAndroid Build Coastguard Worker# This file is free software; the Free Software Foundation
1075*cf84ac9aSAndroid Build Coastguard Worker# gives unlimited permission to copy and/or distribute it,
1076*cf84ac9aSAndroid Build Coastguard Worker# with or without modifications, as long as this notice is preserved.
1077*cf84ac9aSAndroid Build Coastguard Worker
1078*cf84ac9aSAndroid Build Coastguard Worker# _AM_PROG_TAR(FORMAT)
1079*cf84ac9aSAndroid Build Coastguard Worker# --------------------
1080*cf84ac9aSAndroid Build Coastguard Worker# Check how to create a tarball in format FORMAT.
1081*cf84ac9aSAndroid Build Coastguard Worker# FORMAT should be one of 'v7', 'ustar', or 'pax'.
1082*cf84ac9aSAndroid Build Coastguard Worker#
1083*cf84ac9aSAndroid Build Coastguard Worker# Substitute a variable $(am__tar) that is a command
1084*cf84ac9aSAndroid Build Coastguard Worker# writing to stdout a FORMAT-tarball containing the directory
1085*cf84ac9aSAndroid Build Coastguard Worker# $tardir.
1086*cf84ac9aSAndroid Build Coastguard Worker#     tardir=directory && $(am__tar) > result.tar
1087*cf84ac9aSAndroid Build Coastguard Worker#
1088*cf84ac9aSAndroid Build Coastguard Worker# Substitute a variable $(am__untar) that extract such
1089*cf84ac9aSAndroid Build Coastguard Worker# a tarball read from stdin.
1090*cf84ac9aSAndroid Build Coastguard Worker#     $(am__untar) < result.tar
1091*cf84ac9aSAndroid Build Coastguard Worker#
1092*cf84ac9aSAndroid Build Coastguard WorkerAC_DEFUN([_AM_PROG_TAR],
1093*cf84ac9aSAndroid Build Coastguard Worker[# Always define AMTAR for backward compatibility.  Yes, it's still used
1094*cf84ac9aSAndroid Build Coastguard Worker# in the wild :-(  We should find a proper way to deprecate it ...
1095*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([AMTAR], ['$${TAR-tar}'])
1096*cf84ac9aSAndroid Build Coastguard Worker
1097*cf84ac9aSAndroid Build Coastguard Worker# We'll loop over all known methods to create a tar archive until one works.
1098*cf84ac9aSAndroid Build Coastguard Worker_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1099*cf84ac9aSAndroid Build Coastguard Worker
1100*cf84ac9aSAndroid Build Coastguard Workerm4_if([$1], [v7],
1101*cf84ac9aSAndroid Build Coastguard Worker  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1102*cf84ac9aSAndroid Build Coastguard Worker
1103*cf84ac9aSAndroid Build Coastguard Worker  [m4_case([$1],
1104*cf84ac9aSAndroid Build Coastguard Worker    [ustar],
1105*cf84ac9aSAndroid Build Coastguard Worker     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1106*cf84ac9aSAndroid Build Coastguard Worker      # There is notably a 21 bits limit for the UID and the GID.  In fact,
1107*cf84ac9aSAndroid Build Coastguard Worker      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
1108*cf84ac9aSAndroid Build Coastguard Worker      # and bug#13588).
1109*cf84ac9aSAndroid Build Coastguard Worker      am_max_uid=2097151 # 2^21 - 1
1110*cf84ac9aSAndroid Build Coastguard Worker      am_max_gid=$am_max_uid
1111*cf84ac9aSAndroid Build Coastguard Worker      # The $UID and $GID variables are not portable, so we need to resort
1112*cf84ac9aSAndroid Build Coastguard Worker      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
1113*cf84ac9aSAndroid Build Coastguard Worker      # below are definitely unexpected, so allow the users to see them
1114*cf84ac9aSAndroid Build Coastguard Worker      # (that is, avoid stderr redirection).
1115*cf84ac9aSAndroid Build Coastguard Worker      am_uid=`id -u || echo unknown`
1116*cf84ac9aSAndroid Build Coastguard Worker      am_gid=`id -g || echo unknown`
1117*cf84ac9aSAndroid Build Coastguard Worker      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
1118*cf84ac9aSAndroid Build Coastguard Worker      if test $am_uid -le $am_max_uid; then
1119*cf84ac9aSAndroid Build Coastguard Worker         AC_MSG_RESULT([yes])
1120*cf84ac9aSAndroid Build Coastguard Worker      else
1121*cf84ac9aSAndroid Build Coastguard Worker         AC_MSG_RESULT([no])
1122*cf84ac9aSAndroid Build Coastguard Worker         _am_tools=none
1123*cf84ac9aSAndroid Build Coastguard Worker      fi
1124*cf84ac9aSAndroid Build Coastguard Worker      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
1125*cf84ac9aSAndroid Build Coastguard Worker      if test $am_gid -le $am_max_gid; then
1126*cf84ac9aSAndroid Build Coastguard Worker         AC_MSG_RESULT([yes])
1127*cf84ac9aSAndroid Build Coastguard Worker      else
1128*cf84ac9aSAndroid Build Coastguard Worker        AC_MSG_RESULT([no])
1129*cf84ac9aSAndroid Build Coastguard Worker        _am_tools=none
1130*cf84ac9aSAndroid Build Coastguard Worker      fi],
1131*cf84ac9aSAndroid Build Coastguard Worker
1132*cf84ac9aSAndroid Build Coastguard Worker  [pax],
1133*cf84ac9aSAndroid Build Coastguard Worker    [],
1134*cf84ac9aSAndroid Build Coastguard Worker
1135*cf84ac9aSAndroid Build Coastguard Worker  [m4_fatal([Unknown tar format])])
1136*cf84ac9aSAndroid Build Coastguard Worker
1137*cf84ac9aSAndroid Build Coastguard Worker  AC_MSG_CHECKING([how to create a $1 tar archive])
1138*cf84ac9aSAndroid Build Coastguard Worker
1139*cf84ac9aSAndroid Build Coastguard Worker  # Go ahead even if we have the value already cached.  We do so because we
1140*cf84ac9aSAndroid Build Coastguard Worker  # need to set the values for the 'am__tar' and 'am__untar' variables.
1141*cf84ac9aSAndroid Build Coastguard Worker  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1142*cf84ac9aSAndroid Build Coastguard Worker
1143*cf84ac9aSAndroid Build Coastguard Worker  for _am_tool in $_am_tools; do
1144*cf84ac9aSAndroid Build Coastguard Worker    case $_am_tool in
1145*cf84ac9aSAndroid Build Coastguard Worker    gnutar)
1146*cf84ac9aSAndroid Build Coastguard Worker      for _am_tar in tar gnutar gtar; do
1147*cf84ac9aSAndroid Build Coastguard Worker        AM_RUN_LOG([$_am_tar --version]) && break
1148*cf84ac9aSAndroid Build Coastguard Worker      done
1149*cf84ac9aSAndroid Build Coastguard Worker      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1150*cf84ac9aSAndroid Build Coastguard Worker      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1151*cf84ac9aSAndroid Build Coastguard Worker      am__untar="$_am_tar -xf -"
1152*cf84ac9aSAndroid Build Coastguard Worker      ;;
1153*cf84ac9aSAndroid Build Coastguard Worker    plaintar)
1154*cf84ac9aSAndroid Build Coastguard Worker      # Must skip GNU tar: if it does not support --format= it doesn't create
1155*cf84ac9aSAndroid Build Coastguard Worker      # ustar tarball either.
1156*cf84ac9aSAndroid Build Coastguard Worker      (tar --version) >/dev/null 2>&1 && continue
1157*cf84ac9aSAndroid Build Coastguard Worker      am__tar='tar chf - "$$tardir"'
1158*cf84ac9aSAndroid Build Coastguard Worker      am__tar_='tar chf - "$tardir"'
1159*cf84ac9aSAndroid Build Coastguard Worker      am__untar='tar xf -'
1160*cf84ac9aSAndroid Build Coastguard Worker      ;;
1161*cf84ac9aSAndroid Build Coastguard Worker    pax)
1162*cf84ac9aSAndroid Build Coastguard Worker      am__tar='pax -L -x $1 -w "$$tardir"'
1163*cf84ac9aSAndroid Build Coastguard Worker      am__tar_='pax -L -x $1 -w "$tardir"'
1164*cf84ac9aSAndroid Build Coastguard Worker      am__untar='pax -r'
1165*cf84ac9aSAndroid Build Coastguard Worker      ;;
1166*cf84ac9aSAndroid Build Coastguard Worker    cpio)
1167*cf84ac9aSAndroid Build Coastguard Worker      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1168*cf84ac9aSAndroid Build Coastguard Worker      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1169*cf84ac9aSAndroid Build Coastguard Worker      am__untar='cpio -i -H $1 -d'
1170*cf84ac9aSAndroid Build Coastguard Worker      ;;
1171*cf84ac9aSAndroid Build Coastguard Worker    none)
1172*cf84ac9aSAndroid Build Coastguard Worker      am__tar=false
1173*cf84ac9aSAndroid Build Coastguard Worker      am__tar_=false
1174*cf84ac9aSAndroid Build Coastguard Worker      am__untar=false
1175*cf84ac9aSAndroid Build Coastguard Worker      ;;
1176*cf84ac9aSAndroid Build Coastguard Worker    esac
1177*cf84ac9aSAndroid Build Coastguard Worker
1178*cf84ac9aSAndroid Build Coastguard Worker    # If the value was cached, stop now.  We just wanted to have am__tar
1179*cf84ac9aSAndroid Build Coastguard Worker    # and am__untar set.
1180*cf84ac9aSAndroid Build Coastguard Worker    test -n "${am_cv_prog_tar_$1}" && break
1181*cf84ac9aSAndroid Build Coastguard Worker
1182*cf84ac9aSAndroid Build Coastguard Worker    # tar/untar a dummy directory, and stop if the command works.
1183*cf84ac9aSAndroid Build Coastguard Worker    rm -rf conftest.dir
1184*cf84ac9aSAndroid Build Coastguard Worker    mkdir conftest.dir
1185*cf84ac9aSAndroid Build Coastguard Worker    echo GrepMe > conftest.dir/file
1186*cf84ac9aSAndroid Build Coastguard Worker    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1187*cf84ac9aSAndroid Build Coastguard Worker    rm -rf conftest.dir
1188*cf84ac9aSAndroid Build Coastguard Worker    if test -s conftest.tar; then
1189*cf84ac9aSAndroid Build Coastguard Worker      AM_RUN_LOG([$am__untar <conftest.tar])
1190*cf84ac9aSAndroid Build Coastguard Worker      AM_RUN_LOG([cat conftest.dir/file])
1191*cf84ac9aSAndroid Build Coastguard Worker      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1192*cf84ac9aSAndroid Build Coastguard Worker    fi
1193*cf84ac9aSAndroid Build Coastguard Worker  done
1194*cf84ac9aSAndroid Build Coastguard Worker  rm -rf conftest.dir
1195*cf84ac9aSAndroid Build Coastguard Worker
1196*cf84ac9aSAndroid Build Coastguard Worker  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1197*cf84ac9aSAndroid Build Coastguard Worker  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1198*cf84ac9aSAndroid Build Coastguard Worker
1199*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([am__tar])
1200*cf84ac9aSAndroid Build Coastguard WorkerAC_SUBST([am__untar])
1201*cf84ac9aSAndroid Build Coastguard Worker]) # _AM_PROG_TAR
1202*cf84ac9aSAndroid Build Coastguard Worker
1203*cf84ac9aSAndroid Build Coastguard Workerm4_include([m4/ax_code_coverage.m4])
1204*cf84ac9aSAndroid Build Coastguard Workerm4_include([m4/ax_prog_cc_for_build.m4])
1205*cf84ac9aSAndroid Build Coastguard Workerm4_include([m4/ax_valgrind_check.m4])
1206*cf84ac9aSAndroid Build Coastguard Workerm4_include([m4/bpf_attr.m4])
1207*cf84ac9aSAndroid Build Coastguard Workerm4_include([m4/mpers.m4])
1208*cf84ac9aSAndroid Build Coastguard Workerm4_include([m4/st_demangle.m4])
1209*cf84ac9aSAndroid Build Coastguard Workerm4_include([m4/st_libdw.m4])
1210*cf84ac9aSAndroid Build Coastguard Workerm4_include([m4/st_libunwind.m4])
1211*cf84ac9aSAndroid Build Coastguard Workerm4_include([m4/st_save_restore_var.m4])
1212*cf84ac9aSAndroid Build Coastguard Workerm4_include([m4/st_stacktrace.m4])
1213*cf84ac9aSAndroid Build Coastguard Workerm4_include([m4/st_warn_cflags.m4])
1214*cf84ac9aSAndroid Build Coastguard Workerm4_include([m4/warnings.m4])
1215