annotate src/opus-1.3/aclocal.m4 @ 69:7aeed7906520

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