adam@20: # generated automatically by aclocal 1.11.5 -*- Autoconf -*- adam@17: adam@17: # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, adam@20: # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, adam@20: # Inc. adam@17: # This file is free software; the Free Software Foundation adam@17: # gives unlimited permission to copy and/or distribute it, adam@17: # with or without modifications, as long as this notice is preserved. adam@17: adam@17: # This program is distributed in the hope that it will be useful, adam@17: # but WITHOUT ANY WARRANTY, to the extent permitted by law; without adam@17: # even the implied warranty of MERCHANTABILITY or FITNESS FOR A adam@17: # PARTICULAR PURPOSE. adam@17: adam@17: m4_ifndef([AC_AUTOCONF_VERSION], adam@17: [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl adam@20: m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, adam@20: [m4_warning([this file was generated for autoconf 2.69. adam@17: You have another version of autoconf. It may work, but is not guaranteed to. adam@17: If you have problems, you may need to regenerate the build system entirely. adam@17: To do so, use the procedure documented by the package, typically `autoreconf'.])]) adam@17: adam@20: # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software adam@20: # Foundation, Inc. adam@17: # adam@17: # This file is free software; the Free Software Foundation adam@17: # gives unlimited permission to copy and/or distribute it, adam@17: # with or without modifications, as long as this notice is preserved. adam@17: adam@20: # serial 1 adam@20: adam@17: # AM_AUTOMAKE_VERSION(VERSION) adam@17: # ---------------------------- adam@17: # Automake X.Y traces this macro to ensure aclocal.m4 has been adam@17: # generated from the m4 files accompanying Automake X.Y. adam@17: # (This private macro should not be called outside this file.) adam@17: AC_DEFUN([AM_AUTOMAKE_VERSION], adam@17: [am__api_version='1.11' adam@17: dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to adam@17: dnl require some minimum version. Point them to the right macro. adam@20: m4_if([$1], [1.11.5], [], adam@17: [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl adam@17: ]) adam@17: adam@17: # _AM_AUTOCONF_VERSION(VERSION) adam@17: # ----------------------------- adam@17: # aclocal traces this macro to find the Autoconf version. adam@17: # This is a private macro too. Using m4_define simplifies adam@17: # the logic in aclocal, which can simply ignore this definition. adam@17: m4_define([_AM_AUTOCONF_VERSION], []) adam@17: adam@17: # AM_SET_CURRENT_AUTOMAKE_VERSION adam@17: # ------------------------------- adam@17: # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. adam@17: # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. adam@17: AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], adam@20: [AM_AUTOMAKE_VERSION([1.11.5])dnl adam@17: m4_ifndef([AC_AUTOCONF_VERSION], adam@17: [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl adam@17: _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) adam@17: adam@17: # AM_AUX_DIR_EXPAND -*- Autoconf -*- adam@17: adam@20: # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. adam@17: # adam@17: # This file is free software; the Free Software Foundation adam@17: # gives unlimited permission to copy and/or distribute it, adam@17: # with or without modifications, as long as this notice is preserved. adam@17: adam@20: # serial 1 adam@20: adam@17: # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets adam@17: # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to adam@17: # `$srcdir', `$srcdir/..', or `$srcdir/../..'. adam@17: # adam@17: # Of course, Automake must honor this variable whenever it calls a adam@17: # tool from the auxiliary directory. The problem is that $srcdir (and adam@17: # therefore $ac_aux_dir as well) can be either absolute or relative, adam@17: # depending on how configure is run. This is pretty annoying, since adam@17: # it makes $ac_aux_dir quite unusable in subdirectories: in the top adam@17: # source directory, any form will work fine, but in subdirectories a adam@17: # relative path needs to be adjusted first. adam@17: # adam@17: # $ac_aux_dir/missing adam@17: # fails when called from a subdirectory if $ac_aux_dir is relative adam@17: # $top_srcdir/$ac_aux_dir/missing adam@17: # fails if $ac_aux_dir is absolute, adam@17: # fails when called from a subdirectory in a VPATH build with adam@17: # a relative $ac_aux_dir adam@17: # adam@17: # The reason of the latter failure is that $top_srcdir and $ac_aux_dir adam@17: # are both prefixed by $srcdir. In an in-source build this is usually adam@17: # harmless because $srcdir is `.', but things will broke when you adam@17: # start a VPATH build or use an absolute $srcdir. adam@17: # adam@17: # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, adam@17: # iff we strip the leading $srcdir from $ac_aux_dir. That would be: adam@17: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` adam@17: # and then we would define $MISSING as adam@17: # MISSING="\${SHELL} $am_aux_dir/missing" adam@17: # This will work as long as MISSING is not called from configure, because adam@17: # unfortunately $(top_srcdir) has no meaning in configure. adam@17: # However there are other variables, like CC, which are often used in adam@17: # configure, and could therefore not use this "fixed" $ac_aux_dir. adam@17: # adam@17: # Another solution, used here, is to always expand $ac_aux_dir to an adam@17: # absolute PATH. The drawback is that using absolute paths prevent a adam@17: # configured tree to be moved without reconfiguration. adam@17: adam@17: AC_DEFUN([AM_AUX_DIR_EXPAND], adam@17: [dnl Rely on autoconf to set up CDPATH properly. adam@17: AC_PREREQ([2.50])dnl adam@17: # expand $ac_aux_dir to an absolute path adam@17: am_aux_dir=`cd $ac_aux_dir && pwd` adam@17: ]) adam@17: adam@17: # AM_CONDITIONAL -*- Autoconf -*- adam@17: adam@17: # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 adam@17: # Free Software Foundation, Inc. adam@17: # adam@17: # This file is free software; the Free Software Foundation adam@17: # gives unlimited permission to copy and/or distribute it, adam@17: # with or without modifications, as long as this notice is preserved. adam@17: adam@17: # serial 9 adam@17: adam@17: # AM_CONDITIONAL(NAME, SHELL-CONDITION) adam@17: # ------------------------------------- adam@17: # Define a conditional. adam@17: AC_DEFUN([AM_CONDITIONAL], adam@17: [AC_PREREQ(2.52)dnl adam@17: ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], adam@17: [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl adam@17: AC_SUBST([$1_TRUE])dnl adam@17: AC_SUBST([$1_FALSE])dnl adam@17: _AM_SUBST_NOTMAKE([$1_TRUE])dnl adam@17: _AM_SUBST_NOTMAKE([$1_FALSE])dnl adam@17: m4_define([_AM_COND_VALUE_$1], [$2])dnl adam@17: if $2; then adam@17: $1_TRUE= adam@17: $1_FALSE='#' adam@17: else adam@17: $1_TRUE='#' adam@17: $1_FALSE= adam@17: fi adam@17: AC_CONFIG_COMMANDS_PRE( adam@17: [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then adam@17: AC_MSG_ERROR([[conditional "$1" was never defined. adam@17: Usually this means the macro was only invoked conditionally.]]) adam@17: fi])]) adam@17: adam@20: # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, adam@20: # 2010, 2011 Free Software Foundation, Inc. adam@17: # adam@17: # This file is free software; the Free Software Foundation adam@17: # gives unlimited permission to copy and/or distribute it, adam@17: # with or without modifications, as long as this notice is preserved. adam@17: adam@20: # serial 12 adam@17: adam@17: # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be adam@17: # written in clear, in which case automake, when reading aclocal.m4, adam@17: # will think it sees a *use*, and therefore will trigger all it's adam@17: # C support machinery. Also note that it means that autoscan, seeing adam@17: # CC etc. in the Makefile, will ask for an AC_PROG_CC use... adam@17: adam@17: adam@17: # _AM_DEPENDENCIES(NAME) adam@17: # ---------------------- adam@17: # See how the compiler implements dependency checking. adam@17: # NAME is "CC", "CXX", "GCJ", or "OBJC". adam@17: # We try a few techniques and use that to set a single cache variable. adam@17: # adam@17: # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was adam@17: # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular adam@17: # dependency, and given that the user is not expected to run this macro, adam@17: # just rely on AC_PROG_CC. adam@17: AC_DEFUN([_AM_DEPENDENCIES], adam@17: [AC_REQUIRE([AM_SET_DEPDIR])dnl adam@17: AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl adam@17: AC_REQUIRE([AM_MAKE_INCLUDE])dnl adam@17: AC_REQUIRE([AM_DEP_TRACK])dnl adam@17: adam@17: ifelse([$1], CC, [depcc="$CC" am_compiler_list=], adam@17: [$1], CXX, [depcc="$CXX" am_compiler_list=], adam@17: [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], adam@17: [$1], UPC, [depcc="$UPC" am_compiler_list=], adam@17: [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], adam@17: [depcc="$$1" am_compiler_list=]) adam@17: adam@17: AC_CACHE_CHECK([dependency style of $depcc], adam@17: [am_cv_$1_dependencies_compiler_type], adam@17: [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then adam@17: # We make a subdir and do the tests there. Otherwise we can end up adam@17: # making bogus files that we don't know about and never remove. For adam@17: # instance it was reported that on HP-UX the gcc test will end up adam@17: # making a dummy file named `D' -- because `-MD' means `put the output adam@17: # in D'. adam@20: rm -rf conftest.dir adam@17: mkdir conftest.dir adam@17: # Copy depcomp to subdir because otherwise we won't find it if we're adam@17: # using a relative directory. adam@17: cp "$am_depcomp" conftest.dir adam@17: cd conftest.dir adam@17: # We will build objects and dependencies in a subdirectory because adam@17: # it helps to detect inapplicable dependency modes. For instance adam@17: # both Tru64's cc and ICC support -MD to output dependencies as a adam@17: # side effect of compilation, but ICC will put the dependencies in adam@17: # the current directory while Tru64 will put them in the object adam@17: # directory. adam@17: mkdir sub adam@17: adam@17: am_cv_$1_dependencies_compiler_type=none adam@17: if test "$am_compiler_list" = ""; then adam@17: am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` adam@17: fi adam@17: am__universal=false adam@17: m4_case([$1], [CC], adam@17: [case " $depcc " in #( adam@17: *\ -arch\ *\ -arch\ *) am__universal=true ;; adam@17: esac], adam@17: [CXX], adam@17: [case " $depcc " in #( adam@17: *\ -arch\ *\ -arch\ *) am__universal=true ;; adam@17: esac]) adam@17: adam@17: for depmode in $am_compiler_list; do adam@17: # Setup a source with many dependencies, because some compilers adam@17: # like to wrap large dependency lists on column 80 (with \), and adam@17: # we should not choose a depcomp mode which is confused by this. adam@17: # adam@17: # We need to recreate these files for each test, as the compiler may adam@17: # overwrite some of them when testing with obscure command lines. adam@17: # This happens at least with the AIX C compiler. adam@17: : > sub/conftest.c adam@17: for i in 1 2 3 4 5 6; do adam@17: echo '#include "conftst'$i'.h"' >> sub/conftest.c adam@17: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with adam@17: # Solaris 8's {/usr,}/bin/sh. adam@17: touch sub/conftst$i.h adam@17: done adam@17: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf adam@17: adam@17: # We check with `-c' and `-o' for the sake of the "dashmstdout" adam@17: # mode. It turns out that the SunPro C++ compiler does not properly adam@17: # handle `-M -o', and we need to detect this. Also, some Intel adam@17: # versions had trouble with output in subdirs adam@17: am__obj=sub/conftest.${OBJEXT-o} adam@17: am__minus_obj="-o $am__obj" adam@17: case $depmode in adam@17: gcc) adam@17: # This depmode causes a compiler race in universal mode. adam@17: test "$am__universal" = false || continue adam@17: ;; adam@17: nosideeffect) adam@17: # after this tag, mechanisms are not by side-effect, so they'll adam@17: # only be used when explicitly requested adam@17: if test "x$enable_dependency_tracking" = xyes; then adam@17: continue adam@17: else adam@17: break adam@17: fi adam@17: ;; adam@20: msvc7 | msvc7msys | msvisualcpp | msvcmsys) adam@17: # This compiler won't grok `-c -o', but also, the minuso test has adam@17: # not run yet. These depmodes are late enough in the game, and adam@17: # so weak that their functioning should not be impacted. adam@17: am__obj=conftest.${OBJEXT-o} adam@17: am__minus_obj= adam@17: ;; adam@17: none) break ;; adam@17: esac adam@17: if depmode=$depmode \ adam@17: source=sub/conftest.c object=$am__obj \ adam@17: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ adam@17: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ adam@17: >/dev/null 2>conftest.err && adam@17: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && adam@17: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && adam@17: grep $am__obj sub/conftest.Po > /dev/null 2>&1 && adam@17: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then adam@17: # icc doesn't choke on unknown options, it will just issue warnings adam@17: # or remarks (even with -Werror). So we grep stderr for any message adam@17: # that says an option was ignored or not supported. adam@17: # When given -MP, icc 7.0 and 7.1 complain thusly: adam@17: # icc: Command line warning: ignoring option '-M'; no argument required adam@17: # The diagnosis changed in icc 8.0: adam@17: # icc: Command line remark: option '-MP' not supported adam@17: if (grep 'ignoring option' conftest.err || adam@17: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else adam@17: am_cv_$1_dependencies_compiler_type=$depmode adam@17: break adam@17: fi adam@17: fi adam@17: done adam@17: adam@17: cd .. adam@17: rm -rf conftest.dir adam@17: else adam@17: am_cv_$1_dependencies_compiler_type=none adam@17: fi adam@17: ]) adam@17: AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) adam@17: AM_CONDITIONAL([am__fastdep$1], [ adam@17: test "x$enable_dependency_tracking" != xno \ adam@17: && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) adam@17: ]) adam@17: adam@17: adam@17: # AM_SET_DEPDIR adam@17: # ------------- adam@17: # Choose a directory name for dependency files. adam@17: # This macro is AC_REQUIREd in _AM_DEPENDENCIES adam@17: AC_DEFUN([AM_SET_DEPDIR], adam@17: [AC_REQUIRE([AM_SET_LEADING_DOT])dnl adam@17: AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl adam@17: ]) adam@17: adam@17: adam@17: # AM_DEP_TRACK adam@17: # ------------ adam@17: AC_DEFUN([AM_DEP_TRACK], adam@17: [AC_ARG_ENABLE(dependency-tracking, adam@17: [ --disable-dependency-tracking speeds up one-time build adam@17: --enable-dependency-tracking do not reject slow dependency extractors]) adam@17: if test "x$enable_dependency_tracking" != xno; then adam@17: am_depcomp="$ac_aux_dir/depcomp" adam@17: AMDEPBACKSLASH='\' adam@20: am__nodep='_no' adam@17: fi adam@17: AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) adam@17: AC_SUBST([AMDEPBACKSLASH])dnl adam@17: _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl adam@20: AC_SUBST([am__nodep])dnl adam@20: _AM_SUBST_NOTMAKE([am__nodep])dnl adam@17: ]) adam@17: adam@17: # Generate code to set up dependency tracking. -*- Autoconf -*- adam@17: adam@17: # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 adam@17: # Free Software Foundation, Inc. adam@17: # adam@17: # This file is free software; the Free Software Foundation adam@17: # gives unlimited permission to copy and/or distribute it, adam@17: # with or without modifications, as long as this notice is preserved. adam@17: adam@17: #serial 5 adam@17: adam@17: # _AM_OUTPUT_DEPENDENCY_COMMANDS adam@17: # ------------------------------ adam@17: AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], adam@17: [{ adam@17: # Autoconf 2.62 quotes --file arguments for eval, but not when files adam@17: # are listed without --file. Let's play safe and only enable the eval adam@17: # if we detect the quoting. adam@17: case $CONFIG_FILES in adam@17: *\'*) eval set x "$CONFIG_FILES" ;; adam@17: *) set x $CONFIG_FILES ;; adam@17: esac adam@17: shift adam@17: for mf adam@17: do adam@17: # Strip MF so we end up with the name of the file. adam@17: mf=`echo "$mf" | sed -e 's/:.*$//'` adam@17: # Check whether this is an Automake generated Makefile or not. adam@17: # We used to match only the files named `Makefile.in', but adam@17: # some people rename them; so instead we look at the file content. adam@17: # Grep'ing the first line is not enough: some people post-process adam@17: # each Makefile.in and add a new line on top of each file to say so. adam@17: # Grep'ing the whole file is not good either: AIX grep has a line adam@17: # limit of 2048, but all sed's we know have understand at least 4000. adam@17: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then adam@17: dirpart=`AS_DIRNAME("$mf")` adam@17: else adam@17: continue adam@17: fi adam@17: # Extract the definition of DEPDIR, am__include, and am__quote adam@17: # from the Makefile without running `make'. adam@17: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` adam@17: test -z "$DEPDIR" && continue adam@17: am__include=`sed -n 's/^am__include = //p' < "$mf"` adam@17: test -z "am__include" && continue adam@17: am__quote=`sed -n 's/^am__quote = //p' < "$mf"` adam@17: # When using ansi2knr, U may be empty or an underscore; expand it adam@17: U=`sed -n 's/^U = //p' < "$mf"` adam@17: # Find all dependency output files, they are included files with adam@17: # $(DEPDIR) in their names. We invoke sed twice because it is the adam@17: # simplest approach to changing $(DEPDIR) to its actual value in the adam@17: # expansion. adam@17: for file in `sed -n " adam@17: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ adam@17: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do adam@17: # Make sure the directory exists. adam@17: test -f "$dirpart/$file" && continue adam@17: fdir=`AS_DIRNAME(["$file"])` adam@17: AS_MKDIR_P([$dirpart/$fdir]) adam@17: # echo "creating $dirpart/$file" adam@17: echo '# dummy' > "$dirpart/$file" adam@17: done adam@17: done adam@17: } adam@17: ])# _AM_OUTPUT_DEPENDENCY_COMMANDS adam@17: adam@17: adam@17: # AM_OUTPUT_DEPENDENCY_COMMANDS adam@17: # ----------------------------- adam@17: # This macro should only be invoked once -- use via AC_REQUIRE. adam@17: # adam@17: # This code is only required when automatic dependency tracking adam@17: # is enabled. FIXME. This creates each `.P' file that we will adam@17: # need in order to bootstrap the dependency handling code. adam@17: AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], adam@17: [AC_CONFIG_COMMANDS([depfiles], adam@17: [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], adam@17: [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) adam@17: ]) adam@17: adam@17: # Do all the work for Automake. -*- Autoconf -*- adam@17: adam@17: # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, adam@17: # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. adam@17: # adam@17: # This file is free software; the Free Software Foundation adam@17: # gives unlimited permission to copy and/or distribute it, adam@17: # with or without modifications, as long as this notice is preserved. adam@17: adam@17: # serial 16 adam@17: adam@17: # This macro actually does too much. Some checks are only needed if adam@17: # your package does certain things. But this isn't really a big deal. adam@17: adam@17: # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) adam@17: # AM_INIT_AUTOMAKE([OPTIONS]) adam@17: # ----------------------------------------------- adam@17: # The call with PACKAGE and VERSION arguments is the old style adam@17: # call (pre autoconf-2.50), which is being phased out. PACKAGE adam@17: # and VERSION should now be passed to AC_INIT and removed from adam@17: # the call to AM_INIT_AUTOMAKE. adam@17: # We support both call styles for the transition. After adam@17: # the next Automake release, Autoconf can make the AC_INIT adam@17: # arguments mandatory, and then we can depend on a new Autoconf adam@17: # release and drop the old call support. adam@17: AC_DEFUN([AM_INIT_AUTOMAKE], adam@17: [AC_PREREQ([2.62])dnl adam@17: dnl Autoconf wants to disallow AM_ names. We explicitly allow adam@17: dnl the ones we care about. adam@17: m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl adam@17: AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl adam@17: AC_REQUIRE([AC_PROG_INSTALL])dnl adam@17: if test "`cd $srcdir && pwd`" != "`pwd`"; then adam@17: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output adam@17: # is not polluted with repeated "-I." adam@17: AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl adam@17: # test to see if srcdir already configured adam@17: if test -f $srcdir/config.status; then adam@17: AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) adam@17: fi adam@17: fi adam@17: adam@17: # test whether we have cygpath adam@17: if test -z "$CYGPATH_W"; then adam@17: if (cygpath --version) >/dev/null 2>/dev/null; then adam@17: CYGPATH_W='cygpath -w' adam@17: else adam@17: CYGPATH_W=echo adam@17: fi adam@17: fi adam@17: AC_SUBST([CYGPATH_W]) adam@17: adam@17: # Define the identity of the package. adam@17: dnl Distinguish between old-style and new-style calls. adam@17: m4_ifval([$2], adam@17: [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl adam@17: AC_SUBST([PACKAGE], [$1])dnl adam@17: AC_SUBST([VERSION], [$2])], adam@17: [_AM_SET_OPTIONS([$1])dnl adam@17: dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. adam@17: m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, adam@17: [m4_fatal([AC_INIT should be called with package and version arguments])])dnl adam@17: AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl adam@17: AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl adam@17: adam@17: _AM_IF_OPTION([no-define],, adam@17: [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) adam@17: AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl adam@17: adam@17: # Some tools Automake needs. adam@17: AC_REQUIRE([AM_SANITY_CHECK])dnl adam@17: AC_REQUIRE([AC_ARG_PROGRAM])dnl adam@17: AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) adam@17: AM_MISSING_PROG(AUTOCONF, autoconf) adam@17: AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) adam@17: AM_MISSING_PROG(AUTOHEADER, autoheader) adam@17: AM_MISSING_PROG(MAKEINFO, makeinfo) adam@17: AC_REQUIRE([AM_PROG_INSTALL_SH])dnl adam@17: AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl adam@17: AC_REQUIRE([AM_PROG_MKDIR_P])dnl adam@17: # We need awk for the "check" target. The system "awk" is bad on adam@17: # some platforms. adam@17: AC_REQUIRE([AC_PROG_AWK])dnl adam@17: AC_REQUIRE([AC_PROG_MAKE_SET])dnl adam@17: AC_REQUIRE([AM_SET_LEADING_DOT])dnl adam@17: _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], adam@17: [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], adam@17: [_AM_PROG_TAR([v7])])]) adam@17: _AM_IF_OPTION([no-dependencies],, adam@17: [AC_PROVIDE_IFELSE([AC_PROG_CC], adam@17: [_AM_DEPENDENCIES(CC)], adam@17: [define([AC_PROG_CC], adam@17: defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl adam@17: AC_PROVIDE_IFELSE([AC_PROG_CXX], adam@17: [_AM_DEPENDENCIES(CXX)], adam@17: [define([AC_PROG_CXX], adam@17: defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl adam@17: AC_PROVIDE_IFELSE([AC_PROG_OBJC], adam@17: [_AM_DEPENDENCIES(OBJC)], adam@17: [define([AC_PROG_OBJC], adam@17: defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl adam@17: ]) adam@17: _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl adam@17: dnl The `parallel-tests' driver may need to know about EXEEXT, so add the adam@17: dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro adam@17: dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. adam@17: AC_CONFIG_COMMANDS_PRE(dnl adam@17: [m4_provide_if([_AM_COMPILER_EXEEXT], adam@17: [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl adam@17: ]) adam@17: adam@17: dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not adam@17: dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further adam@17: dnl mangled by Autoconf and run in a shell conditional statement. adam@17: m4_define([_AC_COMPILER_EXEEXT], adam@17: m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) adam@17: adam@17: adam@17: # When config.status generates a header, we must update the stamp-h file. adam@17: # This file resides in the same directory as the config header adam@17: # that is generated. The stamp files are numbered to have different names. adam@17: adam@17: # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the adam@17: # loop where config.status creates the headers, so we can generate adam@17: # our stamp files there. adam@17: AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], adam@17: [# Compute $1's index in $config_headers. adam@17: _am_arg=$1 adam@17: _am_stamp_count=1 adam@17: for _am_header in $config_headers :; do adam@17: case $_am_header in adam@17: $_am_arg | $_am_arg:* ) adam@17: break ;; adam@17: * ) adam@17: _am_stamp_count=`expr $_am_stamp_count + 1` ;; adam@17: esac adam@17: done adam@17: echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) adam@17: adam@20: # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, adam@20: # Inc. adam@17: # adam@17: # This file is free software; the Free Software Foundation adam@17: # gives unlimited permission to copy and/or distribute it, adam@17: # with or without modifications, as long as this notice is preserved. adam@17: adam@20: # serial 1 adam@20: adam@17: # AM_PROG_INSTALL_SH adam@17: # ------------------ adam@17: # Define $install_sh. adam@17: AC_DEFUN([AM_PROG_INSTALL_SH], adam@17: [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl adam@17: if test x"${install_sh}" != xset; then adam@17: case $am_aux_dir in adam@17: *\ * | *\ *) adam@17: install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; adam@17: *) adam@17: install_sh="\${SHELL} $am_aux_dir/install-sh" adam@17: esac adam@17: fi adam@17: AC_SUBST(install_sh)]) adam@17: adam@17: # Copyright (C) 2003, 2005 Free Software Foundation, Inc. adam@17: # adam@17: # This file is free software; the Free Software Foundation adam@17: # gives unlimited permission to copy and/or distribute it, adam@17: # with or without modifications, as long as this notice is preserved. adam@17: adam@17: # serial 2 adam@17: adam@17: # Check whether the underlying file-system supports filenames adam@17: # with a leading dot. For instance MS-DOS doesn't. adam@17: AC_DEFUN([AM_SET_LEADING_DOT], adam@17: [rm -rf .tst 2>/dev/null adam@17: mkdir .tst 2>/dev/null adam@17: if test -d .tst; then adam@17: am__leading_dot=. adam@17: else adam@17: am__leading_dot=_ adam@17: fi adam@17: rmdir .tst 2>/dev/null adam@17: AC_SUBST([am__leading_dot])]) adam@17: adam@17: # Check to see how 'make' treats includes. -*- Autoconf -*- adam@17: adam@17: # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. adam@17: # adam@17: # This file is free software; the Free Software Foundation adam@17: # gives unlimited permission to copy and/or distribute it, adam@17: # with or without modifications, as long as this notice is preserved. adam@17: adam@17: # serial 4 adam@17: adam@17: # AM_MAKE_INCLUDE() adam@17: # ----------------- adam@17: # Check to see how make treats includes. adam@17: AC_DEFUN([AM_MAKE_INCLUDE], adam@17: [am_make=${MAKE-make} adam@17: cat > confinc << 'END' adam@17: am__doit: adam@17: @echo this is the am__doit target adam@17: .PHONY: am__doit adam@17: END adam@17: # If we don't find an include directive, just comment out the code. adam@17: AC_MSG_CHECKING([for style of include used by $am_make]) adam@17: am__include="#" adam@17: am__quote= adam@17: _am_result=none adam@17: # First try GNU make style include. adam@17: echo "include confinc" > confmf adam@17: # Ignore all kinds of additional output from `make'. adam@17: case `$am_make -s -f confmf 2> /dev/null` in #( adam@17: *the\ am__doit\ target*) adam@17: am__include=include adam@17: am__quote= adam@17: _am_result=GNU adam@17: ;; adam@17: esac adam@17: # Now try BSD make style include. adam@17: if test "$am__include" = "#"; then adam@17: echo '.include "confinc"' > confmf adam@17: case `$am_make -s -f confmf 2> /dev/null` in #( adam@17: *the\ am__doit\ target*) adam@17: am__include=.include adam@17: am__quote="\"" adam@17: _am_result=BSD adam@17: ;; adam@17: esac adam@17: fi adam@17: AC_SUBST([am__include]) adam@17: AC_SUBST([am__quote]) adam@17: AC_MSG_RESULT([$_am_result]) adam@17: rm -f confinc confmf adam@17: ]) adam@17: adam@17: # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- adam@17: adam@17: # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 adam@17: # Free Software Foundation, Inc. adam@17: # adam@17: # This file is free software; the Free Software Foundation adam@17: # gives unlimited permission to copy and/or distribute it, adam@17: # with or without modifications, as long as this notice is preserved. adam@17: adam@17: # serial 6 adam@17: adam@17: # AM_MISSING_PROG(NAME, PROGRAM) adam@17: # ------------------------------ adam@17: AC_DEFUN([AM_MISSING_PROG], adam@17: [AC_REQUIRE([AM_MISSING_HAS_RUN]) adam@17: $1=${$1-"${am_missing_run}$2"} adam@17: AC_SUBST($1)]) adam@17: adam@17: adam@17: # AM_MISSING_HAS_RUN adam@17: # ------------------ adam@17: # Define MISSING if not defined so far and test if it supports --run. adam@17: # If it does, set am_missing_run to use it, otherwise, to nothing. adam@17: AC_DEFUN([AM_MISSING_HAS_RUN], adam@17: [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl adam@17: AC_REQUIRE_AUX_FILE([missing])dnl adam@17: if test x"${MISSING+set}" != xset; then adam@17: case $am_aux_dir in adam@17: *\ * | *\ *) adam@17: MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; adam@17: *) adam@17: MISSING="\${SHELL} $am_aux_dir/missing" ;; adam@17: esac adam@17: fi adam@17: # Use eval to expand $SHELL adam@17: if eval "$MISSING --run true"; then adam@17: am_missing_run="$MISSING --run " adam@17: else adam@17: am_missing_run= adam@17: AC_MSG_WARN([`missing' script is too old or missing]) adam@17: fi adam@17: ]) adam@17: adam@20: # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, adam@20: # Inc. adam@17: # adam@17: # This file is free software; the Free Software Foundation adam@17: # gives unlimited permission to copy and/or distribute it, adam@17: # with or without modifications, as long as this notice is preserved. adam@17: adam@20: # serial 1 adam@20: adam@17: # AM_PROG_MKDIR_P adam@17: # --------------- adam@17: # Check for `mkdir -p'. adam@17: AC_DEFUN([AM_PROG_MKDIR_P], adam@17: [AC_PREREQ([2.60])dnl adam@17: AC_REQUIRE([AC_PROG_MKDIR_P])dnl adam@17: dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, adam@17: dnl while keeping a definition of mkdir_p for backward compatibility. adam@17: dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. adam@17: dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of adam@17: dnl Makefile.ins that do not define MKDIR_P, so we do our own adam@17: dnl adjustment using top_builddir (which is defined more often than adam@17: dnl MKDIR_P). adam@17: AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl adam@17: case $mkdir_p in adam@17: [[\\/$]]* | ?:[[\\/]]*) ;; adam@17: */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; adam@17: esac adam@17: ]) adam@17: adam@17: # Helper functions for option handling. -*- Autoconf -*- adam@17: adam@20: # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software adam@20: # Foundation, Inc. adam@17: # adam@17: # This file is free software; the Free Software Foundation adam@17: # gives unlimited permission to copy and/or distribute it, adam@17: # with or without modifications, as long as this notice is preserved. adam@17: adam@20: # serial 5 adam@17: adam@17: # _AM_MANGLE_OPTION(NAME) adam@17: # ----------------------- adam@17: AC_DEFUN([_AM_MANGLE_OPTION], adam@17: [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) adam@17: adam@17: # _AM_SET_OPTION(NAME) adam@20: # -------------------- adam@17: # Set option NAME. Presently that only means defining a flag for this option. adam@17: AC_DEFUN([_AM_SET_OPTION], adam@17: [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) adam@17: adam@17: # _AM_SET_OPTIONS(OPTIONS) adam@20: # ------------------------ adam@17: # OPTIONS is a space-separated list of Automake options. adam@17: AC_DEFUN([_AM_SET_OPTIONS], adam@17: [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) adam@17: adam@17: # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) adam@17: # ------------------------------------------- adam@17: # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. adam@17: AC_DEFUN([_AM_IF_OPTION], adam@17: [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) adam@17: adam@17: # Check to make sure that the build environment is sane. -*- Autoconf -*- adam@17: adam@17: # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 adam@17: # Free Software Foundation, Inc. adam@17: # adam@17: # This file is free software; the Free Software Foundation adam@17: # gives unlimited permission to copy and/or distribute it, adam@17: # with or without modifications, as long as this notice is preserved. adam@17: adam@17: # serial 5 adam@17: adam@17: # AM_SANITY_CHECK adam@17: # --------------- adam@17: AC_DEFUN([AM_SANITY_CHECK], adam@17: [AC_MSG_CHECKING([whether build environment is sane]) adam@17: # Just in case adam@17: sleep 1 adam@17: echo timestamp > conftest.file adam@17: # Reject unsafe characters in $srcdir or the absolute working directory adam@17: # name. Accept space and tab only in the latter. adam@17: am_lf=' adam@17: ' adam@17: case `pwd` in adam@17: *[[\\\"\#\$\&\'\`$am_lf]]*) adam@17: AC_MSG_ERROR([unsafe absolute working directory name]);; adam@17: esac adam@17: case $srcdir in adam@17: *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) adam@17: AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; adam@17: esac adam@17: adam@17: # Do `set' in a subshell so we don't clobber the current shell's adam@17: # arguments. Must try -L first in case configure is actually a adam@17: # symlink; some systems play weird games with the mod time of symlinks adam@17: # (eg FreeBSD returns the mod time of the symlink's containing adam@17: # directory). adam@17: if ( adam@17: set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` adam@17: if test "$[*]" = "X"; then adam@17: # -L didn't work. adam@17: set X `ls -t "$srcdir/configure" conftest.file` adam@17: fi adam@17: rm -f conftest.file adam@17: if test "$[*]" != "X $srcdir/configure conftest.file" \ adam@17: && test "$[*]" != "X conftest.file $srcdir/configure"; then adam@17: adam@17: # If neither matched, then we have a broken ls. This can happen adam@17: # if, for instance, CONFIG_SHELL is bash and it inherits a adam@17: # broken ls alias from the environment. This has actually adam@17: # happened. Such a system could not be considered "sane". adam@17: AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken adam@17: alias in your environment]) adam@17: fi adam@17: adam@17: test "$[2]" = conftest.file adam@17: ) adam@17: then adam@17: # Ok. adam@17: : adam@17: else adam@17: AC_MSG_ERROR([newly created file is older than distributed files! adam@17: Check your system clock]) adam@17: fi adam@17: AC_MSG_RESULT(yes)]) adam@17: adam@20: # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. adam@17: # adam@17: # This file is free software; the Free Software Foundation adam@17: # gives unlimited permission to copy and/or distribute it, adam@17: # with or without modifications, as long as this notice is preserved. adam@17: adam@20: # serial 1 adam@20: adam@17: # AM_PROG_INSTALL_STRIP adam@17: # --------------------- adam@17: # One issue with vendor `install' (even GNU) is that you can't adam@17: # specify the program used to strip binaries. This is especially adam@17: # annoying in cross-compiling environments, where the build's strip adam@17: # is unlikely to handle the host's binaries. adam@17: # Fortunately install-sh will honor a STRIPPROG variable, so we adam@17: # always use install-sh in `make install-strip', and initialize adam@17: # STRIPPROG with the value of the STRIP variable (set by the user). adam@17: AC_DEFUN([AM_PROG_INSTALL_STRIP], adam@17: [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl adam@17: # Installed binaries are usually stripped using `strip' when the user adam@17: # run `make install-strip'. However `strip' might not be the right adam@17: # tool to use in cross-compilation environments, therefore Automake adam@17: # will honor the `STRIP' environment variable to overrule this program. adam@17: dnl Don't test for $cross_compiling = yes, because it might be `maybe'. adam@17: if test "$cross_compiling" != no; then adam@17: AC_CHECK_TOOL([STRIP], [strip], :) adam@17: fi adam@17: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" adam@17: AC_SUBST([INSTALL_STRIP_PROGRAM])]) adam@17: adam@20: # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. adam@17: # adam@17: # This file is free software; the Free Software Foundation adam@17: # gives unlimited permission to copy and/or distribute it, adam@17: # with or without modifications, as long as this notice is preserved. adam@17: adam@20: # serial 3 adam@17: adam@17: # _AM_SUBST_NOTMAKE(VARIABLE) adam@17: # --------------------------- adam@17: # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. adam@17: # This macro is traced by Automake. adam@17: AC_DEFUN([_AM_SUBST_NOTMAKE]) adam@17: adam@17: # AM_SUBST_NOTMAKE(VARIABLE) adam@20: # -------------------------- adam@17: # Public sister of _AM_SUBST_NOTMAKE. adam@17: AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) adam@17: adam@17: # Check how to create a tarball. -*- Autoconf -*- adam@17: adam@20: # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. adam@17: # adam@17: # This file is free software; the Free Software Foundation adam@17: # gives unlimited permission to copy and/or distribute it, adam@17: # with or without modifications, as long as this notice is preserved. adam@17: adam@17: # serial 2 adam@17: adam@17: # _AM_PROG_TAR(FORMAT) adam@17: # -------------------- adam@17: # Check how to create a tarball in format FORMAT. adam@17: # FORMAT should be one of `v7', `ustar', or `pax'. adam@17: # adam@17: # Substitute a variable $(am__tar) that is a command adam@17: # writing to stdout a FORMAT-tarball containing the directory adam@17: # $tardir. adam@17: # tardir=directory && $(am__tar) > result.tar adam@17: # adam@17: # Substitute a variable $(am__untar) that extract such adam@17: # a tarball read from stdin. adam@17: # $(am__untar) < result.tar adam@17: AC_DEFUN([_AM_PROG_TAR], adam@20: [# Always define AMTAR for backward compatibility. Yes, it's still used adam@20: # in the wild :-( We should find a proper way to deprecate it ... adam@20: AC_SUBST([AMTAR], ['$${TAR-tar}']) adam@17: m4_if([$1], [v7], adam@20: [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], adam@17: [m4_case([$1], [ustar],, [pax],, adam@17: [m4_fatal([Unknown tar format])]) adam@17: AC_MSG_CHECKING([how to create a $1 tar archive]) adam@17: # Loop over all known methods to create a tar archive until one works. adam@17: _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' adam@17: _am_tools=${am_cv_prog_tar_$1-$_am_tools} adam@17: # Do not fold the above two line into one, because Tru64 sh and adam@17: # Solaris sh will not grok spaces in the rhs of `-'. adam@17: for _am_tool in $_am_tools adam@17: do adam@17: case $_am_tool in adam@17: gnutar) adam@17: for _am_tar in tar gnutar gtar; adam@17: do adam@17: AM_RUN_LOG([$_am_tar --version]) && break adam@17: done adam@17: am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' adam@17: am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' adam@17: am__untar="$_am_tar -xf -" adam@17: ;; adam@17: plaintar) adam@17: # Must skip GNU tar: if it does not support --format= it doesn't create adam@17: # ustar tarball either. adam@17: (tar --version) >/dev/null 2>&1 && continue adam@17: am__tar='tar chf - "$$tardir"' adam@17: am__tar_='tar chf - "$tardir"' adam@17: am__untar='tar xf -' adam@17: ;; adam@17: pax) adam@17: am__tar='pax -L -x $1 -w "$$tardir"' adam@17: am__tar_='pax -L -x $1 -w "$tardir"' adam@17: am__untar='pax -r' adam@17: ;; adam@17: cpio) adam@17: am__tar='find "$$tardir" -print | cpio -o -H $1 -L' adam@17: am__tar_='find "$tardir" -print | cpio -o -H $1 -L' adam@17: am__untar='cpio -i -H $1 -d' adam@17: ;; adam@17: none) adam@17: am__tar=false adam@17: am__tar_=false adam@17: am__untar=false adam@17: ;; adam@17: esac adam@17: adam@17: # If the value was cached, stop now. We just wanted to have am__tar adam@17: # and am__untar set. adam@17: test -n "${am_cv_prog_tar_$1}" && break adam@17: adam@17: # tar/untar a dummy directory, and stop if the command works adam@17: rm -rf conftest.dir adam@17: mkdir conftest.dir adam@17: echo GrepMe > conftest.dir/file adam@17: AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) adam@17: rm -rf conftest.dir adam@17: if test -s conftest.tar; then adam@17: AM_RUN_LOG([$am__untar /dev/null 2>&1 && break adam@17: fi adam@17: done adam@17: rm -rf conftest.dir adam@17: adam@17: AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) adam@17: AC_MSG_RESULT([$am_cv_prog_tar_$1])]) adam@17: AC_SUBST([am__tar]) adam@17: AC_SUBST([am__untar]) adam@17: ]) # _AM_PROG_TAR adam@17: adam@17: m4_include([m4/libcurl.m4]) adam@17: m4_include([m4/libtool.m4]) adam@17: m4_include([m4/ltoptions.m4]) adam@17: m4_include([m4/ltsugar.m4]) adam@17: m4_include([m4/ltversion.m4]) adam@17: m4_include([m4/lt~obsolete.m4])