annotate src/libsndfile-1.0.25/aclocal.m4 @ 160:cff480c41f97

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