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