annotate src/opus-1.3/aclocal.m4 @ 169:223a55898ab9 tip default

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