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