Use proper distribution archive instead of git snapshot.
Fixes: f9d5bb0 ("Imported Upstream version 2022.02.11")
+++ /dev/null
-# all generated files reside in here
-/stage/*
-
-# byte-compiled version of the python module
-/__pycache__/*
-/macro.pyc
-
-# the html tree is maintained in a separate, CVS-based repository
-/html/*
-
-# gnulib creates backup files with a ~ suffix all over the place
-*~
-
-# files generated by Autoconf, Automake, and Gnulib
-/AUTHORS
-/ChangeLog
-/GNUmakefile
-/INSTALL
-/Makefile
-/Makefile.in
-/README
-/aclocal.m4
-/autoconf-archive-*.*.*.tar.*
-/autoconf-archive-*.*.*/*
-/autom4te.cache/*
-/build-aux/*
-/config.log
-/config.status
-/configure
-/gnulib
-/maint.mk
+++ /dev/null
-2021.02.19
--- /dev/null
+2022.02.11
+++ /dev/null
-# .travis.yml
-
-language: c
-git:
- depth: 50000
-
-addons:
- apt:
- packages:
- - gnulib
- - python3
- - texlive
- - texinfo
- - tidy
-
-script:
- - ./bootstrap.sh
- - ./configure
- - make PYTHON=python3 -j$(nproc) maintainer-all all
- - make distcheck
- - make web-manual
- - ./fix-website.sh
--- /dev/null
+# Copyright (c) 2022 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
+#
+# Copying and distribution of this file, with or without modification, are
+# permitted in any medium without royalty provided the copyright notice and this
+# notice are preserved. This file is offered as-is, without any warranty.
+
+2015, 2016 Philip Withnall
+2016 Endless Mobile, Inc.; contributed by Philip Chimento
+2016 Philip Withnall
+2018 Krzesimir Nowak
+2018 Reini Urban
+Aaron Griffith
+Adam Chyla
+Adam Chyła
+Akim Demaille
+Akos Maroy
+Alain Barbet
+Alan Jenkins
+Alan W. Irwin
+Alan Woodland
+Alessandro Candini
+Alessandro Massignan
+Alex Henrie
+Alex Pletzer
+Alexander Afanasyev
+Alexander Lakhin
+Alexander Petry
+Alexander Pletzer
+Alexandre Duret-Lutz
+Alexey Kopytov
+Alexey Sokolov
+Allan Caffee
+Anders Kaseorg
+Andreas Oberritter
+Andreas Röver
+Andreas Saebjoernsen
+Andreas Schwab
+Andrew Collier
+Andrew Stoltz
+Andy Kitchen
+Antoine Brodin
+Arto Bendiken
+Bastiaan Veelo
+Bastien Chevreux
+Bastien Roucariès
+Batchyx
+Ben Bergen
+Ben Small
+Ben Stanley
+Benjamin Eikel
+Benjamin Green
+Benjamin Kosnik
+Bernardo Innocenti
+Bert Wesarg
+Bill Blough
+Bogdan Drozdowski
+Bojan Nikolic
+Braden McDaniel
+Brian Aker
+Bruce Korb
+Can Bican
+Caolan McNamara
+Carnë Draug
+Cedric Cellier
+Cheyenne Wills
+Christian Feld
+Christian Haggstrom
+Christian Hergert
+Christian Persch
+Christian Toepp
+Christoph Junghans
+Christophe Fergeau
+Christophe Tournayre
+Christopher Currie
+Christopher Gilbreth
+Chuck Atkins
+Chun-Chung Chen
+Collabora Ltd.
+Corey Farrell
+Cory Fields
+Craig Stimmel
+Cristian Rodriguez
+Dag-Erling Smørgrav
+Dale K. Hawkins
+Damian Pietras
+Dan Horák
+Dan Winship
+Daniel Amelang
+Daniel Black
+Daniel Casimiro
+Daniel Muellner
+Daniel Müllner
+Daniel Richard G.
+Daniel Trebbien
+Dave Benson
+Dave Swofford
+David Cluytens
+David King
+David Seifert
+Dean Povey
+Dennis Felsing
+Derek Price
+Devin Weaver
+Diab Jerius
+Diego Elio Petteno`
+Dilyan Palauzov
+Dinar Valeev
+Dmitrij D. Czarkoff
+Dmitry Eremin-Solenikov
+Dodji Seketeli
+Don Anderson
+Duncan Simpson
+Dustin J. Mitchell
+Earl
+Egon Willighagen
+Elliott Sales de Andrade
+Emanuele Aina
+Emil Mikulic
+Emmanuele Bassi
+Endless Mobile, Inc.; contributed by Philip Chimento
+Enji Cooper
+Enrico M. Crisostomo
+Eric Bavier
+Eric Gallager
+Eric Wu
+Evgeny Grin
+Evgeny Lensky
+Fabien Coelho
+Felix Chern
+Fernando Mut
+Filippo Giunchedi
+Francesco Salvestrini
+Gabriele Bartolini
+Gabriele Svelto
+Gary Funck
+Geoffrey M Oxberry
+Geoffrey M. Oxberry
+Gerald Point
+Gianfranco Costamagna
+Gilles Espinasse
+Gleen Salmon
+Google Inc.; contributed by Alexey Sokolov
+Gordon Byrnes
+Graeme S. Roy
+Guido Draheim
+Guido U. Draheim
+Harald van Dijk
+Harenome Ranaivoarivony-Razanajato
+Heinrich Schuchardt
+Helmut Grohne
+Henrik Bengtsson
+Henrik Uhrenholt
+Hib Eris
+Horst Knorr
+Ignacy Gawedzki
+Ignacy Gawędzki
+Igor Cota
+Igor Gnatenko
+Ilguiz Latypov
+Ilya Etingof
+Jaap Eldering
+James Cowgill
+James Morris
+Jan Langer
+Jan Palus
+Janne Blomqvist
+Jannick
+Jaroslav Hajek
+Jason Merrill
+Jean-Louis Martineau
+Jens Geyer
+Jens Rehsack
+Jeremiah Willcock
+Jeremie Knuesel
+Jeremy C. Reed
+Jeroen Meijer
+Jim Meyering
+Jimmy Jazz
+Joel Frederico
+Joel Smith
+John Darrington
+John Peterson
+John Stumpo
+John W. Peterson
+John Zaitseff
+Jonas Witschel
+Jonathan Gray
+Jonathan Rajotte
+Jonathan Rajotte-Julien
+Jonathan Wakely
+Joost van Baal-Ilic
+Joost van Baal-Ilić
+Jorge Bellon
+Josh Soref
+Joshua Judson Rosen
+Julian C. Cummings
+Julian Cummings
+Julian Ospald
+Julian Taylor
+Jörn Heusipp
+Kaelin Colclasure
+Karl Wette
+Karl-Johan Alm
+Karlson2k
+Kaveh Ghazi
+Kevin Cernekee
+Kevin L. Mitchell
+Kevin Locke
+Kip
+Kip Warner
+Kirill A. Korinskiy
+Krzesimir Nowak
+Krzysztof Burghardt
+Kurt von Laven
+Lapo Luchini
+Lars Brinkhoff
+Laszlo Kajan
+Leo Davis
+Leo Singer
+Li-Wen Hsu
+Loic Dachary
+Luc Maisonobe
+Luca Boccassi
+Ludovic Courtes
+Luke Mewburn
+Maarten Bosmans
+Marc Stevens
+Marco Gomes
+Mark Elbrecht
+Mark Pulford
+Mark R. Bannister
+Markus Armbruster
+Markus Elfring
+Marten Svantesson
+Marvin Schmidt
+Mateusz Loskot
+Mats Kindahl
+Matteo Frigo
+Matteo Settenvini
+Matthew D. Langston
+Matthew Mueller
+Matthew William Cox
+Matthieu Schaller
+Max Horn
+Max Satula
+Maximilian Heinzler
+Michael Catanzaro
+Michael Hofmann
+Michael McMaster
+Michael Orlitzky
+Michael Paul Bailey
+Michael Petch
+Michael Shigorin
+Michael Stapelberg
+Michael Terry
+Michael Tindal
+Michael Truog
+Michael Welsh Duggan
+Michel Normand
+Mikael Lepisto
+Mike Frysinger
+Mike Park
+Ming Chen
+Mischa Spiegelmock
+Misty De Meo
+Mitchell Rosen
+Moritz Klammler
+Moritz Sinn
+Murray Cumming
+Nate Bargmann
+Neil Ferguson
+Neil Mayhew
+Nic Ferrier
+Nick Bowler
+Nick Gasson
+Nick Markham
+Nick Papior
+Nick R. Papior
+Nico Madysa
+Noah Slater
+Olaf Lenz
+Olaf Mandel
+Olaf Meeuwissen
+Olivier Mehani
+Olly Betts
+Oren Ben-Kiki
+Oskar Liljeblad
+Ossama Othman
+P. F. Chimento
+Paolo Bonzini
+Paolo Borelli
+Patrick Mauritz
+Pau Espin Pedrol
+Paul Gilmartin
+Paul Norman
+Paul Wise
+Pauli Nieminen
+Pavel Roskin
+Perceval Anichini
+Pete Greenwell
+Peter Adolphs
+Peter Hill
+Peter Johansson
+Peter Kjellerstedt
+Peter Kokot
+Peter Simons
+Petr Menšík
+Philip Allison
+Philip Chimento
+Philip Withnall
+Philipp Thomas
+Pierre Hebert
+Pieter Lexis
+Quang Vu
+Rafael Laboissiere
+Rafael de Lucena Valle
+Rafal Rzepecki
+Rafał Rzepecki
+Ralf Habacker
+Ralf Wildenhues
+Reinhard Prix
+Reini Urban
+Reuben Thomas
+Rhys Ulerich
+Ricardo Wurmus
+Riccardo Murri
+Richard B Winters
+Richard Henderson
+Richard Winters
+Robert White
+Robert van Engelen
+Roman Rybalko
+Ronald Landheer-Cieslak
+Rouven Spreckels
+Roy Stogner
+Ruben Fonseca
+Ruediger Kuhlmann
+Ruslan Shevchenko
+Russ Allbery
+Ryan McCabe
+Scott Grosch
+Scott Pakin
+Sean Geoghegan
+Sebastian Freundt
+Sebastian Hegler
+Sebastian Huber
+Sebastian Waschik
+Sergio Belkin
+Simon Marchi
+Simon McVittie
+Sjors Provoost
+Smithsonian Astrophysical Observatory
+Soren Andersen
+Sree Harsha Totakura
+Stanislav Brabec
+Stanislav Sedov
+Stefan Weil
+Stepan Kasal
+Stephan Suerken
+Stephan Sürken
+Stephane Bortzmeyer
+Steve M. Robbins
+Steven Brown
+Steven G. Johnson
+Sveinung Kvilhaugsvik
+Sven Verdoolaege
+T.v.Dein
+Tal Shalif
+Terry Droeger
+The Board of Trustees of the Leland Stanford Junior University
+Thien-Thi Nguyen
+Thierry Reding
+Thomas Jahns
+Thomas Klausner
+Thomas Porschberg
+Thomas Treichl
+Thomas Zimmermann
+Tim Perkins
+Tim Ruffing
+Tim Toolan
+Timothy Brown
+Ting-Wei Lan
+Todd Veldhuizen
+Tom Howard
+Toni Corvera
+Torsten Landschoff
+Tsukasa OI
+Tsukasa Oi
+Tudor Bosman
+Uli Schlachter
+University of Washington
+Utz-Uwe Haus
+Uwe Mayer
+Vaclav Haisman
+Vaclav Slavik
+Vaclav Zeman
+Vadim Zeitlin
+Vasil Dimov
+Vasil Velichkov
+Victor Bogado
+Ville Laurikari
+Vincent Danjean
+Vinson Lee
+Wang Xuerui
+Warren Young
+Werner Lemberg
+Wes Hardaker
+Will Thompson
+William Price
+William S Fulton
+Wim Lewis
+Wolfgang Stöggl
+Xan Lopez
+Xiyue Deng
+YAMAMOTO Kengo
+Yusuke Tsutsumi
+Zack Weinberg
+consultit
+cr-marcstevens
+david.e.pi.3.14
+dryman
+fanquake
+gmbonnet
+karypid
+kedzie
+mathar
+raf
+ryanvm
+wferi
--- /dev/null
+# Copyright (c) 2022 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
+#
+# Copying and distribution of this file, with or without modification, are
+# permitted in any medium without royalty provided the copyright notice and
+# this notice are preserved. This file is offered as-is, without any warranty.
+
+2022-02-11 Peter Simons <simons@cryp.to>
+
+ Re-format macros into the canonical format.
+
+ Merge pull request #246 from vapier/master
+ AX_CC_FOR_BUILD: deprecate in favor of AX_PROG_CC_FOR_BUILD
+
+ Merge pull request #244 from manxorist/cxx20
+ AX_CXX_COMPILE_STDCXX: add C++20 support
+
+ Merge pull request #243 from rmathar/master
+ detect qtmake-qt5, moc-qt5 etc in ax_have_qt.m4
+
+ Merge pull request #242 from ossama-othman/fix-ax-valgrind-check
+ AX_VALGRIND_CHECK: Fix "nothing to be done".
+
+ Merge pull request #241 from earlchew/ax_valgrind_check-addprefix
+ VALGRIND_CHECK_RULE: Correct spelling of $(addprefix)
+
+ Merge pull request #240 from chuckatkins/detect-nvhpc
+ AX_COMPILER_VENDOR: Add support for the NVIDIA HPC Compiler
+
+ Merge pull request #239 from jpalus/ax_cc_maxopt-autoconf-2.70
+ AX_CC_MAXOPT: adjust to new way of testing if var is set
+
+ Merge pull request #237 from kiplingw/patch-1
+ ax_gcc_x86_cpu_supports.m4: Fix AC_LANG clobbered...
+
+ Merge pull request #236 from bastien-roucaries/fromdebian
+ path_bdd from debian
+
+2022-01-19 Mike Frysinger <vapier@gentoo.org>
+
+ AX_CC_FOR_BUILD: deprecate in favor of AX_PROG_CC_FOR_BUILD
+ The AX_PROG_CC_FOR_BUILD has seen a lot more updates than
+ AX_CC_FOR_BUILD, and is generally way more complete. The latter
+ hardcoded `gcc` as the native compiler fallback and lacks any of
+ the standard $build- prefix searches.
+
+ It also uses non-standard cache vars -- it's using the bfd_cv_xxx
+ namespace instead of the ax_cv_xxx namespace everything else does.
+
+ Otherwise, the macros largely have the same intention: to find a
+ compiler for the build system, and setup the exe extension. So
+ deprecate AX_CC_FOR_BUILD and have it redirect automatically.
+
+2021-12-25 Jörn Heusipp <osmanx@problemloesungsmaschine.de>
+
+ AX_CXX_COMPILE_STDCXX: add C++20 support
+
+2021-12-10 mathar <mathar@mpia-hd.mpg.de>
+
+ detect qtmake-qt5, moc-qt5 etc in ax_have_qt.m4
+
+2021-11-30 Ossama Othman <ossama.othman@intel.com>
+
+ AX_VALGRIND_CHECK: Bump the M4 serial number.
+
+2021-11-30 Ossama Othman <ossama.othman@intel.com>
+
+ AX_VALGRIND_CHECK: Correct recursive target names.
+ Recursive targets associated with AM_EXTRA_RECURSIVE_TARGETS() macro
+ calls should end with "-local", not "-am". Correct the
+ check-valgrind{-vgtool}-am rules accordingly. This addresses a
+ problem where the calling "make check-valgrind" resulted in "nothing
+ to be done".
+
+ See the Automake manual Section "Recursing subdirectories" for
+ details:
+ https://www.gnu.org/software/automake/manual/automake.html#Subdirectories
+
+2021-11-30 Ossama Othman <ossama.othman@intel.com>
+
+ AX_VALGRIND_CHECK: Fix recursive rule generation.
+ Move the AM_EXTRA_RECURSIVE_TARGETS() macro calls inside of the
+ AX_VALGRIND_CHECK definition to force the AM_EXTRA_RECURSIVE_TARGETS()
+ macro calls to be processed as part of AX_VALGRIND_CHECK. The
+ recursive targets were otherwise not generated by Automake when using
+ an installed copy of the `ax_valgrind_check.m4' file
+ (e.g. `/usr/share/aclocal/ax_valgrind_check.m4').
+
+2021-11-18 Earl <earl@timberdragon.com>
+
+ VALGRIND_CHECK_RULE: Correct spelling of $(addprefix)
+
+2021-11-05 Chuck Atkins <chuck.atkins@kitware.com>
+
+ AX_COMPILER_VENDOR: Add support for the NVIDIA HPC Compiler
+ This specifically detects the NVIDIA HPC compiler. The "nvhpc"
+ label is explicitly chosen here insted of "nvidia" to distinguish
+ from other NVIDIA compilers (cuda, etc.)
+
+2021-08-30 Jan Palus <jpalus@fastmail.com>
+
+ AX_CC_MAXOPT: adjust to new way of testing if var is set
+ autoconf 2.70 changed default value set in $ac_test_* from "set" to "y"
+ see https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=76754e0
+ instead of checking for specific value, just check if var is empty
+
+2021-08-15 Adam Chyła <adam@chyla.org>
+
+ AX_PROG_ROBOT: fix version checking
+ - fix issue when two numbers version (X.Y) is not detected
+
+2021-08-11 Kip <kip@thevertigo.com>
+
+ ax_gcc_x86_cpu_supports.m4: Fix AC_LANG clobbered...
+ AX_GCC_X86_CPU_SUPPORTS expands _AX_GCC_X86_CPU_INIT, which in turn expands an AC_LANG_PUSH([C]) without a corresponding AC_LANG_POP([C])...
+
+2021-08-09 Bastien Roucariès <rouca@debian.org>
+
+ Modernize ax_path_bdb
+ Run AC_SUBST on principal variables and clean up
+
+ Use AS_IF in ax_path_bdb.m4
+ Simplify the code and cleaner
+
+ Improve AX_PATH_BDB_NO_OPTIONS
+ Run detection of local install even if no crosscompile because we are now cross compile safe
+
+ Cleanup _AX_PATH_BDB_PATH_FIND_HIGHEST
+ Improve this function and add tracing.
+
+ Use _AX_PATH_BDB_ENV_GET_VERSION in local install check
+ Do not hardcode test and use generic test that is usuable in cross compile
+
+ Improve ax_path_bdb
+ Use default value 0 for minimal version
+
+ Harden fail path of header detection of ax_path_bdb
+
+ Fix ax_path_bdb in case of crosscompile
+ We could safely run the env test now
+
+ Simplify detection of versioned lib
+ Use a for loop along lib instead of if else
+
+ Allow linking in case of cross compile
+ Check linking even if cross compile
+
+ Use private name for variable
+ Follow variable style of autoconf
+
+ Factorize header test of path bdb
+
+ Use AC_COMPUTE_INT for computing db version
+ Better portability and better reporting of error
+
+ Detect header db.h using classical construct
+ Detect header db.h using the classical AC_COMPILE_IFELSE instead of home made test.
+ Will allow latter factorisation in case of cross compile
+
+2021-06-17 Tim Ruffing <crypto@timruffing.de>
+
+ AX_PROG_CC_FOR_BUILD: Add workaround for ac_cv_c_compiler_gnu issue
+
+ AX_PROG_CC_FOR_BUILD: support C99 and C11 variables
+
+2021-06-17 Pieter Lexis <pieter.lexis@powerdns.com>
+
+ Modernize ax_check_sign.
+ This changes the obsolete AC_TRY_COMPILE to the newer
+ AC_COMPILE_PROGRAM.
+
+2021-06-17 Vincent Danjean <Vincent.Danjean@ens-lyon.org>
+
+ AX_PKG_SWIG: fix version checking
+ - when SWIG is found but no minimal version is required,
+ execute action-if-found
+ - when only a partial version is given as minimal version,
+ correctly set minor and/or patch to 0 if missing
+ Without the fix, AX_PKG_SWIG([4]) is the same as AX_PKG_SWIG([4.4.4])
+
+2021-06-17 Richard B Winters <rik@mmod.co>
+
+ Add Boost::Random support to AX_BOOST_<X>
+
+ Add Boost::Atomic support to AX_BOOST_<X>
+
+ Add support for Microsoft's C++ Rest SDK
+
+2021-06-17 Petr Menšík <pemensik@redhat.com>
+
+ Define PYTHON_PLATFORM_SITE_PKG=
+ Python site-path is defined only for platform independent modules.
+ Platform dependent modules might need autoconf more often, export also
+ site-path for platform dependent code, such as compiled C libraries
+ wrappers.
+
+ Support sysconfig python module in python_devel
+ distutils are going to be deprecated in Python 3.12. Support and prefer
+ sysconfig module over distutils.sysconfig for fetching system
+ definitions.
+
+2021-06-12 David Seifert <soap@gentoo.org>
+
+ Revert "AX_PTHREAD: target > host"
+ This reverts commit 2567e0ce0f3a11b535c6b527386197fb49ff172b.
+
+ * `AC_CANONICAL_HOST` is the system on which the actual binary will run,
+ `AC_CANONICAL_TARGET` is the system for which code is generated. The
+ Autoconf manual even mentions that
+
+ --target=target-type
+ the type of system for which any compiler tools in the package produce code (**rarely needed**).
+
+2021-02-19 Peter Simons <simons@cryp.to>
+
+ AX_CHECK_PCRE2: cosmetic change to fix the #serial number
+
+2021-02-19 Michael Orlitzky <michael@orlitzky.com>
+
+ AX_ABSOLUTE_HEADER: replace AC_FOREACH with m4_foreach_w
+ The AC_FOREACH macro is deprecated in favor of m4_foreach_w. This
+ eliminates the associated warning in newer versions of autoconf.
+
+2021-02-19 Ignacy Gawedzki <ignacy.gawedzki@green-communications.fr>
+
+ AX_BOOST_SERIALIZATION: make sure tests run with a clean $ax_lib variable
+ The ax_lib variable needs to be emptied before the tests, otherwise it might
+ still contain the value from some unrelated previous test.
+
+2021-02-19 Max Horn <max@quendi.de>
+
+ AX_PROG_CXX_FOR_BUILD: match changes made to AX_PROG_CC_FOR_BUILD recently
+ - save/restore GXX
+ - honor `./configure --build=BUILD`
+ - use AC_LANG_PUSH and AC_LANG_POP to save and restore global variables
+ used for running tests like ac_compile and ac_link
+ - use pushdef/popdef to save and restore ac_tool_prefix, cross_compiling
+ and am_cv_CXX_dependencies_compiler_type (not sure if we need the latter
+ but this mimicks what AX_PROG_CC_FOR_BUILD does)
+
+2021-02-19 Matthieu Schaller <matthieu.schaller@gmail.com>
+
+ AX_LIB_HDF5: fix ax_lib_hdf5 on systems with verbose h5cc -show
+ On some systems, the installation of h5cc is such that `h5cc -show` produces
+ more than one line. This breaks the macro and produces an invalid Makefile.
+
+ This proposed change just calls `head` before the call to `awk` to make sure
+ only the first line (the relevant one) is used.
+
+2021-02-19 Peter Simons <simons@cryp.to>
+
+ AX_CHECK_PCRE2: search for an installed libpcre2-8 library
+ Submitted in <https://savannah.gnu.org/patch/index.php?9900>.
+
+2021-02-19 Zack Weinberg <zackw@panix.com>
+
+ AX_PTHREAD: use AS_ECHO instead of $as_echo
+ AS_ECHO(["text"]) is the documented way to perform an 'echo' safely.
+ $as_echo is an internal, undocumented shell variable that was part of
+ the implementation of AS_ECHO; it was never intended to be used directly.
+
+ The code in ax_pthread.m4 would work with autoconf 2.69, but with
+ unreleased development versions of Autoconf from January 2013 until
+ March 2020 (which did not set $as_echo at all) it would have malfunctioned
+ unpredictably. With versions after March 2020 it would work correctly
+ but trigger -Wobsolete warnings.
+
+2021-02-19 Jens Rehsack <sno@netbsd.org>
+
+ AX_PTHREAD: target > host
+ Even if cross-compiling is not the most used use-case, it's much more
+ important where we build for then where we run configure stage on (see
+ autoconf-manual "18.6.3 Hosts and Cross-Compilation").
+
+ AX_PTHREAD.M4: ensure C++ is handled analogous
+ Since at least AIX behaves for CC_r/xlC_r as it does for cc_r/xlc_r and so on,
+ use the same logic for CXX <-> PTHREAD_CXX as provided for CC <-> PTHREAD_CC
+ to avoid code & issue duplication.
+
+2021-02-19 Paul Wise <pabs3@bonedaddy.net>
+
+ AX_PYTHON: add newer versions of Python
+ Python 3.8 was released on 2019-10-14.
+ Python 3.9 alpha 1 was released on 2019-11-19.
+
+2021-02-18 Peter Simons <simons@cryp.to>
+
+ Merge pull request #222 from bircoph/master
+ AX_BOOST_BASE: add e2k to the list of lib64 architectures
+
+ Merge pull request #220 from chyla/robot
+ add ax_prog_robot.m4
+
+ Merge pull request #219 from CheyenneWills/fallthrough-fix
+ ax_gcc_func_attribute.m4: test fails for the fallthrough attribute with clang
+
+ Merge pull request #218 from jicama/master
+ ax_cxx_compile_stdcxx.m4: Restore check for default C++ version support
+
+ Merge pull request #217 from rrthomas/ax_cpu_vendor-cache-fix
+ ax_cpu_vendor: rename output variable to prevent autoconf warnings
+
+2020-07-14 Michael Shigorin <mike@altlinux.org>
+
+ AX_BOOST_BASE: add e2k to the list of lib64 architectures
+
+2020-06-02 Adam Chyła <adam@chyla.org>
+
+ update serial
+
+ fix malformed license section
+
+ remove non ascii characters
+
+ add ax_prog_robot.m4
+
+2020-05-20 Cheyenne Wills <cheyenne.wills@gmail.com>
+
+ ax_gcc_func_attribute.m4: test fails for the fallthrough attribute with clang
+ The test for the fallthrough attribute fails due to other compiler
+ warnings when using clang. The following warnings are generated:
+
+ warning: no case matching constant switch condition '0'
+ warning: control reaches end of non-void function [-Wreturn-type]
+
+ Because of these additional warnings, the test always results in a
+ failure for the fallthrough attribute.
+
+ Update ax_gcc_func_attribute.m4 to eliminate the warnings that are
+ masking the test for the fallthrough attribute.
+
+ Note, tested the entire suite of attribute tests using clang and only
+ the fallthrough test contained warnings that caused the test to fail.
+
+2020-05-15 Jason Merrill <jason@redhat.com>
+
+ ax_cxx_compile_stdcxx.m4: Restore check for default C++ version support
+ Commit bbb60ca79952c20ee0b187208533d98206b156d1 removed this check because
+ it can't support the user requesting noext. But if the user didn't specify
+ ext or noext, using the default mode should be fine. So this patch restores
+ the check if the second argument is empty.
+
+2020-04-18 Reuben Thomas <rrt@sc3d.org>
+
+ ax_cpu_vendor: rename output variable to prevent autoconf warnings
+ The current version of AX_CPU_VENDOR causes autoconf 2.69 to give the
+ warning:
+
+ AC_CACHE_VAL(ax_cpu_vendor, ...): suspicious cache-id, must contain _cv_ to be cached
+
+ Hence, rename ax_cpu_vendor to ax_cv_cpu_vendor.
+
+2020-04-18 Reuben Thomas <rrt@sc3d.org>
+
+ ax_subdirs_configure.m4: update to make cache files for subdirs work better
+
+2020-03-13 Pau Espin Pedrol <pespin@sysmocom.de>
+
+ m4/ax_boost_base.m4: Fix debian multiarch_libsubdir path for arch armv7l
+ Without this patch, building on an RPI4 ends up with
+ BOOST_LDFLAGS=-L/usr/lib while libs are actually under
+ /usr/lib/arm-linux-gnueabihf, and configure will later file during
+ AX_BOOST_THREAD macro.
+
+2020-03-13 Peter Simons <simons@cryp.to>
+
+ ax_gcc_func_attribute: fix serial number
+
+ Merge pull request #215 from chenming1986/gcc-attr
+ ax_gcc_func_attribute: Revise the detection of unknown attributes
+
+ Merge pull request #207 from jannick0/ax_prog_cc_for_build
+ ax_prog_cc_for_build.m4: bug fixes
+
+2020-03-02 Ming Chen <ming.chen1986@gmail.com>
+
+ ax_gcc_func_attribute: Revise the detection of unknown attributes
+ GCC outputs a warning when Wstrict-prototypes is on, in such case the
+ attribute detection always fails even if the attribute is actually
+ supported. This change checks for the "-Wattributes" warning in
+ conftest.err instead of the existence of the file.
+
+2020-02-08 Jannick <thirdedition@gmx.net>
+
+ ax_prog_cc_for_build.m4: bump serial to 18 (from 9)
+
+ ax_prog_cc_for_build.m4: add call for AC_CANONICAL_BUILD
+
+2020-02-08 Jannick <thirdedition@gmx.net>
+
+ ax_prog_cc_for_build.m4: use AC_LANG_PUSH([C]) and AC_LANG_POP([C])
+ AC_LANG_PUSH([C]) makes sure that the global configure variables (like
+ ac_ext, ac_cpp, ac_compile, ac_link, ac_compiler_gnu) required by the internal
+ compile and link functions are defined for the C language for the BUILD
+ system. AC_LANG_POP([C]) ensures that the current language before calling
+ AX_PROG_CC_FOR_BUILD is restored.
+
+ AC_LANG_PUSH and AC_LANG_POP are preferable over manually defining the
+ global ac_... language-related variables (incl. temporary SAVE variables).
+
+ NOTE that any changes to the set of global variables, language specific variables
+ (as defined by AC_LANG_PUSH([C]) and AC_LANG_POP([C])) shall be reflected
+ in the pushdef/popdef blocks.
+
+2020-02-08 Jannick <thirdedition@gmx.net>
+
+ ax_prog_cc_for_build.m4: bug fix - determine EXEEXT and OBJEXT for BUILD
+ Prior to this commit, the variables ac_exeext and ac_objext remain undefined,
+ however they are announced to be passed on to Makefile via the variables
+ BUILD_EXEEXT and BUILD_OBJEXT. For defining the former call the macros
+ _AC_COMPILER_EXEEXT and _AC_COMPILER_OBJEXT using the BUILD compiler.
+
+ NOTE: This commit makes use of the **internal** macros _AC_COMPILER_EXEEXT
+ and _AC_COMPILER_OBJEXT, which, as of now, appears to be OK if EXEEXT and
+ OBJEXT for the BUILD compiler should be determined with AX_PROG_CC_FOR_BUILD.
+
+2020-02-08 Jannick <thirdedition@gmx.net>
+
+ ax_prog_cc_for_build.m4: bug fix - prevent using HOST cache values
+ ax_prog_cc_for_build.m4: push&pop the following variables for BUILD
+ which prevents using the HOST cache values:
+ - ac_cv_prog_cc_c89
+ - am_cv_prog_cc_c_o
+ - am_cv_CC_dependencies_compiler_type
+
+2020-02-08 Jannick <thirdedition@gmx.net>
+
+ ax_prog_cc_for_build.m4: bug fix - run tests with BUILD compiler
+ Tested with autoconf 2.69: This is to fix that the compilation tests for
+ BUILD use the HOST compiler, regardless of configure's --build flag.
+
+ The compilation test functions in the configure script (like
+ 'ac_fn_c_try_compile' and 'ac_fn_c_try_cpp') use the global variables
+ ac_ext, ac_cpp, ac_compile and ac_link. Thus, the push&pop technique
+ applied prior to this commit implies that the BUILD compilation test
+ are run with the HOST compiler.
+ Use an old-fashioned variable-save-technique.
+
+2020-02-08 Jannick <thirdedition@gmx.net>
+
+ ax_prog_cc_for_build.m4: bug fix - honor configure's --build flag
+ Prior to this commit, ./configure --build=BUILD is currently ignored, such
+ that gcc found first on PATH is detected for BUILD, regardless of what
+ was set in the parameter --build.
+
+ This commit fixes this bug and allows to pass a BUILD platform triplet to
+ configure which is different from gcc found first on PATH.
+
+ * ax_prog_cc_for_build.m4:
+ - use ac_build_tool_prefix defined to the first non-void variable of
+ 'build' and 'build_alias' (push and pop). Note that if configure is not
+ called with --build=BUILD, gcc first found on PATH is used for BUILD.
+
+2020-02-08 Jannick <thirdedition@gmx.net>
+
+ ax_prog_cc_for_build.m4: add 'GCC_FOR_BUILD' as given in documentation
+
+ ax_prog_cc_for_build.m4: remove reference to obsolete macro 'AC_EXEEXT'
+ Cf. https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
+
+2020-02-07 Peter Simons <simons@cryp.to>
+
+ Merge pull request #204 from cr-marcstevens/master
+ Fix ax_pthread.m4: try to include -lpthread in PTHREAD_LIBS for GCC & Clang since automatic usage is not guaranteed
+
+ Merge pull request #208 from rurban/fortify
+ ax_add_fortify_source.m4: improve for -Wcpp
+
+2020-01-26 Peter Kokot <peterkokot@gmail.com>
+
+ Merge pull request #210 from lpsinger/ax_gcc_builtin-cpu_supports
+ Add __builtin_cpu_supports and friends to AX_GCC_BUILTIN
+
+ Merge pull request #205 from simark/epoll
+ ax_have_epoll: avoid -Wunused-but-set-variable errors
+
+ Merge pull request #211 from icota/2019-12-android-boost-thread
+ ax_boost_thread: do not set -pthread on Android
+
+2020-01-06 Peter Kokot <peterkokot@gmail.com>
+
+ Merge pull request #212 from kvilhaugsvik/sqlite3
+ ax_lib_sqlite3: fix "unary operator expected"
+
+ Merge pull request #203 from Sjors/2019/11/want_boost_process
+ Use want_boost_process instead of want_boost
+
+ Merge pull request #213 from LocutusOfBorg/fix-boost
+ ax_boost_python.m4: fix missing "-l" parameter, resulting into a link…
+
+2020-01-03 Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
+
+ ax_boost_python.m4: fix missing "-l" parameter, resulting into a link failure when used.
+ configuring a project with something like:
+ --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH) --with-boost-python='boost_python3.7'
+
+ tanslates the build into a "boost_python37" link line
+
+ checking whether boost_python37 is the correct library... yes
+
+ /bin/bash ../libtool --tag=CXX --mode=link mpicxx -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -release 2.3.4 -L/usr/lib/i386-linux-gnu -lboost_system -lpython3.7m -Wl,-z,relro -Wl,-z,now -o libFoundation.la -rpath /usr/lib/i386-linux-gnu libFoundation_la-console.lo libFoundation_la-Counter.lo libFoundation_la-Matrix3.lo libFoundation_la-Quaternion.lo libFoundation_la-vec3.lo libFoundation_la-Timer.lo libFoundation_la-StringUtil.lo libFoundation_la-realdist.lo libFoundation_la-PathSearcher.lo libFoundation_la-Runnable.lo libFoundation_la-PathUtil.lo libFoundation_la-Rng.lo libFoundation_la-BoundingSphere.lo libFoundation_la-BoundingBox.lo libFoundation_la-cube_eq.lo -lboost_filesystem boost_python37 -lpython3.7m -lmpi++ -lmpi
+
+ note the missing "-l" on python, while it is there for the filesystem link.
+
+2020-01-03 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
+
+ ax_lib_sqlite3: fix "unary operator expected"
+
+2019-12-31 Igor Cota <igor@codexapertus.com>
+
+ ax_boost_thread: do not set -pthread on Android
+ The android libc, bionic, provides built-in support for pthreads, so no additional linking is necessary.
+ Leaving -pthread breaks the build, see protocolbuffers/protobuf#1373
+
+2019-12-29 Leo Singer <leo.singer@ligo.org>
+
+ Add __builtin_cpu_supports and friends to AX_GCC_BUILTIN
+ Add x86 builtins related to cpuid support to AX_GCC_BUILTIN.
+
+2019-12-25 Reini Urban <rurban@cpan.org>
+
+ ax_add_fortify_source.m4: improve for -Wcpp
+ gcc-9 warns when -O is not enabled.
+
+ fix AX_ADD_FORTIFY_SOURCE for msys2
+ msys2 just dropped _FORTIFY_SOURCE support.
+ See https://github.com/msys2/MINGW-packages/issues/5803
+ Try to actually link it.
+
+2019-11-28 Simon Marchi <simon.marchi@efficios.com>
+
+ ax_have_epoll: avoid -Wunused-but-set-variable errors
+ When building with -Werror -Wunused-but-set-variable, the code snippets
+ in this file generate a warning, causing the test to spuriously fail.
+ Remove the "rc" variables, since they're not used.
+
+ Sample config.log output:
+
+ configure:22489: checking for Linux epoll(7) interface
+ configure:22515: ccache gcc -o conftest -g3 -O0 -Wall -Werror -Wextra -Wno-type-limits -Wno-missing-declarations -Wno-missing-field-initializers -Wno-si gn-compare -Wno-implicit-fallthrough -Wno-unused-parameter -I/home/smarchi/install/include -DHAVE_LINUX_VERSION_H -L/home/smarchi/install/lib conftest.c -lurcu-cds >&5
+ conftest.c: In function 'main':
+ conftest.c:184:9: error: variable 'rc' set but not used [-Werror=unused-but-set-variable]
+ int fd, rc;
+ ^~
+ cc1: all warnings being treated as errors
+
+2019-11-26 cr-marcstevens <github@marc-stevens.nl>
+
+ Note that for GCC and Clang -pthread generally implies -lpthread, except when -nostdlib is passed. This is problematic using libtool to build C++ shared libraries with pthread: [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460 [2] https://bugzilla.redhat.com/show_bug.cgi?id=661333 [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468555 To solve this, first try -pthread together with -lpthread for GCC and Clang.
+ Changes:
+ - added support for combination "cflags,ldflags" style option to try
+ - check for Clang early
+ - for GCC and Clang try "-pthread,-lpthread" first, followed by original options (-pthread, etc.)
+ - Perform check for Clang flag to suppress warning when linking with -pthread later
+ - removed line "ax_pthread_clang_warning=0" (unused)
+
+2019-11-11 Sjors Provoost <sjors@sprovoost.nl>
+
+ Use want_boost_process instead of want_boost
+
+2019-11-05 Sjors Provoost <sjors@sprovoost.nl>
+ Luke Dashjr <luke-jr+git@utopios.org>
+
+ Add ax_boost_process
+
+2019-10-23 Reini Urban <rurban@cpan.org>
+
+ add AX_GCC_FUNC_ATTRIBUTE(gnu_format)
+ newer gcc warns about function might be a candidate for
+ gnu_printf format attribute [-Wsuggest-attribute=format]
+
+ Usage: AX_GCC_FUNC_ATTRIBUTE(gnu_format)
+ and:
+ #ifdef HAVE_FUNC_ATTRIBUTE_GNU_FORMAT
+ __attribute__ ((format (gnu_printf, 1, 2)))
+ #elif HAVE_FUNC_ATTRIBUTE_FORMAT
+ __attribute__ ((format (printf, 1, 2)))
+ #endif
+
+2019-10-03 Simon Marchi <simon.marchi@efficios.com>
+
+ ax_pthread.m4: avoid unused-but-set-parameter warning
+ With gcc's warning -Wunused-but-set-parameter enabled (which is enabled
+ with -Wextra) and -Werror, configuring with the AX_PTHREAD macro fails
+ with:
+
+ configure:6783: checking whether pthreads work with -pthread
+ configure:6877: ccache gcc -o conftest -g3 -O0 -Werror -Wall -Wextra -fmax-errors=1 -fdiagnostics-color=always -Wall -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_22 -pthread conftest.c >&5
+ conftest.c: In function 'routine':
+ conftest.c:37:51: error: parameter 'a' set but not used [-Werror=unused-but-set-parameter]
+ static void routine(void *a) { a = 0; }
+ ^
+ cc1: all warnings being treated as errors
+
+ Change the code to make it use, not only set, the parameter.
+
+2019-09-13 fanquake <fanquake@gmail.com>
+
+ Improve Boost library error messages
+
+2019-09-05 Henrik Bengtsson <hb@aroma-project.org>
+
+ BUG FIX: Fixing a _R_CHECK_LENGTH_1_CONDITION_=true bug
+ If a package exists, the test for its existence produces an error with _R_CHECK_LENGTH_1_CONDITION_=true (introduced in R 3.4.0), e.g.
+
+ $ _R_CHECK_LENGTH_1_CONDITION_=true R --silent --vanilla -e 'if(is.na(packageDescription("BH"))) stop("not found")'
+ > if(is.na(packageDescription("BH"))) stop("not found")
+ Error in if (is.na(packageDescription("BH"))) stop("not found") :
+ the condition has length > 1
+ Execution halted
+
+ This is because 'is.na(packageDescription("BH"))' resolved to a logical vector of 15(!) FALSE values when package 'BH' is installed. If it is not installed, then it resolves to TRUE.
+
+ Bumping 'serial' (because that's what other PRs do)
+
+2019-08-31 Quang Vu <vhquang@gmail.com>
+
+ ax_check_openssl: improve message for openssl lookup
+
+2019-07-17 Geoffrey M Oxberry <goxberry@gmail.com>
+
+ ax_lapack: add dylib glob to with_lapack
+ Prior to this commit, the `with_lapack` case statement checked for
+ dynamic libraries with `.so` suffixes (used on *nix operating
+ systems), but did not check for dynamic libraries with `.dylib`
+ suffixes (used on macOS operating systems). This commit adds globs to
+ the `with_lapack` case statement that check for macOS shared libraries
+ using `.dylib` suffixes.
+
+ ax_blas: add macOS shared lib globs to with_blas
+ Prior to this commit, the `with_blas` case statement checked for
+ dynamic libraries with `.so` suffixes (used on *nix operating
+ systems), but did not check for dynamic libraries with `.dylib`
+ suffixes (used on macOS operating systems). This commit adds globs to
+ the `with_blas` case statement that check for macOS shared libraries
+ using `.dylib` suffixes.
+
+2019-07-14 Wang Xuerui <git@xen0n.name>
+
+ ax_boost_base: fix incomplete coverage of MIPS64 systems
+ The previous patch was based on an outdated version of the macro, taken
+ from nghttp2, that switched on `uname -m` instead of canonicalized host
+ arch. Fix the switch arm so that all MIPS64 regardless of endianness
+ and ISA level (like `mipsisa64r6el`) are correctly matched.
+
+2019-07-13 Wang Xuerui <git@xen0n.name>
+
+ ax_boost_base: fix libsubdirs preference for MIPS64
+ Currently there're 3 well-known ABIs in use on MIPS64 systems, with
+ the respective libdir as follows:
+
+ * n64: `lib64`,
+ * n32: `lib32`,
+ * o32: `lib`.
+
+ Probe all three of them.
+
+2019-05-24 Reuben Thomas <rrt@sc3d.org>
+
+ ax_cc_maxopt.m4: retain setting of CFLAGS by configure
+ AX_CC_MAXOPT checks whether CFLAGS was set by the user; if so, the user’s
+ setting is respected. This behavior is retained, of course.
+
+ However, AX_CC_MAXOPT was then setting CFLAGS="". This overrode the default
+ setting by configure, which usually includes -g. Hence, if CFLAGS was not
+ set by the user, retain the default setting, to preserve the ability to
+ debug.
+
+ A typical default setting from configure is "-g -O2". This means that
+ AX_CC_MAXOPT might typically set CFLAGS to "-g -O2 -O3". This is fine,
+ because the later -O3 will override the earlier -O2. (The only assumption is
+ that all compilers that AX_CC_MAXOPT knows behave in this sane way.)
+
+2019-05-22 Cedric Cellier <rixed@happyleptic.org>
+
+ ax_have_qt: workaround qmake bug when building out of tree
+ Makefile generated by qmake include paths relative to the build
+ directory that is assumed to be current.
+
+2019-05-17 Peter Simons <simons@cryp.to>
+
+ ax_int128: add canonic formatting for the HTML renderer
+
+2019-05-16 Reuben Thomas <rrt@sc3d.org>
+
+ ax_int128.m4: new macro AX_HAVE_INT128
+
+2019-04-26 Ralf Habacker <ralf.habacker@freenet.de>
+
+ ax_have_qt.m4: Fix not getting variables from the generated Makefile on Windows
+ Under Windows, the generated Makefile does not contain the required
+ information by default, because it is contained in other Makefiles
+ for the Release and Debug build variants. It is therefore necessary
+ to use only one build variant.
+
+2019-04-23 Jannick <thirdedition@gmx.net>
+
+ ax_tls.m4: Fix bug and update macros
+ - replace obsolete AC_TRY_COMPILE with AC_COMPILE_IFELSE
+ - fix bug of empty else branch in shell code when 2nd argument empty
+ - Increase serial number from 14 to 15.
+ - If second argument to macro AX_TLS is empty or null, the else branch
+ of the generated shell code was empty and caused a shell error. Fix
+ this bug by typing the null statement ':' in this case.
+ - Same if first macro argument is null.
+ - Add comma in AC_DEFINE description.
+
+2019-03-02 Mischa Spiegelmock <mischa@mvstg.biz>
+
+ find the resource compiler for Qt5 as well
+
+2019-03-01 Enji Cooper <yaneurabeya@gmail.com>
+
+ Unbreak testing for `-std=c++11` with `clang++` with `-Werror -Wnon-virtual-dtor`
+ Earlier autoconf tests in the [Kyua project](https://github.com/jmmv/kyua)
+ enable `-Werror -Wnon-virtual-dtor`, which fails because of the fact that
+ the `Base` and `Derived` classes have non-virtual destructors with
+ virtual methods. Thus, add a set of virtual destructors for both `Base` and
+ `Derived` to quell the error and have `clang++` be properly detected as a
+ C++-11 capable compiler.
+
+ Bump serial and add name to copyright for the change.
+
+ Tested with:
+ - clang++ 7.0.1
+ - g++ 8.2.0
+
+2019-02-18 Reuben Thomas <rrt@sc3d.org>
+
+ ax_c_arithmetic_rshift.m4: add required call to AC_LANG_SOURCE
+
+2019-02-14 Peter Simons <simons@cryp.to>
+
+ AX_COMPILER_VENDOR: fix comment formatting
+
+2019-02-14 John Zaitseff <J.Zaitseff@zap.org.au>
+
+ ax_compiler_vendor.m4: Correct the detection of the IBM compiler
+
+ ax_compiler_vendor.m4: Bump version number and copyright year
+
+ ax_compiler_vendor.m4: Clarify why some compilers are listed early
+
+ ax_compiler_vendor.m4: Make copyright lines consistent with other M4 files
+
+ ax_compiler_vendor.m4: Add detection of the NEC SX compiler
+
+ ax_compiler_vendor.m4: Update macro documentation to mention Fortran
+
+ ax_compiler_vendor.m4: Reformat the macro for readability
+
+ ax_compiler_vendor.m4: Make preprocessor directives start in column 1
+ Some compilers require preprocessor directives to start in the first
+ column, particularly the Portland PGI Fortran compilers.
+
+ ax_compiler_vendor.m4: Enable detection of the Sun Fortran compilers
+
+ ax_compiler_vendor.m4: Rearrange the Portland PGI compiler detection order
+ Although the Portland PGI 18.3 pgcc C compiler is detected correctly, the
+ pgc++ C++ compiler is misidentified as gnu: pgc++ obviously defines
+ __GNUC__ as well as __PGI, although pgcc does not.
+
+ ax_compiler_vendor.m4: Bug fix: remove superfluous space
+
+2019-02-14 Peter Simons <simons@cryp.to>
+
+ Trivial cosmetic to make the generator happy.
+
+2019-02-14 John Zaitseff <J.Zaitseff@zap.org.au>
+
+ ax_cflags_warn_all.m4: Avoid prepending empty flags
+
+2019-02-14 John Zaitseff <J.Zaitseff@zap.org.au>
+
+ ax_cflags_warn_all.m4: Prepend flags instead of appending them
+ With many compilers (such as the Intel C compilers), flags specified
+ later in the command line override those specified earlier.
+ Unfortunately, this means that the user can no longer specify
+ warning-related options on the command line. This patch fixes this issue
+ by using AX_PREPEND_FLAG.
+
+ In particular, this patch allows the user to specify "CFLAGS=-w3" on the
+ ./configure command line for the Intel C compiler, which will no longer
+ be overridden by this macro's "-w2" option.
+
+2019-02-14 John Zaitseff <J.Zaitseff@zap.org.au>
+
+ ax_prepend_flag.m4: New macro AX_PREPEND_FLAG
+ The AX_PREPEND_FLAG macro adds a flag to the front of a flags shell
+ variable, similar to how AX_APPEND_FLAG adds such flags to the end. It
+ should be used when adding compiler options that are position dependent:
+ where those options that were previously defined (such as by the user on
+ the command line) should override thoses added with AX_PREPEND_FLAG.
+
+ ax_cflags_warn_all.m4: Bug fix: modern Intel compilers don't accept "-warn all"
+
+ ax_cflags_warn_all.m4: Bug fix: the PGI compilers do not understand "-Wall"
+
+ ax_cflags_warn_all.m4: Rewrite the documentation to provide greater clarity
+
+ ax_cflags_warn_all.m4: Nicely indent remaining macros
+
+2019-02-14 John Zaitseff <J.Zaitseff@zap.org.au>
+
+ ax_cflags_warn_all.m4: Rewrite AX_FLAGS_WARN_ALL to use AX_COMPILER_VENDOR
+ Using AX_COMPILER_VENDOR allows significantly more robust selection of
+ appropriate compiler flags. In the old code, for example, the Sun
+ (Oracle) Compiler Suite would accept Intel's "-warn all" detection, with
+ rather disastrous results.
+
+ All current compiler flags are incorporated into the new code without
+ modification.
+
+2019-02-14 John Zaitseff <J.Zaitseff@zap.org.au>
+
+ ax_cflags_warn_all.m4: Bump version number and add new copyright holder
+
+2019-02-14 Peter Simons <simons@cryp.to>
+
+ AX_PTHREAD: avoid a -Wunused-variable warning on PTHREAD_PRIO_INHERIT
+ The PTHREAD_PRIO_INHERIT check can trigger a -Wunused-variable warning, which
+ can be turned into an error when -Werror is used, with the consequence that
+ PTHREAD_PRIO_INHERIT appears to be missing.
+
+ Suggested by Vincent Lefèvre in https://savannah.gnu.org/patch/?9750.
+
+2019-02-07 Philip Withnall <withnall@endlessm.com>
+
+ ax_code_coverage: Fix a recursive variable definition
+
+2019-02-05 Ossama Othman <ossama.othman@intel.com>
+
+ ax_is_release: Support git worktrees.
+ Detect git worktrees in the git-directory case. Git worktrees contain
+ a `.git' file rather than a directory.
+
+2019-01-25 Jonas Witschel <diabonas@gmx.de>
+
+ ax_code_coverage: fix self-referencing variable error in distcheck
+
+2019-01-23 Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr>
+
+ ax_check_gnu_make: Fix setting of ifGNUmake and ifnGNUmake.
+ The addition of support for ifnGNUmake introduced a bug that made
+ ifGNUmake be set to "#" in the case GNU Make is detected.
+
+2019-01-23 Christian Feld <c.feld@fz-juelich.de>
+
+ Identify xlc from version 16 on as `ibm` and not as `clang`.
+ xlc from version 16 on does neither define __xlc__, __xlC__, __IBMC__, nor
+ __IBMCPP__ by default. Thus, it does not identify as vendor ibm but as clang.
+ It does define __ibmxl__, though. Adding this macro to the list of ibm macros
+ identifies xlc as ibm again.
+
+ Closes https://github.com/autoconf-archive/autoconf-archive/pull/179.
+
+2018-12-29 Reini Urban <rurban@cpan.org>
+
+ AX_ASM_INLINE: accept asm also
+
+2018-11-14 Ossama Othman <ossama.othman@intel.com>
+
+ ax_check_enable_debug: Correct NDEBUG regression.
+ Reintroduce change (6e6c447) that addressed NDEBUG redefinition when
+ using both the AX_CODE_COVERAGE and AX_CHECK_ENABLE_DEBUG macros. It
+ was lost in the previous patch to ax_check_enable_debug.m4 (d049eeb).
+
+2018-10-30 Ossama Othman <ossama.othman@intel.com>
+
+ Fix AX_CODE_COVERAGE 'distclean' related comments
+ The local Automake distclean target is distclean-local, not
+ dist-clean-local. Update the AX_CODE_COVERAGE macro documentation,
+ accordingly.
+
+2018-10-19 Peter Simons <simons@cryp.to>
+
+ AX_SWIG_ENABLE_CXX: don't set $SWIG unless it was actually detected
+ Suggested-by: Christian Ferrari <camauz@yahoo.com>
+
+2018-08-25 Daniel Black <daniel@linux.ibm.com>
+
+ ax_gcc_archflag: include POWER7 -> POWER10
+ POWER6 is missing - couldn't find hardware to test (and it was
+ a long time ago).
+
+ Tested on P7 - P9.
+
+ Added POWER10 as its in development and unlikely to change.
+
+ Closes https://github.com/autoconf-archive/autoconf-archive/pull/175.
+
+2018-08-05 Peter Simons <simons@cryp.to>
+
+ Merge pull request #173 from petk/patch-ac-help-string
+ Replace obsolete AC_HELP_STRING with AS_HELP_STRING
+
+2018-08-05 Maximilian Heinzler <m.heinzler@heinzler.de>
+
+ Fix doxygen error message
+ Show the actual unsatisfied dependency instead of repeating the currently tested feature.
+
+2018-07-31 Peter Kokot <peterkokot@gmail.com>
+
+ Replace obsolete AC_HELP_STRING with AS_HELP_STRING
+ Autoconf made several macros obsolete including AC_HELP_STRING somewhere
+ in 2003 in Autoconf 2.59 version. Macro should be replaced with
+ AS_HELP_STRING.
+
+2018-07-29 Peter Kokot <peterkokot@gmail.com>
+
+ Merge pull request #170 from petk/patch-ac-compile-1
+ Replace AC_TRY_COMPILE and AC_LANG_
+
+2018-07-28 Peter Kokot <peterkokot@gmail.com>
+
+ Merge pull request #171 from petk/patch-ac-compile-2
+ Replace obsolete AC_TRY_COMPILE with AC_COMPILE_IFELSE
+
+ Fix typos
+
+2018-07-27 Peter Kokot <peterkokot@gmail.com>
+
+ Replace obsolete AC_TRY_COMPILE with AC_COMPILE_IFELSE
+ Autoconf made several macros obsolete including the AC_TRY_COMPILE in
+ 2000 and since Autoconf 2.50:
+ http://git.savannah.gnu.org/cgit/autoconf.git/tree/ChangeLog.2
+
+ These macros should be replaced with the current AC_COMPILE_IFELSE
+ instead.
+
+ Refs:
+ - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
+ - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/AC_005fACT_005fIFELSE-vs-AC_005fTRY_005fACT.html
+
+2018-07-26 Peter Kokot <peterkokot@gmail.com>
+
+ Replace AC_TRY_COMPILE and AC_LANG_
+ Autoconf 2.50 in 2001 made several macros obsolete. These include macros
+ for temporary changing the language - AC_LANG_SAVE, AC_LANG_CPLUSPLUS,
+ AC_LANG_C, and AC_LANG_RESTORE. Instead of these the AC_LANG_PUSH and
+ AC_LANG_POP macros should be used with later Autoconf versions.
+
+ AC_TRY_COMPILE macros should be replaced with AC_COMPILE_IFELSE.
+
+ Refs:
+ - http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
+ - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Language-Choice.html
+ - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
+
+2018-07-26 Peter Kokot <peterkokot@gmail.com>
+
+ Replace AC_TRY_LINK and AC_LANG_
+ Autoconf 2.50 in 2001 made several macros obsolete. These include macros
+ for temporary changing the language - AC_LANG_SAVE, AC_LANG_CPLUSPLUS,
+ and AC_LANG_RESTORE. Instead of these the AC_LANG_PUSH and
+ AC_LANG_POP macros should be used with later Autoconf versions.
+
+ AC_TRY_LINK macros should be replaced with AC_LINK_IFELSE and
+ AC_LANG_PROGRAM.
+
+ Refs:
+ - http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
+ - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Language-Choice.html
+ - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
+
+2018-07-25 Peter Simons <simons@cryp.to>
+
+ Merge pull request #164 from gdraheim/all-permissive
+ all-permissive for macros from Guido Draheim / Maarten Bosmans
+
+ Merge pull request #167 from petk/patch-ac-try-link
+ Replace obsolete AC_TRY_LINK macros with AC_LINK_IFELSE
+
+2018-07-24 Peter Kokot <peterkokot@gmail.com>
+
+ Replace obsolete AC_TRY_LINK_FUNCTION macros
+ Autoconf 2.50 introduced new macros in favor of the AC_TRY_FOO. Since
+ Autoconf 2.55 the AC_TRY_LINK_FUNC macro has been additionally marked
+ as obsolete and suggested to be replaced with AC_LINK_IFELSE and
+ AC_LANG_CALL.
+
+ Refs:
+ - http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
+ - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
+
+2018-07-24 Peter Kokot <peterkokot@gmail.com>
+
+ Replace obsolete AC_TRY_LINK macros with AC_LINK_IFELSE
+ Autoconf 2.50 (released in 2001) made several macros obsolete including
+ the AC_TRY_LINK which should now be replaced with the AC_LINK_IFELSE.
+
+ Refs:
+ - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/AC_005fACT_005fIFELSE-vs-AC_005fTRY_005fACT.html
+ - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
+
+2018-07-23 Peter Kokot <peterkokot@gmail.com>
+
+ Replace obsolete AC_TRY_CPP with AC_PREPROC_IFELSE
+ The AC_TRY_CPP macro has been made obsolete in Autoconf 2.50 which was
+ released in 2001. It should be replaced with AC_PREPROC_IFELSE macro.
+
+ Refs:
+ - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/AC_005fACT_005fIFELSE-vs-AC_005fTRY_005fACT.html
+ - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Running-the-Preprocessor.html
+
+2018-07-23 Peter Kokot <peterkokot@gmail.com>
+
+ Replace obsolete AC_TRY_RUN with AC_RUN_IFELSE
+ Autoconf made several macros obsolete including the AC_TRY_RUN and in
+ 2000 and since Autoconf 2.50:
+ http://git.savannah.gnu.org/cgit/autoconf.git/tree/ChangeLog.2
+
+ These macros should be replaced with the current AC_RUN_IFELSE instead.
+
+ This patch was created with the help of the autoupdate script.
+
+ Reference docs:
+ - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
+ - https://www.gnu.org/software/autoconf/manual/autoconf-2.59/autoconf.pdf
+
+2018-07-22 Guido Draheim <guidod@gmx.de>
+
+ all-permissive for macros from Guido Draheim / Maarten Bosmans
+
+ all-permissive for macros from Guido Draheim / Maarten Bosmans
+
+ all-permissive for macros from Guido Draheim / Maarten Bosmans
+
+ all-permissive for macros from Guido Draheim / Maarten Bosmans
+
+ all-permissive for macros from Guido Draheim / Maarten Bosmans
+
+2018-07-21 Guido Draheim <guidod@gmx.de>
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+ all-permissive for macros from Guido Draheim (only author)
+
+2018-07-16 Wolfgang Stöggl <c72578@yahoo.de>
+
+ AX_BOOST_BASE: add powerpc64 powerpc64le to archs
+ - Add further possibilities for values of $host_cpu.
+ This fixes issues in distros like Fedora, where
+ $host_cpu is powerpc64 for ppc64 and powerpc64le for ppc64le
+
+ Closes https://github.com/autoconf-archive/autoconf-archive/pull/162.
+
+2018-06-30 Stefan Weil <sw@weilnetz.de>
+
+ AX_CHECK_COMPILE_FLAG: released under all-permissive license
+ Replace GPL3 + Autoconf exception by all-permissive license.
+
+ See discussion at https://github.com/tesseract-ocr/tesseract/pull/1559.
+
+2018-06-30 Stefan Weil <sw@weilnetz.de>
+
+ Fix typos found by codespell
+
+2018-06-08 Will Thompson <will@willthompson.co.uk>
+
+ ax_compiler_flags_cflags: fix disabling C-only warnings
+ https://github.com/autoconf-archive/autoconf-archive/pull/147 introduced
+ a regression where, because -Wdeclaration-after-statement etc. are
+ appended to the compile flags after the user-supplied list of warnings
+ to disable, it is impossible to disable these warnings.
+
+2018-05-29 Carnë Draug <carandraug+dev@gmail.com>
+
+ ax_jni_include_dir.m4: require AC_CANONICAL_HOST to make host_os available
+
+2018-05-21 Alexander Lakhin <exclusion@gmail.com>
+
+ ax_lib_postgresql: Double-quote the literal with square brackets
+
+2018-05-05 Krzesimir Nowak <qdlacz@gmail.com>
+
+ Some cleanups in C++17 checking code
+ There is a released version of clang that supports C++17, so drop all
+ the ifdefs that made clang to skip some checks.
+
+ Also, a __cplusplus macro is specified to expand to 201703L, so fix
+ the check accordingly.
+
+2018-04-21 Andreas Schwab <schwab@suse.de>
+
+ AX_BOOST_BASE: add riscv64 to the list of lib64 architectures
+
+2018-04-19 Krzesimir Nowak <krzesimir@kinvolk.io>
+
+ ax_cxx_compile_stdcxx.m4: Drop the check for default C++ version support
+ The problem with the check is that it can't detect whether the version
+ is with extensions or not. So it can't take the "noext" or "ext"
+ option into account.
+
+ This may be a problem when an extended version of C++ has a feature
+ that conflicts with another feature from the C++ standard and we have
+ no way to tell the macro to add a "-std" flag anyway.
+
+ An example:
+
+ using namespace std::complex_literals;
+ std::complex<double> c = 1.0;
+ c += 1.0i;
+ std::cout << "abs" << c << " = " << abs(c) << '\n';
+
+ Here, the "1.0i" constant is either a GCC extension if compiled with
+ -std=gnu++14 or a standard C++ operator if compiled with
+ -std=c++14. If a GCC extension is used, the snippet fails to
+ compile. Unfortunately, recent GCC versions default to gnu++14, so
+ this code fails to compile by default.
+
+ Dropping the check forces the macro to evaluate compiler flags with
+ taking the "ext"/"noext" option into account.
+
+ Issue spotted by Frédéric Mangano-Tarumi.
+
+2018-03-23 Peter Hill <zed.three@gmail.com>
+
+ AX_LIB_HDF5: fix order of flags
+ When iterating over flags from h5cc, the HDF5_{CPPFLAGS,LDFLAGS,LIBS}
+ variables were assembled in reverse order. This causes problems when
+ linking against static libraries
+
+2018-03-20 Peter Simons <simons@cryp.to>
+
+ AX_CODE_COVERAGE: re-format header into canon layout
+
+ Merge remote-tracking branch 'github/master'
+
+2018-03-19 Bastien Roucariès <bastien.roucaries+debian@gmail.com>
+
+ Use non localised date for ax_am_macros
+ Do not punk utf-8 in Makefile due to date
+
+2018-03-18 Bastien Roucariès <bastien.roucaries+debian@gmail.com>
+
+ Force use of GNU make
+ GNU make was required so check it use
+
+ Do not use coverage rules outside topdir
+ It was not supported so speed up rules
+
+ Use AX_ADD_AM_MACRO_STATIC
+ Avoid some error in case of no coverage included
+
+ Expand enable/disable code coverage
+ Try to simplify this file
+
+2018-03-18 Terry Droeger <terry.droeger@gmail.com>
+
+ fix serial number for previous fix
+
+ fix header file path and version check conditional
+
+2018-03-14 Maximilian Heinzler <m.heinzler@heinzler.de>
+
+ Remove warning about C++17
+ Now that C++17 has been standardized this warning can be removed.
+
+2018-03-13 Peter Simons <simons@cryp.to>
+
+ AX_LIB_POSTGRESQL: re-format to canonic layout and fix serial number
+
+ AX_COMPILER_VERSION: bump serial number
+
+2018-03-13 Vasil Dimov <vd@FreeBSD.org>
+
+ fix checks for boost chrono and unit_test
+ The two test programs could produce a compiler warnings (or errors if
+ -Werror is engaged) about unused variables and fail the checks. It is
+ better to have test programs that do not produce warnings.
+
+ Closes https://github.com/peti/autoconf-archive/pull/148.
+
+2018-03-13 Bastien Roucariès <bastien.roucaries+debian@gmail.com>
+
+ Robustify
+ Check pkg-config return
+
+2018-03-12 Bastien Roucariès <bastien.roucaries+debian@gmail.com>
+
+ Populate like pkgconfig the variables
+
+ Use pkg-config for postgresql
+
+ Add action found/not found to PostgreSQL
+
+ Modernize ax_lib_postgresql
+ Avoid a compilation failure on debian
+
+2018-03-09 Bastien Roucariès <bastien.roucaries+debian@gmail.com>
+
+ Fix version extraction with old sdcc
+
+ Support sdcc compiler
+
+2018-02-13 Peter Simons <simons@cryp.to>
+
+ AX_DIST_RPM: various fixes
+ - At some point macros was added to aminclude_static.am instead of
+ aminclude.am. Change description.
+
+ - Inserted make conditional so rules don't mess around in subdirectories.
+ Putting .spec files here via dist-hook breaks rpmbuild.
+
+ - Run gawk with LC_ALL=C to produce english dates in RPMChangeLog understood by
+ rpmbuild.
+
+ - Escape $PLATFORM_SUFFIX so variable given at configure time is used instead
+ of env variable present at the time aclocal is run.
+
+ - Change .i. to just .. in rpm target. i* was probably meant to match i386 but
+ does not match x86_64.
+
+ If there is any suggestions to improving this just let me know. The check for
+ being at the top-level makefile seems a bit ugly but I can't come up with a
+ better solution. Checking for MAKELEVEL == 0 doesn't work.
+
+2018-02-13 Ricardo Wurmus <rekado@elephly.net>
+
+ m4: Add AX_R_PACKAGE macro.
+ * m4/ax_r_package.m4: New file.
+
+2018-02-13 Kip Warner <kip@thevertigo.com>
+
+ ax_var_{push,pop}.m4 were both missing auxiliary macros found in the other...
+
+2018-01-15 Reuben Thomas <rrt@sc3d.org>
+
+ ax_python.m4: improve documentation slightly
+ Remove explicit, duplicate (and out-of-date!) mention of Python versions in
+ the documentation at the top of the file.
+
+2018-01-15 Peter Simons <simons@cryp.to>
+
+ Merge pull request #147 from rurban/cflags
+ ax_compiler_flags_cflags: c++ fixes
+
+2018-01-15 Reini Urban <rurban@cpan.org>
+
+ ax_compiler_flags_cflags: c++ fixes
+ Several warning flags are incompatible with c++:
+ -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement
+ -Wold-style-definition -Wimplicit-function-declaration -Wjump-misses-init
+
+2018-01-15 Reini Urban <rurban@cpan.org>
+
+ ax_compiler_flags_ldflags: harden
+ Add -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack
+
+ but not yet the brand-new textonly, retpolineplt linker flags. Let's wait
+ what gcc decides on the flags for Spectre, clang went with retpolineplt.
+
+2018-01-11 Peter Simons <simons@cryp.to>
+
+ Merge pull request #144 from akopytov/master
+ AX_GCC_ARCHFLAG: update Broadwell CPUID patterns.
+
+2018-01-10 Alexey Kopytov <akopytov@gmail.com>
+
+ AX_GCC_ARCHFLAG: update Broadwell CPUID patterns.
+ Update Broadwell patterns in ax_gcc_archflag.m4 to match Intel
+ documentation. Per "Intel® 64 and IA-32 Architectures Software
+ Developer’s Manual", Vol. 4, Table 2-1 "CPUID Signature Values of
+ DisplayFamily_DisplayModel" the following Family/Model combinations are
+ possible for Broadwell CPUs:
+
+ - 06_3DH
+ - 06_47H
+ - 06_4FH
+ - 06_56H
+
+ Before this patch only the first combination was recognized, with all
+ other Broadwell models falling into the '*??6??:*:*:*' case
+ corresponding to Core 2.
+
+2018-01-10 Philip Chimento <philip@endlessm.com>
+
+ AX_PKG_CHECK_MODULES: Normalize whitespace in package lists
+ It can make configure.ac files more readable to list the packages on
+ separate lines. Strip the newlines and extra whitespace with
+ m4_normalize.
+
+2018-01-03 Bojan Nikolic <bojan@bnikolic.co.uk>
+
+ AX_BOOST_THREAD: correct bug in case statement for solaris and mingw32
+ Closes https://github.com/peti/autoconf-archive/pull/142.
+
+2017-11-29 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+ Fix build errors
+
+ Update file header
+
+ Add ax_prog_date.m4
+ This macro tries to determine the type of the date (1) command and some of
+ its non-standard capabilities.
+
+2017-11-24 Evgeny Lensky <surfernsk@gmail.com>
+
+ Fix check for system libraries in both lib64 and lib
+ if host_cpu = [i?86] libsubdirs = "", but it is necessary libsubdirs = "lib"
+ Invalid execution, superfluous comma.
+
+2017-11-14 Harenome Ranaivoarivony-Razanajato <ranaivoarivony-razanajato@hareno.me>
+
+ AX_PROG_HELP2MAN: fix default behaviour
+ This commit fixes the default behaviour of the AX_PROG_HELP2MAN macro
+ when the input program list is empty. The new implementation correctly
+ uses the $(PACKAGE_NAME) variable as the default target as opposed to
+ the previous implementation which produced incorrect make rules.
+
+2017-11-11 Corey Farrell <git@cfware.com>
+
+ AX_GCC_FUNC_ATTRIBUTE: Add support for 'sentinel' attribute.
+
+2017-11-10 Werner Lemberg <wl@gnu.org>
+
+ s/illegal/invalid/
+
+2017-10-05 Reini Urban <rurban@cpan.org>
+
+ AX_COMPILER_FLAGS: add new gcc flags
+ -Wduplicated-cond since gcc 6
+ -Wduplicated-branches since gcc 7
+ -Wlogical-op since gcc 4.3
+ -Wrestrict since gcc 7
+ -Wnull-dereference since gcc 6
+ -Wjump-misses-init since gcc 4.5
+ -Wdouble-promotion since gcc 4.6
+
+ See also https://kristerw.blogspot.de/2017/09/useful-gcc-warning-options-not-enabled.html
+
+2017-09-28 Peter Simons <simons@cryp.to>
+
+ AX_SUBDIRS_CONFIGURE: cosmetic
+
+2017-09-28 Peter Simons <simons@cryp.to>
+
+ AX_TLS: check for thread_local storage qualifier keyword
+ The AX_TLS macro tests for thread local storage support. It checks a variety of
+ non-standard extensions, but forgets to try the official C++11 keyword
+ thread_local as well.
+
+ Submitted via https://savannah.gnu.org/patch/?9424.
+
+2017-09-28 Peter Simons <simons@cryp.to>
+
+ AX_CHECK_DEFINE: fix warning about unused variable
+ If the compiler flags include -Werror=unused, compiling the test source in
+ AX_CHECK_DEFINE fails with a compile error if the define exists, resulting in
+ AX_CHECK_DEFINE assuming the define is not set.
+
+ Submitted via https://savannah.gnu.org/patch/?9452.
+
+2017-09-28 Stanislav Brabec <sbrabec@suse.com>
+
+ Add support for fallthrough in AX_GCC_FUNC_ATTRIBUTE
+ If two case statements are not separated by break, new gcc issues
+ warning. This warning can be suppressed by __attribute((fallthrough)).
+ Add test for it.
+
+2017-09-28 Reini Urban <rurban@cpan.org>
+
+ m4: update AX_ASM_INLINE
+ to use AC_COMPILE_IFELSE
+
+ m4: update AX_COMPILE_CHECK_SIZEOF
+ replace obsolete AC_TRY_COMPILE with AC_COMPILE_IFELSE([AC_LANG_PROGRAM
+
+2017-09-27 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
+
+ ax_valgrind_check: support make 3.8x
+ define smth = was introduced only in GNU Make 4.0. Use older form to
+ support GNU Make 3.8x
+
+ ax_valgrind_check: run check-valgrind recursively
+ Switch check-valgrind and check-valgrind-$TOOL into recursive Automake
+ targets. It is still required to put @VALGRIND_CHECK_RULES@ into each
+ directory with tests, but it is now possible to run `make check-valgrind'
+ from top-level directory.
+
+2017-08-28 Max Satula <maksym.satula@gmail.com>
+
+ Fix AX_LIB_ORACLE_OCI macro for plain C
+ 1. Use C compiler, not C++.
+ 2. Split LDFLAGS into LDFLAGS and LIBS.
+ However, merge them back to ORACLE_OCI_LDFLAGS afterwards
+ to preserve interface backward compatibility.
+ 3. Replace C++ style comments with C style.
+
+ Resolves mloskot/autotools-modules#2
+
+2017-08-23 Olaf Mandel <olaf@mandel.name>
+
+ AX_OPEN62541_*: adapt to v0.2 of the open62541 lib
+ * The AX_OPEN62541_CHECK_H macro now uses a slightly different default
+ list of headers
+ * The AX_OPEN62541_PATH macro adds another directory to the include
+ path
+
+2017-08-16 Peter Simons <simons@cryp.to>
+
+ AX_BOOST_BASE: fix revision number
+
+ AX_CHECK_GL: fix revision number
+
+ Merge remote-tracking branch 'github/master'
+
+2017-08-16 Bastien Roucariès <bastien.roucaries+debian@gmail.com>
+
+ Use AS_IF ansd follow progress
+ Simplify checking of path
+
+2017-08-15 Bastien Roucariès <bastien.roucaries+debian@gmail.com>
+
+ Further simplification of ax_boost_base
+
+ Factorize version expanding in libboost detection
+
+ Factorize base program
+
+ Simplify cpu detection by using canonical host
+
+ Privatize ac_boost_lib_path
+
+ Use private variable for ac_boost_path
+ Do not cluter global name space
+
+ Use helper function for boost
+ Simplify the code path
+
+ Use m4sh in ax_boost_base
+
+2017-08-15 Helmut Grohne <helmut@subdivi.de>
+
+ Fix crossbuild for AX_BOOST_BASE
+ gource fails to cross build from source for wicked reasons. It
+ terminates with:
+
+ | Could not link against -lGLU !
+
+ But that is a red herring. GLU is found. It just happens that ax_lib
+ contains something old. The problem here is that BOOSTLIBDIR ends up
+ being empty. It is derived from BOOST_LDFLAGS e.g. in AX_BOOST_SYSTEM or
+ AX_BOOST_FILESYSTEM. Those latter macros expect that BOOST_LDFLAGS
+ contains a -L flag. That flag goes missing during cross compilation. In
+ AC_BOOST_BASE, the variable "libsubdirs" is properly set up to contain
+ the multiarch libdir of the host architecture first. However, it is only
+ searched for native compilation. For Debian systems, removing the cross
+ compiling guard would likely resolve the issue. I'm less sure that this
+ is universally correct though. Maybe a good solution would be to split
+ "libsubdirs" into the multiarch directory (which would always be
+ searched) and the others, which would only be searched for native
+ compilation. I am attaching a patch for this approach.
+
+2017-08-15 Bastien Roucariès <bastien.roucaries+debian@gmail.com>
+
+ Do not forget to save LDFLAGS
+ ax_check_gl forget to save LDFLAGS
+
+ Thanks to Jerome Benoit <calculus@rezozer.net>
+
+ debian-bug; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848363
+
+2017-08-15 Bastien Roucariès <bastien.roucaries+debian@gmail.com>
+
+ Add newer version of python
+ Add newer version of python. Thanks to debian
+
+2017-08-12 Harenome Ranaivoarivony-Razanajato <ranaivoarivony-razanajato@hareno.me>
+
+ AX_PROG_HELP2MAN: new macro
+ AX_PROG_HELP2MAN is a macro which helps using help2man to automatically
+ produce man pages. It checks whether help2man is available on the
+ system, adds the --disable-help2man option to the configure script and
+ sets various variables for use in configure or Makefile.am files.
+
+2017-08-01 Nico Madysa <nico.madysa@tu-dresden.de>
+
+ AX_BOOST_BASE: Make tests more portable.
+ This commit makes `test` calls in AX_BOOST_BASE more uniform.
+ Comparisons with the empty string are replaced with the `-n` and `-z`
+ arguments. Comparisons with non-empty strings are done in the common portable
+ way (e.g. `test "x$succeesed" = "xyes"`). The fragile `-a` argument is
+ replaced by `&&`.
+
+2017-08-01 Nico Madysa <nico.madysa@tu-dresden.de>
+
+ AX_BOOST_BASE: Fix missing BOOST_LDFLAGS.
+ AX_BOOST_BASE first checks if Boost is installed in a standard location
+ and sets BOOST_CPPFLAGS and BOOST_LDFLAGS accordingly.
+
+ If Boost cannot be found, these variables are reset. Further proceedings
+ depend on whether the actual location was passed in via
+ --with-boost=<path> or not. If it was, BOOST_CPPFLAGS is determined
+ automatically based on the given path. This automatic detection, however, did
+ not include BOOST_LDFLAGS.
+
+ Consequently, if Boost is in a non-standard location that is given via
+ --with-boost, the user would also have to specify --with-boost-libdir.
+
+ This commit fixes this issue by also determining BOOST_LDFLAGS
+ automatically in this particular branch of execution. The performed
+ check is very similar to the one done in various other locations of the
+ macro.
+
+2017-08-01 Peter Simons <simons@cryp.to>
+
+ Merge remote-tracking branch 'github/master'
+
+2017-08-01 Harenome Ranaivoarivony-Razanajato <ranaivoarivony-razanajato@hareno.me>
+
+ AX_SUBDIRS_CONFIGURE: fix empty argument handling
+ This commit fixes the way empty arguments are handled (i.e nothing is
+ done) in AX_SUBDIRS_CONFIGURE as opposed to the previous implementation
+ which could set wrong variables when empty arguments were provided.
+
+2017-07-25 Bastien Roucariès <bastien.roucaries+debian@gmail.com>
+
+ Create a negative gnu make variable
+ The makefile variable `ifnGNUmake' is set to #, otherwise
+ it is set to the empty string. This is useful for including a special
+ features in a Makefile, which can be handled
+ by other versions of make or to specify else like clause.
+
+ Allow action found action not found for ax_check_gnu_make.m4
+ Improve action to be done
+
+ Move git ignore to top
+ It is better for semantic to assign variable at top of rules
+
+2017-07-05 Karl-Johan Alm <karljohan-alm@garage.co.jp>
+
+ AX_JNI_INCLUDE_DIR: Do not use AC_CHECK_FILE as it is unavailable on some systems.
+
+2017-06-27 Simon McVittie <smcv@debian.org>
+
+ AX_PYTHON_DEVEL: Swap values of PYTHON_EXTRA_LIBS, PYTHON_EXTRA_LDFLAGS
+ The LIBS and SYSLIBS Python configuration variables are lists of
+ libraries, with typical values (on Debian GNU/Linux) being
+
+ LIBS = -lpthread -ldl -lutil
+ SYSLIBS = -lm
+
+ so they should clearly be in a LIBS variable, not LDFLAGS.
+ Conversely, the LINKFORSHARED Python configuration variable contains
+ miscellaneous linker options, with its value on Debian being
+
+ -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
+
+ so it should be in the LDFLAGS.
+
+ This matters when linking statically or using a particularly
+ pedantic linker: LDFLAGS appear on the linker command-line before
+ the object files to be linked and (with some linkers) cannot satisfy
+ undefined symbols, whereas LIBS appear after the object files in
+ dependency order.
+
+2017-06-15 Marvin Schmidt <marv@exherbo.org>
+
+ AX_RUBY_EXT: Use RbConfig instead of deprecated Config module
+
+2017-06-05 David Seifert <soap@gentoo.org>
+
+ Move AX_RECURSIVE_EVAL to its own file
+ * `AX_RECURSIVE_EVAL` is useful on its own, and consumers
+ should not be required to pull in the whole of
+ `AX_COMPUTE_RELATIVE_PATHS` to use it.
+
+2017-04-25 Vasil Velichkov <vasil_vel@abv.bg>
+
+ Fix initialization of CODE_COVERAGE_GENHTML_OPTIONS
+ There is no variable with name CODE_COVERAGE_GENHTML_OPTIONS_DEFAULTS so
+ use the CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT variable instead
+
+2017-04-21 Peter Simons <simons@cryp.to>
+
+ AX_SUBDIRS_CONFIGURE: fix documentation layout for proper HTML rendering
+
+2017-04-21 Harenome Ranaivoarivony-Razanajato <ranaivoarivony-razanajato@hareno.me>
+
+ AX_SUBDIRS_CONFIGURE: new macro
+ AX_SUBDIRS_CONFIGURE is a macro akin to AC_CONFIG_SUBDIRS which allows
+ to run other configure scripts. AX_SUBDIRS_CONFIGURE attempts to follow
+ the same rules as AC_CONFIG_SUBDIRS such as:
+
+ - command line arguments from the parent configure script are given to
+ the child configure script.
+ - some arguments are modified (for instance `--cache-file`, `--srcdir`)
+
+ However, as opposed to AC_CONFIG_SUBDIRS, AX_SUBDIRS_CONFIGURE takes 4
+ additional parameters which correspond to:
+
+ - arguments that must always be passed down to child configure scripts.
+ - arguments that may be merged with existing arguments.
+ - arguments that must replace existing arguments.
+ - arguments that must never be passed to the configure scripts.
+
+ Subdirectories recorded with AX_SUBDIRS_CONFIGURE are added to the new
+ `subdirs_extra` variable instead of `subdirs`.
+
+2017-04-06 Peter Simons <simons@cryp.to>
+
+ AX_ELISP: replace unicode characters with simpler ASCII variants
+
+ AX_PROG_EMACS: replace unicode characters with simpler ASCII variants
+
+2017-04-06 Thien-Thi Nguyen <ttn@gnu.org>
+
+ AX_ELISP: New submission
+ I am submitting this to the Autoconf Archive in case it
+ might be more widely useful than for EDB, its original home.
+ As elisp.m4, it was mentioned in passing here:
+ http://lists.gnu.org/archive/html/gnu-emacs-sources/2016-11/msg00001.html
+
+ * m4/ax_elisp.m4: New file.
+
+2017-04-06 Thien-Thi Nguyen <ttn@gnu.org>
+
+ AX_PROG_EMACS: New submission
+ * m4/ax_prog_emacs.m4: New file.
+
+2017-03-29 Peter Simons <simons@cryp.to>
+
+ AX_SYS_LARGEFILE_SENSITIVE: fix spelling of immediately
+
+ Fix serial numbers after spelling fixes from cf2bd2c981de.
+
+2017-03-28 Josh Soref <jsoref@users.noreply.github.com>
+
+ spelling: versions
+
+ spelling: version
+
+ spelling: variable
+
+ spelling: useful
+
+ spelling: upon
+
+ spelling: unusable
+
+ spelling: unsupported
+
+2017-03-29 Josh Soref <jsoref@users.noreply.github.com>
+
+ spelling: unknown
+
+2017-03-28 Josh Soref <jsoref@users.noreply.github.com>
+
+ spelling: understand
+
+ spelling: supposed
+
+ spelling: superfluous
+
+ spelling: successful
+
+ spelling: success
+
+ spelling: succeeds
+
+ spelling: subtract
+
+ spelling: statement
+
+ spelling: squeeze
+
+ spelling: specified
+
+ spelling: shortcircuit
+
+ spelling: sharedstatedir
+
+ spelling: separator
+
+ spelling: separate
+
+ spelling: search
+
+ spelling: running
+
+ spelling: respectively
+
+ spelling: represents
+
+ spelling: relative
+
+ spelling: provide
+
+ spelling: probabilistic
+
+ spelling: preferably
+
+ spelling: overridden
+
+ spelling: output
+
+ spelling: optimization
+
+ spelling: normally
+
+ spelling: needed
+
+ spelling: modified
+
+ spelling: moaning
+
+ spelling: minimum
+
+ spelling: merrily
+
+ spelling: library
+
+ spelling: instead
+
+ spelling: instantiations
+
+ spelling: instance
+
+ spelling: installation
+
+ spelling: increments
+
+ spelling: implicitly
+
+ spelling: implementation
+
+ spelling: identifier
+
+ spelling: filenames
+
+ spelling: explicitly
+
+ spelling: existence
+
+ spelling: executed
+
+ spelling: executable
+
+ spelling: example
+
+ spelling: especially
+
+ spelling: equivalent
+
+ spelling: environment
+
+ spelling: dynamically
+
+ spelling: directory
+
+ spelling: directories
+
+ spelling: detection
+
+ spelling: dependency
+
+ spelling: deliberately
+
+ spelling: constructed
+
+ spelling: consequence
+
+ spelling: cleansing
+
+ spelling: changelog
+
+ spelling: borlandc
+
+ spelling: bit specific
+
+ spelling: binary
+
+ spelling: available
+
+ spelling: autoconf
+
+ spelling: at least
+
+ spelling: anything
+
+ spelling: always
+
+ spelling: addressable
+
+ spelling: additionally
+
+ spelling: absolute
+
+2017-03-23 Rafał Rzepecki <divided.mind@gmail.com>
+
+ Make the version check in AX_RUBY_DEVEL actually work
+
+2017-03-22 Rafał Rzepecki <divided.mind@gmail.com>
+
+ Fix AX_RUBY_DEVEL
+ - Use AX_WITH_PROG instead of the obsolete AX_WITH_RUBY
+ - Use RbConfig instead of the obsolete mkmf/config
+
+2017-03-21 Peter Simons <simons@cryp.to>
+
+ AX_COMPILER_FLAGS_C(XX)FLAGS: only use -Wno-suggest-attribute=format if compiler supports it
+ Submitted in https://savannah.gnu.org/patch/index.php?9243.
+
+ Suggested-by: Attila <attila@stalphonsos.com>
+
+2017-03-21 Christophe Fergeau <cfergeau@redhat.com>
+
+ ax_valgrind_check: Don't eat check-valgrind errors
+ Currently, after running 'make check-valgrind', $? will always be 0 even
+ if there was an error during the test. This differs from make check
+ which will return a non-0 exit code when there was a test failure, and
+ gets in the way of using 'make check-valgrind' during CI.
+
+ This commit switches from using make -k on each individual target to
+ running make -k on all the targets at once. This way, we will run the
+ tests for all targets even if one fails, while still reporting a non-0
+ exit code if there was a test failure.
+
+ Patch based on a suggestion from Frediano Ziglio <fziglio@redhat.com>
+
+2017-03-14 Igor Gnatenko <ignatenko@redhat.com>
+
+ ax_python_devel: check success of import by return code rather than by stderr
+ In Python 3.7, when you have C locale it will be automatically coerced
+ to C.UTF-8 and warning will be printed to stderr. This breaks AX_PYTHON_DEVEL.
+
+2017-03-10 Mike Frysinger <vapier@gentoo.org>
+
+ punt long obsolete AX_C_BIGENDIAN_CROSS
+ The standard AC_C_BIGENDIAN has supported cross-compiling since 2002
+ as part of its 2.53 release. There's no need to include the AX macro
+ anymore.
+
+2017-02-27 Peter Simons <simons@cryp.to>
+
+ Merge pull request #114 from akopytov/master
+ Add support for Cavium ThunderX2 CN99xx to AX_GCC_ARCHFLAG.
+
+2017-02-27 gmbonnet <guillaumebonnet10@gmail.com>
+
+ AX_IS_RELEASE: use srcdir instead of top_srcdir
+ Autoconf 2.69 does not set the ${top_srcdir} environment variable in configure scripts any more.
+
+2017-02-26 Alexey Kopytov <akopytov@gmail.com>
+
+ Add support for Cavium ThunderX2 CN99xx to AX_GCC_ARCHFLAG.
+ This patch adds code to detect Cavium ThunderX2 CN99xx (formely Broadcom
+ Vulcan) to AX_GCC_ARCHFLAG.
+
+2017-02-13 Peter Simons <simons@cryp.to>
+
+ ax_check_enable_debug: indent with blanks instead of tabs
+
+ ax_check_aligned_access_required: cosmetic fix in documentation
+
+ Merge pull request #112 from proski/aligned
+ Improve AX_CHECK_ALIGNED_ACCESS_REQUIRED
+
+2017-02-13 Ben Small <bentsm@noreply.github.com>
+
+ Correct library name of Boost.Chrono
+
+2017-02-12 Pavel Roskin <plroskin@gmail.com>
+
+ Improve AX_CHECK_ALIGNED_ACCESS_REQUIRED
+ Square brackets were overquoted. Avoid square brackets, use quadrigraph
+ for "#".
+
+ Invert the logic so that a crash in the test would count as "yes" for the
+ aligned address requirement.
+
+ When cross-compiling, assume that address alignment is needed, warn the
+ user.
+
+ Use AC_RUN_IFELSE and AC_LANG_PROGRAM, they use sane quoting and take
+ care of the main function.
+
+ Don't include stdio.h, it's not needed for malloc() or anything else.
+
+2017-02-11 Emanuele Aina <emanuele.aina@collabora.com>
+
+ AX_CHECK_ENABLE_DEBUG: Do not conflict with -DNDEBUG
+ Since -DNDEBUG is equivalent to "#define NDEBUG 1", explicitly set
+ the value to ensure that both definitions are equivalent and won't
+ lead to compiler warnings.
+
+ This makes AX_CHECK_ENABLE_DEBUG compatible with AX_CODE_COVERAGE, as
+ the latter causes -DNDEBUG to be set.
+
+ In particular, if AX_COMPILER_FLAGS is also used and thus -Werror
+ is set (which is the default in that case) this avoids the following
+ build failure:
+
+ ./config.h:38:0: error: "NDEBUG" redefined [-Werror]
+
+ Submitted in <https://savannah.gnu.org/patch/?9226>
+
+2017-02-08 Mike Frysinger <vapier@gentoo.org>
+
+ switch gnu.org sites to https
+
+2017-01-26 Rafael de Lucena Valle <rafaeldelucena@gmail.com>
+
+ AX_EXT: update to detect Altivec and VSX instructions on new machines
+
+2017-01-25 Gordon Byrnes <gordon@ghbweb.com>
+
+ Find Java directories on recent macOS versions
+ Find the Java directories within the Xcode bundle on macOS 10.8 and
+ later.
+
+2017-01-21 David Seifert <soap@gentoo.org>
+
+ Add new macro AX_ADD_FORTIFY_SOURCE
+
+2017-01-17 Peter Simons <simons@cryp.to>
+
+ Merge pull request #103 from proski/socklen-werror
+ AX_TYPE_SOCKLEN_T: fix "-Wall -Werror" compatibility
+
+2017-01-17 Heinrich Schuchardt <xypron.glpk@gmx.de>
+
+ ax_tls.m4: _Thread_local storage-class specifier
+ ISO/IEC 9899:2011 defines the _Thread_local storage-class specifier.
+ We should test for it before testing for any pre C11 specifiers.
+
+2017-01-06 Alexey Kopytov <akopytov@gmail.com>
+
+ Add code to detect ThunderX to AX_GCC_ARCHFLAG.
+ Update AX_GCC_ARCHFLAG to detect ThunderX (an AArch64 CPU by Cavium) and
+ set -march/-mcpu accordingly depending on the CPU generation and
+ compiler support.
+
+2016-12-27 Jens Geyer <jensg@apache.org>
+
+ Added macro to detect .NET core <https://github.com/dotnet/core> version.
+
+2016-12-24 Pavel Roskin <plroskin@gmail.com>
+
+ AX_TYPE_SOCKLEN_T: fix "-Wall -Werror" compatibility
+ The len variable is unused, which causes a compile error resulting in a
+ failure to detect socklen_t.
+
+ Also fix a potential warning about implicit type conversion while
+ initializing len.
+
+2016-12-06 Peter Simons <simons@cryp.to>
+
+ ax_prog_xsltproc: drop tabs from m4 source code
+
+ ax_prog_xsltproc: bump serial number
+
+2016-12-06 Jeremy C. Reed <reed@reedmedia.net>
+
+ ax_prog_xsltproc: improve portability
+
+2016-12-06 Peter Simons <simons@cryp.to>
+
+ ax_boost_thread.m4: bump serial number
+
+2016-12-06 Michael Truog <mjtruog@gmail.com>
+
+ AX_BOOST_THREAD: support for more platforms
+ The current ax_boost_thread.m4 macro can fail on some platforms and this change
+ improves its support. I don't remember the exact platforms that fail with the
+ current version (without this patch), but I think Ubuntu 16.04.1 LTS on aarch64
+ had problems. I know it was a newer release of Ubuntu and possibly past FreeBSD
+ usage, though I made these changes locally more than 1 year ago.
+
+ This patch also changes whitespace because it was hard to discern the intended
+ indentation in places (it appeared like previous authors didn't care).
+
+ Submitted via <https://savannah.gnu.org/patch/index.php?9153>.
+
+2016-12-06 Michael Truog <mjtruog@gmail.com>
+
+ cleanup Java macros (remove binary blobs)
+ This patch removes opaque binary usage within the java macros. It is very
+ disturbing that binary data was included in these macros. I confirmed that the
+ binary data matched the comments, however, future changes could easily make
+ them deviate, making it very easy to insert arbitrary source code into any
+ project.
+
+ I also removed usage of the -r flag from rm usage which didn't make sense.
+
+2016-12-06 Michael Catanzaro <mcatanzaro@gnome.org>
+
+ AX_GENERATE_CHANGELOG: pass --no-decorate to git-log by default
+ Otherwise, if log.decorate is specified in git config, local ref names
+ will wind up printed in the changelog.
+
+2016-12-06 William Price <>
+
+ AX_BOOST_BASE: fix issue whereby --with-boost-libdir options were lost
+ If the macro AX_BOOST_BASE does not detect a simple "system" layout for boost,
+ it tries to find it in versioned directories. Unfortunately, that path of logic
+ set BOOST_LDFLAGS to null. Other parts of the code already check
+ ac_boost_lib_path before altering BOOST_LDFLAGS, except for one place.
+
+2016-12-06 Peter Simons <simons@cryp.to>
+
+ AX_PKG_SWIG: add support for swig 3.0
+ Suggested-by: keith.bostic@mongodb.com
+
+2016-12-06 Kevin Locke <kevin@kevinlocke.name>
+
+ ax_code_coverage: remove lcov version check
+ The version check does not support the latest version of lcov (1.12).
+ The history of this module[1][2][3][4] does not reveal a rationale for
+ the check and its utility seems dubious. Rather than applying yet another
+ temporary fix, remove the check.
+
+ Note: The issue of version check removal was raised on
+ autoconf-archive-maintainers[5] without response.
+
+ 1. https://git.gnome.org/browse/gnome-common/log/macros2/gnome-code-coverage.m4
+ 2. https://bugzilla.gnome.org/show_bug.cgi?id=606720
+ 3. https://git.gnome.org/browse/glib/log/configure.ac
+ 4. https://bugzilla.gnome.org/show_bug.cgi?id=501057
+ 5. https://lists.gnu.org/archive/html/autoconf-archive-maintainers/2016-07/msg00000.html
+
+2016-12-06 Kevin Locke <kevin@kevinlocke.name>
+
+ ax_code_coverage: avoid GNU Make extensions
+ ifeq/ifneq is a GNU Make extension which doesn't work with BSD Make and
+ others, resulting in errors such as:
+
+ Missing dependency operator
+ Need an operator
+ warning: duplicate script for target "ifeq" ignored
+
+ Although it would be preferable to use the Automake conditionals
+ (AM_CONDITIONAL) in the make rules, this does not appear to be possible
+ within AC_SUBST content. Instead, build the rules using shell variable
+ concatenation and only AC_SUBST the ones which should be used.
+
+2016-12-06 Krzesimir Nowak <qdlacz@gmail.com>
+
+ CXX_COMPILE_STDCXX: Check alternative flags too
+
+ CXX_COMPILE_STDCXX: Add checks for C++17 compiler
+
+2016-11-28 Nick Gasson <nick@nickg.me.uk>
+
+ Add returns_nonnull to ax_gcc_func_attributes.m4
+ This was a recent addition to GCC
+
+2016-11-16 Michael Stapelberg <stapelberg@users.noreply.github.com>
+
+ ax_extend_srcdir: also accept absolute paths
+
+2016-11-10 Philip Chimento <philip.chimento@gmail.com>
+
+ ax_compiler_flags_ldflags: Fix options for macOS linker
+ The linker on macOS does not understand --as-needed, and speaks
+ --fatal-warnings with a slightly different accent.
+
+2016-10-06 Peter Simons <simons@cryp.to>
+
+ ax_extend_srcdir: avoid non-ASCII characters if possible
+
+ ax_extend_srcdir: fix up formatting so the HTML and info renderers are happy
+
+2016-10-06 Michael Stapelberg <michael@stapelberg.de>
+
+ Add AX_EXTEND_SRCDIR macro.
+ Please refer to the file itself for documentation.
+
+2016-10-06 Michael Stapelberg <michael@stapelberg.de>
+
+ ax_enable_builddir: require AC_CANONICAL_TARGET
+ Without AC_CANONICAL_TARGET, I get the following error when running
+ ./configure:
+
+ checking build system type... x86_64-unknown-linux-gnu
+ checking host system type... x86_64-unknown-linux-gnu
+ mkdir: cannot create directory '': No such file or directory
+ mkdir: cannot create directory '': No such file or directory
+ ./configure: line 2470: /conftest.tmp: Permission denied
+ configure: error: could not change to default builddir "./"
+
+ With AC_CANONICAL_TARGET (either called explicitly in configure.ac, or
+ required in AX_ENABLE_BUILDDIR), ./configure works as expected:
+
+ checking build system type... x86_64-unknown-linux-gnu
+ checking host system type... x86_64-unknown-linux-gnu
+ checking target system type... x86_64-unknown-linux-gnu
+ continue configure in default builddir "./x86_64-unknown-linux-gnu"
+ ....exec /nix/store/nyj6xd7s1n1w8c0xdwk5ddhi7bjcyi9x-bash-4.3-p46/bin/bash .././configure "--srcdir=.." "--enable-builddir=x86_64-unknown-linux-gnu" "linux
+ gnu"
+ checking build system type... x86_64-unknown-linux-gnu
+ checking host system type... x86_64-unknown-linux-gnu
+ checking target system type... x86_64-unknown-linux-gnu
+ checking for gsed... sed
+ […]
+
+2016-10-05 Peter Simons <simons@cryp.to>
+
+ Remove obsolete macros.
+
+ ax_define_sub_path: mark as obsolete
+ See https://github.com/peti/autoconf-archive/pull/97 for rationale.
+
+2016-10-05 Michael Stapelberg <michael@stapelberg.de>
+
+ Remove extraneous whitespace to make ifelse() work
+
+2016-10-01 Simon McVittie <smcv@debian.org>
+
+ ax_compiler_flags_*: fix underquoting causing infinite recursion
+ These macros would fail with infinite recursion if used twice for the
+ same variable, for example
+
+ AX_COMPILER_FLAGS_CFLAGS([WARN_CFLAGS], ... some options ...)
+ AX_COMPILER_FLAGS_CFLAGS([WARN_CFLAGS], ... more options ...)
+
+ In particular, invoking AX_COMPILER_FLAGS, followed by
+ AX_COMPILER_FLAGS_CFLAGS with more "yes" options has this failure mode.
+
+ This is because the first time through the macro, we define
+ ax_warn_cflags_variable = "WARN_CFLAGS" as expected. The second time,
+ because the first parameter is underquoted, its value is substituted
+ before calling m4_define, so we inadvertently define
+ WARN_CFLAGS = "WARN_CFLAGS". The next time WARN_CFLAGS is mentioned,
+ attempts to expand it will recurse forever, because m4 does not
+ special-case a macro that appears in its own expansion like cpp does.
+
+2016-09-29 Peter Simons <simons@cryp.to>
+
+ Merge pull request #95 from smcv/ax-is-release-dash-version
+ AX_IS_RELEASE: add dash-version policy
+
+2016-09-28 Simon McVittie <simon.mcvittie@collabora.co.uk>
+
+ AX_IS_RELEASE: add dash-version policy
+ This is particularly useful in conjunction with git-version-gen,
+ as provided by gnulib.
+
+2016-09-27 P. F. Chimento <philip.chimento@gmail.com>
+
+ AX_CODE_COVERAGE: Define CODE_COVERAGE_LIBS
+ The previous change seems to have defined LDFLAGS twice rather
+ than LIBS and LDFLAGS.
+
+2016-09-23 Nick Papior <nickpapior@gmail.com>
+
+ Updated OpenMP flag detection for latest Intel compilers
+ - icc/ifort will deprecate -openmp in the future,
+ -qopenmp will replace it.
+
+2016-09-16 Peter Simons <simons@cryp.to>
+
+ ax_gcc_x86_cpu_supports: drop trailing blanks
+
+2016-09-16 Dag-Erling Smørgrav <des@des.no>
+
+ ax_gcc_builtin: add __builtin_bswap16
+
+2016-08-31 Andrew Stoltz <astoltz@gmx.com>
+
+ Fix reference to LIBMYSQLCPPCONN_CXXFLAGS
+
+2016-08-19 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ AX_CODE_COVERAGE: Rename CODE_COVERAGE_LDFLAGS to CODE_COVERAGE_LIBS
+ Since it’s supposed to be added to the Makefile’s target_LIBS variable,
+ this is a lot clearer.
+
+ Continue to support CODE_COVERAGE_LDFLAGS, but it’s deprecated.
+
+2016-08-19 Peter Simons <simons@cryp.to>
+
+ Merge pull request #89 from ptomato/ax-prog-gjs-2
+ ax_prog_gjs: Look in pkg-config as well as path
+
+2016-08-19 Thomas Zimmermann <tdz@users.sourceforge.net>
+
+ AX_IS_RELEASE: Support out-of-tree builds
+
+2016-08-16 Philip Chimento <philip.chimento@gmail.com>
+
+ ax_prog_gjs: Look in pkg-config as well as path
+ This looks in pkg-config for the GJS executable, since the gjs-1.0
+ package provides it as a pkg-config variable. However, not all versions
+ of GJS do, so we fall back to checking in the path.
+
+2016-08-01 Michel Normand <normand@linux.vnet.ibm.com>
+
+ remove useless ppc64le trailing word in libsubdirs
+ this is a typo correction of previous commit 1f9acf39e6b3
+ as per original patch from https://savannah.gnu.org/patch/index.php?8473
+
+2016-07-27 Reuben Thomas <rrt@sc3d.org>
+
+ Add AX_LUAROCKS_ROCK
+
+2016-06-24 Olaf Mandel <olaf@mandel.name>
+
+ AX_OPEN62541_PATH: set AM_DISTCHECK_CONFIGURE_FLAGS
+ When configuring --with-open62541=<path>, the make distcheck target
+ often failed because the open62541 library was not found on the system.
+
+ So set the AM_DISTCHECK_CONFIGURE_FLAGS variable with the required
+ values (absolute paths in case the user defined relative paths).
+
+2016-06-24 Olaf Mandel <olaf@mandel.name>
+
+ AX_OPEN62541_PATH: fix use of non-inst shared lib
+ If the open62541 library is not installed and the shared library is to
+ be used, the --with-open62541=<path> option to contigure setting
+ CPPFLAGS and LDFLAGS is not enough: other checks by configure may
+ compile test binaries with the library linked in and then try to execute
+ then. The execution fails because of the not found shared library object
+ and gives a wrong test result. Likewise, some make targets (like check)
+ need to execute compiled binaries.
+
+ So modify AX_OPEN62541_PATH() so it exports LD_LIBRARY_PATH with the
+ absolute path of the build dir for the rest of the configure script to
+ use and define a Makefile variable OPEN62541_LDPATH, which contains
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<abs_path_to_build>.
+
+2016-06-15 Peter Simons <simons@cryp.to>
+
+ Merge pull request #81 from olaf-mandel/ax_check_open62541
+ Add AX_CHECK_OPEN62541_{H,LIB} macros
+
+2016-06-15 Olaf Mandel <olaf@mandel.name>
+
+ Refactor open62541 macros into separate files
+ Split the macros from the ax_check_open62541.m4 file into multiple
+ files and rename them:
+
+ AX_CHECK_OPEN62541_H() -> AX_OPEN62541_CHECK_H()
+ AX_CHECK_OPEN62541_LIB() -> AX_OPEN62541_CHECK_LIB()
+
+ And add the new AX_OPEN62541_PATH(), which containes the shared
+ functionality previously handled by both old AX_CHECK_* macros.
+
+ Also add a forgotten feature promissed in the documentation: the
+ --with-open62541-shared and --with-open62541-static options can be
+ used to change the order in which the libraries are searched for.
+
+2016-06-15 Peter Simons <simons@cryp.to>
+
+ Merge pull request #82 from joelfrederico/master
+ HDF5 type variable
+
+2016-06-15 Joel Frederico <joelfred@slac.stanford.edu>
+
+ ax_lib_hdf5.m4: Fixed, using AS_CASE instead of m4_bmatch
+
+ ax_lib_hdf5.m4: Fixed to test for parallel instead of just assuming it
+
+ ax_lib_hdf5.m4: env var HDF5_TYPE indicates parallel or serial
+
+2016-06-14 Karlson2k <k2k@narod.ru>
+
+ ax_count_cpus.m4: better support NetBSD
+
+2016-06-14 Olaf Mandel <olaf@mandel.name>
+
+ Add AX_CHECK_OPEN62541_{H,LIB} macros
+ These macros search for the header and library files for the open62541
+ library [1]. Support both the amalgamation header and the individual
+ header file layout. Support both the shared and static library, searched
+ for in a configurable order. Support for adding the library source
+ directory and the build directory to the search path if the library is
+ not installed on the system.
+
+ [1]: <http://open62541.org/>
+
+2016-06-14 Karlson2k <k2k@narod.ru>
+
+ ax_count_cpus.m4: support "NPROCESSORS_ONLN" getconf parameter used on some systems (NetBSD, OpenBSD)
+
+ ax_count_cpus.m4: improve compatibility with shells which doesn't redirect stderr for "command not found" messages
+
+2016-06-13 Karlson2k <k2k@narod.ru>
+
+ ax_count_cpus.m4: improve compatibility with various shells
+
+2016-05-28 Julian Ospald <hasufell@posteo.de>
+
+ AX_CHECK_OPENSSL: use AC_CHECK_TOOL for pkg-config
+ Some distros provide prefixed pkg-config. This patch ensures
+ the right tool is picked.
+
+ See https://www.gnu.org/software/autoconf/manual/autoconf.html#Generic-Programs
+ for details
+
+2016-05-10 David Seifert <soap@gentoo.org>
+
+ Update ax_with_curses.m4 and ax_with_curses_extra.m4 to match PKG_CHECK_MODULES
+ * Ultimately, ax_with_curses.m4 and ax_with_curses_extra.m4 should fall out of
+ use once ncurses pkg-config files have become ubiquitous in the ecosystem.
+ Until then, the precious variables have been renamed to match the style of
+ PKG_CHECK_MODULES, such that a later replacement of the macros can be
+ performed with a simple sed.
+
+2016-05-08 Mike Frysinger <vapier@gentoo.org>
+
+ fix include errors w/AX_CXX_COMPILE_STDCXX_1[14]
+ The search path for `include` is the current working directory, so trying
+ to include other m4 files directly only works if they live in the same dir
+ as where you're running `aclocal`. Otherwise we end up with errors like:
+ $ cd lcd4linux-0.10.1-RC2
+ $ aclocal
+ /usr/share/aclocal/ax_cxx_compile_stdcxx_14.m4:32: file 'ax_cxx_compile_stdcxx.m4' does not exist
+
+ Use the AX_REQUIRE_DEFINED macro instead to make sure the macro we want
+ exists.
+
+2016-05-06 Benjamin Eikel <benjamin@eikel.org>
+
+ AX_HAVE_QT: Silent make for variable setting
+ Add "-s" to make arguments. Without, make's output (like "Entering directory")
+ gets assigned to output variables.
+
+2016-04-16 Karlson2k <k2k@narod.ru>
+
+ AX_COUNT_CPUS: updated description to clarify what's counted
+
+ AX_COUNT_CPUS: rewritten and updated additional detection methods Completely new additional detection method added for Darwin, FreeBSD and Solaris. Updated additional methods for Linux, MinGW/MSys, Msys2 and Cygwin.
+
+ AX_COUNT_CPUS: added generic and new specific detection for various platforms. Generic detection should work on many current platforms Added platform-specific detection methods for Solaris, FreeBSD and MSys2 Added improved and stable detection methods for Linux, Darwin, MinGW/MSys2 and Cygwin
+
+ AX_COUNT_CPUS: added real detection on MinGW
+
+ AX_COUNT_CPUS: added protection from garbage in CPU_COUNT
+
+2016-04-14 Karlson2k <k2k@narod.ru>
+
+ AX_COUNT_CPUS: added optional ACTION-IF-DETECTED and ACTION-IF-NOT-DETECTED
+
+2016-04-13 Eric Bavier <bavier@member.fsf.org>
+
+ AX_BUILD_DATE_EPOCH: New macro
+
+2016-04-12 P. F. Chimento <philip.chimento@gmail.com>
+
+ ax_check_girs_gjs: Fix misleading error message
+ The error message printed when this macro failed to find what it was
+ looking for, was misleading: it implied that if you were looking for the
+ Gtk-1.0 API then installing the Gtk-3.0 API would do. That isn't the
+ case, so fix the message.
+
+2016-03-31 Peter Simons <simons@cryp.to>
+
+ Merge pull request #72 from olaf-mandel/ax_code_coverage
+ AX_CODE_COVERAGE: fix problems with (dist)clean
+
+ Merge pull request #73 from olaf-mandel/ax_prog_doxygen
+ AX_PROG_DOXYGEN: cleanup doxygen_sqlite3.db
+
+2016-03-30 Olaf Mandel <olaf@mandel.name>
+
+ AX_PROG_DOXYGEN: cleanup doxygen_sqlite3.db
+ Add the file doxygen_sqlite3.db to DX_CLEANFILES. This file is
+ generated by (some?) newer versions of doxygen.
+
+ AX_CODE_COVERAGE: fix problems with (dist)clean
+ * Make the find command actually remove any *.gcda files left over
+ by lcov -z
+ * Also remove *.gcno files
+ * Make distclean remove all code-coverage-clean files as well
+
+ AX_VALGRIND_CHECK: make disabling configurable
+ Add a new command AX_VALGRIND_DFLT() to configure the use of
+ individual valgrind tools in the configure.ac file. These settings
+ can still be overwritten on the configure commandline.
+
+2016-03-29 Olaf Mandel <olaf@mandel.name>
+
+ AX_VALGRIND_CHECK: add disabling individual tools
+ Add support for the configure options:
+ --disable-valgrind-drd
+ --disable-valgrind-helgrind
+ --disable-valgrind-memcheck
+ --disable-valgrind-sgcheck
+
+ These can be used to fine-tune which Valgrind tools to use.
+
+2016-03-29 Olaf Mandel <olaf@mandel.name>
+
+ AX_VALGRIND_CHECK: support silent rules
+ Use the standard autoconf $(V) variable to conditionally hide the
+ commands executed for check-valgrind: this makes the output from any
+ test script much more apparent as it is not hidden in clutter.
+
+ Hide the outer list of commands in check-valgrind completely with
+ $(AM_V_at) and define a new $(valgrind_v_use) for the individual
+ check-valgrind-* calls. The $(valgrind_v_use) call writes:
+
+ USE $(patsubst check-valgrind-%,%,$@):
+
+ Note that this only works inside rules of the form check-valgrind-* .
+
+2016-03-29 Olaf Mandel <olaf@mandel.name>
+
+ AX_VALGRIND_CHECK: refactor new tool-rules
+ The addition of individual rules for each individual valgrind-tool
+ caused some copy&paste codeing: refactor that as a GNU make canned
+ recipe. Also fix up the .PHONY rules.
+
+ Breaking change: removes the undocumented internal rule
+ check-valgrind-tool.
+
+2016-03-22 Peter Simons <simons@cryp.to>
+
+ Merge pull request #70 from dryman/x86_cpu_support
+ macros for X86 instruction set tests
+
+ Merge pull request #69 from SoapGentoo/modernize-ncurses
+ AX_WITH_CURSES: Enable pkg-config support
+
+2016-03-22 dryman <idryman@gmail.com>
+
+ macros for X86 instruction set tests
+ Added two macros: ax_check_x86_features.m4, and ax_gcc_x86_cpu_supports.m4
+
+ It checks if the host cpu supports various instruction set: mmx, sse, popcnt,
+ avx, avx2, etc. If the instruction were supported, it would export
+ HAVE_XXX_INSTRUCTIONS C preprocessor macros and add the instruction set flag to
+ X86_FEATURES_CFLAGS variable. By default it would also set CFLAGS, but this can
+ be disabled by the ACTION-IF-FOUND hook.
+
+2016-03-21 David Seifert <soap@gentoo.org>
+
+ AX_WITH_CURSES: Enable pkg-config support, fallback now requires -ltinfo for ncurses 6
+
+2016-03-21 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+ Update CXXCPP after updating CXX.
+ Rewrap text.
+
+ Rewrap.
+
+2016-03-20 Peter Simons <simons@cryp.to>
+
+ AX_PTHREAD: import draft 4 from https://savannah.gnu.org/patch/?8186
+
+ ax_check_gl*: drop trailing whitespace
+
+2016-03-20 Luca Boccassi <luca.boccassi@gmail.com>
+
+ ax_valgrind_check: add a target for each tool
+ Often not all tools can be ran cleanly on a codebase. This means that
+ make check-valgrind will never complete successfully, which is a
+ problem especially when using ax_valgrind_check on a continous
+ integration system.
+
+2016-03-09 Peter Simons <simons@cryp.to>
+
+ Merge pull request #66 from dryman/opengl
+ Improved three opengl autoconf macros
+
+2016-03-09 dryman <idryman@gmail.com>
+
+ Fix ax_restore/save_flags_with_prefix.m4
+ Need to use AC_DEFUN instead of m4_define
+
+2016-03-09 dryman <idryman@gmail.com>
+
+ Improved three opengl autoconf macros
+ Main features added:
+ - Support action-if-found and not-found hook
+ - Export HAVE_GL, HAVE_GLU, and HAVE_GLUT preprocessor symbol
+ - Add necessary flags to CFLAGS/LIBS by default, but can be disabled by
+ overwritting action-if-found hook.
+ - Fail the configure script if lib not found. This feature can be disabled by
+ overwritting action-if-not-found hook
+ - Fix problems on Mac OSX. Been tested on Linux (Ubuntu) and OSX
+ - Use --with-xquartz-gl instead of --with-gl=x for using X11 on OSX
+
+ Two new macros added:
+ - ax_save_flags_with_prefix.m4: save flags and pushes flag with prefix to the
+ flag.
+ AX_SAVE_FLAGS_WITH_PREFIX([GL],[[CFLAGS],[LIBS]]) would expands to
+ gl_saved_flag_cflags="$CFLAGS"
+ gl_saved_flag_libs="$LIBS"
+ CFLAGS="$GL_CFLAGS $CFLAGS"
+ LIBS="$GL_LIBS $LIBS"
+ - ax_restore_flags_with_prefix.m4: restore the flags.
+
+2016-03-05 Luca Boccassi <luca.boccassi@gmail.com>
+
+ Add C++ support to ax_code_coverage.m4
+ Simply define CODE_COVERAGE_CXXFLAGS with the same value as
+ CODE_COVERAGE_CFLAGS. Tested on libzmq (a C++ project).
+
+2016-03-04 Peter Simons <simons@cryp.to>
+
+ Merge pull request #61 from olaf-mandel/ax_code_coverage
+ AX_CODE_COVERAGE: quote CODE_COVERAGE_RULES
+
+ Merge pull request #62 from olaf-mandel/ax_prog_doxygen
+ AX_PROG_DOXYGEN: quote DX_RULES
+
+ Merge pull request #60 from olaf-mandel/ax_gnu_autotest
+ AX_GNU_AUTOTEST: quote some static strings
+
+2016-03-03 Olaf Mandel <olaf@mandel.name>
+
+ AX_GNU_AUTOTEST: quote some static strings
+ Some static strings in AC_SUBST() were underquoted: fix that.
+
+ AX_PROG_DOXYGEN: quote DX_RULES
+ Quote the DX_RULES assignment to prevent some other M4 macro from
+ modifying the text. Also transition from direct if-statements to AS_IF
+ for the same reasons: to prevent undesired macro replacements.
+
+ AX_CODE_COVERAGE: quote CODE_COVERAGE_RULES
+ Quote the CODE_COVERAGE_RULES assignment to prevent some other
+ M4 macro from modifying the static text.
+
+ AX_VALGRIND_CHECK: quote VALGRIND_CHECK_RULES
+ Quote the VALGRIND_CHECK_RULES assignment to prevent some other
+ M4 macro from modifying the static text.
+
+2016-03-03 Olaf Mandel <olaf@mandel.name>
+
+ AX_VALGRIND_CHECK: fix logic around AC_CHECK_PROG
+ There are two problems in the logic around the first AC_CHECK_PROG()
+ call:
+
+ 1. If AC_CHECK_PROG() fails to find valgrind, with neither configure
+ option --enable-valgrind nor --disable-valgrind, then the
+ enable_valgrind variable ends up being set incorrectly to yes.
+
+ 2. If configure was started with --disable-valgrind, then there is no need
+ to run AC_CHECK_PROG() at all.
+
+2016-03-03 Olaf Mandel <olaf@mandel.name>
+
+ AX_VALGRIND_CHECK: clean up configure message
+ When running configure, the displayed text contained two interleaved
+ messages. Got:
+
+ checking whether to enable Valgrind on the unit tests... checking for valgrind... valgrind
+ yes
+
+ instead of the probably intended:
+
+ checking whether to enable Valgrind on the unit tests... yes
+ checking for valgrind... valgrind
+
+ In addition, the first message seems to convey no additional information
+ compared to the second message: if valgrind is not found (and there is no
+ --enable-valgrind error), then the result of the check is "no" as
+ displayed for the executable check. And in all other cases, the result is
+ "yes". So remove the first message completely: this takes care of the
+ mangled status messages.
+
+2016-02-29 Peter Simons <simons@cryp.to>
+
+ AX_GCC_VAR_ATTRIBUTE: fix spelling error
+ https://savannah.gnu.org/patch/index.php?8815
+
+2016-02-29 Joshua Judson Rosen <jrosen@harvestai.com>
+
+ AX_CXX_COMPILE_STDCXX: don't break "make CXXFLAGS=..."
+ Make C++ std-selection macros modify $(CXX), not $(CXXFLAGS).
+
+ Using $(CXXFLAGS) prevents users from being able to
+ rebuild with different CXXFLAGS (e.g.: to try out
+ different optimisations or to change debug levels)
+ unless they re-run ./configure with their CFLAGS.
+
+ This is more like what the mainline Autoconf macros do
+ (e.g.: AC_PROG_CC_C99, AC_PROG_CC_STD, etc. modify $(CC),
+ not $(CCFLAGS)), presmuably for much the same reasons:
+ if you need to specify a standard to the compiler,
+ it doesn't really make sense to separate that from
+ $(CC)/$(CXX) since $(CC)/$(CXX) aren't usable without it.
+
+2016-02-29 Michael Welsh Duggan <md5i@cs.cmu.edu>
+
+ CXX_COMPILE_STDCXX: fix regression introduced in ccd1d4f54b
+ AX_CXX_COMPILE_STDCXX doesn't set HAVE_CXX when [mandatory] is given as
+ an argument. This bug has existed since commit ccd1d4f54b07b46b.
+
+2016-02-29 Peter Simons <simons@cryp.to>
+
+ AX_LIB_NETCDF4: initial version
+ This macro detects NetCDF: http://www.unidata.ucar.edu/software/netcdf/.
+
+ AX_PTHREAD: various improvements
+ See https://savannah.gnu.org/patch/?8186 for further details.
+
+ AX_FC_CHECK_DEFINE: initial version
+
+2016-02-29 Jorge Bellon <jorge.bellon@bsc.es>
+
+ Add ax_var_pop.m4 and ax_var_push.m4 macros.
+
+2016-02-26 Olaf Mandel <olaf@mandel.name>
+
+ AX_CODE_COVERAGE: fix invalid chars in testname
+ There was a warning about invalid characters in the testname from
+ lcov: anything except letters, digits and the underscore causes
+ this. So replace such characters with underscores (lcov does this
+ anyway if we don't).
+
+ Needs to either call $(subst ) for each undesired character or
+ needs to execute a system command because GNU make does not
+ provide regular expressions. Chose here to implement characters
+ individually. Currently only strips dots and dashes, but these
+ should be the most common culprits.
+
+2016-02-26 Olaf Mandel <olaf@mandel.name>
+
+ AX_CODE_COVERAGE: add BRANCH_COVERAGE variable
+ Add a new CODE_COVERAGE_BRANCH_COVERAGE variable that can be used
+ to provide --rc lcov_branch_coverage=[01] options to lcov and
+ --rc genhtml_branch_coverage=[01] options to genhtml. These may be
+ desirable to the user since the default for branch coverage changed
+ in some "recent" lcov version.
+
+ This is achieved by adding a LCOV_SHOPTS variable (for SHared
+ OPTionS) to the default LCOV_OPTIONS one. And the filtering call of
+ lcov gets a symmetric LCOV_RMOPTS variable (which is currently
+ empty).
+
+ In addition, ensure that all LCOV_{SHOPTS,OPTIONS,RMOPTS} and
+ GENHTML_OPTIONS have a corresponding _DEFAULT variable: this became
+ desirable here because of the new defaults for LCOV_SHOPTS and
+ GENHTML_OPTIONS; the LCOV_RMOPTS_DEFAULT is there only for
+ symmetry.
+
+2016-02-01 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ AX_CODE_COVERAGE: Support multiple directories to extract coverage data
+ Support multiple directories being passed to CODE_COVERAGE_DIRECTORY.
+
+2016-02-01 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ Use AM_DISTCHECK_CONFIGURE_FLAGS instead of DISTCHECK_CONFIGURE_FLAGS
+ DISTCHECK_CONFIGURE_FLAGS (no prefix) is for the user to override the
+ distcheck configure flags. The AM_-prefixed version is for build systems
+ to use.
+
+ https://www.gnu.org/software/automake/manual/html_node/Checking-the-Distribution.html
+
+2016-01-28 Philip Chimento <philip@endlessm.com>
+
+ Add GJS macros
+ This adds three macros to the library:
+
+ AX_PROG_GJS - Check for the GJS JavaScript interpreter
+ AX_CHECK_GIRS_GJS - Check for importability of GObject introspection
+ module(s) in GJS
+ AX_CHECK_GIR_SYMBOLS_GJS - Check for the presence of particular symbols
+ in a GObject introspection module imported into GJS
+
+2016-01-17 Benjamin Green <bengreen5@yahoo.com>
+
+ Added support for the MSYS2/mingw system.
+
+2016-01-11 Victor Bogado <bogado@amazon.com>
+
+ Fix ax_boost_system for new versions of boost.
+ Newer version of boost::system have a breaking change that makes
+ the test on ax_boost_system fail even though the library is
+ present.
+
+ Changed the test to use another construct that did not change. Also
+ reseted the "CXX_FLAG" to an empty value in case of it having a
+ "-Werror" that also makes the test break.
+
+2016-01-11 Jeroen Meijer <jjgmeijer@gmail.com>
+
+ Add ax_zmq.m4 and ax_czmq.m4.
+ - ax_zmq.m4 tests for an appropiate zmq version
+ - ax_czmq.m4 tests for an appropiate czmq version
+
+ Closes https://github.com/peti/autoconf-archive/pull/54.
+
+2015-12-17 Peter Simons <simons@cryp.to>
+
+ Merge pull request #52 from swofford/fix-ax_gcc_cpuid
+ fix AX_GCC_X86_CPUID/AX_GCC_X86_CPUID_COUNT for 32-bit PIC compilations
+
+2015-12-17 Dave Swofford <david.swofford@duke.edu>
+
+ fix AX_GCC_X86_CPUID/AX_GCC_X86_CPUID_COUNT for 32-bit PIC compilations
+ The problem is that the EBX register cannot be used when position independent code is being generated.
+ The solutions to save and restore the EBX register. See, e.g.:
+ http://stackoverflow.com/questions/12221646/how-to-call-cpuid-instruction-in-a-mac-framework
+
+2015-12-16 Nate Bargmann <n0nb@n0nb.us>
+
+ Fix second pass bug in _AX_WITH_CURSES_CHECKEXTRA
+ Found bug where when _AX_WITH_CURSES_CHECKEXTRA is called a second time
+ on the same library, e.g. ncurses, the previous setting of
+ _AX_WITH_CURSES_CHECKEXTRA_cv_var to 'yes' would be changed to 'no' just
+ due to the tested header file not being available on the second pass.
+
+ This was found when AX_WITH_CURSES has 'with_ncurses' set to 'yes' and
+ 'with_ncursesw' set to 'no' forcing _AX_WITH_CURSES_CHECKEXTRA to be
+ called twice in succession since ax_cv_curses_which is set to 'ncurses'
+ and the panel.h header file is tested as ncurses/panel.h and panel.h.
+
+ The system in question is OpenSuSE LEAP 42.1 which installs
+ /usr/include/ncurses/panel.h and not /usr/include/panel.h.
+
+2015-11-23 Murray Cumming <murrayc@murrayc.com>
+
+ AX_BOOST_PYTHON: Update for the AX_PYTHON_DEVEL change.
+ Because AX_PYTHON_DEVEL now provides PYTHON_LIBS instead of PYTHON_FLAGS,
+ this script needs to be updated accordingly.
+ This lets AX_BOOST_PYTHON actually find the boost python library
+ on newer systems that ignore the -l flags if they appear before the
+ source file on the command line.
+
+ I'm not sure why I needed to add PYTHON_LIBS to LIBS in the AC_CACHE_CHECK()
+ line, though it apparently wasn't necessary to use PYTHON_LDFLAGS there
+ before. I suspect that much of this file doesn't really make sense.
+
+2015-11-23 Markus Armbruster <armbru@pond.sub.org>
+
+ AX_APPEND_COMPILE_FLAGS, AX_APPEND_LINK_FLAGS: Optional INPUT arg
+ Behaves exactly like the optional INPUT argument of
+ AX_CHECK_COMPILE_FLAG, AX_CHECK_LINK_FLAG.
+
+ Motivation: I'd like to add -fstack-protector-strong. The obvious
+ solution is AX_APPEND_COMPILE_FLAGS([-fstack-protector-strong]).
+
+ Unfortunately, some ports of the GNU toolchain reportedly pass this
+ test, then fail to link. That's because the compiler accepts the
+ flag, duly emits references to helper code in libc (on my system:
+ ___stack_chk_guard()), but libc doesn't provide, and linking fails.
+
+ The new argument lets me cover this failure mode:
+
+ AX_APPEND_LINK_FLAGS([-fstack-protector-strong], [], [],
+ [AC_LANG_SOURCE([[
+ int
+ main(int argc, char *argv[])
+ {
+ char arr[64], *dst = arr, *src = argv[0];
+ while ((*dst++ = *src++)) ;
+ }
+ ]])])
+
+2015-11-23 Moritz Klammler <moritz@klammler.eu>
+
+ Unify macros for checking C++11/14/... compiler support.
+ * m4/ax_cxx_compile_stdcxx.m4: New macro file added.
+
+ (AX_CXX_COMPILE_STDCXX): New macro added. The code is based on
+ the former (serial version number 13) `AX_CXX_COMPILE_STDCXX_11`
+ macro, generalized to check for arbitrary versions of the standard
+ selected via an additional argument.
+
+ (_AX_CXX_COMPILE_STDCXX_testbody_11): New internal macro added.
+ Defined in terms of `_AX_CXX_COMPILE_STDCXX_testbody_new_in_11`.
+
+ (_AX_CXX_COMPILE_STDCXX_testbody_14): New internal macro added.
+ Defined in terms of `_AX_CXX_COMPILE_STDCXX_testbody_new_in_11`
+ and `_AX_CXX_COMPILE_STDCXX_testbody_new_in_14`.
+
+ (_AX_CXX_COMPILE_STDCXX_testbody_new_in_11): New internal macro
+ added. Test code to check for features added in C++14. It is
+ based on the code previously found in the
+ `_AX_CXX_COMPILE_STDCXX_11_testbody` macro, defined in
+ `m4/ax_cxx_compile_stdcxx_11.m4` but heavily refactored and
+ extended with additional checks.
+
+ (_AX_CXX_COMPILE_STDCXX_testbody_new_in_14): New internal macro
+ added. Test code to check for features added in C++14.
+
+ * m4/ax_cxx_compile_stdcxx_11.m4:
+
+ (AX_CXX_COMPILE_STDCXX_11): Make this macro an alias for the new
+ `AX_CXX_COMPILE_STDCXX` macro with the version set to C++11.
+
+ (_AX_CXX_COMPILE_STDCXX_11_testbody): Internal macro deleted.
+
+ * m4/ax_cxx_compile_stdcxx_14.m4: New macro file added.
+
+ (AX_CXX_COMPILE_STDCXX_14): New macro added. This macro is an
+ alias for the new `AX_CXX_COMPILE_STDCXX` macro with the version
+ set to C++14.
+
+ * m4/ax_cxx_compile_stdcxx_0x.m4 (AX_CXX_COMPILE_STDCXX_0X): Mark
+ macro as obsolete. The macro `AX_CXX_COMPILE_STDCXX_11` should be
+ used instead. I couldn't test this macro on my system because it
+ uses a lot of obsolete macros my Autoconf complains about and
+ errors out.
+
+2015-11-23 Peter Simons <simons@cryp.to>
+
+ Merge branch 'code-coverage' of https://github.com/olaf-mandel/autoconf-archive into olaf-mandel-code-coverage.
+
+2015-11-23 Olaf Mandel <olaf@mandel.name>
+
+ AX_PROG_DOXYGEN: allow AC_CONFIG_FILES([Doxyfile])
+ To allow substitutions in the used Doxyfile, two changes are needed:
+
+ 1. also substitute everything put in the environment (except DOCDIR)
+ 2. allow Doxyfiles to also reside in the builddir
+
+ The latter change is a potentially breaking one! The old behaviour was
+ to always prefix $(srcdir)/ to the location provided as the second
+ (and forth, sixth, ...) parameter. This needs to be dropped to allow
+ for searching in the build directory. To compensate, the default now
+ is $(srcdir)/Doxyfile.
+
+ So the following still works:
+
+ DX_INIT_DOXYGEN([foo])
+ DX_INIT_DOXYGEN([foo], , [dest-dir])
+
+ While this needs to be changed:
+ DX_INIT_DOXYGEN([foo], [Doxyfile])
+ -> DX_INIT_DOXYGEN([foo], [$(srcdir)/Doxyfile])
+
+2015-11-23 Olaf Mandel <olaf@mandel.name>
+
+ AX_PROG_DOXYGEN: support multiple Doxyfiles
+ Allow the DX_INIT_DOXYGEN() macro to take more than one Doxyfile
+ and/or output-directory argument. This may be of interest e.g. for
+ both public and internal documentation.
+
+ This keeps as much backwards-compatibility as possible: of the
+ preexisting variables, only DX_ENV is changed slightly (removed
+ DOCDIR).
+
+2015-11-23 Olaf Mandel <olaf@mandel.name>
+
+ AX_PROG_DOXYGEN: fix doxygen-ps rule
+ In the rule for $(PACKAGE).ps depended on by doxygen-ps the
+ undefined variable MAKEINDEX_PATH was used instead of the correct
+ variable DX_MAKEINDEX. Fixed.
+
+ AX_PROG_DOXYGEN: add support for silent rules
+ Any warnings of Doxygen are much easier to see if there are not
+ several lines of commands interspersed.
+
+2015-11-23 Olaf Mandel <olaf@mandel.name>
+
+ AX_PROG_DOXYGEN: provide a DX_RULES substitution
+ Convert the previously provided aminclude.am snippet in the
+ documentation into a AC_SUBST substitution. This allows for easy
+ upgrades to the DX_INIT_DOXYGEN macro without the user having to
+ manually update the corresponding section of their Makefile.am.
+
+ As autoconf substitutions are not recursive, also convert all
+ @DX_DOCDIR@ and @PACKAGE@ substitutions in the snippet to using
+ variables. And as AM_CONDITIONAL also relies on substitution,
+ remove all AM_CONDITIONAL calls and instead use a separate
+ variable for each of the sections previously enclosed in an if-block.
+
+2015-11-23 Emil Mikulic <emikulic@gmail.com>
+
+ Add 1.12 to list of lcov versions.
+ This version is in Debian now and seems to work fine with the existing macros.
+
+2015-10-13 Olaf Mandel <olaf@mandel.name>
+
+ AX_CODE_COVERAGE: add CPPFLAGS to skip assertions
+ The assert() statement is a very helpful tool for quality assurance
+ in nearly every kind of software project. But during code coverage
+ it unnecessarily decreases the branch coverage percentage as
+ assertions should never fail. This is probably not what the user
+ expects as the branch contained inside the assert() statement is not
+ visible in the code.
+
+ So in a workflow where first the "check" target is run to see if any
+ test fails (e.g. because of a failing assertion) and then the code
+ coverage is consulted to see how much of the code was exercised, the
+ assertions should not be counted.
+
+ Implement this by adding a variable CODE_COVERAGE_CPPFLAGS which is
+ defined to -DNDEBUG if CODE_COVERAGE_ENABLED.
+
+2015-10-10 Olaf Mandel <olaf@mandel.name>
+
+ AX_CODE_COVERAGE: further silence rules for V=0
+ Expand on the pre-existing code_coverage_quiet variables that add
+ the --quiet option to lcov and genhtml calls if V=0. This way, any
+ warnings are much more visible.
+
+ Completely silence builds for V=0:
+ * hide the two "outer" make invokations of check-code-coverage
+ * display short replacement texts for the three commands inside of
+ code-coverage-capture
+
+2015-10-01 Elliott Sales de Andrade <quantum.analyst@gmail.com>
+
+ Push C language before testing HDF5 libraries.
+ The test uses the C compiler wrapper, so tell autoconf that that should
+ be the current language.
+
+2015-09-25 Murray Cumming <murrayc@murrayc.com>
+
+ AX_PYTHON_DEVEL: provide PYTHON_LIBS, not PYTHON_LDFLAGS
+ Because -L and -l are LIBS arguments, not LDFLAGS arguments.
+ Calling it PYTHON_LDFLAGS suggested wrongly that they should be
+ used in LDFLAGS, which can cause the -L and -l arguments to
+ be ignored when they are not in the expected position in the list
+ of command line arguments. This is a problem, for instance,
+ with the command line generated by AC_LINK_IFELSE.
+
+2015-09-16 Utz-Uwe Haus <uhaus@cray.com>
+
+ AX_CXX_COMPILE_STDCXX_11: Support for Cray's crayCC compiler (CCE 8.4)
+ Cray Compilation Environment 8.4 has full C++11 support through
+ "-h std=c++11" command line switch that we didn't test against
+
+2015-09-03 Michael Petch <mpetch@capp-sysware.com>
+
+ Fixes for AX_EXT / AX_GCC_X86_AVX_XGETBV / AX_GCC_X86_CPUID.
+ Submitted in https://savannah.gnu.org/patch/?8730.
+
+2015-09-02 Christian Hergert <christian@hergert.me>
+
+ AX_COMPILER_FLAGS_LDFLAGS: use AX_APPEND_LINK_FLAGS
+ Not all compilers will verify the correctness of flags to the linker, so
+ we need to explicitly use the linker when verifying flags.
+
+2015-08-31 consultit <consultit@katamail.com>
+
+ AX_PYTHON_EMBED: fix quoting
+
+2015-08-30 James Cowgill <james410@cowgill.org.uk>
+
+ Restore flags properly in ax_check_glu.m4 and ax_check_glx.m4
+ applied-upstream:yes
+ bug-debian: http://bugs.debian.org/795479
+
+2015-08-30 consultit <consultit@katamail.com>
+
+ AX_PYTHON_EMBED: update to support python 3.4
+
+ AX_PYTHON: update to support python 3.4
+
+2015-08-26 Peter Simons <simons@cryp.to>
+
+ AX_LIB_ORACLE_OCI: avoid non-ASCII characters in comments
+
+2015-08-26 Joost van Baal-Ilić <joostvb+git@uvt.nl>
+
+ Add support for Oracle 12: do not try to link to nnz10 but to nnz12
+
+2015-08-26 Michael Petch <mpetch@capp-sysware.com>
+
+ AX_EXT: add support for AVX2/AVX512 and other CPU extensions
+
+2015-08-21 Olaf Mandel <olaf@mandel.name>
+
+ Add AX_GNU_AUTOTEST macro
+ Full documentation in ax_gnu_autotest.m4, but TL;DR:
+
+ * Write tests/testsuite.at as normal
+ * Add to configure.ac: AX_GNU_AUTOTEST
+ * Add to Makefile.am or Makefile.in in top_srcdir:
+ @AX_GNU_AUTOTEST_DEFAULT@
+ * autoreconf && ./configure && make check
+
+ The macro supports multiple test-suites, Makefiles in different
+ locations and many more features.
+
+2015-08-07 Paul Norman <penorman@mac.com>
+
+ Check for attribute support with C++11 macro
+ Some compilers pass the other tests while not implementing this
+ part of the C++11 specification. The test used also does not
+ cause warnings with GCC or Clang, and can be used with -Werror.
+
+2015-07-09 Peter Simons <simons@cryp.to>
+
+ ax_prog_bison_version: use canonic text formatting
+
+2015-07-09 Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
+
+ Add GNU Bison version check
+ Valid from Bison v1.29b until now[1].
+
+ [1]http://git.savannah.gnu.org/cgit/bison.git/commit/?id=e79137accc7ea0352cd4677ff22818f9c68d4eab
+
+2015-07-09 Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
+
+ ax_prog_flex_version: initial version
+ Version check valid starting from http://sourceforge.net/p/flex/flex/ci/712c03b38fb35f9d7f16e0fdd27441c3efda0071/tree/.
+
+2015-07-09 Mitchell Rosen <mrosen@machinezone.com>
+
+ ax_valgrind_check: Fix a bash-4-ism
+ The ‘2&>’ syntax requires a recent version of bash. Use ‘>… 2>&1’
+ instead to reduce the requirement.
+
+2015-07-09 Batchyx <batchman@free.fr>
+
+ ax_append_flag: Fix regression if flag has a ','.
+ Commit 0ea2e3 ("Add case of variable contain $1 at end of FLAG") broke
+ the case when a flag contains a comma (such as "-Wl,--as-needed"),
+
+ Quote the AS_VAR_APPEND invocation to avoid this problem.
+
+2015-07-07 Reuben Thomas <rrt@sc3d.org>
+
+ ax_lua.m4: add Lua 5.3 support (thanks, Diab Jerius)
+
+2015-05-23 T.v.Dein <tlinden@cpan.org>
+
+ AX_BERKELEY_DB_CXX: improve support for FreeBSD
+ Submitted in https://savannah.gnu.org/patch/?8672.
+
+2015-05-16 Peter Simons <simons@cryp.to>
+
+ ax_compute_standard_relative_paths: cosmetic chance to fix the #serial number
+
+2015-05-16 Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
+
+ Update ax_compute_standard_relative_paths to new autoconf path
+ Add and update new autoconf path.
+
+2015-05-12 Olly Betts <olly@survex.com>
+
+ ax_cxx_compile_stdcxx_11.m4: Support HP aCC
+ This compiler needs +std=c++11 to enable C++11 mode:
+ http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/PDF_Release_Notes/769149-001.pdf
+
+2015-05-06 Kurt von Laven <kurt@endlessm.com>
+
+ ax_python_module[_version]: Add Python 3 support.
+ Permit dependency checking of both Python 2 and Python 3 modules.
+ Default to Python 3 if unspecified.
+
+ ax_python_module: Replace tabs with spaces.
+
+2015-04-21 Peter Simons <simons@cryp.to>
+
+ ax_compiler_flags_cxxflags: fix #serial number
+
+ ax_compiler_flags_cflags: fix #serial number
+
+ ax_boost_program_options.m4: fix #serial number
+
+2015-04-21 Ting-Wei Lan <lantw@src.gnome.org>
+
+ ax_compiler_flags: Prevent using bash substring expansion
+ Substring expansion such as ${flag:5} is not supported by POSIX, and
+ it can cause error for systems not using bash as their default shell.
+
+2015-04-21 Pauli Nieminen <suokkos@gmail.com>
+
+ Optimize boost program options detection
+ Boost program options_description depend on many heavy parts of boost
+ leading to very long compilation times with it. For configure detection
+ it is better ot use program_options/errors.hpp where error class has
+ been right from begin.
+
+2015-04-21 Moritz Klammler <moritz@klammler.eu>
+
+ Removed non-ASCII characters in comments.
+ These characters caused the `macro2m4.py` script to terminate with an error:
+
+ $ make maintainer-all
+ ...
+ python ./macro2m4.py "m4/ax_compiler_flags_cflags.m4" "stage/ax_compiler_flags_cflags.m4"
+ Traceback (most recent call last):
+ File "./macro2m4.py", line 56, in <module>
+ m = Macro(m4File, computeSerialNumber=True)
+ File "~/src/autoconf-archive/macro.py", line 62, in __init__
+ (header,body) = loadFile(filePath).split("\n\n", 1)
+ File "~/src/autoconf-archive/macro.py", line 8, in loadFile
+ return fd.read()
+ File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
+ return codecs.ascii_decode(input, self.errors)[0]
+ UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3615: ordinal not in range(128)
+ cfg.mk:35: recipe for target 'stage/ax_compiler_flags_cflags.m4' failed
+ make: *** [stage/ax_compiler_flags_cflags.m4] Error 1
+
+ This error might only occur when using Python 3.
+
+ Since all affected characters were apostrophes in comments, I simply replaced
+ them with ASCII character 39.
+
+ The serial numbers of the files were incremented.
+
+2015-04-17 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+ Look for make using the current environment instead of spawning a new shell. Extract the GNU Make version and store it into a variable.
+
+2015-04-11 Peter Simons <simons@cryp.to>
+
+ Merge pull request #30 from Kurt-von-Laven/master
+ ax_python_module_version: Add initial macro.
+
+2015-04-06 Sree Harsha Totakura <sreeharsha@totakura.in>
+
+ ax_lib_postgresql: do not set HAVE_POSTGRESQL to 1 when the given required version is not found
+ This commit also unsets corresponding _CPPFLAGS, _LDFLAGS and, _LIBS variables.
+
+2015-04-06 Sree Harsha Totakura <sreeharsha@totakura.in>
+
+ ax_lib_postgresql: add POSTGRESQL_LIBS variable
+ This new variable contains `-lpq' when HAVE_POSTGRESQL is set to 1.
+
+ Reported-by: Claus Fischer <claus.fischer@clausfischer.com>
+
+2015-04-01 Kurt von Laven <kurt@endlessm.com>
+
+ ax_python_module_version: Add initial macro.
+ The Python module version macro builds on top of the existing Python
+ module macro authored by Andrew Collier. The Python module macro checks
+ that a Python module is installed, and the Python module version macro
+ tests that a Python module is installed at a given version or higher.
+
+2015-03-28 Peter Simons <simons@cryp.to>
+
+ Merge pull request #28 from wsfulton/ax_path_generic-spaces
+ AX_PATH_GENERIC fixes for flags containing spaces
+
+2015-03-28 William S Fulton <wsf@fultondesigns.co.uk>
+
+ ax_path_generic.m4 fix when the _CFLAGS and _LIBS are provided and they contain a space
+ For example:
+ ./configure PCRE_LIBS='-L/home/me/pcre/lib -lpcre'
+
+2015-03-28 Vadim Zeitlin <vz-swig@zeitlins.org>
+
+ Don't use non-portable "==" in shell tests.
+ Use POSIX "=" instead of "==" which is not supported at least by FreeBSD
+ /bin/sh.
+
+2015-03-28 William S Fulton <wsf@fultondesigns.co.uk>
+
+ AX_BOOST_BASE: Support for native Windows header only libraries
+ Native Windows versions of Boost (for Visual C++) have a different
+ layout to other platforms. Typically, one has:
+
+ <root>\boost\version.hpp
+
+ This patch adds support for header only libraries.
+
+2015-03-04 Rouven Spreckels <n3vu0r@nevux.org>
+
+ AX_CXX_COMPILE_STDCXX_11: fix test for for clang with [-Werror,-Wunused-variable]
+ See https://savannah.gnu.org/patch/index.php?8608 for further details.
+
+2015-02-27 Reuben Thomas <rrt@sc3d.org>
+
+ ax.lua.m4: fix Lua prefix path detection
+ Patch from Orion Poplawski. I added a couple of minor (and relevant!)
+ comment fixes.
+
+ This fixes lua prefix path detection by unquoting a configure shell
+ variable that needs to be expanded at run time and by passing in the
+ proper arguments.
+
+2015-02-26 Reuben Thomas <rrt@sc3d.org>
+
+ ax_lua.m4: fix a typo
+ And hence bump the copyright year
+
+2015-02-24 Peter Simons <simons@cryp.to>
+
+ AX_CXX_COMPILE_STDCXX_11: revert "cosmetic change to the copyright lines to make our formatter happy"
+ This reverts commit 51d888a54d07aca1a9621e65fb28c3113d5000e6.
+
+2015-02-23 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ ax_compiler_flags: Eliminate ‘minimum’ and ‘maximum’ warning levels
+ These went against the whole concept of providing a baseline set of
+ warnings which is set by the module maintainer, since it allowed
+ individual developers to opt out of certain classes of warning.
+
+ Remove them, leaving the ‘no’, ‘yes’ and ‘error’ levels. This maintains
+ API compatibility of the macros by marking various EXTRA-* variables as
+ unused, but still handling them, and merging their values with the
+ preceding EXTRA-* variables. For example, all extra ‘maximum’ and
+ ‘error’ flags are now included in the ‘yes’ level of warnings.
+
+2015-02-23 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ ax_check_enable_debug: Use $ax_is_release as default for IS-RELEASE
+ This makes it easier to use AX_IS_RELEASE together with
+ AX_CHECK_ENABLE_DEBUG.
+
+ Now you can do:
+ AX_IS_RELEASE([git-directory])
+ AX_CHECK_ENABLE_DEBUG()
+ instead of:
+ AX_IS_RELEASE([git-directory])
+ AX_CHECK_ENABLE_DEBUG(,,,[$ax_is_release])
+
+2015-02-23 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ ax_compiler_flags: Use $ax_is_release as default for IS-RELEASE param
+ This makes it easier to use AX_IS_RELEASE together with
+ AX_COMPILER_FLAGS.
+
+ Now you can do:
+ AX_IS_RELEASE([git-directory])
+ AX_COMPILER_FLAGS()
+ instead of:
+ AX_IS_RELEASE([git-directory])
+ AX_COMPILER_FLAGS(,,[$ax_is_release])
+
+2015-02-23 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ ax_compiler_flags: Clarify the EXTRA-* variables are for warnings only
+ They are not for general purpose compiler flags.
+
+2015-02-23 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ ax_compiler_flags: Automate addition of -Wno-error=* flags
+ We need to add a -Wno-error=* flag for each -Wno-* flag as some
+ compilers will re-enable the warning as an error if -Wall is passed in
+ the user’s CFLAGS after we’ve specific -Werror.
+
+ Previously this was done manually for the -Wno-* flags in
+ AX_COMPILER_FLAGS_CFLAGS and AX_COMPILER_FLAGS_CXXFLAGS. However, this
+ ignored the cases where the user was passing -Wno-* flags as extra-flags
+ to the macros.
+
+ Factor this out and automate it so -Wno-error=* flags will be tested and
+ appended for any -Wno-* flag specified by the user in extra-flags.
+
+2015-02-23 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ ax_compiler_flags_cflags: Remove -Waggregate-return
+ Historically, this flag has been used because certain old C compilers
+ didn’t support it — that’s not really relevant any more. It was also
+ used to warn the developer about the potential for overflowing the
+ stack. However, I believe the benefits of being able to pass small
+ structures (e.g. a GdkRectangle) by value outweights the likelihood of
+ putting a huge structure on the stack and overflowing it.
+
+ Within GNOME, a coding standard exists to not return aggregates by value
+ because it is hard to generate introspected bindings for such code.
+ g-ir-scanner should warn about this instead.
+
+2015-02-20 David King <dking@redhat.com>
+
+ ax_compiler_flags: Only check for C++ if AC_PROG_CXX is called
+ The previous behavior of the macro was to use a C compiler, but when C++
+ support was added, it created an unconditional dependency on a C++
+ compiler. This is undesirable for most C projects, and slows down
+ configure considerably by adding unnecessary checks.
+
+ Add an internal _AX_COMPILER_FLAGS_LANG macro, with the desired language
+ as the first argument. Only require the macro for the corresponding
+ compiler warning flags if AC_PROG_lang has been called. Enable C support
+ by default.
+
+2015-02-20 David King <dking@redhat.com>
+
+ ax_compiler_flags_cflags: Ensure the current language is C
+
+2015-02-17 Emmanuele Bassi <ebassi@gnome.org>
+
+ ax-is-release: Add micro-version policy
+ The are various projects that use the micro version of $PACKAGE_VERSION
+ as an indication of whether the code is a release or if it's a snapshot
+ of the source under revision control.
+
+ The micro-version policy follows the existing minor-version policy in
+ spirit, if not in regular expression.
+
+2015-02-15 Uli Schlachter <psychon@znc.in>
+
+ AX_CXX_COMPILE_STDCXX_0X: Fix for -Werror=missing-declarations
+ This fixes the following error:
+
+ conftest.cpp:49:14: error: no previous declaration for 'void
+ test_template_alias_sfinae::test()' [-Werror=missing-declarations]
+
+2015-02-11 Jens Geyer <jensg@apache.org>
+
+ Added macro to detect Haxe <http://haxe.org> version.
+
+2015-02-11 Peter Johansson <trojkan@gmail.com>
+
+ AX_APPEND_FLAG: fix regression
+ AX_APPEND_FLAG has changed behaviour compared to earlier versions: it
+ adds the FLAG also when the variable contains FLAG. I traced down the
+ altered behaviour to the two lines
+
+ [case " AS_VAR_GET(FLAGS) " in
+ *" $1 "*)
+
+ which have changed to
+
+ AS_CASE([AS_VAR_GET(FLAGS)],
+ ["* $1 *|*$1"]
+
+ besides that AS_CASE is used (which is good imho) the pattern has
+ changed and the space around FLAGS in the first argument of AS_CASE has
+ gone. This means that e.g. if FLAGS is "alpha beta gamma" that will not
+ match the pattern "* $1 *|*$1" for $1 being any of 'alpha', 'beta', or
+ 'gamma'. I think that is unexpected behaviour.
+
+ This patch restores the original semantics.
+
+ For further details can be found at:
+
+ http://lists.gnu.org/archive/html/autoconf-archive-maintainers/2015-02/msg00000.html
+
+2015-02-09 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ ax_compiler_flags: Disable specific flags as errors as well as warnings
+ See the new comments for details. Disable specific flags (which were
+ already disabled) as errors as well as warnings, to prevent -Wall from a
+ build bot effectively re-enabling them as errors.
+
+ Based on
+ http://cgit.freedesktop.org/telepathy/telepathy-glib/tree/m4/tp-compiler-warnings.m4#n22.
+ Thanks to Simon McVittie.
+
+2015-02-09 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ ax_compiler_flags: Add a --disable-Werror option
+ This will override --enable-compile-warnings and allow fatal warnings to
+ be unconditionally disabled.
+
+2015-02-05 Peter Simons <simons@cryp.to>
+
+ Merge pull request #19 from amigadave/master
+ ax_compiler_flags: Add C++ compiler warning checks
+
+2015-02-05 David King <dking@redhat.com>
+
+ ax_compiler_flags: Adapt for AX_COMPILER_FLAGS_CXXFLAGS
+ Use the new AX_COMPILER_FLAGS_CXXFLAGS macro in AX_COMPILER_FLAGS to
+ test for available C++ compiler warning options, and AC_SUBST them as
+ WARN_CXXFLAGS. Pass the EXTRA-*-CFLAGS variables to
+ AX_COMPILER_FLAGS_CXXFLAGS, to avoid an explosion of arguments, and as
+ most C++ warnings are also valid C warnings.
+
+2015-02-05 David King <dking@redhat.com>
+
+ ax_compiler_flags_cxxflags: Add new macro for C++ compiler warnings
+ Add a new AX_COMPILER_FLAGS_CXXFLAGS macro, which acts similarly to
+ AX_COMPILER_FLAGS_CFLAGS, but for the C++ compiler.
+
+ Modify the default set of warnings slightly, to remove
+ -Waggregate-return, because using it makes it difficult to write
+ idiomatic C++ code. Add -Wno-overloaded-virtual as a C++-specific
+ warning. Remove C-specific warnings such as -Wnested-externs,
+ -Wmissing-prototypes, -Wstrict-prototypes,
+ -Wdeclaration-after-statement, -Wold-style-definition and
+ -Wimplicit-function-declaration.
+
+2015-02-05 Peter Simons <simons@cryp.to>
+
+ AX_CXX_COMPILE_STDCXX_11: fix #serial number
+
+ AX_CXX_COMPILE_STDCXX_11: cosmetic change to the copyright lines to make our formatter happy
+
+2015-02-05 Philip Withnall <philip@tecnocode.co.uk>
+
+ ax_generate_changelog: Add a new rule to generate ChangeLogs from git
+ See the macro documentation for more details.
+
+2015-02-04 Alexey Sokolov <sokolov@google.com>
+
+ ax_cxx_compile_stdcxx_11: add a test for SFINAE with template aliases.
+
+2015-02-04 Peter Simons <simons@cryp.to>
+
+ AX_COMPILER_VERSION: strip trailing whitespace
+
+ AX_COMPILER_FLAGS_GIR: strip trailing whitespace
+
+ AX_IS_RELEASE: cosmetic
+
+2015-02-04 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ ax_check_enable_debug: Add an IS-RELEASE argument to change the default
+ If IS-RELEASE is ‘yes’, the default value for --enable-debug is changed
+ to ‘no’, automatically disabling debug (unless explicitly enabled with
+ --enable-debug=[yes|profile|info]) for release builds.
+
+2015-02-04 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ ax_is_release: Add AX_IS_RELEASE to check for compiling release tarballs
+ This is a macro providing various different policies for determining
+ whether the code being configured and compiled is from a stable release,
+ or from a development version. This allows various configuration
+ settings, such as whether debug is enabled, to be disabled for stable
+ releases.
+
+ A typical example of a policy is to enable stable releases when the .git
+ directory is not present.
+
+2015-01-30 Reuben Thomas <rrt@sc3d.org>
+
+ ax_lua.m4: bump serial by 2
+ Missing from previous commit; add 2 to include this commit
+
+ ax_lua.m4: add precautionary casts to number
+ Based on a patch from David Favro
+
+2015-01-30 John Peterson <jwpeterson@gmail.com>
+
+ Test that we can actually #include <omp.h> successfully, not just prototype an OpenMP function.
+ This original version of this configure test actually passes on Apple
+ LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn), which
+ doesn't support OpenMP but also doesn't barf when passed -fopenmp.
+ This can lead to a false positive in codes which need to include the
+ omp.h header. The new version of the test addresses this issue.
+
+2015-01-29 David King <amigadave@amigadave.com>
+
+ ax_compiler_flags_cflags: Fix argument indexes
+
+2015-01-26 Peter Simons <simons@cryp.to>
+
+ Re-format AX_COMPILER_FLAGS_* into canon and bump the #serial numbers.
+
+2015-01-26 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ ax_compiler_flags_gir: Add a compiler flags macro for g-ir-scanner
+ g-ir-scanner is a tool used within a lot of GNOME projects to generate
+ introspection data from C APIs. It has a couple of warning flags (and is
+ not likely to gain any more in the future), and chaining them to
+ --enable-compile-warnings would be useful.
+
+ Integrate AX_COMPILER_FLAGS_GIR into AX_COMPILER_FLAGS so that it’s
+ enabled by default.
+
+2015-01-26 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ ax_compiler_flags: Split out into separate macros per tool
+ Unfortunately, the API for AX_COMPILER_FLAGS does not scale for more
+ than two tools, due to the number of parameters required.
+
+ Without breaking API, split AX_COMPILER_FLAGS out into:
+ • AX_COMPILER_FLAGS_CFLAGS
+ • AX_COMPILER_FLAGS_LDFLAGS
+ and use both of these in the implementation of AX_COMPILER_FLAGS.
+
+ This means that support for a new tool can be implemented as a separate
+ macro, and used inside AX_COMPILER_FLAGS if deemed necessary, without
+ necessarily needing to add new EXTRA-* parameters for it — if people
+ want to add extra parameters for the tool, they can invoke
+ AX_COMPILER_FLAGS_* manually.
+
+2015-01-26 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ ax_compiler_flags: Document approach for locally disabling warnings
+ Instead of using ‘-Wno-*’ to disable a warning which the compiler is
+ erroneously emitting, use #pragmas to disable it for a specific source
+ code line.
+
+2015-01-16 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ ax_compiler_flags: Add two extra warning CFLAGS
+ -Wimplicit-function-declaration and -Wreturn-type. These are implicitly
+ activated by -Wall on GCC, but might not be on other compilers. Best to
+ be explicit.
+
+2015-01-14 Peter Simons <simons@cryp.to>
+
+ AX_CXX_ERASE_ITERATOR_TYPE: fix formatting
+
+2015-01-12 Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
+
+ Add ax_cxx_erase_constant_iterator.m4
+ Test wether iterator of stl for erase are const iterator
+
+2015-01-06 Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
+
+ Improve m4/ax_check_enable_debug.m4
+ Use AS_IF and AS_CASE
+
+ Add case of variable contain $1 at end of FLAG
+ Current case does not test if $1 was just added
+
+ Modernize ax_append_flag, ax_check_*_flag
+ Use AS_VAR* macro and AS_CASE
+
+ Use gcov location with lcov
+
+ Detect gcov program in m4/ax_code_coverage.m4
+
+2015-01-05 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ ax_valgrind_check: Support running without libtool
+ Support running the macro in projects which have not used LT_INIT.
+
+2015-01-04 Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
+
+ Improve ax_gcc_version.m4
+
+2015-01-04 Peter Simons <simons@cryp.to>
+
+ AX_COMPILER_VERSION: avoid use of Unicode characters in documentation
+
+2015-01-04 Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
+
+ Add obsolete header to ax_cxx_compiler_vendor.m4 and ax_have_opengl.m4
+
+ Add tcc to compiler version
+
+ Add tcc to m4/ax_compiler_vendor.m4
+
+ Add ax_compiler_version
+ Allow to check compiler version portably
+
+ Add __CODEGEARC__ to detection of borland compiler
+
+ Modernize ax_cxx_dtor_after_atexit.m4
+
+ Clarify why ax_cxx_dtor_after_atexit.m4
+ Use reference to c++ standard
+
+2015-01-03 Vaclav Zeman <wilx@users.sourceforge.net>
+
+ Check for constructor attribute with and without priority support.
+
+2014-12-29 Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
+
+ Modernize ax_cxx_default_template_parameters.m4
+
+ Modernize ax_cxx_templates.m4
+
+ Modernize m4/ax_cxx_const_cast.m4
+
+ Modernize AX_CXX_COMPLEX_MATH_IN_NAMESPACE_STD
+
+ Modernize ax_cxx_bool.m4
+ Use modern autoconf construct like AS_IF
+
+ Use AX_COMPILER_VENDOR for AX_CXX_COMPILER_VENDOR
+
+ Add AC_OBSOLETE to m4/ax_have_opengl.m4
+
+2014-12-28 Peter Simons <simons@cryp.to>
+
+ AX_CHECK_GLX: fix #serial number (and minor cosmetic)
+
+ AX_HAVE_OPENGL: drop trailing whitespace (and fix the #serial number in the process)
+
+2014-12-28 Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
+
+ Use ax_check_gl* for ax_have_opengl
+ BTW depreceate it.
+
+2014-12-28 Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
+
+ Improve compatibility with ax_have_opengl
+ Create have_* variable
+
+ Create even two version for have_glut and have_GLUT (for compatibility reasons)
+
+2014-12-28 Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
+
+ Add ax_check_glx.m4
+ Allow to detect glx if needed.
+
+2014-12-28 Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
+
+ Prepare to replace ax_have_opengl by call of ax_check_gl
+ Add a new parameter --with-mesa in order to be compatible with ax_have_opengl.m4
+ convention.
+
+ This new parameter allow to choose order of detection of opengl lib.
+
+2014-12-27 Emil Mikulic <emikulic@gmail.com>
+
+ AX_CODE_COVERAGE requires AC_PROG_SED.
+
+2014-12-18 Tim Perkins <tprk77@gmail.com>
+
+ ax_lua.m4: serial number, oops.
+ Changing some text so the serial number catches up with git.
+
+2014-12-17 Tim Perkins <tprk77@gmail.com>
+
+ ax_lua.m4: make Lua pieces work with Lua 5.0.
+ Plus some other minor changes, like a warning for the cross compling stuff.
+
+2014-12-13 Peter Simons <simons@cryp.to>
+
+ AX_LUA: cosmetic
+
+2014-12-13 Tim Perkins <tprk77@gmail.com>
+
+ ax_lua.m4: proper use of sed.
+
+2014-12-10 Peter Simons <simons@cryp.to>
+
+ Merge pull request #9 from pwithnall/ax-pkg-check-modules-args
+ AX_PKG_CHECK_MODULES: Add ACTION-IF-[NOT-]FOUND arguments
+
+2014-12-10 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ AX_PKG_CHECK_MODULES: Add ACTION-IF-[NOT-]FOUND arguments
+ So that AX_PKG_CHECK_MODULES can be used in every situation which
+ PKG_CHECK_MODULES is currently used in. The new arguments have been
+ inserted part-way through the argument list, so this breaks API for
+ invocations where the PUBLIC-VARIABLE or PRIVATE-VARIABLE arguments have
+ been specified. It is assumed that very few invocations do this.
+
+ This increases the macro serial.
+
+2014-12-10 Tim Perkins <tprk77@gmail.com>
+
+ Revert "AX_LUA: fix initialization of ac_cv_header_lua_h."
+ This reverts commit 825427776a2a1223b64c29c9a458ee31874a8e82.
+
+ Conflicts:
+ NEWS
+
+2014-12-08 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ AX_VALGRIND_CHECK: Refactor a little to ensure log files are cleaned
+ Add the log files to MOSTLYCLEANFILES and take the opportunity to
+ refactor the code a little to reduce duplication for different Valgrind
+ tools.
+
+ Note that the valgrind_*_flags variables are necessary because the
+ sgcheck tool has an odd --tool=exp-sgcheck argument, rather than
+ --tool=sgcheck. This is because it is experimental. I want the
+ autoconf macro to consistently refer to it as sgcheck so that nothing
+ changes when it becomes non-experimental.
+
+2014-12-08 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ AX_VALGRIND_CHECK: Add a macro to enable Valgrind on `make check`
+ See the documentation in the macro file for a full description.
+
+2014-12-03 Kevin Cernekee <cernekee@gmail.com>
+
+ AX_CHECK_VSCRIPT: initial version
+ Further details can be found at <https://savannah.gnu.org/patch/?8582>.
+
+2014-11-30 Philip Withnall <philip.withnall@collabora.co.uk>
+
+ AX_COMPILER_FLAGS: Add macro enabling a consistent set of compiler flags
+ See the documentation comment at the top of the file for a full
+ description of what this macro does.
+
+ AX_PKG_CHECK_MODULES: Add pkg-config wrapper splitting private deps
+ See the documentation in the macro file for a full description.
+
+2014-11-13 Vinson Lee <vlee@freedesktop.org>
+
+ AX_PROG_FLEX: Also accept gflex.
+ On OpenBSD flex 2.5.35 is called gflex.
+
+2014-10-26 Chun-Chung Chen <cjj@u.washington.edu>
+
+ AX_LIB_HDF5: remove extra space from include path flag
+ The code parsing the output of h5cc for the "Installation point:" results in an
+ extra leading space. The space creeps into HDF5_CPPFLAGS and breaks the include
+ path flag into two tokens, e.g., "-I" and "/usr/include". While this may be
+ legal and doesn't affect the compilation, it does break some library
+ tools (e.g., when the macro is used in building a dynamic library that uses
+ pkg-config).
+
+2014-10-23 Peter Simons <simons@cryp.to>
+
+ AX_PERL_MODULE_VERSION: use more portable syntax for shell arithmetic
+
+2014-10-22 karypid <karypid@yahoo.co.uk>
+
+ Support standard Oracle JDK installation layout on Mac OS X.
+
+2014-10-17 kedzie <mark.kedzierski@gmail.com>
+
+ Fixed variable name type (ax_prog_javah_bin_dir) and follow javah symlink to java installation folder to find jni.h
+
+2014-10-16 Peter Simons <simons@cryp.to>
+
+ AX_BOOST_PYTHON: use unique names for local variables
+
+2014-10-15 Sree Harsha Totakura <sreeharsha@totakura.in>
+
+ AX_LIB_POSTGRESQL: substitute CPPFLAGS rather than CFLAGS
+
+2014-10-15 Tsukasa OI <li@livegrid.org>
+
+ AX_GCC_ARCHFLAG: add workaround for Clang
+ LLVM Clang does not fail if -mcpu=UNKNOWN or -mtune=UNKNOWN is
+ specified. This will result in "no CPU tuning".
+
+ This commit resolves the issue by adding workaround for Clang.
+
+2014-10-15 Tsukasa OI <li@livegrid.org>
+
+ AX_GCC_ARCHFLAG: reorder option checking for Clang
+ LLVM Clang does not fail if -mcpu=UNKNOWN or -mtune=UNKNOWN is
+ specified. This will result in "no CPU tuning".
+
+ This fix changes order of option checking to support LLVM Clang.
+
+2014-10-15 Tsukasa OI <li@livegrid.org>
+
+ AX_GCC_ARCHFLAG: rewrite x86 support
+ x86 support is completely rewritten to simplify processor identification
+ and make CPUID identification robust.
+
+2014-10-15 Vaclav Zeman <vhaisman@gmail.com>
+
+ AX_GCC_VAR_ATTRIBUTE: support init_priority attribute
+
+2014-10-15 Peter Simons <simons@cryp.to>
+
+ AX_PERL_MODULE_VERSION: fix typo
+ Other unfixed issues remain. See <https://savannah.gnu.org/patch/index.php?8507>.
+
+2014-10-15 Daniel Muellner <daniel@danifold.net>
+
+ AX_BOOST_PYTHON: major re-write
+ See https://savannah.gnu.org/patch/index.php?8540 for details.
+
+2014-10-15 Alex Henrie <alexhenrie24@gmail.com>
+
+ AX_HAVE_QT: Only check $PATH and qmake for Qt variables
+ The old logic for detecting Qt without $PATH or qmake was never very
+ reliable and the last change to this macro broke it entirely. If the
+ Qt variables cannot be found via $PATH and qmake, then it would be best
+ to manually define them in the makefile.
+
+2014-10-15 Thomas Jahns <jahns@dkrz.de>
+
+ Fix quoting problem in AX_TLS.
+ * This change also eliminates a variable only assigned/used once.
+
+2014-10-15 Timothy Brown <tbrown@freeshell.org>
+
+ Bug fix and improvements to ax_f90_library.m4.
+ 1) The message uses a lower case "f" for the word fortran. However
+ most other autoconf macros use "F".
+
+ 2) The search path prepends $prefix, yet does not check to see
+ if this "NONE" (the default). When it is NONE, the find command
+ complains (as a directory called NONE normally does not exist).
+
+ 3) Removed a white space between the "-L" and the directory for
+ the LDFLAGS search path.
+
+ 4) The "action-found" and "action-not-found" logic was incorrect.
+ The default test is for not found, which would execute the users
+ supplied found action. Swapped these around.
+
+2014-10-15 Jimmy Jazz <Jimmy.jazz@gmx.net>
+
+ AX_LUA: fix initialization of ac_cv_header_lua_h.
+
+2014-10-15 Luke Mewburn <luke@mewburn.net>
+
+ AX_AT_CHECK_PATTERN: executes a test similar to AT_CHECK(), except that stdout and stderr are awk regular expressions
+ Further details can be found at <https://savannah.gnu.org/patch/?8492>.
+
+2014-10-15 Moritz Klammler <moritz@klammler.eu>
+
+ AX_OPENMP: Prevent false negative due to -Wunused-variable
+
+2014-10-15 Eric Bavier <bavier@member.fsf.org>
+
+ ax_compiler_vendor.m4: relocate cray compiler.
+ * m4/ax_compiler_vendor.m4 (vendors): Move cray before gnu.
+
+2014-10-15 Jeremie Knuesel <jeremie.knusel@sensefly.com>
+
+ Fix AX_ENABLE_BUILDDIR in case of absolute configure path
+
+2014-09-14 Peter Simons <simons@cryp.to>
+
+ AX_CODE_COVERAGE: avoid utf-8 characters in the documentation
+
+ AX_CHECK_ENABLE_DEBUG: avoid utf-8 characters in the documentation
+
+2014-09-14 Alex Henrie <alexhenrie24@gmail.com>
+
+ AX_HAVE_QT: auto-detect Qt 5 by querying $PATH and qmake
+ The old logic for detecting Qt did not work for newer versions of Qt,
+ nor did it work on newer Debian/Ubuntu because of multiarch. I've
+ replaced the old hacks and heuristics with clean code that uses a Qt 5
+ pro file to detect Qt's parameters from $PATH and qmake. Qt 4 and
+ earlier do not support this kind of introspection, but any version of
+ Qt can still be used by explicitly specifying its parameters.
+
+ Submitted in <https://savannah.gnu.org/patch/index.php?8486>.
+
+2014-09-14 Dinar Valeev <dvaleev@suse.com>
+
+ AX_BOOST_BASE: add ppc64le to the list of lib64 architectures
+
+2014-09-14 Peter Simons <simons@cryp.to>
+
+ AX_PROG_DOXYGEN: fix makefile logic
+ Submitted in <https://savannah.gnu.org/patch/index.php?8462>.
+
+2014-09-14 Philip Withnall <philip@tecnocode.co.uk>
+
+ AX_CHECK_ENABLE_DEBUG: add an --enable-debug option which defines an ENABLE_DEBUG cpp variable if set
+ Submitted in <https://savannah.gnu.org/patch/index.php?8452>.
+
+2014-09-14 Peter Simons <simons@cryp.to>
+
+ AX_CODE_COVERAGE: new macro which contains all the necessary logic and Makefile rules for instrumenting a project with code coverage using lcov.
+ Submitted in <https://savannah.gnu.org/patch/index.php?8451>.
+
+2014-09-14 david.e.pi.3.14 <david.e.pi.3.14@gmail.com>
+
+ AX_LIB_HDF5: don't overwrite the CPPFLAGS variable
+ Submitted in <https://savannah.gnu.org/patch/index.php?8449>.
+
+2014-09-14 Peter Simons <simons@cryp.to>
+
+ AX_BOOST_BASE: fix for x32 systems
+ Submitted in <https://savannah.gnu.org/patch/index.php?8433>.
+
+2014-09-14 Kirill A. Korinskiy <catap@catap.ru>
+
+ AX_BERKELEY_DB(_CXX): add --with-libdb option
+ Main idea this patch is a specified a location where was installed libDB. On my
+ OS X system DB was installed to /usr/local/opt/berkeley-db4 when I did it by
+ home-brew and without this path I can't use this macross.
+
+ Submitted in <https://savannah.gnu.org/patch/index.php?8416>.
+
+2014-09-14 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+ AX_CXX_HAVE_PLACEHOLDERS: check if std::placeholders is defined in <functional>
+ Submitted it <https://savannah.gnu.org/patch/index.php?8414>.
+
+2014-09-14 Peter Simons <simons@cryp.to>
+
+ AX_LIB_HDF5: add support for recognizing HDF5 built with ccache
+ The ax_lib_hdf5.m4 autoconf macro uses awk to determine which compiler was used
+ to build HDF5. This fails if HDF5 was built using ccache because "ccache" is
+ then used as HDF5_CC instead of the actual compiler wrapped by ccache. The
+ attached patch fixes that.
+
+ Submitted in <https://savannah.gnu.org/patch/index.php?8450>.
+
+2014-09-14 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+ AX_CXX_HAVE_REF: remove dependency on AX_CXX_NAMESPACES
+
+ AX_CXX_HAVE_MEM_FN: remove dependency on AX_CXX_NAMESPACES
+
+ AX_CXX_HAVE_IS_PLACEHOLDER: remove dependency on AX_CXX_NAMESPACES
+
+ AX_CXX_HAVE_IS_BIND_EXPRESSION: remove dependency on AX_CXX_NAMESPACES
+
+2014-09-13 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+ AX_CXX_HAVE_HASH: remove dependency on AX_CXX_NAMESPACES
+
+ AX_CXX_HAVE_FUNCTION: remove dependency on AX_CXX_NAMESPACES
+
+2014-09-13 Tsukasa OI <li@livegrid.org>
+
+ AX_CC_MAXOPT: add support for ICC 11.0 and later
+ This commit adds support for Intel C++ Compiler 11.0 and later.
+ It also adds support for latest Intel processors.
+
+ AX_CC_MAXOPT: make CPUID patterns robust
+ This fixes CPUID patterns to make them robust.
+ It also contains minor additions of Intel CPUs.
+
+2014-09-13 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+ AX_CXX_HAVE_CREF: remove dependency on AX_CXX_NAMESPACES
+
+2014-09-13 Thomas Jahns <jahns@dkrz.de>
+
+ AX_EXECINFO: new macro to test execinfo size type
+ <execinfo.h> has been available on a number of systems now, but unfortunately
+ different systems use different types to represent the size of the backtrace,
+ with netBSD and FreeBSD using size_t and Linux, Mac OS X. To build calls that
+ work with both implementations without warning, this macro not only checks if
+ the execinfo header is available but also what type is used for the len
+ argument of backtrace_symbols and the return value of backtrace.
+
+ All in all this macro defines
+
+ HAVE_EXECINFO_H if execinfo.h can be included,
+ backtrace_size_t to the len argument type, i.e. int or size_t,
+ HAVE_BACKTRACE to 1 if the function can be linked to,
+
+ and append any library needed to LIBS (e.g. some BSD's need -lexecinfo).
+
+ Submitted in <https://savannah.gnu.org/patch/index.php?8525>.
+
+2014-09-13 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+ AX_CXX_HAVE_BIT_XOR: remove dependency on AX_CXX_NAMESPACES
+
+2014-09-13 Olaf Lenz <olenz@icp.uni-stuttgart.de>
+
+ AX_CXX_VAR_PRETTYFUNC: new macro to determine the function name
+ This new macro determines the best way to get the name of the current function
+ for different C++-compilers and -dialects (in the spirit of _FILE_ and _LINE_).
+
+ The patch also fixes some problems in AX_C_VAR_FUNC.
+
+ Submitted in <https://savannah.gnu.org/patch/index.php?8524>.
+
+2014-09-13 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+ AX_CXX_HAVE_BIT_OR: remove dependency on AX_CXX_NAMESPACES
+
+ AX_CXX_HAVE_BIT_AND: remove dependency on AX_CXX_NAMESPACES
+
+ AX_CXX_HAVE_BIND: remove dependency on AX_CXX_NAMESPACES
+
+ AX_CXX_HAVE_BAD_FUNCTION_CALL: remove dependency on AX_CXX_NAMESPACES
+
+2014-09-13 ryanvm <ryanvm@gmail.com>
+
+ AX_CC_MAXOPT: default to -O2 for MSVC
+ Right now, ax_cc_maxopt.m4 ends up falling back onto -O3 when invoked
+ with MSVC. We should default to -O2 instead.
+
+2014-09-13 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+ AX_CXX_HAVE_REFERENCE_WRAPPER: remove dependency on AX_CXX_NAMESPACES
+
+2014-08-03 Reuben Thomas <rrt@sc3d.org>
+
+ ax_lua.m4: rewrite _AX_LUA_FND_PREFX_PTH
+ Rewrite in Lua for robustness and brevity.
+
+ Also make it understand the Lua style of ?-pattern path.
+
+ Patch from Gary Vaughan (gary@gnu.org)
+
+2014-08-02 Reuben Thomas <rrt@sc3d.org>
+
+ m4: fix one-argument AX_PROG_LUA invocation
+ * m4/ax_lua.m4 (_AX_LUA_CHK_VER): If version pattern match fails
+ return nil, then treat the "toobig" version number as math.huge.
+
+2014-07-24 Reuben Thomas <rrt@sc3d.org>
+
+ ax_lua.m4: use redirections portably
+ * m4/ax_lua.m4 ( _AX_LUA_CHK_IS_INTRP): For portability, replace
+ `&>` with `>/dev/null 2>&1`.
+
+ ax_lua.m4: fix a package module entry typo.
+ * m4/ax_lua.m4 (AX_PROG_LUA): s/package\.cpathd/package.cpath/.
+
+2014-07-23 Reuben Thomas <rrt@sc3d.org>
+
+ ax_lua.m4: refix a line broken by the previous commit
+
+2014-05-23 Reuben Thomas <rrt@sc3d.org>
+
+ ax_lua.m4: various under-the-hood improvements
+ Use Lua interpreter for its own version analysis, for shorter and more
+ readable code.
+
+ Add fallback header support when cross-compiling.
+
+ Fix a GNUism in a grep call.
+
+ (All via Gary Vaughan <gary@gnu.org>)
+
+2014-03-14 Jonathan Gray <jsg@jsg.id.au>
+
+ AX_PROG_FLEX: avoid use of grep empty string escape extension (fix for OpenBSD)
+
+2014-03-08 Karlson2k (Evgeny Grin) <k2k@narod.ru>
+
+ AX_COUNT_CPUS: add support for Win32 (and Win64)
+
+2014-02-28 Dmitrij D. Czarkoff <czarkoff@gmail.com>
+
+ AX_LUA: OpenBSD support
+
+2014-02-28 Peter Simons <simons@cryp.to>
+
+ AX_PREFIX_CONFIG_H: cosmetic
+
+2014-02-28 Reuben Thomas <rrt@sc3d.org>
+
+ ax_prefix_config_h.m4: update documentation
+ Remove references to earlier AC_PREFIX_CONFIG_H macro, of which the
+ net no longer has more than the faintest trace. Clarify the purpose at
+ the start of the documentation, and improve the English a little.
+
+2014-02-24 Peter Simons <simons@cryp.to>
+
+ AX_RUBY_EXT: fix formatting of the license text
+
+2014-02-24 Thomas Klausner <tk@giga.or.at>
+
+ AX_PERL_EXT: report back the installation prefix as PERL_EXT_PREFIX
+
+2014-02-24 Reinhard Prix <reinhard.prix@aei.mpg.de>
+
+ AX_EXT: handle case where AX_GCC_X86_CPUID(0x00000001) returns 'unknown'
+
+2014-02-24 Sebastian Freundt <hroptatyr@fresse.org>
+
+ ax_zoneinfo.m4: put AIX zoneinfo path into search path
+ This changeset will allow AX_ZONEINFO to find the zoneinfo files
+ on AIX >=6.1.
+
+2014-02-24 Li-Wen Hsu <lwhsu@lwhsu.org>
+
+ AX_LUA: FreeBSD support
+
+2014-02-24 Peter Simons <simons@cryp.to>
+
+ AX_PYTHON_DEVEL: add SYSLIBs to PYTHON_EXTRA_LIBS
+ This patch is needed when the python library has been built statically. The
+ math symbols like sin, cos, etc are left undefined in the .a file so we must
+ inform the user of the library to link against libm, whose linker
+ argument (-lm) is defined under SYSLIBS.
+
+ Further details are at <https://savannah.gnu.org/patch/?8309>.
+
+2014-02-24 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+ AX_CXX_HAVE_REF: initial version
+
+ AX_CXX_HAVE_MEM_FN: initial version
+
+ AX_CXX_HAVE_IS_PLACEHOLDER: initial version
+
+ AX_CXX_HAVE_IS_BIND_EXPRESSION: initial version
+
+ AX_CXX_HAVE_HASH: initial version
+
+ AX_CXX_HAVE_FUNCTION: initial version
+
+ AX_CXX_HAVE_CREF: initial version
+
+ AX_CXX_HAVE_BIT_XOR: initial version
+
+ AX_CXX_HAVE_BIT_OR: initial version
+
+ AX_CXX_HAVE_BIT_AND: initial version
+
+ AX_CXX_HAVE_BIND: initial version
+
+ AX_CXX_HAVE_BAD_FUNCTION_CALL: initial version
+
+ AX_CXX_HAVE_REFERENCE_WRAPPER: initial version
+
+2014-02-07 Alexander Afanasyev <alexander.afanasyev@ucla.edu>
+
+ AX_BOOST_BASE: additional fix lib detection on multi-arch systems
+ On 32-bit platforms, ${host_cpu} corresponds to a specific cpu, such as
+ i386, i486, i586, i686, while Ubuntu 13.10 assumes that for all 32-bit
+ platforms libraries are located in lib/i386-gnu-linux folder.
+
+2014-02-07 Leo Davis <ldavis@speechfxinc.com>
+
+ M4sugar and M4sh added to AX_PROG_JAR, AX_PROG_JAVA, AX_PROG_JAVAC, and AX_PROG_JAVADOC. Also fixed a path discrepancy with AX_JAVA_OPTIONS.
+ The discrepancy is AX_JAVA_OPTIONS sets up a variable JAVAPREFIX
+ which is described to the user as the "prefix where the Java runtime
+ is installed". Unfortunately, that directory doesn't contain any
+ executables, but $JAVAPREFIX/bin does.
+
+ This incorrect path was passed in the value-if-not-found parameter
+ of AC_CHECK_PROGS which is incorrect. I fixed the path and pass it
+ in to the path parameter.
+
+2014-02-07 Leo Davis <ldavis@speechfxinc.com>
+
+ Added M4sh to AX_PROG_JAVAH.
+ Removed the changequote also.
+
+2014-02-07 Alexey Sokolov <sokolov@google.com>
+
+ AX_CXX_COMPILE_STDCXX_11: fix "mandatory" option and add more C++11 feature tests
+ See <https://savannah.gnu.org/patch/index.php?8287> for further details.
+
+2014-02-06 Reuben Thomas <rrt@sc3d.org>
+
+ ax_lib_curl.m4: fix a couple of tiny typos
+
+2014-01-15 Mike Frysinger <vapier@gentoo.org>
+
+ AX_REQUIRE_DEFINED: new helper for requiring macros exist
+ In cases where we want to require that a macro exists, but not call it,
+ introduce a new AX_REQUIRE_DEFINED helper. The existing AC_REQUIRE macro
+ will call its argument and does not allow for passing of additional args
+ to the macro.
+
+ Once we have this in place, cut a few callers over to it to fix bugs where
+ they'd accidentally call other helpers w/out any flags.
+
+2013-12-19 Peter Simons <simons@cryp.to>
+
+ Add NEWS item and adapt the macro documentation for our HTML renderer.
+
+2013-12-19 Gabriele Svelto <gabriele.svelto@gmail.com>
+
+ Add a macro to check GCC-compatible variable attributes
+
+ Add a macro for checking GCC-compatible function attributes
+
+ Add a macro for checking GCC-compatible built-in functions
+
+2013-12-15 Cory Fields <cory-nospam-@coryfields.com>
+
+ AX_BOOST_BASE: fix lib detection on multi-arch systems
+ Fixes lib detection on Ubuntu 13.10 x86_64 and likely elsewhere as well.
+
+2013-12-10 Jeremiah Willcock <jewillco@osl.iu.edu>
+
+ AX_CREATE_PKGCONFIG_INFO: fix cut-and-paste error
+ See <http://savannah.gnu.org/patch/?8238> for further details.
+
+2013-12-10 Karl Wette <karl.wette@ligo.org>
+
+ AX_CHECK_{PREPROC,COMPILE,LINK}_FLAG: add optional INPUT argument
+ - for supplying an alternative input source to AC_{PREPROC,COMPILE,LINK}_IFELSE
+ - defaults to AC_LANG_PROGRAM(), so fully backward-compatible
+
+2013-12-10 Peter Simons <simons@cryp.to>
+
+ AX_GCC_ARCHFLAG: fix recognition of UltraSparc IIi
+ Further details can be found at <http://savannah.gnu.org/patch/?8235>.
+
+2013-12-01 Akim Demaille <akim@lrde.epita.fr>
+
+ AX_PREFIX_CONFIG_H: remove debug code accidentally committed earlier
+
+2013-11-26 Akim Demaille <akim@lrde.epita.fr>
+
+ AX_PREFIX_CONFIG_H: fix several cases of under-quotation
+
+2013-10-27 Olaf Lenz <olenz@icp.uni-stuttgart.de>
+
+ AX_PROG_CXX_MPI: recognize an MPI C++ compiler
+ Further details are at <http://savannah.gnu.org/patch/?8218>.
+
+2013-10-19 Diab Jerius <djerius@cfa.harvard.edu>
+
+ AX_AM_OVERRIDE_VAR: allow "overriding" of user provided variables for Automake
+ See <http://savannah.gnu.org/patch/?8213> for further details.
+
+2013-10-19 Peter Simons <simons@cryp.to>
+
+ AX_COMPILER_VENDOR: add support for detection of Fujitsu compilers
+ See <http://savannah.gnu.org/patch/index.php?8212> for further details.
+
+2013-10-19 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
+
+ AX_TRY_RUN_JAVA and AX_TRY_COMPILE_JAVA: Don't delete unrelated files and folders during clean up.
+
+ AX_PROG_SCALA: find the path to and version of Scala
+
+ AX_FIND_SCALA_STDLIB: add support for finding the jar containing the Scala Standard Library
+
+2013-10-18 Peter Simons <simons@cryp.to>
+
+ AX_{SAVE,RESTORE,SWITCH}_FLAGS: re-instate the copyright notice for Stanford
+
+2013-10-06 Peter Simons <simons@cryp.to>
+
+ AX_{SAVE,RESTORE,SWITCH}_FLAGS: cosmetic changes to fix the texinfo pretty-printer
+
+2013-10-05 Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
+
+ Add more flags to AX_SAVE_FLAGS
+ Add more flags to save/restore
+
+2013-10-05 Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
+
+ Improve save/restore flags
+ Add generic list of flags to save/restore
+
+ Add a namespace prefix in order to nest save/restore
+
+2013-10-03 Peter Simons <simons@cryp.to>
+
+ Fix #serial number.
+
+2013-10-03 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
+
+ Add /usr/share/java to ax_xtra_classpath's search path.
+
+ Use AC_PROG_SED in stead of AC_CHECK_PROG(SED, sed)
+
+2013-10-03 Peter Simons <simons@cryp.to>
+
+ AX_FIND_JUNIT: fix #serial number
+
+ AX_FIND_HAMCREST: fix #serial number
+
+2013-10-03 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
+
+ Add support for detecting a Scala compiler
+
+ Add support for finding the jars of JUnit and Hamcrest.
+ If JUnit don't include its dependency Hamcrest it will look for it.
+
+ Fix spelling of "available".
+
+2013-10-03 Daniel Richard G <skunk@iSKUNK.ORG>
+
+ AX_PTHREAD: add support for Clang
+ Further details can be found at <http://savannah.gnu.org/patch/?8186>.
+
+2013-10-02 Peter Simons <simons@cryp.to>
+
+ Bump #serial number after recent changes.
+
+2013-09-29 Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
+
+ Correct a typo in ax_with_curses.m4
+ s/AX_MSG_ERROR/AC_MSG_ERROR/g
+
+2013-09-12 Peter Simons <simons@cryp.to>
+
+ AX_GCC_LIBRARIES_DIR: mark obsolete because it depends on the obsolete AX_GCC_OPTION macro
+
+ AX_GCC_VERSION: mark obsolete because it depends on the obsolete AX_GCC_OPTION macro
+
+2013-08-31 Arto Bendiken <arto@bendiken.net>
+
+ AX_PROG_JAVA_WORKS: add current directory to -classpath list
+ See <http://savannah.gnu.org/patch/?8171> for further details.
+
+2013-08-24 Daniel Casimiro <dan.casimiro@gmail.com>
+
+ Boost: add macros to detect Boost.Log and Boost.Coroutine
+
+2013-08-24 Peter Simons <simons@cryp.to>
+
+ AX_PROG_PERL_VERSION: fix detection of recent perl versions
+ Recent perl versions have parens around the version string. See
+ http://savannah.gnu.org/patch/?8144 for further details.
+
+2013-08-24 Kevin Cernekee <cernekee@gmail.com>
+
+ AX_JNI_INCLUDE_DIR: Try searching $JAVA_HOME first
+ JAVA_HOME is a standard way to indicate the path to the JDK. If it
+ isn't defined, fall back to the old $JAVAC method.
+
+ Also, if javac is already in the PATH, don't force the user to
+ explicitly set $JAVAC.
+
+2013-08-24 Kevin Cernekee <cernekee@gmail.com>
+
+ AX_JNI_INCLUDE_DIR: Use AC_CHECK_FILE for jni.h existence checks
+ Using AC_CHECK_FILE provides helpful diagnostic output to the user in
+ case the check fails:
+
+ checking for /foo/bar/jdk1.23/include/jni.h... no
+ checking for /foo/bar/include/jni.h... no
+ configure: error: cannot find JDK header files
+
+2013-08-24 Arto Bendiken <arto@bendiken.net>
+
+ AX_PROG_JAVAH: fix AC_CANONICAL_TARGET warnings
+ Further detail is available at <http://savannah.gnu.org/patch/?8168>.
+
+2013-07-16 Peter Simons <simons@cryp.to>
+
+ ax_cxx_namespaces.m4: avoid non-ASCII characters in comment section
+
+2013-07-16 Bastien Roucariès <roucaries.bastien+autoconf@gmail.com>
+
+ AX_CXX_NAMESPACES: prefer AC_COMPILE_IFELSE internally
+
+2013-07-06 Michael Petch <mpetch@capp-sysware.com>
+
+ AX_EXT: determine if the OS actually supports AVX
+ AX_EXT checks for different SIMD variants on a CPU. It checks for AVX, but
+ doesn't go far enough to actually be useful in some cases. It is possible to be
+ on a CPU with AVX support and the OS doesn't support it. We should be checking
+ that such support exists. This is via an additional check of cpuinfo's ECX
+ register bit 27. Then one needs to call xgetbv and if EAX&0b110 = 0b110 then
+ AVX is supported by the CPU and OS.
+
+ Further details are at <http://savannah.gnu.org/patch/?8084>.
+
+2013-07-05 Michael Petch <mpetch@capp-sysware.com>
+
+ AX_EXT, AX_GCC_ARCHFLAG: improve support for 64-bit FreeBSD
+
+2013-06-19 Andreas Schwab <schwab@linux-m68k.org>
+
+ AX_BOOST_BASE: add aarch64 to the list of lib64 architectures
+
+2013-06-12 Janne Blomqvist <blomqvist.janne@gmail.com>
+
+ AX_LIB_HDF5: fix typo
+ See <https://savannah.gnu.org/patch/?8069> for further details.
+
+2013-06-05 Peter Simons <simons@cryp.to>
+
+ AX_XSDCXX: minor cosmetic change
+
+2013-06-05 Andreas Oberritter <obi@saftware.de>
+
+ ax_prog_flex: change grep syntax to accept e.g. "flex.real" in case a wrapper or symlink is used.
+
+2013-06-05 Timothy Brown <tbrown@freeshell.org>
+
+ AX_LIB_HDF5: various updates
+ - Added variables HDF5_CC and HDF5_FC that one could use to override CC and FC.
+
+ - Added the variable HDF5_LIBS.
+
+ - Modified the test of H5CC to make sure it is a file, as a directory returns
+ true to "test -x" if it is searchable.
+
+ - Tried to combine all the tests to get CFLAGS, LDFLAGS etc to be more robust.
+
+ See <https://savannah.gnu.org/patch/?8026> for further details.
+
+2013-06-05 Laszlo Kajan <lkajan@rostlab.org>
+
+ AX_XSDCXX: find the CodeSynthesis XSD executable and headers
+
+2013-06-05 Daniel Müllner <muellner@math.stanford.edu>
+
+ AX_PYTHON_DEVEL: don't override LOCALMODLIBS
+ According to
+
+ https://lists.ubuntu.com/archives/ubuntu-devel/2010-March/030430.html
+
+ it is wrong to use LOCALMODLIBS in the flags.
+
+ See <http://savannah.gnu.org/patch/index.php?8065> for further details.
+
+2013-06-05 Sebastian Freundt <freundt@fresse.org>
+
+ AX_ZONEINFO: improve portability
+ This patch improves portability of ax_zoneinfo.m4 shell code. Backticks
+ are used instead of $(...) subshelling. Generated temporary files are
+ deleted after use. Quoting inside backtick assignments is done properly.
+ For convenience an AC_ARG_VAR is provided so users can set TZDIR on the
+ configure line.
+
+ Further details are at <http://savannah.gnu.org/patch/index.php?8029>.
+
+2013-04-20 Mike Frysinger <vapier@gentoo.org>
+
+ AX_ENABLE_DEFAULT_ACLOCALDIR: fix configure flag
+ The first arg to AC_ARG_ENABLE needs to omit the "enable"/"disable" part.
+ Otherwise the current code ends up using the flags:
+
+ --enable-enable-default-aclocaldir
+ --disable-enable-default-aclocaldir
+
+ Also convert to AS_HELP_STRING to keep the help string simple.
+
+2013-04-07 Peter Simons <simons@cryp.to>
+
+ AX_CHECK_GLUT: cosmetic markup fix for better HTML rendering
+
+ AX_CHECK_GLU: cosmetic markup fix for better HTML rendering
+
+2013-04-07 Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
+
+ Improve ax_check_glut
+ - Use modern construct
+ - test link/compile/headers
+ - add more comments
+
+ Fix a typo
+ replace _AX_CHECK_GL_SAVE_FLAGS by _AX_CHECK_GLU_SAVE_FLAGS
+
+ Simplify required macro by ax_check_glu.m4
+ ax_check_glu does not require information about c compiler.
+
+ Fix detection of gl by pkg-config
+ * fix detection by pkg-config and run when available
+ * fixe a typo s/GL_FLAG/GL_CFLAGS/g
+
+ Improve glu detection
+ * use pkg-config if available
+ * in all the case test tesselation callback
+ * do not try to run with c++ glu is implicitly a c lib
+
+ Improve ax_check_glu.m4
+ - remove obsolete text
+ - bump serial
+ - add myself under copyright
+ - use internal ax_sav_flags/ax_restore_flags
+
+ Partial revert "Dropped obsolete macros from the distribution."
+ This reverts commit 01738c00a51efab548b7270108d0ed8084a08ac7 particularly
+ m4/ax_check_glu.m4 and m4/ax_check_glut.m4.
+
+2013-04-05 Timothy Brown <tbrown@freeshell.org>
+
+ AX_LIB_SAMTOOLS: address review comments by Peter Johansson
+
+ AX_LIB_TABIX: address review comments by Peter Johansson
+
+2013-04-04 Daniel Mullner <muellner@math.stanford.edu>
+
+ AX_PYTHON_DEVEL: improve support for MacOS X
+
+2013-04-01 Roy Stogner <roystgnr@ices.utexas.edu>
+
+ AX_CXX_COMPILE_STDCXX_11: address review comments from Zack Weinberg
+
+2013-04-01 Peter Simons <simons@cryp.to>
+
+ AX_CHECK_GL: forgot to bump the serial number in my last commit
+
+ AX_CHECK_GL: avoid use of non-ASCII characters in the macro documentation
+
+2013-04-01 Hib Eris <hib@hiberis.nl>
+
+ Do not use AC_CANONICAL_SYSTEM in ax_prog_c{c,xx}_for_build.m4
+ AC_CANONICAL_SYSTEM requires AC_CANONICAL_TARGET which is bad
+ practice for packages that do not build compilers.
+
+ Using AC_CANONICAL_HOST performs only the subset of AC_CANONICAL_SYSTEM
+ relevant to the host type.
+
+2013-04-01 Bastien Roucariès <roucaries.bastien+autoconf@gmail.com>
+
+ AX_CHECK_GL: updated version of the formerly obsoleted macro
+
+2013-03-29 Timothy Brown <tbrown@freeshell.org>
+
+ AX_LIB_SAMTOOLS: initial version
+ See <http://savannah.gnu.org/patch/?7983> for further details.
+
+ AX_LIB_TABIX: initial version
+ See <http://savannah.gnu.org/patch/?7984> for further details.
+
+2013-03-29 Roy Stogner <roystgnr@ices.utexas.edu>
+
+ AX_CXX_COMPILE_STDCXX_11: test code now includes the "auto" keyword
+ Furthermore, the macro now uses AC_LANG_PUSH/POP rather than AC_LANG_ASSERT,
+ which makes it more robust to use.
+
+ An optional second argument makes it possible to test for C++11 and return the
+ result with an AC_DEFINE/AC_SUBST/AM_CONDITIONAL without erroring out if
+ support is not found.
+
+ This new version should be nearly backwards-compatible with the old; the
+ obvious exception being when compilers which implement a subset of C++11 not
+ including "auto" are used with codes for which that subset would have been
+ sufficient.
+
+ Further details can be found at <http://savannah.gnu.org/patch/?7985>.
+
+2013-03-29 Daniel Richard G <skunk@iSKUNK.ORG>
+
+ AX_PTHREAD: fix support for AIX
+ See <http://savannah.gnu.org/patch/?7973> for further details.
+
+2013-03-26 Daniel Mullner <muellner@math.stanford.edu>
+
+ AX_PYTHON_DEVEL: use distutils to detect proper suffix for shared libraries
+ See <https://savannah.gnu.org/patch/?7953> for further details.
+
+2013-03-26 Peter Simons <simons@cryp.to>
+
+ AX_BOOST_PYTHON: avoid non-ASCII character in macro documentation
+
+2013-03-25 Daniel Müllner <muellner@math.stanford.edu>
+
+ AX_BOOST_PYTHON: extend macro to work reliably with its default arguments
+ See <http://savannah.gnu.org/patch/?7980> for further details.
+
+ AX_BOOST_PYTHON: switch Python detection to AX_PYTHON_DEVEL
+ See <http://savannah.gnu.org/patch/?7979> for further details.
+
+2013-03-25 Peter Simons <simons@cryp.to>
+
+ AX_LIB_EXPAT don't overwrite $LIBS
+ Furthermore, linker flags are now returned in $EXPAT_LDFLAGS instead of
+ $EXPAT_LIBS. See <http://savannah.gnu.org/patch/?7968> for more details.
+
+2013-03-25 Daniel Müllner <muellner@math.stanford.edu>
+
+ AX_PYTHON: use "distutils" instead of "locate" to find Python header files
+ Further details are at <http://savannah.gnu.org/patch/?7966>.
+
+2013-03-25 Julian Taylor <jtaylor.debian@googlemail.com>
+
+ AX_PYTHON_DEVEL: add platform specific include directory to PYTHON_CPPFLAGS
+ required for ubuntu 13.04
+
+2013-03-25 Tsukasa Oi <li@livegrid.org>
+
+ AX_GCC_ARCHFLAG: fix wrong CPU detection
+ AX_GCC_X86_CPUID does not guarantee that result is always 4*8-digit.
+ This commit fixes CPU detection issue caused by the wrong assumption
+ by fixing case patterns.
+
+2013-03-23 Christophe Tournayre <turn3r@users.sourceforge.net>
+
+ AX_EXT: add support for AVX SIMD instructions
+
+2013-02-26 Peter Simons <simons@cryp.to>
+
+ AX_BOOST_ASIO: fix misspelled $BOOST_LDFLAGS variable
+ Further details are at <http://savannah.gnu.org/patch/index.php?7959>.
+
+2013-02-19 Daniel Müllner <muellner@math.stanford.edu>
+
+ AX_PYTHON_DEVEL: improve support on ArchLinux
+ See <http://savannah.gnu.org/patch/?7953> for further details.
+
+2013-02-17 Daniel Müllner <muellner@math.stanford.edu>
+
+ AX_PYTHON: make AX_PYTHON work on Arch Linux
+ See <http://savannah.gnu.org/patch/?7951> for further details.
+
+2013-02-10 Peter Simons <simons@cryp.to>
+
+ AX_LUA: re-format the macro's documentation so that the HTML and Texinfo renderer can deal with it
+
+2013-02-08 Reuben Thomas <rrt@sc3d.org>
+
+ ax_lua.m4: fix some English typos.
+
+2013-02-06 Reuben Thomas <rrt@sc3d.org>
+
+ ax_lua.m4: rewrite by Tim Perkins adding path searching and version checking.
+
+2013-02-06 Antoine Brodin <antoine@FreeBSD.org>
+
+ AX_JNI_INCLUDE_DIR: add support for FreeBSD
+ Further details can be found on the maintainers mailing list at:
+
+ http://lists.gnu.org/archive/html/autoconf-archive-maintainers/2013-02/msg00014.html
+
+2013-02-02 Peter Simons <simons@cryp.to>
+
+ AX_LIB_EV: strip trailing whitespace
+
+ AX_PTHREAD: improve support for AIX
+ See <http://savannah.gnu.org/patch/index.php?7911> for further details.
+
+2013-02-01 Misty De Meo <mistydemeo@gmail.com>
+
+ AX_BOOST_FILESYSTEM: adapt 2ec785001bc685dafcd792e49765dcbd2ae9bd38 to this macro
+ Use 'ls -r' rather than non-portable tool 'tac'.
+
+ Simplify filepattern in ls expression so dylib (on OSX) are also
+ detected.
+
+2013-02-01 Peter Simons <simons@cryp.to>
+
+ AX_LIB_EV: initial version
+ This macro checks for libev in a pkg-config-like manner. This is to unifty
+ behaviour between distros that come with libev.pc and systems (e.g. upstream)
+ that don't. See <http://savannah.gnu.org/patch/?7938> for further details.
+
+2013-01-04 Daniel Trebbien <dtrebbien@gmail.com>
+
+ AX_OPENMP: fix Mac OS X support
+ The macro was failing to detect the OpenMP flags for g++ on Mac OS 10.7 because
+ the AC_TRY_LINK test program was failing to link:
+
+ Undefined symbols for architecture x86_64:
+ "_gomp_thread_attr", referenced from:
+ _initialize_env in libgomp.a(env.o)
+ ld: symbol(s) not found for architecture x86_64
+ collect2: ld returned 1 exit status
+
+ As explained at [1], without resorting to a non-portable hack, the test program
+ needs to actually use an OMP pragma.
+
+ [1] http://stackoverflow.com/questions/8983038/linker-errors-after-enabling-openmp-on-mac
+
+2013-01-04 Thierry Reding <thierry.reding@avionic-design.de>
+
+ AX_PROG_CXX_FOR_BUILD: Initial version
+ Add an AX_PROG_CXX_FOR_BUILD macro based on AX_PROG_CC_FOR_BUILD that
+ tries to detect the C++ compiler to use for the build host when cross-
+ compiling.
+
+2013-01-04 Thierry Reding <thierry.reding@avionic-design.de>
+
+ Unbreak AX_PROG_CC_FOR_BUILD
+ Instead of pushing the cross_compiling and ac_tool_prefix definitions,
+ override them by assignment. Pushing the definition will cause the
+ variable names to be replaced instead of the content.
+
+ While at it, remove the AC_TRY_COMPILER redefinition as it was removed
+ in autoconf 2.50. Also push LDFLAGS to prevent flags specific to the
+ host tools from leaking into the build tools. Furthermore, consistently
+ pop definitions in the reverse order than they were pushed.
+
+2013-01-04 Peter Simons <simons@cryp.to>
+
+ AX_PYTHON: bump serial number and document changes in NEWS file
+
+2013-01-04 Gilles Espinasse <g.esp@free.fr>
+
+ Add code for testing more recent python versions
+
+2013-01-04 Gilles Espinasse <g.esp@free.fr>
+
+ Fix python detection
+
+ I saw that on libnl-3.2.12
+ checking for python build information...
+ checking for python2.6... python2.6
+ checking for main in -lpython2.6... yes
+ checking python2.6/Python.h usability... yes
+ checking python2.6/Python.h presence... yes
+ checking for python2.6/Python.h... yes
+ ./configure: line 12065: test: !=: unary operator expected
+ checking for python2.5... (cached) python2.6
+ checking for main in -lpython2.6... (cached) yes
+ checking for python2.6/Python.h... (cached) yes
+ ./configure: line 12065: test: !=: unary operator expected
+ checking for python2.4... (cached) python2.6
+ checking for main in -lpython2.6... (cached) yes
+ checking for python2.6/Python.h... (cached) yes
+ ./configure: line 12065: test: !=: unary operator expected
+ checking for python2.3... (cached) python2.6
+ checking for main in -lpython2.6... (cached) yes
+ checking for python2.6/Python.h... (cached) yes
+ ./configure: line 12065: test: !=: unary operator expected
+ checking for python2.2... (cached) python2.6
+ checking for main in -lpython2.6... (cached) yes
+ checking for python2.6/Python.h... (cached) yes
+ ./configure: line 12065: test: !=: unary operator expected
+ checking for python2.1... (cached) python2.6
+ checking for main in -lpython2.6... (cached) yes
+ checking for python2.6/Python.h... (cached) yes
+ ./configure: line 12065: test: !=: unary operator expected
+ checking for python... (cached) python2.6
+ checking for main in -lpython2.6... (cached) yes
+ checking for python2.6/Python.h... (cached) yes
+ ./configure: line 12065: test: !=: unary operator expected
+ results of the Python check:
+ Binary: python2.6
+ Library: python2.6
+ Include Dir: no
+
+2012-11-14 Peter Simons <simons@cryp.to>
+
+ Update version numbers for the upcoming release.
+
+2012-10-28 Reuben Thomas <rrt@sc3d.org>
+
+ ax_lua.m4: major update
+ AX_LUA_VERSION is removed (use AX_PROG_LUA instead)
+
+ AX_PROG_LUA now takes version numbers in the form output by the Lua
+ interpreter, and uses AX_COMPARE_VERSION (AX_LUA_HEADERS_VERSION
+ continues to take the form used in the headers).
+
+ Use just one style of testing empty strings consistently.
+
+ Put the macros in the source in the same order as in the
+ documentation, which is a more logical order.
+
+ Bump the serial number to 17.
+
+2012-10-27 Peter Simons <simons@cryp.to>
+
+ Alan W. Irwin doesn't want to receive e-mail concerning the macros he submitted a long time ago.
+
+ Andrew Collier's e-mail address has become invalid.
+
+2012-10-11 Peter Simons <simons@cryp.to>
+
+ AX_COUNT_CPUS: improve style and clean-up use of AS_IF
+ See <http://savannah.gnu.org/patch/?7860> for further details.
+
+2012-09-30 Peter Simons <simons@cryp.to>
+
+ Update NEWS file and bump #serial numbers after recent changes.
+
+2012-09-30 Peter Johansson <trojkan@gmail.com>
+
+ Use 'ls -r' in order to try newer version before older ones. Simplify ls pattern so also dylibs are detected.
+
+ Use 'ls -r' rather than non-portable tool 'tac'. Simplify filepattern in ls expression so dylib (on OSX) are also detected.
+
+2012-09-07 Christopher Gilbreth <cngilbreth@gmail.com>
+
+ AX_BLAS: improve the detection of the Intel Math Kernel Library (MKL)
+ New versions of the MKL cannot be linked with "-lmkl -lguide -lpthread", but
+ instead require variations on "-lmkl_intel_lp64 -lmkl_sequential -lmkl_core
+ -lpthread",depending on architecture, compiler & other variables. See
+ <http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/>.
+
+ The present patch detects the architecture (x86_64 or i686) and compiler
+ (gfortran or others), but not the interface layer (assumes lp64 for x86_64),
+ threading (assumes sequential), static vs. dynamic (assumes dynamic), etc.
+
+ Tested on a number of different systems using gfortran and ifort.
+
+ See <http://savannah.gnu.org/patch/?7807> for further details.
+
+2012-09-07 Leo Davis <ldavis@speechfxinc.com>
+
+ AX_CHECK_CLASS did not use the `uudecode' found by AX_PROG_JAVA_WORKS.
+ See <http://savannah.gnu.org/patch/?7835> for further details.
+
+ AX_PROG_JAVA_WORKS would never find a 'uudecode' that could decode base64, even if one was on the path.
+ See <http://savannah.gnu.org/patch/?7835> for further details.
+
+ AX_PROG_JAVA had old macro name documentation.
+ See <http://savannah.gnu.org/patch/?7835> for further details.
+
+ AX_TRY_RUN_JAVA had old macro name documentation and was missing an AU_ALIAS. I renamed the .m4 file to match the documented macro name.
+ See <http://savannah.gnu.org/patch/?7835> for further details.
+
+ AX_INCLUDE_STRCASECMP: initial version
+ The macro detects which header file defines the strcasecmp() function.
+ See <http://savannah.gnu.org/patch/?7836> for further details.
+
+2012-09-07 Peter Simons <simons@cryp.to>
+
+ AX_LIB_ORACLE_OCCI: initial version
+ The macro detects the availability of the Oracle OCCI API of particular version
+ or newer. Further details can be found at <http://savannah.gnu.org/patch/?7834>.
+
+ AX_CHECK_POSTGRES_DB: version bump and cosmetic
+
+2012-09-07 Olivier Mehani <olivier.mehani@nicta.com.au>
+
+ Add -Idir to CPPFLAGS rather than CFLAGS
+
+2012-09-07 Olivier Mehani <olivier.mehani@nicta.com.au>
+
+ Substantial rewrite of AX_CHECK_POSTGRES_DB.
+ It still behaves the same by default, AC_DEFINing HAVE_LIBPQ and setting
+ variables PQINCPATH and PQLIBPATH, while erroring when either header or
+ library is found in the default or specified paths.
+
+ The logic is however different, where the specified prefixes and/or
+ incdir and libdir are temporarily added to CFLAGS and LDFLAGS. The
+ normal detection logic (AC_CHECK_HEADER and AC_CHECK_LIB) is used next,
+ only, and once.
+
+ In addition, two optional arguments to the macro, ACTION-IF-FOUND and
+ ACTION-IF-NOT-FOUND are now available to extend the logic. The default
+ ACTION-IF-FOUND is to do nothing (apart from defining the variables and
+ substitutions, which is always done). The default ACTION-IF-NOT-FOUND is
+ to error out; it is replaced by the ACTION-IF-NOT-FOUND if specified
+ to, e.g., gracefully remove configure PGSQL out when it's only optional.
+
+ Bump serial from 5 to 6.
+
+2012-09-07 Olivier Mehani <olivier.mehani@nicta.com.au>
+
+ Use AS_HELP_STRING in ax_check_postgres_db.m4
+
+2012-09-07 Tudor Bosman <tudorb@gmail.com>
+
+ AX_CXX_RVALUE_REFERENCES: initial version
+ See <http://savannah.gnu.org/patch/?7833> for further details.
+
+2012-09-07 Peter Simons <simons@cryp.to>
+
+ AX_BLAS: add support for the (free-software, BSD-licensed) OpenBLAS library, a descendant of GotoBLAS (http://xianyi.github.com/OpenBLAS/).
+ See <http://savannah.gnu.org/patch/?7828> for further details.
+
+2012-07-31 Peter Johansson <trojkan@gmail.com>
+
+ AX_CHECK_ZLIB: Fix typo. Assign LDFLAGS correctly in action-if-found.
+
+2012-07-22 John Stumpo <stump@jstump.com>
+
+ AX_CC_MAXOPT: use $enableval, not $withval, in AC_ARG_ENABLE call
+
+2012-07-22 Diego Elio Pettenò <flameeyes@flameeyes.eu>
+
+ AX_BOOST_SYSTEM, AX_BOOST_FILESYSTEM: inverse the order of search for libraries
+ With the original macros, the oldest versioned library is used, but
+ for most distribution this is detrimental, as the old versions are
+ kept for compatibility, and not to be linked against. By using tac we
+ reverse the order of the libraries, preferring an unversioned one
+ (usually the latest available on the system), and then proceeding in
+ descending order.
+
+ Together with this, also try to simplify the sed syntax. It's of note
+ that even though tac might not be very portable, the sed syntax used
+ is also not so portable, so it might be worth working this around in a
+ different way.
+
+2012-07-22 Sebastian Freundt <freundt@fresse.org>
+
+ AX_ZONEINFO: find compiled zoneinfo files
+ See <http://savannah.gnu.org/patch/index.php?7814> for further details.
+
+2012-07-22 Peter Johansson <trojkan@gmail.com>
+
+ AX_CHECK_ZLIB: cosmetic indentation fix
+ Adding some quoting and replacing "test x -a y" with more portable
+ "test x && test y".
+
+ AX_CHECK_ZLIB: change the behavior so macro proceeds to compile and link tests even if zlib.h was not found in the "usual locations". If end-user has provided CPPFLAGS and LDFLAGS as needed for compilation/linking to succeed, there is no reason to error out.
+
+ AX_CHECK_ZLIB: fix help output so it is inline with other macros that uses AS_HELP_STRING.
+
+ AX_CHECK_ZLIB: extend the interface to the typical ([action-if-found], [action-if-not-found])-style, so user can define how macro should behave when macro is successful or failed. If not provided the macro will behave as previously. I also clarified in DESCRIPTION what this behaviour is.
+
+ AX_CHECK_ZLIB: the current version only looks for zlib if --with-zlib was provided [by user]. This patch changes that so the search and test are also performed in default mode.
+
+2012-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ AC_REQUIRE AX_APPEND_FLAG when appropriate.
+ A bunch of m4 files use AX_APPEND_FLAG, but don't AC_REQUIRE, which
+ can lead to runtime errors instead of compile time errors when the
+ macro is missing.
+
+2012-06-16 Gabriele Svelto <gabriele.svelto@gmail.com>
+
+ Replace the obsolete AC_FD_CC macro with AS_MESSAGE_LOG_FD.
+ See <http://savannah.gnu.org/patch/?7793> for further details.
+
+2012-06-15 Olivier Mehani <olivier.mehani@nicta.com.au>
+
+ AX_PROG_RUBY_VERSION: updated documentation
+ Replace mention of deprecated AX_WITH_RUBY with example use of AX_WITH_PROG.
+
+2012-06-15 Daniel Richard G <skunk@iSKUNK.ORG>
+
+ AX_PRINTF_SIZE_T: initial version
+ See <http://savannah.gnu.org/patch/?7787> for further details.
+
+2012-05-09 Sebastian Hegler <sebastian.hegler@tu-dresden.de>
+
+ AX_LIB_CGAL_CORE: fixed "no AC_LANG_SOURCE call detected in body" warning
+
+2012-05-09 Fernando Mut <fermut@gmail.com>
+
+ AX_BLAS: added the libraries "-lguide -lpthread" for the Intel MKL library test
+ These two libraries are needed to avoid unresolved symbols.
+
+ See <http://savannah.gnu.org/patch/?7770> for further details.
+
+2012-04-24 Sebastian Hegler <sebastian.hegler@tu-dresden.de>
+
+ AX_BOOST_SERIALIZATION: add support for MacOS/BSD sed
+ Further details can be found at <http://savannah.gnu.org/patch/?7768>.
+
+2012-04-04 Zack Weinberg <zackw@panix.com>
+
+ AX_CXX_COMPILE_STDCXX_11: new submission
+ This is a revised version of AX_CXX_COMPILE_STDCXX_0X. The major changes
+ are:
+
+ - Automatically sets CXXFLAGS to enable support for C++11, and errors out if
+ no C++11 mode can be found. (Note: currently only supports GCC-style -std=
+ switches.) Does not define any preprocessor macros.
+
+ - Support for other compilers' mode switches will be much easier to add.
+
+ - Can be instructed to avoid using C++11-with-extensions compilation modes, or
+ C++11-without-extensions modes, as appropriate.
+
+ - Autoupdate clean.
+
+ - Better AC_MSG_CHECKING messages.
+
+ - Consistently refers to C++11 rather than C++0x.
+
+ See <http://savannah.gnu.org/patch/?7734> for further details.
+
+2012-04-04 Zack Weinberg <zackw@panix.com>
+
+ AX_CXX_DELETE_METHOD: check whether the C++11 '= delete' syntax is supported
+ Further details are at <https://savannah.gnu.org/patch/?7735>.
+
+2012-04-04 Xiyue Deng <manphiz@gmail.com>
+
+ AX_BOOST_LOCALE: new submission
+ See <http://savannah.gnu.org/patch/?7743> for further details.
+
+2012-04-04 Peter Simons <simons@cryp.to>
+
+ AX_BOOST_PYTHON: use consistent word-wrapping in documentation
+
+ AX_BOOST_*: bumped serial numbers
+
+2012-04-04 Xiyue Deng <manphiz@gmail.com>
+
+ AX_BOOST_CHRONO: new submission
+ See <http://savannah.gnu.org/patch/?7721> for further details.
+
+ AX_BOOST_*: fixed detection of dynamic libraries on Mac OS X (*.dylib)
+ See <http://savannah.gnu.org/patch/?7719> for further details.
+
+2012-04-04 Anders Kaseorg <andersk@mit.edu>
+
+ AX_CHECK_LIBRARY: do not use m4_ifnblank
+ m4_ifnblank requires autoconf 2.64, and doesn’t seem necessary here.
+
+2012-04-04 Markus Elfring <Markus.Elfring@web.de>
+
+ AX_PTHREAD: deletion of unreferenced variable "host_cpu"
+ The CPU did not play a role in the current setting adjustments by this script.
+ The variable "host_cpu" was therefore deleted and the corresponding pattern
+ selection was a bit simplified.
+
+2012-02-04 Tsukasa Oi <li@livegrid.org>
+
+ AX_GCC_ARCHFLAG: add new Intel/AMD CPU support
+
+2012-02-03 Reuben Thomas <rrt@sc3d.org>
+
+ Update example .h code to match gnulib style rules (no useless parens).
+
+2012-01-30 Reuben Thomas <rrt@sc3d.org>
+
+ m4/ax_lua.m4: test lua_load instead of lua_call in AX_LUA_LIBS, to work with Lua 5.2.
+
+2012-01-10 Christoph Junghans <junghans@mpip-mainz.mpg.de>
+
+ AX_COUNT_CPUS: fixed endless recursion bug
+ See <http://savannah.gnu.org/patch/?7697> for further details.
+
+2011-12-02 Stephan Sürken <absurd@olurdix.de>
+
+ AX_BERKELEY_DB_CXX: Add 'AC_LANG_ASSERT(C++)' (as suggested by Amir Taaki, thanks!).
+ This will basically improve the error reporting when the macro is called
+ without LANG=C++; is also suggested in autoconf documentation (see:
+ http://www.gnu.org/s/hello/manual/autoconf/Language-Choice.html).
+
+2011-11-22 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+ Fix inadvertent breakage from commit cfea4ee52f7
+
+2011-11-21 Peter Simons <simons@cryp.to>
+
+ AX_PTHREAD: added missing -mt option for Oracle/Sun CC on Solaris
+ Further details are available at <http://savannah.gnu.org/patch/?7666>.
+
+2011-11-21 Michael Terry <michael.terry@canonical.com>
+
+ AX_BOOST_PYTHON: fixed under-quoted use of $CPPFLAGS
+ See <http://savannah.gnu.org/patch/?7673> for further details.
+
+2011-11-21 Jonathan Wakely <zilla@kayari.org>
+
+ AX_CXX_HEADER_STDCXX_0X: updated the list of headers required by C++11 (the standard formerly known as C++0x)
+ Further details are available at <http://savannah.gnu.org/patch/index.php?7664>.
+
+2011-11-21 Peter Simons <simons@cryp.to>
+
+ AX_WITH_CURSES: fixed broken AS_IF() test that prevented $CURSES_LIB from being used
+ See <http://savannah.gnu.org/patch/index.php?7651> for further details.
+
+2011-10-22 Peter Simons <simons@cryp.to>
+
+ AX_EXT: fixed compiler tests and added support for detection of SSE4.1, SSE4.2, AVX extensions
+ See <http://savannah.gnu.org/patch/?7633> for further details.
+
+2011-10-22 Mateusz Loskot <mateusz@loskot.net>
+
+ AX_LIB_GDAL: new submission
+ This macro provides tests for the availability of the GDAL/OGR library.
+ Further details are available at <http://savannah.gnu.org/patch/?7639>.
+
+2011-09-26 Peter Simons <simons@cryp.to>
+
+ AX_LIB_SQLITE3: replace C++-style commend with C-style to improve portability
+ See <http://savannah.gnu.org/patch/?7623> for further details.
+
+2011-09-25 Peter Simons <simons@cryp.to>
+
+ AX_ENABLE_BUILDDIR: fixed Darwin support
+ Further details are available at <http://savannah.gnu.org/patch/?7619>.
+
+2011-09-19 Peter Simons <simons@cryp.to>
+
+ Dropped obsolete macros from the distribution.
+
+2011-09-17 Peter Simons <simons@cryp.to>
+
+ AX_LIB_MYSQLCPPCONN: test for the MySQL Connector/C++ libraries
+
+ AX_LIB_TRACE: test for the libtrace libraries
+
+ AX_DEFINE_DIR: cosmetic changes to wrap-wrapping
+
+2011-09-16 Reuben Thomas <rrt@sc3d.org>
+
+ AX_DEFINE_DIR: Obsolete: it doesn't comply with the GCS.
+
+2011-09-06 Reuben Thomas <rrt@sc3d.org>
+
+ AX_FUNC_FORK: Not actually useful. Use AX_CHECK_FUNC(fork) instead.
+
+ AX_SNPRINTF_OFLOW: Make obsolete, in favour of gnulib's snprintf module.
+
+2011-09-05 Aaron Griffith <aargri@gmail.com>
+
+ AX_PROG_DOXYGEN: cleaned up use of AM_CONDITIONAL
+ Previously, calls to AM_CONDITIONAL were inside shell flow control
+ structures. The automake manual notes that running AM_CONDITIONAL
+ conditionally will confuse automake. In this case, later use of the
+ AM_COND_IF to check if Doxygen was found would result in the
+ conditional appearing to be false, even if it's not.
+
+ http://www.gnu.org/s/hello/manual/automake/Usage-of-Conditionals.html
+
+2011-09-03 Reuben Thomas <rrt@sc3d.org>
+
+ Tidy up assignment to lua_min_version and lua_max_version.
+ Fix error messages to always use the above vars, not the original
+ parameters passed to the macros.
+
+2011-08-29 Peter Simons <simons@cryp.to>
+
+ AX_LIB_SQLITE3: bumped serial number
+
+ AX_LIB_SQLITE3: find the library with the C compiler
+
+2011-08-24 Peter Simons <simons@cryp.to>
+
+ AX_CHECK_{GL,GLU,GLUT}: these macro are no longer maintained here; marked obsolete
+
+ AX_CHECK_SUNPRO_C: cosmetic, no functional change
+
+ AX_LANG_COMPILER_MS: cosmetic, no functional change
+
+2011-08-23 Yusuke Tsutsumi <tsutsumi.yusuke@gmail.com>
+
+ AX_CHECK_MYSQL: re-factoring and several bug fixes
+
+2011-08-14 Stanislav Sedov <stas@FreeBSD.org>
+
+ AX_RUBY_EXT: initial version
+
+ AX_PERL_EXT: initial version
+
+2011-08-02 Chun-Chung Chen <cjj@u.washington.edu>
+
+ AX_PTHREAD: fixed mis-placed brackets
+
+2011-08-01 Chun-Chung Chen <cjj@u.washington.edu>
+
+ AX_LIB_HDF5: HAVE_HDF5 was defined even when the library is not detected
+ The following codes are executed unless --without-hdf5 is used, even
+ when the HDF5 library is not installed or detected:
+
+ AC_SUBST([HDF5_VERSION])
+ AC_SUBST([HDF5_CFLAGS])
+ AC_SUBST([HDF5_CPPFLAGS])
+ AC_SUBST([HDF5_LDFLAGS])
+ AC_SUBST([HDF5_FFLAGS])
+ AC_SUBST([HDF5_FLIBS])
+ AC_DEFINE([HAVE_HDF5], [1], [Defined if you have HDF5 support])
+
+ To remedy the situation, these have been moved into the conditional
+ block where HDF5 is actually detected.
+
+2011-08-01 Chun-Chung Chen <cjj@u.washington.edu>
+
+ AX_PTHREAD: fixed Autoconf warnings about underquoted arguments
+
+2011-07-30 Peter Simons <simons@cryp.to>
+
+ AX_GCC_INSTALL_DIR, AX_GCC_LIBRARIES_DIR, AX_GCC_VERSION, and AX_GXX_VERSION are non-functional and have been marked obsolete, because they depend on the obsolete AX_GCC_OPTION macro, which has been removed from the archive.
+
+2011-07-28 John Zaitseff <J.Zaitseff@zap.org.au>
+
+ AX_WITH_CURSES: major re-write
+ I re-wrote the AX_WITH_CURSES macro, and added the macros AX_WITH_CURSES_PANEL,
+ AX_WITH_CURSES_MENU, and AX_WITH_CURSES_FORM for the following reasons:
+
+ - The checks are far more rigorous and now work with many more systems. In
+ particular, Debian Sid, Debian 6.0 (Squeeze), Ubuntu 11.04 (Natty), Ubuntu
+ 10.04 (Lucid), Fedora 15, FreeBSD 8.2 and Cygwin have all been confirmed as
+ working.
+
+ - The old version required Ncurses to be present even when linking with
+ NcursesW. This has been fixed.
+
+ - Multiple header filenames are checked for each library as these seem to be
+ different in every system. The old version did not do these checks and hence
+ failed on many systems (eg, FreeBSD and Cygwin).
+
+ - A number of feature checks have been added: X/Open Enhanced functionality
+ checks, colour function checks, obsolete function checks, etc.
+
+ - The additional macros check for auxiliary libraries associated with Curses:
+ Panel, Menu and Form, again with checks against NcursesW, Ncurses and plain
+ Curses.
+
+ - Extensive documentation has been added, particularly useful for the beginner
+ (ie, exactly what needs to be put where for a working Curses check).
+
+2011-07-17 Peter Simons <simons@cryp.to>
+
+ Fixed minor spelling errors detected by gnulib's QA module.
+
+ AX_BOOST_FILESYSTEM: fixed cut-and-paste error
+ See <http://savannah.gnu.org/patch/?7576> for further details.
+
+2011-07-08 Peter Simons <simons@cryp.to>
+
+ Updated serial numbers, and re-formatted the macro to be consistent with the rest of the archive.
+
+2011-07-02 Maarten Bosmans <mkbosmans@gmail.com>
+
+ ax_cflags_*: Use AX_APPEND_FLAG macro
+
+ Use one implementation for C/C++ in ax_cflags_*.m4
+
+ AX_COMPILER_VENDOR: Make the list of vendors and corresponding symbols clearer
+ Also deprecate the macros AX_CHECK_SUNPRO_C and AX_LANG_COMPILER_MS in favor
+ of the more generic AX_COMPILER_VENDOR.
+
+ ax_append_flag: Split file into one macro per file
+
+2011-06-30 Nick Bowler <nbowler@elliptictech.com>
+
+ ax_check_openssl: Fix underquoted macro arguments.
+ Several of the macros used in AX_CHECK_OPENSSL have underquoted
+ arguments. In particular, autoconf complains loudly about the
+ unquoted AC_LANG_PROGRAM argument to AC_LINK_IFELSE:
+
+ configure.ac:10: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
+ ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
+ ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
+ ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
+ m4/ax_check_openssl.m4:38: AX_CHECK_OPENSSL is expanded from...
+ configure.ac:10: the top level
+
+ Fix that up, and fix up the others while we're at it.
+
+2011-06-28 Anders Kaseorg <andersk@mit.edu>
+
+ AX_CHECK_FLAG: Fix to work with autoconf 2.59
+ • AS_VAR_PUSHDEF([FLAGS], [something containing FLAGS]) caused an
+ infinite loop before v2.65~21.
+ • AS_VAR_APPEND was new in v2.63b~224.
+ • AS_VAR_IF was new in v2.63~27.
+ • AS_ECHO was new in AUTOCONF-2.61a~45, and AC_PROG_GREP in
+ AUTOCONF-2.59c~744, but their use here is more idiomatically
+ replaced with a case pattern anyway.
+ • Before AUTOCONF-2.60b~8, the variable name passed to AC_CACHE_CHECK,
+ AS_VAR_GET, AS_VAR_SET, and AS_VAR_SET_IF must be left unquoted.
+
+2011-06-25 Peter Simons <simons@cryp.to>
+
+ AX_CFLAGS_GCC_OPTION: deprecated in favor of AX_CHECK_COMPILE_FLAG
+
+ Added a proper 'obsolete' section to AX_C_CHECK_FLAG, AX_CHECK_LINKER_FLAGS, AX_CPP_CHECK_FLAG, AX_CXX_CHECK_FLAG, AX_CXXCPP_CHECK_FLAG, and AX_LD_CHECK_FLAG.
+
+ Bumped serial numbers of AX_CFLAGS_*_OPTION, AX_CHECK_{COMPILER,LINKER}_FLAGS, and edited the formatting of the documentation for consistency. Also documented the recent changes in the NEWS file.
+
+2011-06-25 Maarten Bosmans <mkbosmans@gmail.com>
+
+ Implement AX_*_CHECK_FLAG on top of ax_check_flag.m4 macros
+ The PROLOGUE and BODY arguments were almost never used, so there's no need to
+ keep them. Just emit a warning if they are nonempty.
+
+ Implement AX_CHECK_*_FLAGS on top of ax_check_flag.m4 macros
+ The implementation takes care to empty the CFLAGS, to mimic previous behaviour,
+ but the new behaviour of AX_CHECK_COMPILE_FLAG should be better for most situations.
+
+ ax_cflags_*_option.m4: Use AX_APPEND_FLAG macro to append the flag
+
+ ax_cflags_*_option.m4: Use AX_CHECK_COMPILE_FLAG macro to do most of the work
+ This gets rid of the for loop and the string splitting using sed. For
+ gcc_option the logic is now contained in a much easier to follow if statement.
+
+ Add ax_check_flag.m4
+
+ ax_cflags_*_option.m4: Consolidate CFLAGS and CXXFLAGS macros
+ Combine duplicate AX_CFLAGS_ and AX_CXXFLAGS_ macros into one AX_FLAGS macro and
+ change language in the language_specific macro.
+
+ ax_cflags_*_option.m4: Consolidate _OLD and _NEW macros
+ Combine duplicate _OLD and _NEW macros into one _PRIVATE macro and switch
+ arguments in the main macro.
+
+2011-06-21 Maarten Bosmans <mkbosmans@gmail.com>
+
+ AX_PTHREAD: define HAVE_PTHREAD_PRIO_INHERIT if PTHREAD_PRIO_INHERIT is set at compile-time
+
+2011-06-21 Peter Simons <simons@cryp.to>
+
+ AX_WITH_RUBY: dropped obsolete macro
+
+ AX_WITH_PYTHON: dropped obsolete macro
+
+ AX_WITH_PERL: dropped obsolete macro
+
+ AX_WITH_GUILE: dropped obsolete macro
+
+ AX_GCC_OPTION: dropped obsolete macro
+
+ AX_C_PRINTF_THSEP: dropped obsolete macro
+
+ AX_C_IFDEF: dropped obsolete macro
+
+ AX_CFLAGS_WARN_ALL_ANSI: dropped obsolete macro
+
+2011-06-15 Michael Hofmann <michael.hofmann@informatik.tu-chemnitz.de>
+
+ Bugfix in MPI Fortran macros for fixed form code.
+
+2011-06-15 Yusuke Tsutsumi <tsutsumi.yusuke@gmail.com>
+
+ AX_CHECK_MYSQL: new submission
+ I am submitting an Autoconf Macro I've been developing for the past
+ couple months - ax_check_mysql.m4. I'm aware that multiple other MySQL
+ macros exist, but mine is specifically geared toward MySQL plugin
+ development and installation. Specifically:
+
+ - Automatically Detects binary, include, and plugin directories for most
+ typical MySQL installations.
+
+ - Provides methods for one to designate the directories manually, or point to
+ a root directory containing a MySQL installation.
+
+ See <http://savannah.gnu.org/patch/?7553> for further details.
+
+2011-06-15 Maarten Bosmans <mkbosmans@gmail.com>
+
+ AX_PTHREAD: add check for PTHREAD_PRIO_INHERIT
+ See <http://savannah.gnu.org/patch/?7552> for further details.
+
+2011-06-15 Maarten Bosmans <mkbosmans@gmail.com>
+
+ AX_CHECK_DEFINE: various bug fixes
+ - Change macro names to CHECK_DEFINE and alias the old name CHECK_DEFINED.
+ This makes the names in sync with the help comments on top.
+
+ - Update obsolete AC_TRY_COMPILE to AC_COMPILE_IFELSE.
+
+ - Include header name in cache value and in output message.
+
+ - Switch #ifndef to #ifdef. That macro could not have worked previously.
+
+ See <http://savannah.gnu.org/patch/?7551> for further details.
+
+2011-06-15 Olaf Lenz <olenz@icp.uni-stuttgart.de>
+
+ AX_PROG_{CC,CXX,FC}_MPI: new submissions
+ The new macros AX_PROG_CC_MPI, AX_PROG_CXX_MPI, AX_PROG_F77_MPI, and AX_PROG_FC_MPI
+ address several shortcomings found in AX_MPI. Further details can be found at
+ <http://lists.gnu.org/archive/html/autoconf-archive-maintainers/2011-05/msg00004.html>,
+ <http://lists.gnu.org/archive/html/autoconf-archive-maintainers/2011-06/msg00003.html>.
+
+2011-06-15 Reuben Thomas <rrt@sc3d.org>
+
+ Fix trivial comment typo.
+
+2011-05-09 Andreas Röver <andreas_roever@web.de>
+
+ AX_BOOST_THREAD: fixes two bugs that prevented cross-compilation for Windows on Unix
+ - In the OS selection switches, where the special cases for mingw are
+ selected, it says ming32 but should be mingw32.
+
+ - Those switches are supposed to be dependent on the os you compile for but
+ the switch uses the build_os variable.
+
+2011-04-29 Daniel Richard G <skunk@iSKUNK.ORG>
+
+ AX_VAR_TIMEZONE_EXTERNALS: updated for Autoconf 2.68
+
+ AX_FUNC_WHICH_GETHOSTBYNAME_R: updated for Autoconf 2.68
+
+ AX_PTHREAD: updated for Autoconf 2.68
+
+2011-04-06 Philipp Thomas <pth@suse.de>
+
+ AX_HAVE_QT: fixed Autoconf warning
+ See <http://savannah.gnu.org/patch/index.php?7511> for further details.
+
+2011-04-01 Peter Simons <simons@cryp.to>
+
+ AX_HAVE_QT: use AS_HELP_STRING
+ See <http://savannah.gnu.org/patch/index.php?7510> for further details.
+
+ AX_HAVE_QT: remove spurious semicolon
+
+2011-04-01 Peter Simons <simons@cryp.to>
+
+ AX_HAVE_QT: libraries come last, not first
+ The linker call in ax_have_qt.m4 names libraries before the objects.
+ This will fail when --as-needed is in effect. This patch moves the
+ libraries to the end of the command line.
+
+ See <http://savannah.gnu.org/patch/?7514> for further details.
+
+2011-03-29 Reuben Thomas <rrt@sc3d.org>
+
+ Get Lua interpreter version in a more robust way (works with LuaJIT).
+
+2011-03-25 Reuben Thomas <rrt@sc3d.org>
+
+ Don't use -a or -o argument to test in ax_lua.m4.
+
+ Add missing letter in comment.
+
+2011-03-17 Peter Simons <simons@cryp.to>
+
+ AX_PATH_GENERIC has been extended to allow setting LIBRARY_LIBS and LIBRARY_CFLAGS variables on configure command line or in the environment to override the normal values returned by `library-config --libs` and `--cflags` respectively. See <http://savannah.gnu.org/patch/?7490> for further details.
+
+ AX_LIB_EXPAT: store found library in EXPAT_LIBS instead if EXPAT_LDFLAGS
+ This change is necessary to avoid build failures when linking with --as-needed.
+ See <http://savannah.gnu.org/patch/?7489> for further details.
+
+ AX_WITH_PROG, AX_WITH_CURSES: synchronize serial numbers with Git
+
+ AX_WITH_PROG, AX_WITH_CURSES: pseudo-bump #serial number
+ These macros have serial numbers greater than the number of commits that
+ modified them. Since we cannot decrease serial numbers once they've been
+ assigned, the macros need two (effectively empty) commits to synchronize
+ their serial number with Git.
+
+2011-03-17 Murray Cumming <murrayc@murrayc.com>
+
+ AX_PKG_SWIG: fix the configure check so it can find swig 2 as swig2.0
+ Ubuntu Maverick and Ubuntu Natty install swig 2 as /usr/bin/swig2.0
+ because they do not yet want to upgrade their normal swig package. This
+ lets our macro find that too.
+
+2011-03-13 Reuben Thomas <rrt@sc3d.org>
+
+ Use && not -a in tests.
+
+ Quote first argument of AC_DEFINE.
+
+2011-03-01 Henrik Uhrenholt <henrik.uhrenholt.gpl@gmail.com>
+
+ AX_PROG_SPLINT: various improvements
+ * Added splint URL
+ * Added AC_REQUIRE([AX_ADD_AM_MACRO_STATIC])
+ * Added support for running splint on LTLIBRARIES
+
+2011-02-27 Peter Simons <simons@cryp.to>
+
+ AX_LUA: normalize formatting of the documentation
+
+2011-02-26 Reuben Thomas <rrt@sc3d.org>
+
+ Add AX_PROG_LUA macro, and improve behaviour of single version number given to mean “exactly this version” rather than “this verison or greater”.
+
+ Add Lua 5.2 support (trivial!).
+ Remove --with-lua-prefix (use CPPFLAGS &c. instead).
+
+2011-02-06 Mike Frysinger <vapier@gentoo.org>
+
+ AX_CREATE_PKGCONFIG_INFO: don't add user CPPFLAGS/LDFLAGS to pc files
+ CPPFLAGS and LDFLAGS are settings that come from the user. These
+ should not be placed into .pc files. Since this helper already
+ provides variables for getting cflags/ldflags into the .pc file,
+ just punt the user sourcing.
+
+2011-02-03 Henrik Uhrenholt <henrik.uhrenholt.gpl@gmail.com>
+
+ AX_PROG_SPLINT: initial version
+ Further details at <http://savannah.gnu.org/patch/?7453>.
+
+2011-02-02 Peter Simons <simons@cryp.to>
+
+ AX_BERKELEY_DB_CXX: fixed transliteration of Sürken from Surken to Suerken
+
+2011-01-27 Gary Funck <gary@intrepid.com>
+
+ AX_BOOST_BASE, AX_BOOST_REGEX: improved error messages
+
+2011-01-22 Stephan Sürken <absurd@olurdix.de>
+
+ AX_BERKELEY_DB_CXX: variant of AX_BERKELEY_DB, adapted to check for C++ headers and libs
+ This macro is based on AX_BERKELEY_DB by Vaclav Slavik with small
+ adaptions to check for C++ header and libs instead of C by Stephan
+ Sürken. See <http://savannah.gnu.org/patch/?7446> for further details.
+
+2011-01-03 Peter Simons <simons@cryp.to>
+
+ AX_EXT_HAVE_LIB: fixed bug introduced in previous patch
+
+2011-01-02 Peter Simons <simons@cryp.to>
+
+ AX_LIB_CGAL_CORE: dropped trailing empty line at the end of the file
+
+2010-12-25 Dan Horák <dan@danny.cz>
+
+ AX_BOOST_BASE: accept also non-x86 64-bit architectures
+ See <http://savannah.gnu.org/patch/?7428> for further details.
+
+2010-12-23 Bastien Chevreux <bach@chevreux.org>
+
+ AX_CHECK_ZLIB: honor --with-zlib option
+ See <http://savannah.gnu.org/patch/?7411> for further details.
+
+2010-12-18 Peter Simons <simons@cryp.to>
+
+ AX_CHECK_JAVA_HOME: added support for MacOS X
+ See <http://savannah.gnu.org/patch/?7408> for further details.
+
+2010-12-18 Diego Elio Pettenò <flameeyes@gmail.com>
+
+ AX_PROG_FLEX, AX_PROG_BISON: use version information for detection
+ Rather than reimplementing (partial) basename functionality, follow the
+ suggestion by the Autoconf manual to check for the output of --version for
+ the program's name.
+
+ Also, make the macro use m4_ifnblank rather than use an unconditional :
+ no-op operation.
+
+2010-12-18 Sergio Belkin <sebelk@gmail.com>
+
+ AX_EXT_HAVE_LIB: allow macro to be called more than one time
+ See <http://savannah.gnu.org/patch/?7403> for further details.
+
+2010-11-25 Václav Haisman <V.Haisman@sh.cvut.cz>
+
+ AX_C_IFDEF: fixed Autoconf warnings
+ See <http://savannah.gnu.org/patch/?7405> for further details.
+
+ AX_CFLAGS_SUN_OPTION: fixed Autoconf warnings
+ See <http://savannah.gnu.org/patch/?7405> for further details.
+
+2010-11-23 Riccardo Murri <riccardo.murri@gmail.com>
+
+ AX_CXX_RESTRICT_THIS: detect whether the C++ compiler can qualify a member function with restricted "this" pointer
+ See <http://savannah.gnu.org/patch/?7397> for further details.
+
+2010-11-18 Cristian Rodríguez <cristian.rodriguez@opensuse.org>
+
+ ax_cxx_compile_stdcxx_0x stopped working since GCC 4.5 due to changes in the standard
+ Please refer to <http://savannah.gnu.org/patch/?7387> for further details.
+
+2010-11-16 Reuben Thomas <rrt@sc3d.org>
+
+ Mark AX_GCC_OPTION obsolete, in agreement with author.
+
+ Bump version of GPL, as per authors' request.
+
+ Bump version of GPL, as per authors' request.
+
+2010-11-16 Peter Simons <simons@cryp.to>
+
+ AX_CREATE_PKGCONFIG_INFO: bumped serial number after recent changes
+
+2010-11-16 Reuben Thomas <rrt@sc3d.org>
+
+ Bump version of GPL, as per authors' consent.
+
+ Bump version of GPL, as per authors' consent.
+
+2010-11-15 Reuben Thomas <rrt@sc3d.org>
+
+ Bump GPL version on Guido Draheim's (sole-author) macros.
+
+2010-11-12 Peter Simons <simons@cryp.to>
+
+ AX_CXX_CPPFLAGS_STD_LANG: bumped serial number after recent edits
+
+2010-11-12 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+ Correct recent AX_CXX_CPPFLAGS_STD_LANG update
+ No idea what I was thinking on the mistaken syntax...
+
+2010-11-11 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+ Move AX_CXX_{CPP,CXX,LD}FLAGS_STD_LANG to AX_COMPILER_VENDOR
+ Nested quoting within AX_CXX_COMPILER_VENDOR gives warnings on
+ newer autoconf versions. Switching which compiler-detection
+ script these macros use.
+
+ Implementation changeover simple-- just need to account for a
+ difference in 'dec' vs 'compaq' compiler identifier.
+
+2010-11-08 Peter Simons <simons@cryp.to>
+
+ Updated the NEWS file describe ax_asm_inline.m4 and ax_forceinline.m4.
+ Furthermore, updated both macros to use word wrapping boundaries consistent
+ with the rest of the archive.
+
+2010-11-07 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+ Add new macro AX_FORCEINLINE
+
+ Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/autoconf-archive
+
+ Add new macro AX_ASM_INLINE
+
+2010-11-04 Sebastian Hegler <sebastian.hegler@tu-dresden.de>
+
+ AX_LIB_CGAL_CORE: test for the CGAL_Core library
+ See <http://savannah.gnu.org/patch/?7370> for further details.
+
+2010-11-04 Diego Elio Petteno` <flameeyes@gmail.com>
+
+ AX_CHECK_LIBRARY, AX_TLS: correct the spelling of author's surname
+
+2010-11-03 Diego Elio Pettenò <flameeyes@gmail.com>
+
+ AX_CHECK_LIBRARY: add a new macro for generic library checking
+ This macro allows to check a pair of header file and library needed for the
+ library to be used. This can then be used to replace a number of identical
+ tests on a number of projects, some of which are simply wrong.
+
+2010-11-03 Peter Simons <simons@cryp.to>
+
+ AX_JNI_INCLUDE_DIR: recognize <jni.h> even if it's a symlink (like on Mac OS X)
+ Further details are available at <http://savannah.gnu.org/patch/?7360>.
+
+2010-10-20 Peter Simons <simons@cryp.to>
+
+ m4/ax_tls.m4: avoid non-ASCII character in copyright section
+
+ AX_LIB_HDF5: word-wrap documentation to conform to our repository-wide maximum line length
+
+2010-10-20 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+ ax_lib_hdf5: improve {C,CPP,LD,F}FLAGS + Fortran
+ Newer compiler wrapper versions stop providing as
+ much useful information. After attempting to pull
+ everything from them, we now look for -L/-I information
+ in the compiler wrapper's -show output.
+
+ This greatly improves HDF5_FFLAGS. Also, added HDF5_FLIBS
+ to capture the Fortran-specific link line details.
+
+2010-10-14 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+ AX_SPLIT_VERSION: add AC_PROG_SED as a prerequisite
+
+2010-10-13 Luke Mewburn <lukem@netbsd.org>
+
+ AX_PROG_DOXYGEN: implemented missing "DX_DOT_FEATURE(ON|OFF)" feature
+ See <http://savannah.gnu.org/patch/?7340> for further details.
+
+2010-10-13 Sebastian Hegler <sebastian.hegler@tu-dresden.de>
+
+ AX_BOOST_BASE: improved BOOST_LDFLAGS detection
+ The macro optimistically assembled BOOST_LDFLAGS from an empty variable,
+ resulting in a wrong value for BOOST_LDFLAGS, making all following
+ ax_boost* macros fail.
+
+ See <http://savannah.gnu.org/patch/?7337> for further details.
+
+2010-10-13 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+ AX_LIB_HDF5: added ability to request either a serial or a parallel HDF5 installation and to detect whether or not a Fortran-ready installation is present.
+ See http://savannah.gnu.org/patch/?7338 for further details.
+
+2010-10-07 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+ AX_CFLAGS_WARN_ALL: removed obsolete Autoconf constructs and added AX_FCFLAGS_WARN_ALL
+ See <http://savannah.gnu.org/patch/?7335> for further details.
+
+2010-10-05 Reuben Thomas <rrt@sc3d.org>
+
+ Obsolete macros that are trivial wrappers of AX_WITH_PROG.
+
+2010-09-24 Václav Haisman <V.Haisman@sh.cvut.cz>
+
+ AX_COMPILER_VENDOR: adding support for Clang compiler
+
+2010-09-24 Jaroslav Hajek <hajek@hajek.vzlu.local>
+
+ AX_BLAS: avoid caching issues
+
+2010-09-24 Peter Simons <simons@cryp.to>
+
+ Updated NEWS file, bumped serial numbers after recent changes, and remedied minor cosmetic issues.
+
+2010-09-24 Jim Meyering <meyering@redhat.com>
+
+ build: m4-quote use of AC_LANG_PROGRAM to avoid warning from new autoconf
+ Using autoconf-2.68 would evoke many new warnings like this:
+
+ configure.ac:78: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
+ ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
+ ../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
+ ../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
+ ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
+ ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
+ ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
+ ax/ax_boost_thread.m4:35: AX_BOOST_THREAD is expanded from...
+ configure.ac:78: the top level
+
+ Autoconf was unable to detect the existing use of AC_LANG_SOURCE
+ because it was underquoted. Fix that.
+
+2010-09-24 Jim Meyering <meyering@redhat.com>
+
+ replace TAB SP{8} by TAB TAB, repeatedly
+
+ replace SP*-TAB by TAB, now that we know there are fewer than 8 SP
+ git grep -l ' '|xargs perl -pi -e 's/ +\t/\t/'
+
+ change SP-TAB inside a [...] expression to TAB-SP
+ git grep -l '\[ .*\]' \
+ | xargs perl -pi -e 's/\[ \t([^]]*\])/[\t $1/g'
+
+ replace SP{8}TAB by TABTAB
+
+2010-09-22 Reuben Thomas <rrt@sc3d.org>
+
+ Add AX_CC_FOR_BUILD for cross-compilation support.
+
+ Change AX_LUA_LIB_VERSION to AX_LUA_HEADERS_VERSION, as that's what we're really checking; add AX_LUA_READLINE.
+
+2010-09-17 Harald van Dijk <truedfx@gentoo.org>
+
+ AX_PREFIX_CONFIG_H: added support for system shell "dash"
+ The AX_PREFIX_CONFIG_H macro doesn't work with dash, the bug is already
+ noted in the source file. As of autoconf 2.62, AS_ECHO can be used to
+ print strings that may contain backslashes or look like options. This
+ patch updates AX_PREFIX_CONFIG_H to use it.
+
+ The comment in the source file refers to $ECHO from libtool, but this
+ requires libtool.m4 which is not part of autoconf, and AS_ECHO is. On
+ the other hand, libtool.m4 (at least the one on my system) only requires
+ autoconf 2.58 or higher, so depending on how much you value
+ compatibility with older autoconf versions, that may be a better choice.
+
+ See <http://savannah.gnu.org/patch/?7317> for further details.
+
+2010-09-15 Jaroslav Hajek <hajek@hajek.vzlu.local>
+
+ AX_BLAS_F77_FUNC: fixed a small typo
+
+ AX_BLAS_F77_FUNC: check for correct integer size
+
+ AX_BLAS_F77_FUNC: save and restore $LIBS variable
+
+2010-09-07 Diego Elio Pettenò <flameeyes@gmail.com>
+
+ AX_TLS: add support for actions on found/not-found
+ Converts to AS_CASE/AS_IF; update doc to note that ICC is also supported.
+
+2010-08-26 Peter Simons <simons@cryp.to>
+
+ AX_CFLAGS_GCC_OPTION: use AS_VAR_COPY() if available, but don't require it
+ Peter Kjellerstedt noticed a problem when using the updated macro with an older
+ version of autoconf (e.g. 2.61 as used by debian). AS_VAR_COPY() seems to be a
+ relatively new addition to the API, and did not exist in 2.61.
+
+2010-08-25 Peter Simons <simons@cryp.to>
+
+ AX_CFLAGS_GCC_OPTION: bumped serial number
+
+2010-08-25 Peter Kjellerstedt <pkj@axis.com>
+
+ AX_CFLAGS_GCC_OPTION: Use an actually existing gcc option as example
+
+2010-08-25 Peter Kjellerstedt <pkj@axis.com>
+
+ AX_CFLAGS_GCC_OPTION: Correct handling of indirectly named sh vars
+ With autoconf 2.67 a use of AX_CFLAGS_GCC_OPTION() like this
+
+ AX_CFLAGS_GCC_OPTION([-fvisibility=hidden], AM_CFLAGS)
+
+ with an option containing a non-literal character like = suddenly
+ breaks. This was due to directly accessing variables defined with
+ AS_VAR_PUSHDEF(), rather than using AS_VAR_SET() and AS_VAR_COPY().
+
+2010-08-19 Peter Simons <simons@cryp.to>
+
+ AX_LIB_MYSQL: dropped trailing white space
+
+ AX_MPI: cosmetic changes to the formatting of the documentaion
+
+2010-08-18 Peter Simons <simons@cryp.to>
+
+ AX_BOOST_BASE: prefer more portable `...` syntax over $(...) for running sub-shells
+
+ Bumped boost macro serial numbers.
+
+2010-08-18 Jaap Eldering <eldering@A-Eskwadraat.nl>
+
+ On x86_64 architecture search both lib64 and lib dirs.
+
+ Add check to see if any library is found.
+
+2010-08-18 Peter Simons <simons@cryp.to>
+
+ AX_LIB_MYSQL: bumped serial number
+
+2010-08-18 Wim Lewis <wiml@hhhh.org>
+
+ AX_LIB_MYSQL: If mysql_config isn't found, see if we can find mysql_config5.
+
+ Bug fixes for AX_LIB_MYSQL: - omit spurious "-o test" which would cause $MYSQL_CONFIG to be ignored sometimes - $MYSQL_CONFIG is a precious var - don't set HAVE_MYSQL if we checked the version and discovered it's too old
+
+2010-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ AX_MPI: Fix recommendation for compiling everything with MPI.
+ Fix typos when compiling everything with MPI. Update description to
+ include defaulting CC to MPICC if only the latter was set. See
+
+ http://lists.gnu.org/archive/html/autoconf-archive-maintainers/2010-08/msg00000.html
+
+ for further details.
+
+2010-08-10 Peter Simons <simons@cryp.to>
+
+ AX_LIB_SQLITE3: fixed a trivial typo, no functional change
+
+ AX_CHECK_GNU_MAKE: remove extraneous new-line in macro header
+ According to <http://savannah.gnu.org/patch/?7259>, the extraneous
+ newline causes trouble in some versions of Autoconf/Automake.
+
+2010-08-10 Jaap Eldering <eldering@a-eskwadraat.nl>
+
+ AX_BOOST_BASE: fix under-quoted shell variable
+
+2010-07-16 Olaf Meeuwissen <olaf.meeuwissen@avasys.jp>
+
+ The boost macros for iostreams, regex, serialization, signals, system, test_exec_monitor, unit_test_framework, wave, and wserialization have been patched not to rely on being executed by a 'bash' shell.
+
+2010-06-15 Philip Allison <philip.allison@smoothwall.net>
+
+ AX_PTHREAD: fix compiler warning in AC_TRY_LINK test program
+ The test program generated by AX_PTHREAD's AC_TRY_LINK invocation generates a
+ compiler warning (on Linux, using GCC 4). When building with "-Wall -Werror" in
+ CFLAGS, as done during development to catch unexpected warnings, this turns
+ into a compiler error; hence, all of the AC_TRY_LINK invocations fail, and the
+ macro fails to detect any suitable compiler/linker flags for pthreads usage.
+
+ A sample from config.log showing the error follows.
+
+ configure:16038: result: no
+ configure:15936: checking whether pthreads work without any flags
+ configure:16029: gcc -o conftest -O3 -g -Wall -Werror -pipe -fvisibility=hidden -Wl,-O1 -Wl,--as-needed conftest.c >&5
+ cc1: warnings being treated as errors
+ conftest.c: In function 'main':
+ conftest.c:31: error: 'th' is used uninitialized in this function
+
+ This patch fixes the issue by placing pthread_create before pthread_join in the
+ test program.
+
+2010-06-04 Peter Simons <simons@cryp.to>
+
+ AX_CHECK_ZLIB: dropped trailing white space
+
+ AX_CHECK_OPENSSL: minor cosmetic change to unbreak the gen-authors.sh script
+
+2010-06-03 Peter Simons <simons@cryp.to>
+
+ AX_BOOST_DATE_TIME, AX_BOOST_FILESYSTEM: avoid use of shell constructs that don't work with "dash"
+
+2010-06-02 Peter Simons <simons@cryp.to>
+
+ AX_PTHREAD: fixed typo in local variable that broke the macro on Darwin
+ Thanks to Markus Elfring for pointing that out.
+
+2010-06-02 Timothy Brown <tbrown@freeshell.org>
+
+ AX_LIB_HDF5: added support for showconfig output from HDF5 version 1.8.4
+
+2010-06-02 Dustin J. Mitchell <dustin@zmanda.com>
+
+ Remove spurious space after -L in ax_check_openssl.m4, thanks to Pavel Volkovitskiy in <https://savannah.gnu.org/patch/?7215>
+
+2010-05-14 Torsten Landschoff <torsten@landschoff.net>
+
+ AX_PKG_SWIG: Fix the version detection of AX_PKG_SWIG to support SWIG >= 2.0.
+ The version detection in the AX_PKG_SWIG macro was incorrect and failed
+ to accept SWIG 2.0 where SWIG >= 1.3.x is requested.
+
+ Patch submitted in <http://savannah.gnu.org/patch/?7187>.
+
+2010-05-12 Timothy Brown <tbrown@freeshell.org>
+
+ AX_LIB_HDF5: test whether the HDF5 library is available or not
+ Submitted in <http://savannah.gnu.org/patch/?7179>.
+
+2010-04-23 Peter Simons <simons@cryp.to>
+
+ AX_PYTHON_EMBED: bumped serial number after recent changes
+
+2010-04-22 Ilya Etingof <ilya@glas.net>
+
+ Fix typo in ax_python_embed -o correctly defun AX_PYTHON_INSIST
+
+2010-04-20 Peter Simons <simons@cryp.to>
+
+ AX_LUA: updated serial number to match the number of commits to this macro
+
+2010-04-20 Mike Park <MikePark.rb@GMail.com>
+
+ AX_F90_MODULE_FLAG: test module include path with no space between -I and path
+ (for compaq alpha fort compiler)
+
+2010-04-02 Joel Smith <js-gnuaca@jk1.net>
+
+ AX_PREFIX_CONFIG_H: Removed extra spaces (which break prefixed macros)
+
+2010-03-12 Reuben Thomas <rrt@sc3d.org>
+
+ Run Lua with empty LUA_INIT, to avoid picking up user settings.
+
+2010-03-10 Mateusz Loskot <mateusz@loskot.net>
+
+ AX_LIB_LIBKML: Detect Google's libkml library <http://code.google.com/p/libkml/>.
+ Initial version. See <https://savannah.gnu.org/patch/?7109> for further details.
+
+2010-03-04 Peter Johansson <trojkan@gmail.com>
+
+ AX_CHECK_ZLIB: fix bogus result message
+ When calling configure without any --with-zlib or --without-zlib, the
+ configure output was
+
+ checking if zlib is wanted... checking for inflateEnd in -lz... yes
+ checking zlib.h usability... yes
+ checking zlib.h presence... yes
+
+ while I expected
+
+ checking if zlib is wanted... yes
+ checking for inflateEnd in -lz... yes
+ checking zlib.h usability... yes
+ checking zlib.h presence... yes
+
+ This patch fixes this.
+
+2010-03-01 Peter Simons <simons@cryp.to>
+
+ ALL: update web site URL to http://www.gnu.org/software/autoconf-archive/MACRO-NAME.html
+
+2010-02-23 Peter Simons <simons@cryp.to>
+
+ Dropped e-mail address obscuration from the following macros, because the invalid syntax breaks the texi2html generator:
+ m4/ax_c_arithmetic_rshift.m4
+ m4/ax_c_referenceable_passed_va_list.m4
+ m4/ax_prog_fasm.m4
+ m4/ax_prog_fasm_opt.m4
+ m4/ax_prog_hla.m4
+ m4/ax_prog_hla_opt.m4
+ m4/ax_prog_masm.m4
+ m4/ax_prog_masm_opt.m4
+ m4/ax_prog_nasm.m4
+ m4/ax_prog_nasm_opt.m4
+ m4/ax_prog_tasm.m4
+ m4/ax_prog_tasm_opt.m4
+ m4/ax_prog_yasm.m4
+ m4/ax_prog_yasm_opt.m4
+ m4/ax_sys_perlsharpbang.m4
+
+2010-02-19 Peter Simons <simons@cryp.to>
+
+ AX_*_JAVA_*: fixed use of $EXEEXT
+ Further details can be found at <http://savannah.nongnu.org/patch/?6948>.
+
+2010-02-15 Thomas Treichl <Thomas.Treichl@gmx.net>
+
+ AX_PTHREAD: provide "-pthreads" on 10.6 OS X systems
+ See <http://savannah.nongnu.org/patch/?7071> for further details.
+
+2010-02-13 Dustin J. Mitchell <dustin@zmanda.com>
+
+ AX_MPIP: add new macro
+ See https://savannah.nongnu.org/patch/?7092 for further details.
+
+2010-02-08 Francesco Salvestrini <salvestrini@gmail.com>
+
+ Replaced obsolete AC_HELP_STRING with AS_HELP_STRING
+
+2010-02-02 Guido U. Draheim <guidod@gmx.de>
+
+ AX_SYS_LARGEFILE_SENSITIVE: on x64 targets some largefile tests aren't made -> provide defaults
+
+2010-01-25 Peter Simons <simons@cryp.to>
+
+ Assigned all macros a unique serial number.
+ The serial number corresponds to the number of commits that have
+ modified the macro in the Archive's Git repository. Refer to
+ http://www.gnu.org/software/libtool//manual/automake/Serials.html to
+ find out why these numbers are useful.
+
+2010-01-12 Filippo Giunchedi <filippo@esaurito.net>
+
+ AX_RESTORE_FLAGS, AX_SAVE_FLAGS: initial versions
+ Shamelessly copied from the great VLC.
+
+2010-01-05 Peter Simons <simons@cryp.to>
+
+ Augmented the text of the all-permissive license by an express warranty disclaimer.
+ This has been suggested by the FSF on http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html.
+
+ AX_PTHREAD: minor changes to the AC_TRY_LINK command so that the code compiles when -Wall and -Werror are set
+
+ AX_CXX_VERBOSE_TERMINATE_HANDLER: replaced by a more generic implementation that's not limited to GNU libstdc++
+ Submitted by Kevin Locke in <https://savannah.nongnu.org/patch/?7005>.
+
+2010-01-01 Mike Frysinger <vapier@gentoo.org>
+
+ AX_BOOST_BASE: fix host boost search when cross-compiling
+ The AX_BOOST_BASE macro likes to do searches in the host paths (/usr and
+ such) which is obviously incorrect for cross-compiling. So disable these
+ fallback searches when cross-compiling.
+
+2009-12-28 Peter Simons <simons@cryp.to>
+
+ AX_BOOST_BASE: add ACTION-IF-FOUND/ACTION-IF-NOT-FOUND-style API
+ Changes on 2009-12-02 by Peter Adolphs:
+
+ - fixed broken indentation (tabs/spaces)
+ - added ACTION-IF-FOUND and ACTION-IF-NOT-FOUND
+ - notice instead of error when boost was not found
+ - changed help message
+
+ Changes on 2009-11-28 by Tim Niemueller:
+
+ - fixed problem with lib dir for 64Bit systems
+
+2009-12-27 Peter Simons <simons@cryp.to>
+
+ AX_PATH_BDB: spell Rafal Rzepecki's name correctly
+ More details can be found in e000442ec25f72576b75ea32e342fb1e503a944e.
+
+ AX_C_PRINTF_THSEP: deprecated because of technical flaws
+ See http://savannah.nongnu.org/patch/?6848 for further details.
+
+2009-12-25 Neil Mayhew <neil_mayhew@users.sourceforge.net>
+
+ AX_CHECK_ICU: added support for icu-specific CPPFLAGS
+ This macro uses the icu-config utility which treats CPPFLAGS separately
+ from CFLAGS and CXXFLAGS. Clients should be able to obtain the value of
+ CPPFLAGS, which is not currently possible. This patch fixes that.
+
+ Note that this behavior is slightly different from PKG_CHECK_MODULES,
+ since the underlying pkg-config doesn't distinguish between CFLAGS and
+ CPPFLAGS. Using CFLAGS instead of CPPFLAGS with icu-config leads to
+ problems, such as header files not found, and compilation errors since
+ icu has its own slightly quirky ideas about what kind of strict warnings
+ should be used, even though these are not required for using the ICU
+ headers.
+
+ Clients should typically use ICU_CPPFLAGS rather than ICU_CFLAGS or
+ ICU_CXXFLAGS if they just want to be able to find headers.
+
+2009-12-25 Peter Simons <simons@cryp.to>
+
+ AX_C_IFDEF: deprecated in favor of the standard Autoconf macro AC_CHECK_DECL
+
+2009-12-23 Peter Simons <simons@cryp.to>
+
+ Consistently indent quoted paragraphs with two blanks.
+
+ Replaced all tab characters in macro header sections with an appropriate number of blanks.
+
+2009-12-17 Peter Simons <simons@cryp.to>
+
+ AX_CXX_HELPFUL_TERMINATE_HANDLER: initial version
+ Submitted by Kevin Locke in <https://savannah.nongnu.org/patch/index.php?7005>:
+
+ | As a compliment (or possibly replacement) to the current
+ | AX_CXX_VERBOSE_TERMINATE_HANDLER macro, I present the
+ | AX_CXX_HELPFUL_TERMINATE_HANDLER macro. Rather than specifically looking for
+ | the GNU libstdc++ verbose_terminate_handler, this macro uses a test program
+ | which throws an uncaught exception then checks if the output contains
+ | information about the exception. This way it can detect helpful terminate
+ | handlers other than the current one provided with GNU libstdc++.
+ |
+ | The design of this macro is not perfect. Most importantly, the logic for
+ | capturing and testing the output of the test program is not very elegant. I
+ | had first attempted to check for output from within the test program (by
+ | redirecting std::cerr, capturing SIGABRT, etc.) but it was excessively ugly
+ | and not very portable. The result is that the logic in the macro itself is a
+ | little more awkward so that the test program is trivial. I think it was a
+ | good trade, but feedback is welcome.
+
+2009-12-17 Dustin J. Mitchell <dustin@zmanda.com>
+
+ rename occurrences of AC_PROG_SWIG to AX_PKG_SWIG
+
+2009-12-16 Peter Simons <simons@cryp.to>
+
+ ax_pkg_swig.m4: cosmetic changes
+
+2009-12-16 Matthew William Cox <matt@mattcox.ca>
+
+ modernize the name of cache variables in ax_ext
+ The name space structure for cache variables should now contain _cv_.
+ I've left them in the AX name space, so the cache variables used by
+ ax_ext are now named ax_cv_...
+
+2009-10-25 Alan Jenkins <alan-jenkins@tuffmail.co.uk>
+
+ ax_enable_builddir: improve quality of generated top-level Makefile
+ The top-level Makefile is generated by mangling rules, "a: b". We
+ already avoid mangling "a := b". But we should also exclude "a = :".
+
+ Apparently this was causing unbalanced parenthesis errors on some
+ systems.
+
+ Reported-by: Mike Frysinger <vapier@gentoo.org>
+
+2009-10-08 Dustin J. Mitchell <dustin@zmanda.com>
+
+ Rename AC_PROG_SWIG to AX_PKG_SWIG, set SWIG='' when not found, and add action-if-[not-]found options
+
+2009-10-05 Reuben Thomas <rrt@sc3d.org>
+
+ Fix incorrect setting of ax_cv_curses when curses was not found.
+
+2009-10-04 Reuben Thomas <rrt@sc3d.org>
+
+ Merge branch 'master' of git://git.sv.gnu.org/autoconf-archive
+
+ Remove --with-lua-{includes,libraries} as the GNU Coding Standards say CPPFLAGS and LDFLAGS should be used for this sort of thing.
+
+2009-09-21 Peter Simons <simons@cryp.to>
+
+ AX_LATEX_*: Deprecated because of licensing issues.
+
+ AX_CFLAGS_FORCE_C89: cosmetic, no functional change
+
+ AX_GCC_LIBRARIES_DIR: cosmetic, no functional change
+
+2009-09-21 Reuben Thomas <rrt@sc3d.org>
+
+ Merge branch 'master' of git://git.sv.gnu.org/autoconf-archive
+
+ Add AX_CFLAGS_FORCE_C89.
+
+2009-09-19 Francesco Salvestrini <salvestrini@gmail.com>
+
+ Merge branch 'master' of ssh://salvestrini@git.sv.gnu.org/srv/git/autoconf-archive
+
+2009-09-19 Peter Simons <simons@cryp.to>
+
+ AX_PROG_PERL_MODULES: cosmetic in the documentation, no functional changes
+
+2009-09-18 Peter Simons <simons@cryp.to>
+
+ Fixed trivial typos.
+
+ AX_CHECK_ALLOCATED_CTIME: don't cast char* to void* when calling free(2)
+ The cast is redundant and gnulib complains about it, too.
+
+ AX_AM_MACROS_STATIC: drop trailing whitespace
+
+2009-09-18 Francesco Salvestrini <salvestrini@gmail.com>
+
+ Fixed AX_GCC_INSTALL_DIR
+
+ Fixed AX_GCC_LIBSUPCXX
+
+ Introduced AX_GCC_LIBRARIES_DIR
+
+2009-08-24 Peter Simons <simons@cryp.to>
+
+ AX_LATEX_*: marked obsolete because of issues with LGPL license
+ The AX_LATEX_* family of macros is distributed under the LPGL license.
+ Use of that license is discouraged for Autoconf macros, because it might
+ impose licensing restrictions on the generated configure script. All
+ other macros in the Archive that are licensed under LGPL or GPL feature
+ an explicit Autoconf Exception that lifts those limitations, but the
+ LaTeX macros did not. Unfortunately, all attempts to contact the author
+ with a request to remedy the situation have been been unsuccessful.
+
+ Dropped obsolete macros from the repository.
+ These macros have been replaced by newer versions and are no longer required.
+ Where applicable, the newer versions feature an AU_ALIAS() forwarder that
+ redirects invocations of the obsolete macro to the current one.
+
+2009-08-20 Peter Johansson <peterandrejohansson@gmail.com>
+
+ AX_AM_MACROS_STATIC: include date stamp in the generated file
+
+2009-08-13 Reuben Thomas <rrt@sc3d.org>
+
+ Add AU_ALIAS calls to new files for all recently renamed macros.
+
+2009-08-12 Peter Simons <simons@cryp.to>
+
+ AX_FUNC_WHICH_GETSERVBYNAME_R: cosmetic, no functional change
+
+2009-08-12 Bogdan Drozdowski <bogdandr # op . pl>
+
+ Improved portability.
+
+ Re-released these macros under LGPL with an Autoconf exception.
+
+2009-08-11 Peter Simons <simons@cryp.to>
+
+ Revert "Add AU_ALIAS calls to obsolete macros."
+ Commit b456074a0da5f319a512c043e6c5102e078923f4 adds AU_ALIAS calls that
+ forward from the obsolete macro names to the new ones. However, at this point
+ it's uncertain whether that usage of AU_ALIAS actually works as intended. In
+ order to avoid breaking things until the issue has been clarified, the change
+ is reverted.
+
+2009-08-11 Reuben Thomas <rrt@sc3d.org>
+
+ Add AU_ALIAS calls to obsolete macros.
+
+2009-08-10 Peter Simons <simons@cryp.to>
+
+ AX_PATH_GENERIC: fixed credits to Angus Lee
+
+2009-08-10 Reuben Thomas <rrt@sc3d.org>
+
+ More renamings missed previously.
+
+2009-08-08 Francesco Salvestrini <salvestrini@gmail.com>
+
+ AX_WITH_PROG: Fixed excessive quoting accidentally introduced earlier
+
+2009-08-07 Peter Simons <simons@cryp.to>
+
+ AX_PROG_PERL_MODULES: add the ability to check for minimum required version
+ See https://savannah.nongnu.org/patch/?6889 for further details.
+
+ Ensure that all LaTeX macros use AX_LATEX_TEST instead of the obsolete _ACLTX_TEST.
+
+ _AC_C_IFDEF: rename to AX_C_IFDEF
+
+ Center the URL at the top of every file and use consistent word-wrapping.
+
+ Dropped renamed versions of those macros that were obsolete to begin with.
+ The macros AC_CHECK_CURL, AC_CHECK_TAGLIB, AC_COMPILE_WARNINGS,
+ AC_PROMPT_USER, AC_PROMPT_USER_NO_DEFINE, and VL_PROG_CC_WARNINGS were
+ obsolete and are about to be deleted. There seems to be no point in
+ creating renamed, obsolete copies of those macros with an AX_ prefix.
+
+2009-08-07 Reuben Thomas <rrt@sc3d.org>
+
+ Merge branch 'master' of git://git.sv.gnu.org/autoconf-archive
+
+ Rename macros with no prefix to have an AX_ prefix.
+
+ Rename files to match macro names.
+ Also rename AC_C_COMPILE_VALUE to AX_C_COMPILE_VALUE.
+
+ Fix some ax_ to AX_.
+
+ Rename SMR_WITH_BUILD_PATH to AX_WITH_BUILD_PATH.
+
+ Rename SG_AFS to AX_AFS.
+
+ Rename RSSH_* prefixes to AX_* prefixes.
+
+ Rename RLC_XERXESC to AX_XERCESC.
+
+ Rename MS_* prefixes to AX_* prefixes.
+
+ Rename MERK_SIP_DEVEL to AX_SIP_DEVEL.
+ Also add a FIXME to use AX_COMPARE_VERSION rather than perl.
+
+ Rename MDL_* prefixes to AX_* prefixes.
+
+2009-08-06 Reuben Thomas <rrt@sc3d.org>
+
+ Rename KLM_SYS_WEAK_ALIAS to AX_SYS_WEAK_ALIAS.
+
+ Rename IMMDX_LIB_METIS to AX_LIB_METIS.
+
+2009-08-06 Peter Simons <simons@cryp.to>
+
+ VL_*: removed duplicate OBSOLETE MACRO section accidentally introduced earlier
+
+2009-08-06 Reuben Thomas <rrt@sc3d.org>
+
+ Rename gl_TRILINOS_ABSOLUTE_HEADER to AX_ABSOLUTE_HEADER.
+
+ Rename CT_CHECK_POSTGRES_DB to AX_CHECK_POSTGRES_DB.
+
+ Rename BNV_HAVE_QT to AX_HAVE_QT.
+ Remove inline old revision history.
+
+ Rename MNI_CXX_HAVE_KOENIG_LOOKUP to AX_CXX_HAVE_KOENIG_LOOKUP.
+
+ Rename file to match macro name.
+
+ Rename MP_WITH_CURSES to AX_WITH_CURSES.
+
+ Rename AC_ prefixes to AX_ (only in names of aa macros!).
+
+2009-08-06 Reuben Thomas <rrt@sc3d.org>
+
+ Rename AZ_PYTHON_* to AX_PYTHON_*.
+ Since there is already an ax_python.m4, use the name
+ az_python_embed.m4, since the macros are aimed at embedding python.
+
+ Punctuate "Mac OS X" with spaces.
+
+2009-08-06 Reuben Thomas <rrt@sc3d.org>
+
+ Add python2.6 to list of binaries looked for.
+
+ Fix 'Renamed to' lines' case of macro names.
+
+ Rename AM_ prefixes (those of aa macros only!) to AX_.
+
+ Rename ACLTX_ prefixes to AX_LATEX_ prefixes.
+
+ Rename ACX_ prefixes to AX_ prefixes.
+
+ Rename AG_ prefixes to AX_ prefixes.
+
+ Change remaining dps_ and etr_ prefixes to ax_.
+
+ Rename ADL_* prefixes to AX_ prefixes.
+
+ Rename more occurrences of vl_* to ax_*.
+
+ Rename DPS_ prefixed macros to AX_ prefixed macros.
+ Note: dps_check_plugin.m4 becomes ax_check_java_plugin.m4 to match the
+ name of the macro.
+
+ Rename ETR_ prefixed macros to AX_ prefixed macros.
+
+ Remove references to obsoleted macros.
+
+ Rename VL_* macros to AX_* macros.
+
+2009-08-04 Peter Simons <simons@cryp.to>
+
+ AX_PATH_GENERIC: use consistent word-wrapping
+
+ AX_LIB_TAGLIB: use consistent word-wrapping
+
+ AX_LIB_ORBIT2: use consistent word-wrapping
+
+ AX_LIB_CURL: use consistent word-wrapping
+
+ AC_PROMPT_USER_NO_DEFINE: use consistent word-wrapping
+
+ AC_PROMPT_USER: use consistent word-wrapping
+
+ AC_PATH_GENERIC: use consistent word-wrapping
+
+ RSSH_CHECK_OFF64_T: re-released under all-permissive license
+ In <42fca37f5f6a9deb6fa1d0867359d629.squirrel@wmail.gradsoft.ua>, Ruslan kindly
+ agreed to distribute his macro under the all-permissive license.
+
+2009-08-03 Peter Simons <simons@cryp.to>
+
+ Obsoleted AC_COMPILE_WARNINGS, AX_CFLAGS_WARN_ALL_ANSI, and VL_PROG_CC_WARNINGS.
+ The functionality provided by these macros overlaps with AX_CFLAGS_WARN_ALL.
+ See <f92540e30908010651s6ff80471v1b0f43064183aa50@mail.gmail.com> on the
+ autoconf-archive-maintainers mailing list for further details.
+
+2009-08-03 Dustin J. Mitchell <dustin@zmanda.com>
+
+ Merge branch 'master' of git://git.sv.gnu.org/autoconf-archive
+
+2009-08-01 Reuben Thomas <rrt@sc3d.org>
+
+ AX_MAINTAINER_MODE_AUTO_SILENT: fixed a few small typos in the documentation
+
+2009-08-01 Francesco Salvestrini <salvestrini@gmail.com>
+
+ give credit to the authors of the macros that inspired these improved versions
+
+ AC_PATH_GENERIC: work around for 1-dot problem
+
+2009-07-31 Peter Simons <simons@cryp.to>
+
+ AC_CHECK_CURL: marked obsolete
+
+ AC_CHECK_TAGLIB: marked obsolete
+
+ CHECK_SSL: marked obsolete
+
+ AC_PATH_GENERIC: marked obsolete
+
+2009-07-31 Francesco Salvestrini <salvestrini@gmail.com>
+
+ New ORBit2 related macro (using AX_PATH_GENERIC)
+
+ Renewed version of AC_CHECK_TAGLIB (using AX_PATH_GENERIC)
+
+ Renewed version of AC_CHECK_CURL (using AX_PATH_GENERIC)
+
+ Rearranged AC_PATH_GENERIC in order to use AX_COMPARE_VERSION
+
+2009-07-30 Reuben Thomas <rrt@sc3d.org>
+
+ AX_WITH_PROG: fixed handling of '--without-foo' arguments
+ Submitted in <https://savannah.nongnu.org/patch/?6876>.
+
+2009-07-27 Peter Simons <simons@cryp.to>
+
+ AC_CXX_HAVE_STD: removed stray '}' character in comments
+
+ AX_HAVE_EPOLL: fixed minor typo in comments
+
+ AC_LIBTOOLIZE_CFLAGS: avoid use of non-ascii characters in comments
+
+ AC_FUNC_SNPRINTF: avoid use of non-ascii characters in comments
+
+ AC_FUNC_MEMMOVE: avoid use of non-ascii characters in comments
+
+ AC_CXX_LDFLAGS_STD_LANG: avoid use of non-ascii characters in comments
+
+ AC_CXX_CXXFLAGS_STD_LANG: avoid use of non-ascii characters in comments
+
+ AC_CXX_CPPFLAGS_STD_LANG: avoid use of non-ascii characters in comments
+
+ AC_CXX_COMPILER_VENDOR: avoid use of non-ascii characters in comments
+
+ _AC_C_IFDEF: avoid use of non-ascii characters in comments
+
+2009-07-22 Peter Simons <simons@cryp.to>
+
+ AX_SPLIT_VERSION: fixed minor two typos in the documentation
+ Thanks to Reuben Thomas for pointing those out.
+
+2009-07-21 Reuben Thomas <rrt@sc3d.org>
+
+ MP_WITH_CURSES: allows the user to set CURSES_LIB in the environment
+ This patch also fixes a code typo, where LIBS was used instead of
+ mp_save_LIBS in the last test.
+
+ MP_WITH_CURSES: fixed typo in the documentation
+
+2009-07-21 Guido U. Draheim <guidod@gmx.de>
+
+ AX_CFLAGS_NO_WRITABLE_STRINGS: bugfix
+ Imported from ac-archive.cvs.sourceforge.net.
+
+2009-07-20 Peter Simons <simons@cryp.to>
+
+ AC_PATH_GENERIC: cosmetic markup fixes
+ The synopsis must be written in one line (or the HTML generator will fail).
+
+2009-07-18 Dustin J. Mitchell <dustin@zmanda.com>
+
+ update copyright years
+
+ remove Amanda-specific reference to $LOCSYSPATH
+
+2009-07-17 Filippo Giunchedi <filippo@esaurito.net>
+
+ AX_RUBY_DEVEL: use proper variable for error
+
+2009-06-23 Bert Wesarg <bert.wesarg@googlemail.com>
+
+ ac_path_generic.m4: make LIBRARY-config, --cflags, and --libs customizable
+
+ ac_path_generic.m4: add AC_ARG_VAR()s
+ Add AC_ARG_VAR() for _CONFIG, _CFLAGS, and _LIBS.
+
+ ac_path_generic.m4: use AS_HELP_STRING() in AC_ARG_WITH()
+ Quoting looks strange but result is correct.
+
+2009-06-22 Diab Jerius <dj@head.cfa.harvard.edu>
+
+ VL_LIB_READLINE: set LIBS correctly in case of a cache hit
+ The macro didn't set LIBS appropriately if there is a cache hit. It only
+ sets it if there is a cache miss.
+
+ I've modified the code to set LIBS in the stanza which checks to see if
+ $vl_cv_lib_readline has been set. This required resetting LIBS in the
+ AC_CACHE_CHECK "COMMANDS-TO-SET-IT" argument so that the appropriate
+ libs wouldn't be included twice if there was a cache miss.
+
+2009-06-16 Dustin J. Mitchell <dustin@zmanda.com>
+
+ AX_CHECK_OPENSSL: initial submission
+ See https://savannah.nongnu.org/patch/?6849 for details.
+
+2009-06-10 Peter Johansson <trojkan@gmail.com>
+
+ AX_COMPARE_VERSION: use AC_REQUIRE to declare dependency on AC_PROG_AWK
+
+2009-06-10 Peter Simons <simons@cryp.to>
+
+ AC_PYTHON_DEVEL: avoid wiping the user settings of $CPPFLAGS and $LIBS
+ Submitted by aoz.syn@gmail.com in <http://savannah.nongnu.org/patch/?6847>.
+
+2009-06-04 Krzysztof Burghardt <krzysztof@burghardt.pl>
+
+ AX_LIB_NOKALVA: check for the existence of OSS Nokalva
+ http://savannah.nongnu.org/patch/?6842
+
+2009-06-04 Peter Simons <simons@cryp.to>
+
+ MP_WITH_CURSES: use standard word-wrapping boundaries
+
+ AX_DIST_RPM: use standard word-wrapping boundaries
+
+2009-04-30 Bill Blough <bblough@gmail.com>
+
+ AX_LIB_XALAN: initial version
+ Detect the Apache Xalan C++ XSLT processor. This is a derivative work based on
+ AX_LIB_XERCES by Mateusz Loskot.
+
+2009-04-30 Reuben Thomas <rrt@sc3d.org>
+
+ MP_WITH_CURSES: add support for ncursesw
+ http://savannah.nongnu.org/patch/?6819
+
+2009-04-29 Guido U. Draheim <guidod@gmx.de>
+
+ AX_CREATE_PKGCONFIG_INFO: add support for datarootdir
+ Imported from ac-archive.cvs.sourceforge.net.
+
+2009-04-28 Allan Caffee <allan.caffee@gmail.com>
+
+ AX_DIST_RPM: Do not break VPATH builds
+ AX_DIST_RPM was breaking VPATH builds since it was expecting the spec
+ template to be in the build directory during configure time. Obviously
+ this breaks distcheck which checks, among other things, VPATH builds.
+
+ AX_DIST_RPM: Do not hard code the spec template
+ The spec template was hard coded in and the macro was ignoring the
+ template given by the caller.
+
+ AX_DIST_RPM: Remove use of @NAME@ and @VER@.
+ It appears that at one point the previously values were being
+ substituted in at make time but this is no longer the case. Modify the
+ example to use the @PACKAGE@ and @VERSION@ variables instead.
+
+ AX_DIST_RPM: Update the example spec file in comment.
+ The example should use the `License' tag rather than the legacy `Copyright'
+ tag.
+
+2009-04-28 Peter Simons <simons@cryp.to>
+
+ all: macro home pages now reside on savannah (but old links still work)
+
+2009-04-27 Peter Simons <simons@cryp.to>
+
+ AC_LIB_ID3, AC_LIB_UPNP: release under all-permissive license
+ Commit 9da70c52df7bf9fa78d8a27465fa6be4b75e586a should have done that
+ over a years ago, but apparently something went wrong.
+
+2009-04-26 Peter Simons <simons@cryp.to>
+
+ ALL: consistency edits (see NEWS)
+ * Consistently refer to this project as Autoconf Archive.
+
+ * Removed the LAST MODIFICATION section, because that information is redundant
+ in the presence of Git.
+
+ * COPYLEFT has been renamed to LICENSE: some licenses, like all-permissive,
+ are no copylefts.
+
+2009-04-26 Peter Simons <simons@cryp.to>
+
+ Dropped obsolete macros.
+ These macros were marked as obsolete for quite a while and are now
+ subsequently deleted. This means that the generated distribution archive
+ longer contains them either. The respective homepage and download URLs
+ on the web server, however, will remain valid for the foreseeable
+ future.
+
+2009-04-24 Peter Simons <simons@cryp.to>
+
+ Bump last-modified dates.
+
+2009-04-24 Matteo Settenvini <matteo@member.fsf.org>
+
+ AC_PYTHON_DEVEL: added support for python 3
+
+2009-04-24 Allan Caffee <allan.caffee@gmail.com>
+
+ AX_INSTALL_FILES: fix an improperly escaped double quote
+ A bug in quotation was causing AX_INSTALL_FILES and dependent macros to
+ break. This regression was introduced in 9c650e.
+
+2009-04-23 Peter Simons <simons@cryp.to>
+
+ AUTHORS: Updated author list and copyright headers.
+
+2009-04-23 Mike Frysinger <vapier@gentoo.org>
+
+ AX_CHECK_LINKER_FLAGS: new func based on AX_CHECK_COMPILER_FLAGS
+
+ AX_CHECK_COMPILER_FLAGS: quote flag name with []
+ If a flag contains a comma in it, then it will not be properly passed to
+ the AS_TR_SH function. The $1 needs to be quoted as [$1] to fix this.
+
+2009-04-20 Gabriele Bartolini <gabriele.bartolini@devise.it>
+
+ AX_PROG_MD5SUM: released under all-permissive license
+
+2009-04-20 Peter Simons <simons@cryp.to>
+
+ Synchronize last-modified-date with GIT repository.
+ The last-modified-date of these macros didn't match their respective
+ last-modified-date in the GIT repository. A version bump remedies this
+ inconsistency. In hindsight, these dates should have bumped when the
+ distribution format changed; all macros had to be touched at this point
+ anyway.
+
+ consistency edits
+ Cosmetic edits to update copyright headers and word-wrap documentation.
+
+2009-04-20 Allan Caffee <allan.caffee@gmail.com>
+
+ AX_CVS,AX_DIST_MSI: Rewritten to use AX_ADD_AM_MACRO_STATIC.
+ These changes have not been tested very well since I don't have the software
+ setup to use either one. It's also worth mentioning that AX_DIST_MSI appears
+ to use GNU Make syntax which will cause Automake to complain unless portability
+ warnings are disabled.
+
+ Please feel free to modify this patch and commit message as necessary.
+
+2009-04-20 Allan Caffee <allan.caffee@gmail.com>
+
+ AX_DIST_RPM (and dependent macros) Modified to use AX_ADD_AM_MACRO_STATIC.
+ The macros AX_UPLOAD, AX_INSTALL_FILES, and AX_EXTRA_DIST which are often used
+ in conjunction with AX_DIST_RPM were also updated to use
+ AX_ADD_AM_MACRO_STATIC.
+
+ Thanks go to Ralf Wildenhues for the idea of adding local cleanup and
+ distribution targets as prerequisites the *-local/*-hook targets.
+
+2009-04-20 Allan Caffee <allan.caffee@gmail.com>
+
+ AX_ADD_AM_MACRO_STATIC: Added a new macro and helpers.
+ This new macro adds some text to the file aminclude_static.am when *Autoconf*
+ is run. The current macro AX_ADD_AM_MACRO writes text to the file
+ `aminclude.am' when _configure_ is run. Unfortunately this means that a) the
+ existing macro append Make code rather than Automake code as the name would
+ imply and b) only works for implementations of Make which allow includes, BSD
+ Make and GNU Make are the only ones that come to mind.
+
+ Hopefully this new macro will eventually replace the existing one altogether
+ because it allows Automake to do the actual work thereby offering more portable
+ Makefiles and pushing logic out of configure conditionals and into
+ AM_CONDITIONALs. However, in an attempt to avoid breaking existing Autoconf
+ scripts those macros have been left unchanged for the time being.
+
+2009-04-20 Gabriele Bartolini <gabriele.bartolini@devise.it>
+
+ AX_PROG_MD5SUM: initial version
+
+2009-04-19 Peter Simons <simons@cryp.to>
+
+ AUTHORS: updated after recent changes to AX_ENABLE_BUILDDIR
+
+2009-04-19 Alan Jenkins <alan-jenkins@tuffmail.co.uk>
+
+ AX_ENABLE_BUILDDIR: Add support for "dist-bzip2" target and friends
+ We already get a special toplevel Makefile rule for "dist", which
+ copies the tarball from the build directory to the source directory.
+
+ Many projects publish tarballs compressed using Bzip2 to save a bit
+ more bandwidth. Automake provides a "dist-bzip2" rule for this
+ purpose, and many others for different compression methods.
+ Unfortunately the rules don't all match the file extensions (dist-bzip
+ makes .bz2). So for dist-foo rules, just copy *all* the tarballs.
+ Ugly, but useful.
+
+2009-04-19 Alan Jenkins <alan-jenkins@tuffmail.co.uk>
+
+ AX_ENABLE_BUILDDIR: Fix "make distclean" toplevel Makefile target
+ $ ./configure; make
+ ...
+ MAKE i686-pc-linux-gnu : 0 * distclean
+ make[1]: Entering directory `/home/alan/bootup/src/module-init-tools/build'
+ rm -f doc/*.tmp manpage.refs manpage.links
+ make[1]: Leaving directory `/home/alan/bootup/src/module-init-tools/build'
+ MAKE i686-pc-linux-gnu : 0 * distclean (all local builds)
+ # rm -r .
+ # (sleep 3)
+ rm -r .
+ rm: cannot remove directory `.'
+
+ The problem is the method used to determine which builddirs are local,
+ and therefore should removed by "make distclean". It relies on them
+ starting with "./", but they don't :-). Instead, we can assume that
+ non-local directories will start with "/" or "../".
+
+2009-04-19 Alan Jenkins <alan-jenkins@tuffmail.co.uk>
+
+ AX_ENABLE_BUILDDIR: Prevent multiple dist-all targets in top-level Makefile
+ $ ./configure; make
+ ...
+ Makefile:852: target `dist-all' given more than once in the same rule.
+
+ The macro generates additional X-all targets, meaning "make target X in
+ all build directories". My source Makefile includes a rule like this:
+
+ dist dist-all: ...
+
+ It gets converted to
+
+ dist dist-all dist-all:
+
+ When what we really want is this
+
+ dist dist-all:
+
+2009-04-19 Alan Jenkins <alan-jenkins@tuffmail.co.uk>
+
+ AX_ENABLE_BUILDDIR: Fix ":=" assignments in top-level generated Makefile
+ The sed script which generates the top-level Makefile from the Makefile
+ in the build directory is flawed. It treats an assignment of the form
+ "TESTSUITE := ..." as a makefile rule - because it contains ":".
+
+ $ make
+ ...
+ MAKE : 1 * TESTSUITE
+ make[1]: Entering directory `/home/alan/bootup/src/module-init-tools/build'
+ make[1]: *** No rule to make target `TESTSUITE'. Stop.
+
+ Fix the sed script to skip the rule-related commands for lines which
+ contain ":=". As a cleanup, we can also skip the rule-related commands
+ for lines which do not contain ":". That simplifies those commands,
+ because they don't need to test for ":" themselves.
+
+2009-04-19 Alan Jenkins <alan-jenkins@tuffmail.co.uk>
+
+ AX_ENABLE_BUILDDIR: Fix builds configured from a subdirectory
+ I would like to be able to bypass ENABLE_BUILDDIR and configure a
+ subdirectory myself, without generating a toplevel Makefile.
+ (This is for an unusual automated testsuite which tests behaviour
+ with different configure options, and compiles with -DJUST_TESTING
+ to build a testable version of the program).
+
+ $ mkdir build; cd build; ../configure
+ ...
+ config.status: executing buildir commands
+ config.status: create top_srcdir/Makefile guessed from local Makefile
+ config.status: build in yes (HOST=)
+ ...
+ $ cd ..; make
+ MAKE i686-pc-linux-gnu : 0 * all-all
+ /bin/bash: line 9: cd: yes: No such file or directory
+ make: *** [all-all] Error 1
+
+ Also:
+ ./configure --disable-builddir
+ ...
+ config.status: executing buildir commands
+ config.status: keeping top_srcdir/Makefile from earlier configure
+ ...
+
+ Which should really be:
+
+ config.status: executing buildir commands
+ config.status: leaving top_srcdir/Makefile untouched
+
+2009-04-19 Alan Jenkins <alan-jenkins@tuffmail.co.uk>
+
+ AX_ENABLE_BUILDDIR: Fix path for config.guess
+ Using this macro, I get a warning that config.guess can't be found.
+ It doesn't cause a problem for me because I'm not cross-compiling
+ for multiple hosts, but it is annoying.
+
+ $ ./configure
+ ...
+ $ make
+ sh: Can't open ../config.guess
+ ...
+
+ Reason: ".." is "$AUX".
+ The top-level makefile is generated *after* the configure script reruns
+ itself in the build directory. At that point, AUX is equal to "..".
+
+ Solution: use AM_AUX_DIR_EXPAND to generate an absolute version of
+ ac_aux_dir.
+
+2009-04-19 Toni Corvera <outlyer@gmail.com>
+
+ AX_BOOST_{THREAD,PROGRAM_OPTIONS}: replace non-portable shell constructs
+ The mentioned files contain a non-portable shell construct, brace expansion
+ (e.g. dash and FreeBSD's sh don't support it). I guess the other ax_boost_<lib>
+ macro files contain similar stuff but I'm not using any other boost libs so I'd
+ rather not mess with them.
+
+2009-04-19 Michael McMaster <email@michaelmcmaster.name>
+
+ AX_C99_INLINE: initial version
+ The macro determines whether the "inline" keyword of a C99 compiler is
+ standards compliant or not. I am using this macro support differences
+ between gcc 4.2 (and earlier) and gcc 4.3 (and later) when using the
+ "-std= c99" option. It may also be useful for other compilers. (For
+ details of the differences between the compiler versions refer to
+ http:// gcc.gnu.org/gcc-4.3/porting_to.html "Sematic change of extern
+ inline")
+
+ Example configure.ac:
+
+ AC_INIT([foo], [0.1])
+ AM_INIT_AUTOMAKE
+
+ AC_PROG_CC
+ AC_PROG_CC_C99
+ if test "$ac_cv_prog_cc_c99" == "no"; then
+ AC_MSG_ERROR([A C99 compiler is required.])
+ fi
+
+ AX_C99_INLINE
+
+ AC_CONFIG_HEADERS([config.h])
+ AC_CONFIG_FILES([Makefile])
+ AC_OUTPUT
+
+ Example source file foo.h:
+
+ #ifdef HAVE_C99_INLINE
+ inline int myFunction(int a) { return a + 1; }
+ #else
+ static inline int myFunction(int a) { return a + 1; }
+ #endif
+
+ Example source foo.c:
+
+ extern inline int myFunction(int a);
+
+2009-04-19 Reuben Thomas <rrt@sc3d.org>
+
+ LUA: minor updates
+
+2009-04-19 Andreas Saebjoernsen <andreas.saebjoernsen@gmail.com>
+
+ AX_BOOST: added support for Wave
+ Updated macros due to link dependencies required in AC_CHECK_LIB.
+ AX_BOOST_FILESYSTEM requires the BOOST_SYSTEM library while
+ AX_BOOST_WAVE requires BOOST_THREAD_LIBRARY to link.
+
+2009-04-19 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+ Improved documentation.
+
+ AX_PROG_BISON, AX_PROG_FLEX: bugfixes
+
+2009-04-19 Bogdan <bogdandr@op.pl>
+
+ AC_PROTOTYPE: added proper call to AC_SUBST()
+ This patch updates the AC_PROTOTYPE_DEFINES() function to call
+ AC_SUBST() to substitute the correct values in the configure-generated
+ files. This is required if you want to distribute a public header file
+ that depends on some target system property.
+
+2009-04-19 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+ AX_GCC_VERSION: bugfix
+
+2009-04-19 Peter Simons <simons@cryp.to>
+
+ AX_F90_*: update copyright lines
+
+2009-04-19 Luc Maisonobe <luc@spaceroots.org>
+
+ AX_F90_*: fix cached variable warnings
+ Autoconf 2.63 generates warnings when cached variable names have no _cv_
+ in them.
+
+2009-04-19 Mats Kindahl <mats@sun.com>
+
+ AX_PERL_EXT_FLAGS: embedding Perl into a project using Autotools
+
+2009-04-19 Joshua Judson Rosen <jrosen@ll.mit.edu>
+
+ AX_PROG_DOXYGEN: bugfix
+ A collegue of mine recently ran into a problem: some "[]" syntax appear
+ to be leaking through when autoconf generated ./configure. Actually, it
+ was that a string was over-quoted and was thus not being expanded when
+ it should have. In some circumstances, it looks like the bug is `mostly
+ silent' (save for some bogus output in config.log), but we have seen
+ autoconf fail as a result of the "[]" being taken as an (invalid)
+ regexp.
+
+2009-04-05 Reuben Thomas <rrt@sc3d.org>
+
+ lua.m4: initial version
+
+2009-04-05 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+ AX_PROG_PERL_VERSION, AX_PROG_PYTHON_VERSION: improved documentation
+
+2008-11-07 Sebastian Waschik <sebastian.waschik@gmx.de>
+
+ AC_CXX_HAVE_VECTOR_AT: bugfix
+ Compilation of the test program failed even if the feature is available.
+
+2008-11-07 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+ Updated AX_TRILINOS macros.
+
+2008-10-08 Peter Simons <simons@cryp.to>
+
+ AX_CHECK_GL: updated to latest versions from Braden McDaniel
+
+2008-08-25 Dennis Felsing <dennis@felsin9.DE>
+
+ MP_WITH_CURSES: fix recently introduced bug
+
+2008-08-24 Fabien Coelho <autoconf.archive@coelho.net>
+
+ AX_LIB_NETTLE: Support for another cryptographic library, "nettle".
+
+2008-08-19 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+ AX_TRILINOS_*: Test for the Trilinos libraries.
+ AX_TRILINOS_AMESO, AX_TRILINOS_BASE, AX_TRILINOS_EPETRA, and
+ AX_TRILINOS_TEUCHOS are modeled after the boost library macros.
+
+ ACLTX_CLASS_CWEB: various improvements
+
+2008-08-19 Fabien Coelho <fabien.coelho@ensmp.fr>
+
+ AC_LIB_*CRYPT*: renamed to ax_lib_*crypt*
+ Renamed the recently submitted AC_LIB_*CRYPT* macro to use an AX_LIB
+ prefix. Also, the AX_LIB_CRYPTO macro will now find the IDEA algorithm.
+
+2008-08-06 Fabien COELHO <fabien@coelho.net>
+
+ AC_LIB_{BEECRYPT,CRYPTO,GCRYPT}: check for cryptographic libraries
+ These 3 macros check for cryptographic libraries and list their
+ available algorithms. It is quite basic, but it fits my needs.
+
+2008-08-06 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+ ACLTX_CLASS_CWEB: check the presence of the LaTeX cweb package
+ This is a one-off version of Boretti's excellent ACLTX_CLASS autoconf
+ macro. The macro checks for the presence of the LaTeX cweb package
+ (http://www.ctan.org/tex-archive/help/Catalogue/entries/cweb-latex.html).
+ The LaTeX cweb package requires some additional boilerplate that would
+ normally be generated by CWEB:
+
+ \input cwebmac
+ \documentclass{cweb}
+ \begin{document}
+ \M{1}
+ \end{document}
+ \fi
+ \fin
+
+2008-07-25 Jaroslav Hajek <highegg@gmail.com>
+
+ ACX_LAPACK: fix typo
+ This patch for Steven Johnson's acx_lapack.m4 fixes a typo and adds a
+ missing statement. I believe that the BLAS_LIBS="" statement should be
+ there, so that if BLAS is not found, the rest of the test is skipped and
+ LAPACK_LIBS is nullified, which makes sense.
+
+2008-06-18 Jaroslav Hajek <highegg@gmail.com>
+
+ ACX_BLAS_F77_FUNC: bug fixes
+ This patch corrects a few cosmetic bugs and adds also the missing checks
+ for REAL and INTEGER return values (I have recently seen a case when
+ only REALs were broken due to promoting them to double precision).
+
+2008-06-02 Guido U. Draheim <guidod@gmx.de>
+
+ AX_CREATE_PKGCONFIG_INFO: fix misspelled variable name
+
+2008-05-16 Julian Cummings <cummings@cacr.caltech.edu>
+
+ AC_COMPILE_CHECK_SIZEOF: bugfix
+ There was a typo regarding the optional EXTRA_SIZES argument.
+
+2008-05-16 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+ AX_GCC_INSTALL_DIR and AX_GCC_LIB*: one update and three new submissions
+
+2008-05-07 Peter Simons <simons@cryp.to>
+
+ AX_HAVE_EPOLL: cosmetic improvement to error message
+
+2008-05-05 Francesco Salvestrini <salvestrini@gmail.com>
+
+ AX_WITH_*: improvements to the documentation
+
+2008-05-03 Peter Simons <simons@cryp.to>
+
+ AX_HAVE_EPOLL: bugfix
+ Don't print a warning when run an a non-Linux machine.
+
+ AX_CONFIG_FEATURE: bugfix
+
+2008-05-02 Peter Simons <simons@cryp.to>
+
+ AX_HAVE_EPOLL: bugfix
+ Don't print a warning every time that macro is run on a non-Linux
+ machine.
+
+ AX_HAVE_ADNS: new submission
+
+ AX_HAVE_{EPOLL,POLL,SELECT}: new submissions
+
+2008-05-02 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+ AX_WITH_{GUILE,PERL,PROG,PYTHON,RUBY}: improved documentation
+
+2008-04-28 Peter Simons <simons@cryp.to>
+
+ AC_SET_VERSIONLEVEL: obsolete macro
+ This macro appears to be broken. Any attempt to use, i.e.
+
+ AC_SET_VERSIONLEVEL([foo], [1.1.1])
+
+ results in an error message: "m4_popdef: undefined macro: foo_MICRO". If
+ someone knows how to fix this problem, please let me know.
+
+2008-04-28 Peter Simons <simons@cryp.to>
+
+ AX_SET_VERSION_INFO: obsolete macro
+ To the best of my understanding, this macro is based on a misconception
+ about Libtool's -version-info flag.
+
+ Apparently, the macro invocation AX_SET_VERSION_INFO([2.4.18]) is
+ transformed into "-release 2" and "-version-info 4:18". However, those
+ two flags contradict each other. The -release option specifies a version
+ number in the sense that we all know and love, but -version-info does
+ not: that flag implements a fairly sophisticated scheme meant to express
+ binary interface compatibility which is supposed to *replace* -release
+ versions. Deriving settings for both of those flags from one number
+ doesn't make sense.
+
+ See "6.2 Libtool's versioning system" for further details.
+
+2008-04-23 Francesco Salvestrini <salvestrini@gmail.com>
+
+ AX_GCC_INSTALL_DIR: updated to use new AX_GCC_OPTION
+
+2008-04-17 Peter Simons <simons@cryp.to>
+
+ AC_CXX_*: added various macros for testing C++98 and C++TR1 compliance
+ Benjamin Kosnik kindly submitted his macro collection from libstdc++,
+
+ http://gcc.gnu.org/onlinedocs/libstdc++/manual/backwards.html#backwards.third
+
+ ..., for inclusion in the archive.
+
+2008-04-12 Peter Simons <simons@cryp.to>
+
+ ALL: updated m4 distribution format
+ The markup format distributed by the Autoconf Macro Archive underwent
+ the following changes:
+
+ * All archive entries use '#' comment delimiters, rather than 'dnl',
+ because we would like those comments to go into the generated
+ configure script. It should be simple for everyone to determine
+ where the macro came from originally, who wrote it, and where the
+ latest version can be retrieved. To achieve this, every macro used
+ to start with a distinguished line that shows the URL of its
+ respective home page, i.e.:
+
+ | ##### http://autoconf-archive.cryp.to/ax_prog_acme.html
+
+ As it happens, the aclocal utility distributed with Automake
+ ignores all comment lines that start with a double hash '##', thus
+ those home page URLs will not make it into any automatically
+ generated aclocal.m4 file. Duh. To remedy the situation, the
+ following markup is now used instead:
+
+ | # =================================================================
+ | # http://autoconf-archive.cryp.to/ax_prog_acme.html
+ | # =================================================================
+
+ * The 2.x versions of the GNU GPL and LGPL contain the following
+ clause:
+
+ | You should have received a copy of the <GNU LICENSE NAME> along
+ | with this program; if not, write to the Free Software Foundation,
+ | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+ Version 3.x, however, smartly refers the reader to the Web:
+
+ | You should have received a copy of the GNU General Public License
+ | along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+ This patch changes all GPL2 and LGPL2 macros to do the same, i.e.
+ to refer to the GNU web site for the full text of the respective
+ license.
+
+ * Since all m4 files had to be changed in this commit anyway, the
+ opportunity was used to increase the auto-fill column for
+ documentation from 65 to 75 characters per line. It's a trivial
+ change, but it just looks nicer.
+
+2008-03-31 Jaroslav Hajek <highegg@gmail.com>
+
+ ACX_BLAS_F77_FUNC, ACX_BLAS_WITH_F77_FUNC: initial submission
+ Both macros were tested on a machine with gfortran but
+ g77-compiled (system-supplied) BLAS and worked as expected.
+
+2008-03-31 Steven G. Johnson <stevenj@alum.mit.edu>
+
+ ACX_BLAS: added recognition of Intel MKL and Apple vecLib library
+
+2008-03-31 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+ AX_GCC_VERSION, AX_GXX_VERSION: initial submission
+
+2008-03-30 Sean Geoghegan <seangeo@gmail.com>
+
+ AX_LIB_SQLITE3: fixed a bug in the automatic directory detection
+ The auto-detected CPP flags and LD flags for sqlite3 were being
+ assigned to the wrong variables.
+
+2008-03-30 Dilyan Palauzov <Dilyan.Palauzov@aegee.org>
+
+ BERKELEY_DB: silence autoheader 2.61 warning
+
+2008-03-30 Thomas Porschberg <thomas@randspringer.de>
+
+ AX_BOOST_BASE: add support for --with-boost-libdir
+ This patch originated in the PDFedit project [1]. It adds the capability to
+ specify the library path explicitly using the `--with-boost-libdir=LIB_DIR'
+ flag. This is required, for example, on platforms that offer both 32 and 64
+ bit versions of the libraries, but in different directories.
+
+ [1] http://sourceforge.net/projects/pdfedit
+
+2008-03-01 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+ MP_WITH_CURSES: removed autoheader warnings
+
+ AX_PROG_FLEX: test whether AC_PROG_LEX found flex (initial version)
+
+ AX_PROG_BISON: test whether AC_PROG_YACC found bison (initial version)
+
+2008-03-01 Mateusz Loskot <mateusz@loskot.net>
+
+ AX_LIB_XERCES: updated
+
+2008-02-21 Francesco Salvestrini <salvestrini@gmail.com>
+
+ AX_PATH_MISSING: added missing 'unset' and improved documentation
+
+2008-02-20 Peter Simons <simons@cryp.to>
+
+ AX_RUBY_DEVEL: Corrected spelling of the author's name.
+ It's Rafal Rzepecki, where the last 'l' really is an &lslash; from
+ ISO-8859-2. Unfortunately, that character cannot be used easily in m4
+ macros.
+
+ Note that this macro has been derived from AC_PYTHON_DEVEL, but does not
+ depend on it.
+
+2008-02-20 Peter Simons <simons@cryp.to>
+
+ AX_LIB_XML_SECURITY: added link to project home page
+
+2008-02-20 Alexander Petry <petry@itwm.fhg.de>
+
+ AX_LIB_XML_SECURITY: detect Apache Xml-Security C++ library (initial version)
+ This macro is based on Mateusz Loskot's AX_LIB_XERCES.
+
+2008-02-20 Daniel Casimiro <dan.casimiro@gmail.com>
+
+ AX_BOOST_SYSTEM: detect Boost.System library (initial version)
+
+2008-02-20 Francesco Salvestrini <salvestrini@gmail.com>
+
+ AX_PATH_MISSING: added missing dereferencing
+
+2008-02-12 Rafa Rzepecki <divided.mind@gmail.com>
+
+ AX_RUBY_DEVEL: detect Ruby development environment (initial version)
+
+2008-01-29 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+ Re-released recent additions under an all-permissive license and added listed Dustin J. Mitchell as joint copyright holder of AX_WITH_PROG.
+
+2008-01-29 Mateusz Loskot <mateusz@loskot.net>
+
+ AX_LIB_POSTGRESQL: bugfix
+
+2008-01-28 Francesco Salvestrini <salvestrini@gmail.com>
+
+ Major re-factoring of Perl, Guile, Python, and Ruby detection macros.
+ The new submission AX_WITH_PROG generalizes the technique employed by the
+ original AX_WITH_PYTHON to allow for detecting generic executables. Based on
+ that macro, trivial wrappers are provided for finding installed versions of
+ Perl, Guile, Python, and Ruby.
+
+ NOTE: The earlier version of AX_WITH_PYTHON performed a version check. The
+ AX_WITH_PROG-based macros don't do that. Instead, separate macros are available
+ for Perl, Guile, Python, and Ruby that check the version of a given executable
+ in a second, independent step.
+
+2008-01-28 Sven Verdoolaege <skimo@kotnet.org>
+
+ AX_CREATE_PKGCONFIG_INFO: updated e-mail address
+
+2008-01-28 Peter Simons <simons@cryp.to>
+
+ AX_COMPARE_VERSION: cosmetic change
+ Removed the reference to AX_PATH_BDB from the documentation in order to
+ generate a neater cross-reference graph. The macro's HTML page refers to
+ that macro anyway.
+
+2008-01-28 Duncan Simpson <dps@simpson.demon.co.uk>
+
+ DPS_LIBGCJ_JAR: find classpath built into gcj (initial version)
+
+ DPS_XTRA_CLASSPATH: detect classpath required to find a class in a jar file (initial version)
+
+ DPS_JAVA_CHECK_CLASS: test if a Java class is available (initial version)
+
+ DPS_CHECK_PLUGIN: find a compatible version of plugin.jar (initial version)
+
+2008-01-28 Andy Kitchen <agimbleinthewabe@gmail.com>
+
+ AX_LLVM: detect LLVM (initial version)
+
+2008-01-28 Francesco Salvestrini <salvestrini@gmail.com>
+
+ AX_COMPARE_VERSION: Added AC_PROG_AWK call and replaced use of awk with $AWK.
+
+2008-01-10 Dustin J. Mitchell <dustin@zmanda.com>
+
+ AC_CHECK_DOCBOOK_XSLT(_MIN): minor updates
+
+2007-12-18 Jean-Louis Martineau <martineau@zmanda.com>
+
+ AC_CHECK_DOCBOOK_DTD: minor portability fix
+
+2007-12-06 Mateusz Loskot <mateusz@loskot.net>
+
+ AX_LIB_EXPAT: initial submission
+
+2007-12-06 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+ AX_MISSING_PROG: improved the documentation
+
+2007-12-03 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+ AX_MISSING_PROG, AX_PATH_MISSING: re-factored for improved modularity
+ Added a new macro AX_MISSING_PROG that wraps AM_MISSING_PROG (from
+ Automake) and modified AX_PATH_MISSING to wrap AX_MISSING_PROG. The
+ change is transparent for users of the previous version.
+
+ The names used in the macro-chain are confusing, but I didn't find a
+ better solution. Suggestions are welcome.
+
+2007-12-03 Christophe Tournayre <turn3r@users.sourceforge.net>
+
+ AX_COUNT_CPUS: added MacOS X support
+
+2007-11-30 Christophe Tournayre <turn3r@users.sourceforge.net>
+
+ AX_EXT: new submission to detect the supported SIMD extensions
+
+ AX_CPU_VENDOR: new submission to detect the cpu vendor
+
+ AX_CPU_FREQ: new submission to detect the cpu frequency
+
+ AX_CACHE_SIZE: new submission to detect L1 and L2 cache sizes
+
+2007-11-30 Mateusz Loskot <mateusz@loskot.net>
+
+ AX_LIB_FIREBIRD: new submission to detect the Firebird client library
+
+ AX_LIB_ORACLE_OCI: various improvements
+ Users who update from an earlier version should be aware of the fact that the
+ result variable has been renamed from HAVE_ORACLE to HAVE_ORACLE_OCI.
+
+2007-11-30 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+ AX_{C,CPP,CXX,CXXPP,LD}_CHECK_FLAG: Check flags supported by the tool-chain.
+ The new submissions generalize the functionality provided by AX_GCC_OPTION.
+
+2007-11-22 Pierre Hebert <pierrox@pierrox.net>
+
+ BNV_HAVE_QT: provide QT_LRELEASE and QT_LUPDATE variables
+
+2007-11-22 Bogdan Drozdowski <bogdandr@op.pl>
+
+ AX_GCC_OPTION: improved portability by providing a dummy file to compile
+
+2007-11-22 Thomas Porschberg <thomas@randspringer.de>
+
+ AX_BOOST_*: bug fixes for MinGW and FC
+
+2007-11-22 Mateusz Loskot <mateusz@loskot.net>
+
+ AX_LIB_XERCES: initial version
+
+2007-09-09 Peter Simons <simons@cryp.to>
+
+ New macros to test for various assemblers, like nasm, yasm, etc.
+
+2007-08-21 Peter Simons <simons@cryp.to>
+
+ AX_ENABLE_BUILDDIR: Bump modification date to obsolete the reverted version.
+
+2007-08-21 Peter Simons <simons@cryp.to>
+
+ AX_ENABLE_BUILDDIR: Revert renaming of variable HOST to BUILD.
+ Further discussion on the Autoconf mailing list has reached the
+ following consensus: although BUILD is the right choice in most
+ cases, in case of cross-compilation it is not. Cross-compilation
+ needs HOST to be set, so the original version of this macro is
+ the safer choice. This patch reverts commit
+ 41da8f494cd209a9836ebeae8f211cb84dde9153.
+
+ An unpleasant property of HOST is that most shell environments
+ define that variable to the local hostname. When configure uses
+ $HOST as a default setting, however, that is not what it expects
+ to find -- HOST is supposed to be config.guess tripple. Thus, the
+ user is forced to specify HOST explicitly or to undefine $HOST in
+ the shell before calling configure. That's a bit of mess. Bright
+ ideas and patches are welcome.
+
+2007-08-17 Julian Cummings <cummings@cacr.caltech.edu>
+
+ AX_COMPILER_VENDOR: added support for Pathscale compiler
+
+2007-08-09 Julian Cummings <cummings@cacr.caltech.edu>
+
+ AX_F90_MODULE_FLAG: drop support for -module flag
+ It turns out that in Version 3.0 of the Pathscale Fortran
+ compiler they have "clarified" the meaning of the -module flag to
+ only be for setting the directory where *.mod files are written.
+ In version 3.0, you can only use -module once in a command line,
+ and if you use it, then the compiler will look there first for
+ module files to be read before looking in the -I directories.
+ Thus, it really is best to just use the -I flag here and let the
+ user add one specific -module option only if they want or need to
+ redirect module output files.
+
+ This commit reverts 5ba234dd8f69456238e7718d4f3a7c116639e373.
+
+2007-08-04 raf <raf@raf.org>
+
+ AC_RAF_FUNC_WHICH_GETSERVBYNAME_R: update to GPL3 (with Autoconf exception)
+
+2007-08-04 Alan Woodland <ajw05@aber.ac.uk>
+
+ AX_TLS: update license to GPL3 (with Autoconf exception)
+
+2007-08-04 Oren Ben-Kiki <oren@ben-kiki.org>
+
+ AX_PROG_DOXYGEN: re-release all-permissive
+
+2007-08-04 Tal Shalif <tal@shalif.com>
+
+ AC_PKG_MICO: re-release all-permissive
+
+2007-08-04 Dustin J. Mitchell <dustin@cs.uchicago.edu>
+
+ AZ_PYTHON: re-release all-permissive
+ Robert White agreed as well.
+
+2007-08-04 Julian Cummings <cummings@cacr.caltech.edu>
+
+ AX_F90_MODULE_FLAG: support -module PGI compiler flag
+ I have "-module " to the list of compiler options that is tried
+ in order to support the PGI Fortran compiler. Without this
+ change, the PGI compiler actually accepts "-I" and passes the
+ test. However, this option is actually meant for setting the
+ include file search path to find files that are included with the
+ Fortran INCLUDE statement. Although the -I flag works in this
+ case because there are no -module options on the command line,
+ things will not work correctly if the user does bring in the
+ -module option on the actual compile command line.
+
+2007-08-04 Peter Simons <simons@cryp.to>
+
+ AX_ENABLE_BUILDDIR_UNAME: Obsoleted.
+ This macro duplicates the functionality of the standard Autoconf macro
+ AC_CANONICAL_BUILD. Kindly pointed out by Julian C. Cummings.
+
+ AX_PREFIX_CONFIG_H: stripped invalid e-mail address
+ Marten Svantesson's e-mail address has become invalid. If anyone
+ knows how to reach him, please let me know.
+
+2007-08-04 Julian Cummings <cummings@cacr.caltech.edu>
+
+ AX_ENABLE_BUILDDIR: Renamed variable HOST to BUILD.
+ The patch universally replaces "host" with "build" and "HOST"
+ with "BUILD". The rationale is that typically the user wishes to
+ segregate builds based upon the BUILD target rather than the
+ configuration HOST type. Now that these host and build variables
+ are treated as more fully distinct in Autoconf, it makes sense to
+ honor this distinction.
+
+2007-07-31 Peter Simons <simons@cryp.to>
+
+ AC_PYTHON_DEVEL: re-released under GPL3 (with autoconf exception)
+
+2007-07-31 Mark Pulford <mark@kyne.com.au>
+
+ MP_WITH_CURSES: re-released under GPL3 (with autoconf exception)
+
+2007-07-31 Uwe Mayer <merkosh@hadiko.de>
+
+ MERK_PROG_TCL: re-released under GPL3 (with autoconf exception)
+
+ AX_PROG_TCL: re-released under GPL3 (with autoconf exception)
+
+2007-07-31 Kaveh Ghazi <ghazi@caip.rutgers.edu>
+
+ AC_COMPILE_CHECK_SIZEOF: re-released under GPL3 (with autoconf exception)
+
+2007-07-29 Steven G. Johnson <stevenj@alum.mit.edu>
+
+ updated from GPL2 to GPL3 (with autoconf exception)
+
+2007-07-29 Ruslan Shevchenko <Ruslan@Shevchenko.Kiev.UA>
+
+ RSSH_CHECK_OFF64_T: updated from LGPL2 to LGPL3
+
+2007-07-29 Paul Gilmartin <pg@sweng.stortek.com>
+
+ CF_EBCDIC: updated license from gpl2 to gpl3 (with autoconf exception)
+
+2007-07-29 Bruce Korb <bkorb@gnu.org>
+
+ AG_CHECK_*: re-released under all-permissive license
+
+2007-07-29 Vaclav Slavik <vaclav.slavik@matfyz.cz>
+
+ BERKELEY_DB: re-released under all-permissive license
+
+2007-07-29 Tim Toolan <toolan@ele.uri.edu>
+
+ AX_COMPARE_VERSION, AX_PATH_BDB, AX_PATH_MILTER: re-release all-permissive
+
+2007-07-29 Oskar Liljeblad <oskar@osk.mine.nu>
+
+ AC_LIB_ID3, AC_LIB_UPNP: re-release under all-permissive license
+
+2007-07-29 Dustin J. Mitchell <dustin@cs.uchicago.edu>
+
+ Use author attribution "Dustin J. Mitchell" consistently.
+
+2007-07-29 Ville Laurikari <vl@iki.fi>
+
+ AC_LIB_READLINE, AC_PROG_CC_WARNINGS: update license from GPL2 to GPL3
+
+2007-07-29 Peter Simons <simons@cryp.to>
+
+ Pruned invalid e-mail addresses.
+ The following contributors have become unreachable:
+
+ Mark Elbrecht <snowball3@bigfoot.com>
+ Mark R. Bannister <markb@freedomware.co.uk>
+ Ilguiz Latypov <ilatypov@superbt.com>
+ Matthew D. Langston <langston@SLAC.Stanford.EDU>
+
+2007-07-29 Peter Simons <simons@cryp.to>
+
+ AC_CXX_HAVE_EXT_HASH_MAP, AC_PATH_GENERIC, AC_PATH_LIB: remove invalid e-mail
+ The e-mail addresses listed for Perceval Anichini and Angus Lees no longer
+ work. If anyone knows how to reach them, please let me know.
+
+2007-07-29 Dustin Mitchell <dustin@cs.uchicago.edu>
+
+ AX_PYTHON_CONFIG_VAR, AX_WITH_APXS, AX_WITH_PYTHON: release all-permissive
+
+2007-07-28 Peter Simons <simons@cryp.to>
+
+ ax_c___attribute__.m4: dropped invalid e-mail address
+ Christian Haggstrom's e-mail address chm@c00.info is unreachable.
+
+2007-07-28 Thomas Porschberg <thomas@randspringer.de>
+
+ ax_boost_base.m4: recognize macports installation
+ The update reflects that boost library is installed in /opt/local
+ for mac users when using macports (macports.org). I got the
+ advice from Ernest Turro.
+
+2007-07-27 Peter Simons <simons@cryp.to>
+
+ AX_CFLAGS_GCC_OPTION: Cosmetic editing for improved HTML hyper-linking.
+
+2007-07-26 Thomas Porschberg <thomas@randspringer.de>
+
+ AX_BOOST: obsoleted in favor of modular macros
+ The macro AX_BOOST is deprecated. All users should use
+ AX_BOOST_BASE and the specific macros like ax_boost_date_time.m4,
+ etc.
+
+ AX_BOOST_*: adapted for naming convention in Boost version 1.34
+
+2007-07-26 Pete Greenwell <pete@mu.org>
+
+ AX_BOOST_ASIO: initial version
+ The asio library is not yet a part of the latest boost library
+ collection, but will be shipped with version 1.35.
+
+2007-07-26 Stepan Kasal <skasal@redhat.com>
+
+ AX_C___ATTRIBUTE__: fixed for gcc4
+ The macro did not work with current gcc. The problem is that gcc4
+ does not swallow nested function, so the declaration and
+ definition of the test function had to be moved from the body of
+ main() to the prologue of conftest.c.
+
+2007-07-24 Mikael Lepistö <mikael.lepisto@tut.fi>
+
+ ax_boost*.m4: fix library detection when compiling with -pedantic
+ When running the Boost macros with the "-pedantic" compiler
+ switch, they fail. It seems that the problem is a multiply
+ defined "main" function in the generated test program. I changed
+ the call to AC_CHECK_LIB to use "exit" instead of "main", which
+ seems to work reliably.
+
+2007-07-19 Alan Woodland <ajw05@aber.ac.uk>
+
+ AX_TLS: initial version
+ The attached macro attempts to detect compiler support for TLS
+ storage class extensions and how to use that extension. It then
+ defines the macro TLS to the keyword it found.
+
+2007-07-18 Peter Simons <simons@cryp.to>
+
+ AX_BOOST_*, AX_PYTHON: Michael Tindal's e-mail address is invalid.
+ The address <mtindal@paradoxpoint.com> no longer works because the
+ domain name paradoxpoint.com appears to have expired. If anyone knows
+ how to reach Michael these days, please let me know. Thanks to Mikael
+ Lepistö for bringing this problem to my attention.
+
+2007-07-18 Mikael Lepistö <mikael.lepisto@tut.fi>
+
+ AX_PYTHON: added support for python 2.5
+
+2007-06-27 Dustin J. Mitchell <dustin@zmanda.com>
+
+ Bug fix for Solaris 9.
+ One of our users noticed some strange output on Solaris 9 from
+ this macro. It looks like it was a fairly trivial typo, executing
+ $1 (a list of headers) instead of $2 (optional shell commands).
+
+2007-06-01 Peter Simons <simons@cryp.to>
+
+ release 2007-06-01
+
+2007-06-01 Noah Slater <nslater@bytesexual.org>
+
+ AX_PATH_MISSING: Check whether a given program exists in path.
+
+2007-05-15 Peter Simons <simons@cryp.to>
+
+ Use consistent author attribution for Zmanda Inc.
+
+2007-05-12 Alex Pletzer <pletzer@txcorp.com>
+
+ There is an error at line:
+ | if test "$ax_flag" = "not found" ; then
+
+ in ax_f90_module_flag.m4. It should read:
+
+ if test "$ax_f90_modflag" = "not found" ; then
+
+2007-05-10 Peter Simons <simons@cryp.to>
+
+ ax_f90_module_extension.m4: portability fix
+ Luc Maisonobe <luc.maisonobe@free.fr> wrote:
+
+ > Alexander Pletzer <pletzer@txcorp.com> found an error in the
+ > AX_F90_MODULE_EXTENSION. As far as I understand, due to some
+ > leading blanks in the fortran code snippet, some compilers
+ > switched to fixed form fortran and failed to compile the code.
+ > So he added a simple fortran90-only comment to make sure the
+ > compiler stay in F90 mode.
+
+2007-05-09 Peter Simons <simons@cryp.to>
+
+ AC_CHECK_DOCBOOK_XSLT_MIN: consistency edits
+
+ AC_CHECK_DOCBOOK_XSLT_MIN: new submission
+
+2007-04-19 Peter Simons <simons@cryp.to>
+
+ Added submissions from Dustin J. Mitchell <dustin@zmanda.com>: AC_CHECK_DOCBOOK_DTD, AC_CHECK_DOCBOOK_XSLT, and AC_PROG_XSLTPROC.
+
+2007-03-23 Peter Simons <simons@cryp.to>
+
+ ax_boost_thread.m4: improved platform recognition.
+
+ ax_boost_test_exec_monitor.m4: Fixed usage description.
+
+2007-03-22 Peter Simons <simons@cryp.to>
+
+ ax_boost_test_exec_monitor.m4: New submission from Dodji Seketeli.
+
+2007-03-15 Peter Simons <simons@cryp.to>
+
+ ax_boost.m4, ax_boost_base.m4: Updated help messages.
+ Thomas Porschberg updated the help messages to reflect the
+ defaults correctly. Boost is now enabled unless specified
+ otherwise.
+
+2007-03-12 Peter Simons <simons@cryp.to>
+
+ ax_boost*.m4: Portability improvements.
+ Joerg Sonnenberger reported a problem:
+
+ | This fails on a number of systems because in
+ |
+ | AC_CHECK_LIB($ax_lib, main, [BOOST_REGEX_LIB=$ax_lib break])
+ |
+ | the BOOST_REGEX_LIB a local variable for break. Can you fix
+ | that macro to use two statements? Try running this with bash3
+ | in native mode for example.
+
+ Thomas Porschberg submitted the new versions in
+ <20070312215212.6da63127@jeschken.quark.de>.
+
+2007-02-18 Peter Simons <simons@cryp.to>
+
+ Received new submission: rssh_check_off64_t.m4.
+
+ Imported http://autoconf-archive.cryp.to/ release 2007-02-14.
--- /dev/null
+Installation Instructions
+*************************
+
+ Copyright (C) 1994-1996, 1999-2002, 2004-2017, 2020-2021 Free
+Software Foundation, Inc.
+
+ Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved. This file is offered as-is,
+without warranty of any kind.
+
+Basic Installation
+==================
+
+ Briefly, the shell command './configure && make && make install'
+should configure, build, and install this package. The following
+more-detailed instructions are generic; see the 'README' file for
+instructions specific to this package. Some packages provide this
+'INSTALL' file but do not implement all of the features documented
+below. The lack of an optional feature in a given package is not
+necessarily a bug. More recommendations for GNU packages can be found
+in *note Makefile Conventions: (standards)Makefile Conventions.
+
+ The 'configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation. It uses
+those values to create a 'Makefile' in each directory of the package.
+It may also create one or more '.h' files containing system-dependent
+definitions. Finally, it creates a shell script 'config.status' that
+you can run in the future to recreate the current configuration, and a
+file 'config.log' containing compiler output (useful mainly for
+debugging 'configure').
+
+ It can also use an optional file (typically called 'config.cache' and
+enabled with '--cache-file=config.cache' or simply '-C') that saves the
+results of its tests to speed up reconfiguring. Caching is disabled by
+default to prevent problems with accidental use of stale cache files.
+
+ If you need to do unusual things to compile the package, please try
+to figure out how 'configure' could check whether to do them, and mail
+diffs or instructions to the address given in the 'README' so they can
+be considered for the next release. If you are using the cache, and at
+some point 'config.cache' contains results you don't want to keep, you
+may remove or edit it.
+
+ The file 'configure.ac' (or 'configure.in') is used to create
+'configure' by a program called 'autoconf'. You need 'configure.ac' if
+you want to change it or regenerate 'configure' using a newer version of
+'autoconf'.
+
+ The simplest way to compile this package is:
+
+ 1. 'cd' to the directory containing the package's source code and type
+ './configure' to configure the package for your system.
+
+ Running 'configure' might take a while. While running, it prints
+ some messages telling which features it is checking for.
+
+ 2. Type 'make' to compile the package.
+
+ 3. Optionally, type 'make check' to run any self-tests that come with
+ the package, generally using the just-built uninstalled binaries.
+
+ 4. Type 'make install' to install the programs and any data files and
+ documentation. When installing into a prefix owned by root, it is
+ recommended that the package be configured and built as a regular
+ user, and only the 'make install' phase executed with root
+ privileges.
+
+ 5. Optionally, type 'make installcheck' to repeat any self-tests, but
+ this time using the binaries in their final installed location.
+ This target does not install anything. Running this target as a
+ regular user, particularly if the prior 'make install' required
+ root privileges, verifies that the installation completed
+ correctly.
+
+ 6. You can remove the program binaries and object files from the
+ source code directory by typing 'make clean'. To also remove the
+ files that 'configure' created (so you can compile the package for
+ a different kind of computer), type 'make distclean'. There is
+ also a 'make maintainer-clean' target, but that is intended mainly
+ for the package's developers. If you use it, you may have to get
+ all sorts of other programs in order to regenerate files that came
+ with the distribution.
+
+ 7. Often, you can also type 'make uninstall' to remove the installed
+ files again. In practice, not all packages have tested that
+ uninstallation works correctly, even though it is required by the
+ GNU Coding Standards.
+
+ 8. Some packages, particularly those that use Automake, provide 'make
+ distcheck', which can by used by developers to test that all other
+ targets like 'make install' and 'make uninstall' work correctly.
+ This target is generally not run by end users.
+
+Compilers and Options
+=====================
+
+ Some systems require unusual options for compilation or linking that
+the 'configure' script does not know about. Run './configure --help'
+for details on some of the pertinent environment variables.
+
+ You can give 'configure' initial values for configuration parameters
+by setting variables in the command line or in the environment. Here is
+an example:
+
+ ./configure CC=c99 CFLAGS=-g LIBS=-lposix
+
+ *Note Defining Variables::, for more details.
+
+Compiling For Multiple Architectures
+====================================
+
+ You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory. To do this, you can use GNU 'make'. 'cd' to the
+directory where you want the object files and executables to go and run
+the 'configure' script. 'configure' automatically checks for the source
+code in the directory that 'configure' is in and in '..'. This is known
+as a "VPATH" build.
+
+ With a non-GNU 'make', it is safer to compile the package for one
+architecture at a time in the source code directory. After you have
+installed the package for one architecture, use 'make distclean' before
+reconfiguring for another architecture.
+
+ On MacOS X 10.5 and later systems, you can create libraries and
+executables that work on multiple system types--known as "fat" or
+"universal" binaries--by specifying multiple '-arch' options to the
+compiler but only a single '-arch' option to the preprocessor. Like
+this:
+
+ ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+ CPP="gcc -E" CXXCPP="g++ -E"
+
+ This is not guaranteed to produce working output in all cases, you
+may have to build one architecture at a time and combine the results
+using the 'lipo' tool if you have problems.
+
+Installation Names
+==================
+
+ By default, 'make install' installs the package's commands under
+'/usr/local/bin', include files under '/usr/local/include', etc. You
+can specify an installation prefix other than '/usr/local' by giving
+'configure' the option '--prefix=PREFIX', where PREFIX must be an
+absolute file name.
+
+ You can specify separate installation prefixes for
+architecture-specific files and architecture-independent files. If you
+pass the option '--exec-prefix=PREFIX' to 'configure', the package uses
+PREFIX as the prefix for installing programs and libraries.
+Documentation and other data files still use the regular prefix.
+
+ In addition, if you use an unusual directory layout you can give
+options like '--bindir=DIR' to specify different values for particular
+kinds of files. Run 'configure --help' for a list of the directories
+you can set and what kinds of files go in them. In general, the default
+for these options is expressed in terms of '${prefix}', so that
+specifying just '--prefix' will affect all of the other directory
+specifications that were not explicitly provided.
+
+ The most portable way to affect installation locations is to pass the
+correct locations to 'configure'; however, many packages provide one or
+both of the following shortcuts of passing variable assignments to the
+'make install' command line to change installation locations without
+having to reconfigure or recompile.
+
+ The first method involves providing an override variable for each
+affected directory. For example, 'make install
+prefix=/alternate/directory' will choose an alternate location for all
+directory configuration variables that were expressed in terms of
+'${prefix}'. Any directories that were specified during 'configure',
+but not in terms of '${prefix}', must each be overridden at install time
+for the entire installation to be relocated. The approach of makefile
+variable overrides for each directory variable is required by the GNU
+Coding Standards, and ideally causes no recompilation. However, some
+platforms have known limitations with the semantics of shared libraries
+that end up requiring recompilation when using this method, particularly
+noticeable in packages that use GNU Libtool.
+
+ The second method involves providing the 'DESTDIR' variable. For
+example, 'make install DESTDIR=/alternate/directory' will prepend
+'/alternate/directory' before all installation names. The approach of
+'DESTDIR' overrides is not required by the GNU Coding Standards, and
+does not work on platforms that have drive letters. On the other hand,
+it does better at avoiding recompilation issues, and works well even
+when some directory options were not specified in terms of '${prefix}'
+at 'configure' time.
+
+Optional Features
+=================
+
+ If the package supports it, you can cause programs to be installed
+with an extra prefix or suffix on their names by giving 'configure' the
+option '--program-prefix=PREFIX' or '--program-suffix=SUFFIX'.
+
+ Some packages pay attention to '--enable-FEATURE' options to
+'configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to '--with-PACKAGE' options, where PACKAGE
+is something like 'gnu-as' or 'x' (for the X Window System). The
+'README' should mention any '--enable-' and '--with-' options that the
+package recognizes.
+
+ For packages that use the X Window System, 'configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the 'configure' options '--x-includes=DIR' and
+'--x-libraries=DIR' to specify their locations.
+
+ Some packages offer the ability to configure how verbose the
+execution of 'make' will be. For these packages, running './configure
+--enable-silent-rules' sets the default to minimal output, which can be
+overridden with 'make V=1'; while running './configure
+--disable-silent-rules' sets the default to verbose, which can be
+overridden with 'make V=0'.
+
+Particular systems
+==================
+
+ On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC
+is not installed, it is recommended to use the following options in
+order to use an ANSI C compiler:
+
+ ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
+
+and if that doesn't work, install pre-built binaries of GCC for HP-UX.
+
+ HP-UX 'make' updates targets which have the same timestamps as their
+prerequisites, which makes it generally unusable when shipped generated
+files such as 'configure' are involved. Use GNU 'make' instead.
+
+ On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
+parse its '<wchar.h>' header file. The option '-nodtk' can be used as a
+workaround. If GNU CC is not installed, it is therefore recommended to
+try
+
+ ./configure CC="cc"
+
+and if that doesn't work, try
+
+ ./configure CC="cc -nodtk"
+
+ On Solaris, don't put '/usr/ucb' early in your 'PATH'. This
+directory contains several dysfunctional programs; working variants of
+these programs are available in '/usr/bin'. So, if you need '/usr/ucb'
+in your 'PATH', put it _after_ '/usr/bin'.
+
+ On Haiku, software installed for all users goes in '/boot/common',
+not '/usr/local'. It is recommended to use the following options:
+
+ ./configure --prefix=/boot/common
+
+Specifying the System Type
+==========================
+
+ There may be some features 'configure' cannot figure out
+automatically, but needs to determine by the type of machine the package
+will run on. Usually, assuming the package is built to be run on the
+_same_ architectures, 'configure' can figure that out, but if it prints
+a message saying it cannot guess the machine type, give it the
+'--build=TYPE' option. TYPE can either be a short name for the system
+type, such as 'sun4', or a canonical name which has the form:
+
+ CPU-COMPANY-SYSTEM
+
+where SYSTEM can have one of these forms:
+
+ OS
+ KERNEL-OS
+
+ See the file 'config.sub' for the possible values of each field. If
+'config.sub' isn't included in this package, then this package doesn't
+need to know the machine type.
+
+ If you are _building_ compiler tools for cross-compiling, you should
+use the option '--target=TYPE' to select the type of system they will
+produce code for.
+
+ If you want to _use_ a cross compiler, that generates code for a
+platform different from the build platform, you should specify the
+"host" platform (i.e., that on which the generated programs will
+eventually be run) with '--host=TYPE'.
+
+Sharing Defaults
+================
+
+ If you want to set default values for 'configure' scripts to share,
+you can create a site shell script called 'config.site' that gives
+default values for variables like 'CC', 'cache_file', and 'prefix'.
+'configure' looks for 'PREFIX/share/config.site' if it exists, then
+'PREFIX/etc/config.site' if it exists. Or, you can set the
+'CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all 'configure' scripts look for a site script.
+
+Defining Variables
+==================
+
+ Variables not defined in a site shell script can be set in the
+environment passed to 'configure'. However, some packages may run
+configure again during the build, and the customized values of these
+variables may be lost. In order to avoid this problem, you should set
+them in the 'configure' command line, using 'VAR=value'. For example:
+
+ ./configure CC=/usr/local2/bin/gcc
+
+causes the specified 'gcc' to be used as the C compiler (unless it is
+overridden in the site shell script).
+
+Unfortunately, this technique does not work for 'CONFIG_SHELL' due to an
+Autoconf limitation. Until the limitation is lifted, you can use this
+workaround:
+
+ CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
+
+'configure' Invocation
+======================
+
+ 'configure' recognizes the following options to control how it
+operates.
+
+'--help'
+'-h'
+ Print a summary of all of the options to 'configure', and exit.
+
+'--help=short'
+'--help=recursive'
+ Print a summary of the options unique to this package's
+ 'configure', and exit. The 'short' variant lists options used only
+ in the top level, while the 'recursive' variant lists options also
+ present in any nested packages.
+
+'--version'
+'-V'
+ Print the version of Autoconf used to generate the 'configure'
+ script, and exit.
+
+'--cache-file=FILE'
+ Enable the cache: use and save the results of the tests in FILE,
+ traditionally 'config.cache'. FILE defaults to '/dev/null' to
+ disable caching.
+
+'--config-cache'
+'-C'
+ Alias for '--cache-file=config.cache'.
+
+'--quiet'
+'--silent'
+'-q'
+ Do not print messages saying which checks are being made. To
+ suppress all normal output, redirect it to '/dev/null' (any error
+ messages will still be shown).
+
+'--srcdir=DIR'
+ Look for the package's source code in directory DIR. Usually
+ 'configure' can determine that directory automatically.
+
+'--prefix=DIR'
+ Use DIR as the installation prefix. *note Installation Names:: for
+ more details, including other options available for fine-tuning the
+ installation locations.
+
+'--no-create'
+'-n'
+ Run the configure checks, but stop before creating any output
+ files.
+
+'configure' also accepts some other, not widely useful, options. Run
+'configure --help' for more details.
--- /dev/null
+# Makefile.in generated by automake 1.16.5 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2021 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Build and install the GNU Autoconf Archive.
+#
+# Copyright (c) 2022 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
+#
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free Software
+# Foundation, either version 3 of the License, or (at your option) any later
+# version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program. If not, see <https://www.gnu.org/licenses/>.
+
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+subdir = .
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
+ $(am__configure_deps) $(dist_aclocal_DATA) $(dist_doc_DATA) \
+ $(am__DIST_COMMON)
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno config.status.lineno
+mkinstalldirs = $(install_sh) -d
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__installdirs = "$(DESTDIR)$(aclocaldir)" "$(DESTDIR)$(docdir)"
+DATA = $(dist_aclocal_DATA) $(dist_doc_DATA)
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
+ cscope distdir distdir-am dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+DIST_SUBDIRS = $(SUBDIRS)
+am__DIST_COMMON = $(srcdir)/Makefile.in \
+ $(top_srcdir)/build-aux/install-sh \
+ $(top_srcdir)/build-aux/missing AUTHORS COPYING ChangeLog \
+ INSTALL NEWS README TODO build-aux/install-sh \
+ build-aux/missing
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+am__remove_distdir = \
+ if test -d "$(distdir)"; then \
+ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
+ && rm -rf "$(distdir)" \
+ || { sleep 5 && rm -rf "$(distdir)"; }; \
+ else :; fi
+am__post_remove_distdir = $(am__remove_distdir)
+am__relativize = \
+ dir0=`pwd`; \
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
+ sed_rest='s,^[^/]*/*,,'; \
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+ sed_butlast='s,/*[^/]*$$,,'; \
+ while test -n "$$dir1"; do \
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
+ if test "$$first" != "."; then \
+ if test "$$first" = ".."; then \
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
+ else \
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
+ if test "$$first2" = "$$first"; then \
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
+ else \
+ dir2="../$$dir2"; \
+ fi; \
+ dir0="$$dir0"/"$$first"; \
+ fi; \
+ fi; \
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
+ done; \
+ reldir="$$dir2"
+GZIP_ENV = --best
+DIST_ARCHIVES = $(distdir).tar.xz
+DIST_TARGETS = dist-xz
+# Exists only to be overridden by the user if desired.
+AM_DISTCHECK_DVI_TARGET = dvi
+distuninstallcheck_listfiles = find . -type f -print
+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
+ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
+distcleancheck_listfiles = find . -type f -print
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CSCOPE = @CSCOPE@
+CTAGS = @CTAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+ETAGS = @ETAGS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LTLIBOBJS = @LTLIBOBJS@
+M4FILES = @M4FILES@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+TEXIFILES = @TEXIFILES@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+am__leading_dot = @am__leading_dot@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build_alias = @build_alias@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host_alias = @host_alias@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+runstatedir = @runstatedir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+SUBDIRS = doc
+dist_doc_DATA = AUTHORS COPYING COPYING.EXCEPTION README
+aclocaldir = $(datadir)/aclocal
+dist_aclocal_DATA = $(M4FILES)
+EXTRA_DIST = build-aux/git-version-gen build-aux/gitlog-to-changelog
+all: all-recursive
+
+.SUFFIXES:
+am--refresh: Makefile
+ @:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ echo ' $(SHELL) ./config.status'; \
+ $(SHELL) ./config.status;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ $(SHELL) ./config.status --recheck
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ $(am__cd) $(srcdir) && $(AUTOCONF)
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+$(am__aclocal_m4_deps):
+install-dist_aclocalDATA: $(dist_aclocal_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(dist_aclocal_DATA)'; test -n "$(aclocaldir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(aclocaldir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(aclocaldir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(aclocaldir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(aclocaldir)" || exit $$?; \
+ done
+
+uninstall-dist_aclocalDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(dist_aclocal_DATA)'; test -n "$(aclocaldir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(aclocaldir)'; $(am__uninstall_files_from_dir)
+install-dist_docDATA: $(dist_doc_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \
+ done
+
+uninstall-dist_docDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir)
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run 'make' without going through this Makefile.
+# To change the values of 'make' variables: instead of editing Makefiles,
+# (1) if the variable is set in 'config.status', edit 'config.status'
+# (which will cause the Makefiles to be regenerated when you run 'make');
+# (2) otherwise, pass the desired values on the 'make' command line.
+$(am__recursive_targets):
+ @fail=; \
+ if $(am__make_keepgoing); then \
+ failcom='fail=yes'; \
+ else \
+ failcom='exit 1'; \
+ fi; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscope: cscope.files
+ test ! -s cscope.files \
+ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
+clean-cscope:
+ -rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+ -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
+distdir: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
+
+distdir-am: $(DISTFILES)
+ $(am__remove_distdir)
+ test -d "$(distdir)" || mkdir "$(distdir)"
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ $(am__make_dryrun) \
+ || test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
+ $(am__relativize); \
+ new_distdir=$$reldir; \
+ dir1=$$subdir; dir2="$(top_distdir)"; \
+ $(am__relativize); \
+ new_top_distdir=$$reldir; \
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
+ ($(am__cd) $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$new_top_distdir" \
+ distdir="$$new_distdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ am__skip_mode_fix=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$(top_distdir)" distdir="$(distdir)" \
+ dist-hook
+ -test -n "$(am__skip_mode_fix)" \
+ || find "$(distdir)" -type d ! -perm -755 \
+ -exec chmod u+rwx,go+rx {} \; -o \
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
+ || chmod -R a+r "$(distdir)"
+dist-gzip: distdir
+ tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
+ $(am__post_remove_distdir)
+
+dist-bzip2: distdir
+ tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
+ $(am__post_remove_distdir)
+
+dist-lzip: distdir
+ tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
+ $(am__post_remove_distdir)
+dist-xz: distdir
+ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
+ $(am__post_remove_distdir)
+
+dist-zstd: distdir
+ tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
+ $(am__post_remove_distdir)
+
+dist-tarZ: distdir
+ @echo WARNING: "Support for distribution archives compressed with" \
+ "legacy program 'compress' is deprecated." >&2
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
+ $(am__post_remove_distdir)
+
+dist-shar: distdir
+ @echo WARNING: "Support for shar distribution archives is" \
+ "deprecated." >&2
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
+ shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
+ $(am__post_remove_distdir)
+
+dist-zip: distdir
+ -rm -f $(distdir).zip
+ zip -rq $(distdir).zip $(distdir)
+ $(am__post_remove_distdir)
+
+dist dist-all:
+ $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
+ $(am__post_remove_distdir)
+
+# This target untars the dist file and tries a VPATH configuration. Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+ case '$(DIST_ARCHIVES)' in \
+ *.tar.gz*) \
+ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
+ *.tar.bz2*) \
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
+ *.tar.lz*) \
+ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
+ *.tar.xz*) \
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
+ *.tar.Z*) \
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
+ *.shar.gz*) \
+ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
+ *.zip*) \
+ unzip $(distdir).zip ;;\
+ *.tar.zst*) \
+ zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
+ esac
+ chmod -R a-w $(distdir)
+ chmod u+w $(distdir)
+ mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
+ chmod a-w $(distdir)
+ test -d $(distdir)/_build || exit 0; \
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+ && am__cwd=`pwd` \
+ && $(am__cd) $(distdir)/_build/sub \
+ && ../../configure \
+ $(AM_DISTCHECK_CONFIGURE_FLAGS) \
+ $(DISTCHECK_CONFIGURE_FLAGS) \
+ --srcdir=../.. --prefix="$$dc_install_base" \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+ && $(MAKE) $(AM_MAKEFLAGS) install \
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
+ distuninstallcheck \
+ && chmod -R a-w "$$dc_install_base" \
+ && ({ \
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
+ && rm -rf "$$dc_destdir" \
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
+ && rm -rf $(DIST_ARCHIVES) \
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
+ && cd "$$am__cwd" \
+ || exit 1
+ $(am__post_remove_distdir)
+ @(echo "$(distdir) archives ready for distribution: "; \
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
+distuninstallcheck:
+ @test -n '$(distuninstallcheck_dir)' || { \
+ echo 'ERROR: trying to run $@ with an empty' \
+ '$$(distuninstallcheck_dir)' >&2; \
+ exit 1; \
+ }; \
+ $(am__cd) '$(distuninstallcheck_dir)' || { \
+ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
+ exit 1; \
+ }; \
+ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left after uninstall:" ; \
+ if test -n "$(DESTDIR)"; then \
+ echo " (check DESTDIR support)"; \
+ fi ; \
+ $(distuninstallcheck_listfiles) ; \
+ exit 1; } >&2
+distcleancheck: distclean
+ @if test '$(srcdir)' = . ; then \
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
+ exit 1 ; \
+ fi
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left in build directory after distclean:" ; \
+ $(distcleancheck_listfiles) ; \
+ exit 1; } >&2
+check-am: all-am
+check: check-recursive
+all-am: Makefile $(DATA)
+installdirs: installdirs-recursive
+installdirs-am:
+ for dir in "$(DESTDIR)$(aclocaldir)" "$(DESTDIR)$(docdir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
+
+clean-am: clean-generic clean-local mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+html-am:
+
+info: info-recursive
+
+info-am:
+
+install-data-am: install-dist_aclocalDATA install-dist_docDATA
+
+install-dvi: install-dvi-recursive
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-recursive
+
+install-html-am:
+
+install-info: install-info-recursive
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-pdf-am:
+
+install-ps: install-ps-recursive
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf $(top_srcdir)/autom4te.cache
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic \
+ maintainer-clean-local
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am: uninstall-dist_aclocalDATA uninstall-dist_docDATA
+
+.MAKE: $(am__recursive_targets) install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+ am--refresh check check-am clean clean-cscope clean-generic \
+ clean-local cscope cscopelist-am ctags ctags-am dist dist-all \
+ dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ \
+ dist-xz dist-zip dist-zstd distcheck distclean \
+ distclean-generic distclean-tags distcleancheck distdir \
+ distuninstallcheck dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am \
+ install-dist_aclocalDATA install-dist_docDATA install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ installdirs-am maintainer-clean maintainer-clean-generic \
+ maintainer-clean-local mostlyclean mostlyclean-generic pdf \
+ pdf-am ps ps-am tags tags-am uninstall uninstall-am \
+ uninstall-dist_aclocalDATA uninstall-dist_docDATA
+
+.PRECIOUS: Makefile
+
+
+clean-local:
+ @rm -rf $(srcdir)/stage $(srcdir)/macro.pyc __pycache__
+ @rm -f $(DIST_ARCHIVES)
+
+maintainer-clean-local:
+ @rm -rf $(srcdir)/build-aux
+ @rm -f configure Makefile.in aclocal.m4 AUTHORS ChangeLog
+ @rm -f INSTALL config.log config.status configure maint.mk
+ @rm -f autoconf-archive-*.*.*.tar.* GNUmakefile README
+ @rm -f *~
+
+dist-hook:
+ echo $(VERSION) > $(distdir)/.tarball-version
+ if test -d .git; then \
+ echo > $(distdir)/cl-t '# Copyright (c) 2022 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>'; \
+ echo >>$(distdir)/cl-t '#'; \
+ echo >>$(distdir)/cl-t '# Copying and distribution of this file, with or without modification, are'; \
+ echo >>$(distdir)/cl-t '# permitted in any medium without royalty provided the copyright notice and'; \
+ echo >>$(distdir)/cl-t '# this notice are preserved. This file is offered as-is, without any warranty.'; \
+ echo >>$(distdir)/cl-t ''; \
+ $(top_srcdir)/build-aux/gitlog-to-changelog >>$(distdir)/cl-t -- master $(top_srcdir)/m4; \
+ rm -f $(distdir)/ChangeLog; \
+ mv $(distdir)/cl-t $(distdir)/ChangeLog; \
+ $(top_srcdir)/gen-authors.sh >$(distdir)/au-t; \
+ rm -f $(distdir)/AUTHORS; \
+ mv $(distdir)/au-t $(distdir)/AUTHORS; \
+ fi
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
+++ /dev/null
-#+TITLE: GNU Autoconf Archive Maintainer README -*-mode:org;fill-column:79;-*-
-#+STARTUP: showall
-
-* How to build the archive from Git.
-
- Ensure that the following packages are installed in your system:
-
- - Autoconf, Automake, Gnulib, and GNU Make.
-
- - Git (1.6.x.x or later)
-
- - Python (2.6 or later)
-
- Python 2.6 is needed for textwrap.TextWrapper break_on_hyphens option only.
- This is being worked on decrease python version requirements.
-
- - texinfo (5.0 or later)
-
- Now run the following commands:
-
- : git clone ssh://[<login>@]git.sv.gnu.org/srv/git/autoconf-archive
- : cd autoconf-archive
- : ./bootstrap.sh # set up autotools and gnulib environment
- : ./configure # determine system properties
- : make maintainer-all # create/update all generated files that will be in a release
- : make # update texinfo documentation
-
- If "bootstrap.sh" fails because it can't find "gnulib-tool", then you should
- clone the "gnulib" project into the top-level directory of the autoconf-archive
- repository by running:
-
- : git clone git://git.savannah.gnu.org/gnulib.git
-
-* How to update the web site.
-
- Check out the web site from CVS:
-
- : cvs -z3 -d:ext:[<login>@]cvs.savannah.gnu.org:/web/autoconf-archive co -d html autoconf-archive
-
- Run the following commands:
-
- : make web-manual # generate an HTML rendering of the user documentation
- : ./fix-website.sh # massage file names generated by texinfo
- : # copy the new files into the CVS checkout
- : rsync -vrcH --exclude CVS --delete-after doc/manual/html/ html/
- : (cd html ; cvs commit -m "generated from autoconf-archive $(git describe)")
-
-* How to make a release.
-
- 1. Determine the appropriate version number, i.e. today's date in ISO
- formatting.
-
- 2. Update the date stamps in the README file.
-
- 2. Update the NEWS file. The script that generates release tarballs checks
- that the current version number in mentioned in that file. If NEWS isn't
- up-to-date, the script will fail.
-
- 3. Ensure that there are no uncommitted changes in 'maint' or 'master'. Then
- create a signed tag using the naming scheme 'v<yyyy>.<mm>.<dd>'. For
- example:
-
- : git tag v2009.07.31 -s -m 'Autoconf Archive Version 2009.07.31'
-
- 4. Run "make stable". Other possible release types are "beta" and "major".
-
- 5. Use the command line call printed out by gnulib to upload the tarballs to
- the GNU ftp server.
--- /dev/null
+# generated automatically by aclocal 1.16.5 -*- Autoconf -*-
+
+# Copyright (C) 1996-2021 Free Software Foundation, Inc.
+
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
+[m4_warning([this file was generated for autoconf 2.71.
+You have another version of autoconf. It may work, but is not guaranteed to.
+If you have problems, you may need to regenerate the build system entirely.
+To do so, use the procedure documented by the package, typically 'autoreconf'.])])
+
+# Copyright (C) 2002-2021 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_AUTOMAKE_VERSION(VERSION)
+# ----------------------------
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
+# generated from the m4 files accompanying Automake X.Y.
+# (This private macro should not be called outside this file.)
+AC_DEFUN([AM_AUTOMAKE_VERSION],
+[am__api_version='1.16'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version. Point them to the right macro.
+m4_if([$1], [1.16.5], [],
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+
+# _AM_AUTOCONF_VERSION(VERSION)
+# -----------------------------
+# aclocal traces this macro to find the Autoconf version.
+# This is a private macro too. Using m4_define simplifies
+# the logic in aclocal, which can simply ignore this definition.
+m4_define([_AM_AUTOCONF_VERSION], [])
+
+# AM_SET_CURRENT_AUTOMAKE_VERSION
+# -------------------------------
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+[AM_AUTOMAKE_VERSION([1.16.5])dnl
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+
+# AM_AUX_DIR_EXPAND -*- Autoconf -*-
+
+# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
+# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
+# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
+#
+# Of course, Automake must honor this variable whenever it calls a
+# tool from the auxiliary directory. The problem is that $srcdir (and
+# therefore $ac_aux_dir as well) can be either absolute or relative,
+# depending on how configure is run. This is pretty annoying, since
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
+# source directory, any form will work fine, but in subdirectories a
+# relative path needs to be adjusted first.
+#
+# $ac_aux_dir/missing
+# fails when called from a subdirectory if $ac_aux_dir is relative
+# $top_srcdir/$ac_aux_dir/missing
+# fails if $ac_aux_dir is absolute,
+# fails when called from a subdirectory in a VPATH build with
+# a relative $ac_aux_dir
+#
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
+# are both prefixed by $srcdir. In an in-source build this is usually
+# harmless because $srcdir is '.', but things will broke when you
+# start a VPATH build or use an absolute $srcdir.
+#
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
+# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
+# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
+# and then we would define $MISSING as
+# MISSING="\${SHELL} $am_aux_dir/missing"
+# This will work as long as MISSING is not called from configure, because
+# unfortunately $(top_srcdir) has no meaning in configure.
+# However there are other variables, like CC, which are often used in
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
+#
+# Another solution, used here, is to always expand $ac_aux_dir to an
+# absolute PATH. The drawback is that using absolute paths prevent a
+# configured tree to be moved without reconfiguration.
+
+AC_DEFUN([AM_AUX_DIR_EXPAND],
+[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
+# Expand $ac_aux_dir to an absolute path.
+am_aux_dir=`cd "$ac_aux_dir" && pwd`
+])
+
+# Do all the work for Automake. -*- Autoconf -*-
+
+# Copyright (C) 1996-2021 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This macro actually does too much. Some checks are only needed if
+# your package does certain things. But this isn't really a big deal.
+
+dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
+m4_define([AC_PROG_CC],
+m4_defn([AC_PROG_CC])
+[_AM_PROG_CC_C_O
+])
+
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
+# AM_INIT_AUTOMAKE([OPTIONS])
+# -----------------------------------------------
+# The call with PACKAGE and VERSION arguments is the old style
+# call (pre autoconf-2.50), which is being phased out. PACKAGE
+# and VERSION should now be passed to AC_INIT and removed from
+# the call to AM_INIT_AUTOMAKE.
+# We support both call styles for the transition. After
+# the next Automake release, Autoconf can make the AC_INIT
+# arguments mandatory, and then we can depend on a new Autoconf
+# release and drop the old call support.
+AC_DEFUN([AM_INIT_AUTOMAKE],
+[AC_PREREQ([2.65])dnl
+m4_ifdef([_$0_ALREADY_INIT],
+ [m4_fatal([$0 expanded multiple times
+]m4_defn([_$0_ALREADY_INIT]))],
+ [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl
+dnl Autoconf wants to disallow AM_ names. We explicitly allow
+dnl the ones we care about.
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+AC_REQUIRE([AC_PROG_INSTALL])dnl
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+AC_SUBST([CYGPATH_W])
+
+# Define the identity of the package.
+dnl Distinguish between old-style and new-style calls.
+m4_ifval([$2],
+[AC_DIAGNOSE([obsolete],
+ [$0: two- and three-arguments forms are deprecated.])
+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ AC_SUBST([PACKAGE], [$1])dnl
+ AC_SUBST([VERSION], [$2])],
+[_AM_SET_OPTIONS([$1])dnl
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+m4_if(
+ m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
+ [ok:ok],,
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
+
+_AM_IF_OPTION([no-define],,
+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
+
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
+AM_MISSING_PROG([AUTOCONF], [autoconf])
+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
+AM_MISSING_PROG([AUTOHEADER], [autoheader])
+AM_MISSING_PROG([MAKEINFO], [makeinfo])
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
+# We need awk for the "check" target (and possibly the TAP driver). The
+# system "awk" is bad on some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+ [_AM_PROG_TAR([v7])])])
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
+ [_AM_DEPENDENCIES([CC])],
+ [m4_define([AC_PROG_CC],
+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [_AM_DEPENDENCIES([CXX])],
+ [m4_define([AC_PROG_CXX],
+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+ [_AM_DEPENDENCIES([OBJC])],
+ [m4_define([AC_PROG_OBJC],
+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+ [_AM_DEPENDENCIES([OBJCXX])],
+ [m4_define([AC_PROG_OBJCXX],
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
+])
+# Variables for tags utilities; see am/tags.am
+if test -z "$CTAGS"; then
+ CTAGS=ctags
+fi
+AC_SUBST([CTAGS])
+if test -z "$ETAGS"; then
+ ETAGS=etags
+fi
+AC_SUBST([ETAGS])
+if test -z "$CSCOPE"; then
+ CSCOPE=cscope
+fi
+AC_SUBST([CSCOPE])
+
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_CONFIG_COMMANDS_PRE(dnl
+[m4_provide_if([_AM_COMPILER_EXEEXT],
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
+
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes. So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+ cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present. This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake@gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message. This
+can help us improve future automake versions.
+
+END
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+ echo 'Configuration will proceed anyway, since you have set the' >&2
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+ echo >&2
+ else
+ cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <https://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+ AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
+ fi
+fi
+dnl The trailing newline in this macro's definition is deliberate, for
+dnl backward compatibility and to allow trailing 'dnl'-style comments
+dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
+])
+
+dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
+dnl mangled by Autoconf and run in a shell conditional statement.
+m4_define([_AC_COMPILER_EXEEXT],
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
+
+# When config.status generates a header, we must update the stamp-h file.
+# This file resides in the same directory as the config header
+# that is generated. The stamp files are numbered to have different names.
+
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
+# loop where config.status creates the headers, so we can generate
+# our stamp files there.
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
+[# Compute $1's index in $config_headers.
+_am_arg=$1
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
+
+# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_INSTALL_SH
+# ------------------
+# Define $install_sh.
+AC_DEFUN([AM_PROG_INSTALL_SH],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+if test x"${install_sh+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+AC_SUBST([install_sh])])
+
+# Copyright (C) 2003-2021 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# Check whether the underlying file-system supports filenames
+# with a leading dot. For instance MS-DOS doesn't.
+AC_DEFUN([AM_SET_LEADING_DOT],
+[rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+AC_SUBST([am__leading_dot])])
+
+# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
+
+# Copyright (C) 1997-2021 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_MISSING_PROG(NAME, PROGRAM)
+# ------------------------------
+AC_DEFUN([AM_MISSING_PROG],
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
+$1=${$1-"${am_missing_run}$2"}
+AC_SUBST($1)])
+
+# AM_MISSING_HAS_RUN
+# ------------------
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
+AC_DEFUN([AM_MISSING_HAS_RUN],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([missing])dnl
+if test x"${MISSING+set}" != xset; then
+ MISSING="\${SHELL} '$am_aux_dir/missing'"
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
+else
+ am_missing_run=
+ AC_MSG_WARN(['missing' script is too old or missing])
+fi
+])
+
+# Helper functions for option handling. -*- Autoconf -*-
+
+# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_MANGLE_OPTION(NAME)
+# -----------------------
+AC_DEFUN([_AM_MANGLE_OPTION],
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+
+# _AM_SET_OPTION(NAME)
+# --------------------
+# Set option NAME. Presently that only means defining a flag for this option.
+AC_DEFUN([_AM_SET_OPTION],
+[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
+
+# _AM_SET_OPTIONS(OPTIONS)
+# ------------------------
+# OPTIONS is a space-separated list of Automake options.
+AC_DEFUN([_AM_SET_OPTIONS],
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
+# -------------------------------------------
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+AC_DEFUN([_AM_IF_OPTION],
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+
+# Check to make sure that the build environment is sane. -*- Autoconf -*-
+
+# Copyright (C) 1996-2021 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_SANITY_CHECK
+# ---------------
+AC_DEFUN([AM_SANITY_CHECK],
+[AC_MSG_CHECKING([whether build environment is sane])
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
+esac
+case $srcdir in
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
+ AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$[*]" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
+ alias in your environment])
+ fi
+ if test "$[2]" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
+ test "$[2]" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+AC_MSG_RESULT([yes])
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+AC_CONFIG_COMMANDS_PRE(
+ [AC_MSG_CHECKING([that generated files are newer than configure])
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ AC_MSG_RESULT([done])])
+rm -f conftest.file
+])
+
+# Copyright (C) 2009-2021 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_SILENT_RULES([DEFAULT])
+# --------------------------
+# Enable less verbose build rules; with the default set to DEFAULT
+# ("yes" being less verbose, "no" or empty being verbose).
+AC_DEFUN([AM_SILENT_RULES],
+[AC_ARG_ENABLE([silent-rules], [dnl
+AS_HELP_STRING(
+ [--enable-silent-rules],
+ [less verbose build output (undo: "make V=1")])
+AS_HELP_STRING(
+ [--disable-silent-rules],
+ [verbose build output (undo: "make V=0")])dnl
+])
+case $enable_silent_rules in @%:@ (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
+esac
+dnl
+dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
+dnl do not support nested variable expansions.
+dnl See automake bug#9928 and bug#10237.
+am_make=${MAKE-make}
+AC_CACHE_CHECK([whether $am_make supports nested variables],
+ [am_cv_make_support_nested_variables],
+ [if AS_ECHO([['TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi])
+if test $am_cv_make_support_nested_variables = yes; then
+ dnl Using '$V' instead of '$(V)' breaks IRIX make.
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AC_SUBST([AM_V])dnl
+AM_SUBST_NOTMAKE([AM_V])dnl
+AC_SUBST([AM_DEFAULT_V])dnl
+AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
+AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
+AM_BACKSLASH='\'
+AC_SUBST([AM_BACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
+])
+
+# Copyright (C) 2001-2021 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_INSTALL_STRIP
+# ---------------------
+# One issue with vendor 'install' (even GNU) is that you can't
+# specify the program used to strip binaries. This is especially
+# annoying in cross-compiling environments, where the build's strip
+# is unlikely to handle the host's binaries.
+# Fortunately install-sh will honor a STRIPPROG variable, so we
+# always use install-sh in "make install-strip", and initialize
+# STRIPPROG with the value of the STRIP variable (set by the user).
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
+if test "$cross_compiling" != no; then
+ AC_CHECK_TOOL([STRIP], [strip], :)
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
+
+# Copyright (C) 2006-2021 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_SUBST_NOTMAKE(VARIABLE)
+# ---------------------------
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
+# This macro is traced by Automake.
+AC_DEFUN([_AM_SUBST_NOTMAKE])
+
+# AM_SUBST_NOTMAKE(VARIABLE)
+# --------------------------
+# Public sister of _AM_SUBST_NOTMAKE.
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+
+# Check how to create a tarball. -*- Autoconf -*-
+
+# Copyright (C) 2004-2021 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_PROG_TAR(FORMAT)
+# --------------------
+# Check how to create a tarball in format FORMAT.
+# FORMAT should be one of 'v7', 'ustar', or 'pax'.
+#
+# Substitute a variable $(am__tar) that is a command
+# writing to stdout a FORMAT-tarball containing the directory
+# $tardir.
+# tardir=directory && $(am__tar) > result.tar
+#
+# Substitute a variable $(am__untar) that extract such
+# a tarball read from stdin.
+# $(am__untar) < result.tar
+#
+AC_DEFUN([_AM_PROG_TAR],
+[# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AC_SUBST([AMTAR], ['$${TAR-tar}'])
+
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
+
+m4_if([$1], [v7],
+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
+
+ [m4_case([$1],
+ [ustar],
+ [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
+ # There is notably a 21 bits limit for the UID and the GID. In fact,
+ # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
+ # and bug#13588).
+ am_max_uid=2097151 # 2^21 - 1
+ am_max_gid=$am_max_uid
+ # The $UID and $GID variables are not portable, so we need to resort
+ # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
+ # below are definitely unexpected, so allow the users to see them
+ # (that is, avoid stderr redirection).
+ am_uid=`id -u || echo unknown`
+ am_gid=`id -g || echo unknown`
+ AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
+ if test $am_uid -le $am_max_uid; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ _am_tools=none
+ fi
+ AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
+ if test $am_gid -le $am_max_gid; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ _am_tools=none
+ fi],
+
+ [pax],
+ [],
+
+ [m4_fatal([Unknown tar format])])
+
+ AC_MSG_CHECKING([how to create a $1 tar archive])
+
+ # Go ahead even if we have the value already cached. We do so because we
+ # need to set the values for the 'am__tar' and 'am__untar' variables.
+ _am_tools=${am_cv_prog_tar_$1-$_am_tools}
+
+ for _am_tool in $_am_tools; do
+ case $_am_tool in
+ gnutar)
+ for _am_tar in tar gnutar gtar; do
+ AM_RUN_LOG([$_am_tar --version]) && break
+ done
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+ am__untar="$_am_tar -xf -"
+ ;;
+ plaintar)
+ # Must skip GNU tar: if it does not support --format= it doesn't create
+ # ustar tarball either.
+ (tar --version) >/dev/null 2>&1 && continue
+ am__tar='tar chf - "$$tardir"'
+ am__tar_='tar chf - "$tardir"'
+ am__untar='tar xf -'
+ ;;
+ pax)
+ am__tar='pax -L -x $1 -w "$$tardir"'
+ am__tar_='pax -L -x $1 -w "$tardir"'
+ am__untar='pax -r'
+ ;;
+ cpio)
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+ am__untar='cpio -i -H $1 -d'
+ ;;
+ none)
+ am__tar=false
+ am__tar_=false
+ am__untar=false
+ ;;
+ esac
+
+ # If the value was cached, stop now. We just wanted to have am__tar
+ # and am__untar set.
+ test -n "${am_cv_prog_tar_$1}" && break
+
+ # tar/untar a dummy directory, and stop if the command works.
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ echo GrepMe > conftest.dir/file
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+ rm -rf conftest.dir
+ if test -s conftest.tar; then
+ AM_RUN_LOG([$am__untar <conftest.tar])
+ AM_RUN_LOG([cat conftest.dir/file])
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+ fi
+ done
+ rm -rf conftest.dir
+
+ AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+ AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+
+AC_SUBST([am__tar])
+AC_SUBST([am__untar])
+]) # _AM_PROG_TAR
+
+++ /dev/null
-#! /usr/bin/env perl
-# alias-macro
-# Alias an autoconf-archive macro
-# Usage: alias-macro FROM TO
-
-use strict;
-use warnings;
-
-my ($old_file, $new_file) = @ARGV;
-
-# Extract names from file names
-my $old_name = $old_file;
-$old_name =~ s/\..*$//;
-my $uc_old_name = uc($old_name);
-$old_name = lc($old_name);
-my $new_name = $new_file;
-$new_name =~ s/\..*$//;
-my $uc_new_name = uc($new_name);
-$new_name = lc($new_name);
-
-# Check old name exists
-die "could not find `$old_file'\n" unless -e $old_file;
-
-# Read new file
-open IN, $new_file or die "could not read `$new_file'\n";
-my $text = do { local $/, <IN> };
-
-# Alias the macro
-my $new_text = $text;
-$new_text =~ s/^AC_DEFUN\(\[$uc_new_name/AU_ALIAS([$uc_old_name], [$uc_new_name])\nAC_DEFUN([$uc_new_name/m;
-open OUTFILE, ">$new_file" or die "could not write `$new_file'";
-print OUTFILE $new_text;
+++ /dev/null
-#! /bin/sh
-
-set -eu
-
-if [ ! -d "gnulib" ] && [ $# -gt 0 ] && [ "$1" = "--copy" ]; then
- git clone --depth 1 git://git.savannah.gnu.org/gnulib.git gnulib
-fi
-
-if [ -x "gnulib/gnulib-tool" ]; then
- gnulibtool=gnulib/gnulib-tool
-else
- gnulibtool=gnulib-tool
-fi
-
-gnulib_modules="git-version-gen gitlog-to-changelog gnupload
- maintainer-makefile announce-gen gendocs fdl-1.3"
-
-$gnulibtool --m4-base build-aux --source-base build-aux --import --no-vc-files $gnulib_modules
-
-sed -e 's/^sc_file_system:/disabled_sc_file_system:/' \
- -e 's/^sc_GPL_version:/disabled_sc_GPL_version:/' \
- -e 's/^sc_m4_quote_check:/disabled_sc_m4_quote_check:/' \
- -e 's/^sc_prohibit_strcmp:/disabled_sc_prohibit_strcmp:/' \
- -e 's/^sc_space_tab:/disabled_sc_space_tab:/' \
- -e 's/^sc_useless_cpp_parens:/disabled_sc_useless_cpp_parens:/' \
- -e 's/^sc_prohibit_magic_number_exit:/disabled_sc_prohibit_magic_number_exit:/' \
- -e 's/^sc_copyright_check:/disabled_sc_copyright_check:/' \
- -e 's/^sc_error_message_uppercase:/disabled_sc_error_message_uppercase:/' \
- -e 's/^sc_prohibit_always-defined_macros:/disabled_sc_prohibit_always-defined_macros:/' \
- -e 's/^sc_prohibit_always_true_header_tests:/disabled_sc_prohibit_always_true_header_tests:/' \
- -e 's/^sc_prohibit_test_minus_ao:/disabled_sc_prohibit_test_minus_ao:/' \
- -e 's/^sc_prohibit_doubled_word:/disabled_sc_prohibit_doubled_word:/' \
- maint.mk > maint.mk.new
-mv maint.mk.new maint.mk
-
-echo > ChangeLog '# Copyright (c) 2022 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>'
-echo >>ChangeLog '#'
-echo >>ChangeLog '# Copying and distribution of this file, with or without modification, are'
-echo >>ChangeLog '# permitted in any medium without royalty provided the copyright notice and'
-echo >>ChangeLog '# this notice are preserved. This file is offered as-is, without any warranty.'
-echo >>ChangeLog ''
-build-aux/gitlog-to-changelog >>ChangeLog -- m4/
-bash gen-authors.sh >AUTHORS
-install -c -m 444 README.md README
-
-autoreconf --install -Wall
--- /dev/null
+#!/bin/sh
+# Print a version string.
+scriptversion=2022-01-27.18; # UTC
+
+# Copyright (C) 2007-2022 Free Software Foundation, Inc.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+# This script is derived from GIT-VERSION-GEN from GIT: https://git-scm.com/.
+# It may be run two ways:
+# - from a git repository in which the "git describe" command below
+# produces useful output (thus requiring at least one signed tag)
+# - from a non-git-repo directory containing a .tarball-version file, which
+# presumes this script is invoked like "./git-version-gen .tarball-version".
+
+# In order to use intra-version strings in your project, you will need two
+# separate generated version string files:
+#
+# .tarball-version - present only in a distribution tarball, and not in
+# a checked-out repository. Created with contents that were learned at
+# the last time autoconf was run, and used by git-version-gen. Must not
+# be present in either $(srcdir) or $(builddir) for git-version-gen to
+# give accurate answers during normal development with a checked out tree,
+# but must be present in a tarball when there is no version control system.
+# Therefore, it cannot be used in any dependencies. GNUmakefile has
+# hooks to force a reconfigure at distribution time to get the value
+# correct, without penalizing normal development with extra reconfigures.
+#
+# .version - present in a checked-out repository and in a distribution
+# tarball. Usable in dependencies, particularly for files that don't
+# want to depend on config.h but do want to track version changes.
+# Delete this file prior to any autoconf run where you want to rebuild
+# files to pick up a version string change; and leave it stale to
+# minimize rebuild time after unrelated changes to configure sources.
+#
+# As with any generated file in a VC'd directory, you should add
+# /.version to .gitignore, so that you don't accidentally commit it.
+# .tarball-version is never generated in a VC'd directory, so needn't
+# be listed there.
+#
+# Use the following line in your configure.ac, so that $(VERSION) will
+# automatically be up-to-date each time configure is run (and note that
+# since configure.ac no longer includes a version string, Makefile rules
+# should not depend on configure.ac for version updates).
+#
+# AC_INIT([GNU project],
+# m4_esyscmd([build-aux/git-version-gen .tarball-version]),
+# [bug-project@example])
+#
+# Then use the following lines in your Makefile.am, so that .version
+# will be present for dependencies, and so that .version and
+# .tarball-version will exist in distribution tarballs.
+#
+# EXTRA_DIST = $(top_srcdir)/.version
+# BUILT_SOURCES = $(top_srcdir)/.version
+# $(top_srcdir)/.version:
+# echo '$(VERSION)' > $@-t
+# mv $@-t $@
+# dist-hook:
+# echo '$(VERSION)' > $(distdir)/.tarball-version
+
+
+me=$0
+
+year=`expr "$scriptversion" : '\([^-]*\)'`
+version="git-version-gen $scriptversion
+
+Copyright (C) ${year} Free Software Foundation, Inc.
+License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
+This is free software: you are free to change and redistribute it.
+There is NO WARRANTY, to the extent permitted by law."
+
+usage="\
+Usage: $me [OPTION]... \$srcdir/.tarball-version [TAG-NORMALIZATION-SED-SCRIPT]
+Print a version string.
+
+Options:
+
+ --prefix PREFIX prefix of git tags (default 'v')
+ --fallback VERSION
+ fallback version to use if \"git --version\" fails
+
+ --help display this help and exit
+ --version output version information and exit
+
+Running without arguments will suffice in most cases."
+
+prefix=v
+fallback=
+
+while test $# -gt 0; do
+ case $1 in
+ --help) echo "$usage"; exit 0;;
+ --version) echo "$version"; exit 0;;
+ --prefix) shift; prefix=${1?};;
+ --fallback) shift; fallback=${1?};;
+ -*)
+ echo "$0: Unknown option '$1'." >&2
+ echo "$0: Try '--help' for more information." >&2
+ exit 1;;
+ *)
+ if test "x$tarball_version_file" = x; then
+ tarball_version_file="$1"
+ elif test "x$tag_sed_script" = x; then
+ tag_sed_script="$1"
+ else
+ echo "$0: extra non-option argument '$1'." >&2
+ exit 1
+ fi;;
+ esac
+ shift
+done
+
+if test "x$tarball_version_file" = x; then
+ echo "$usage"
+ exit 1
+fi
+
+tag_sed_script="${tag_sed_script:-s/x/x/}"
+
+nl='
+'
+
+# Avoid meddling by environment variable of the same name.
+v=
+v_from_git=
+
+# First see if there is a tarball-only version file.
+# then try "git describe", then default.
+if test -f $tarball_version_file
+then
+ v=`cat $tarball_version_file` || v=
+ case $v in
+ *$nl*) v= ;; # reject multi-line output
+ esac
+ test "x$v" = x \
+ && echo "$0: WARNING: $tarball_version_file is damaged" 1>&2
+fi
+
+if test "x$v" != x
+then
+ : # use $v
+# Otherwise, if there is at least one git commit involving the working
+# directory, and "git describe" output looks sensible, use that to
+# derive a version string.
+elif test "`git log -1 --pretty=format:x . 2>&1`" = x \
+ && v=`git describe --abbrev=4 --match="$prefix*" HEAD 2>/dev/null \
+ || git describe --abbrev=4 HEAD 2>/dev/null` \
+ && v=`printf '%s\n' "$v" | sed "$tag_sed_script"` \
+ && case $v in
+ $prefix[0-9]*) ;;
+ *) (exit 1) ;;
+ esac
+then
+ # Is this a new git that lists number of commits since the last
+ # tag or the previous older version that did not?
+ # Newer: v6.10-77-g0f8faeb
+ # Older: v6.10-g0f8faeb
+ vprefix=`expr "X$v" : 'X\(.*\)-g[^-]*$'` || vprefix=$v
+ case $vprefix in
+ *-*) : git describe is probably okay three part flavor ;;
+ *)
+ : git describe is older two part flavor
+ # Recreate the number of commits and rewrite such that the
+ # result is the same as if we were using the newer version
+ # of git describe.
+ vtag=`echo "$v" | sed 's/-.*//'`
+ commit_list=`git rev-list "$vtag"..HEAD 2>/dev/null` \
+ || { commit_list=failed;
+ echo "$0: WARNING: git rev-list failed" 1>&2; }
+ numcommits=`echo "$commit_list" | wc -l`
+ v=`echo "$v" | sed "s/\(.*\)-\(.*\)/\1-$numcommits-\2/"`;
+ test "$commit_list" = failed && v=UNKNOWN
+ ;;
+ esac
+
+ # Change the penultimate "-" to ".", for version-comparing tools.
+ # Remove the "g" to save a byte.
+ v=`echo "$v" | sed 's/-\([^-]*\)-g\([^-]*\)$/.\1-\2/'`;
+ v_from_git=1
+elif test "x$fallback" = x || git --version >/dev/null 2>&1; then
+ v=UNKNOWN
+else
+ v=$fallback
+fi
+
+v=`echo "$v" |sed "s/^$prefix//"`
+
+# Test whether to append the "-dirty" suffix only if the version
+# string we're using came from git. I.e., skip the test if it's "UNKNOWN"
+# or if it came from .tarball-version.
+if test "x$v_from_git" != x; then
+ # Don't declare a version "dirty" merely because a timestamp has changed.
+ git update-index --refresh > /dev/null 2>&1
+
+ dirty=`exec 2>/dev/null;git diff-index --name-only HEAD` || dirty=
+ case "$dirty" in
+ '') ;;
+ *) # Append the suffix only if there isn't one already.
+ case $v in
+ *-dirty) ;;
+ *) v="$v-dirty" ;;
+ esac ;;
+ esac
+fi
+
+# Omit the trailing newline, so that m4_esyscmd can use the result directly.
+printf %s "$v"
+
+# Local variables:
+# eval: (add-hook 'before-save-hook 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC0"
+# time-stamp-end: "; # UTC"
+# End:
--- /dev/null
+#!/bin/sh
+#! -*-perl-*-
+
+# Convert git log output to ChangeLog format.
+
+# Copyright (C) 2008-2022 Free Software Foundation, Inc.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+#
+# Written by Jim Meyering
+
+# This is a prologue that allows to run a perl script as an executable
+# on systems that are compliant to a POSIX version before POSIX:2017.
+# On such systems, the usual invocation of an executable through execlp()
+# or execvp() fails with ENOEXEC if it is a script that does not start
+# with a #! line. The script interpreter mentioned in the #! line has
+# to be /bin/sh, because on GuixSD systems that is the only program that
+# has a fixed file name. The second line is essential for perl and is
+# also useful for editing this file in Emacs. The next two lines below
+# are valid code in both sh and perl. When executed by sh, they re-execute
+# the script through the perl program found in $PATH. The '-x' option
+# is essential as well; without it, perl would re-execute the script
+# through /bin/sh. When executed by perl, the next two lines are a no-op.
+eval 'exec perl -wSx "$0" "$@"'
+ if 0;
+
+my $VERSION = '2022-01-27 18:49'; # UTC
+# The definition above must lie within the first 8 lines in order
+# for the Emacs time-stamp write hook (at end) to update it.
+# If you change this file with Emacs, please let the write hook
+# do its job. Otherwise, update this string manually.
+
+use strict;
+use warnings;
+use Getopt::Long;
+use POSIX qw(strftime);
+
+(my $ME = $0) =~ s|.*/||;
+
+# use File::Coda; # https://meyering.net/code/Coda/
+END {
+ defined fileno STDOUT or return;
+ close STDOUT and return;
+ warn "$ME: failed to close standard output: $!\n";
+ $? ||= 1;
+}
+
+sub usage ($)
+{
+ my ($exit_code) = @_;
+ my $STREAM = ($exit_code == 0 ? *STDOUT : *STDERR);
+ if ($exit_code != 0)
+ {
+ print $STREAM "Try '$ME --help' for more information.\n";
+ }
+ else
+ {
+ print $STREAM <<EOF;
+Usage: $ME [OPTIONS] [ARGS]
+
+Convert git log output to ChangeLog format. If present, any ARGS
+are passed to "git log". To avoid ARGS being parsed as options to
+$ME, they may be preceded by '--'.
+
+OPTIONS:
+
+ --amend=FILE FILE maps from an SHA1 to perl code (i.e., s/old/new/) that
+ makes a change to SHA1's commit log text or metadata.
+ --append-dot append a dot to the first line of each commit message if
+ there is no other punctuation or blank at the end.
+ --no-cluster never cluster commit messages under the same date/author
+ header; the default is to cluster adjacent commit messages
+ if their headers are the same and neither commit message
+ contains multiple paragraphs.
+ --srcdir=DIR the root of the source tree, from which the .git/
+ directory can be derived.
+ --since=DATE convert only the logs since DATE;
+ the default is to convert all log entries.
+ --until=DATE convert only the logs older than DATE.
+ --ignore-matching=PAT ignore commit messages whose first lines match PAT.
+ --ignore-line=PAT ignore lines of commit messages that match PAT.
+ --format=FMT set format string for commit subject and body;
+ see 'man git-log' for the list of format metacharacters;
+ the default is '%s%n%b%n'
+ --strip-tab remove one additional leading TAB from commit message lines.
+ --strip-cherry-pick remove data inserted by "git cherry-pick";
+ this includes the "cherry picked from commit ..." line,
+ and the possible final "Conflicts:" paragraph.
+ --help display this help and exit
+ --version output version information and exit
+
+EXAMPLE:
+
+ $ME --since=2008-01-01 > ChangeLog
+ $ME -- -n 5 foo > last-5-commits-to-branch-foo
+
+SPECIAL SYNTAX:
+
+The following types of strings are interpreted specially when they appear
+at the beginning of a log message line. They are not copied to the output.
+
+ Copyright-paperwork-exempt: Yes
+ Append the "(tiny change)" notation to the usual "date name email"
+ ChangeLog header to mark a change that does not require a copyright
+ assignment.
+ Co-authored-by: Joe User <user\@example.com>
+ List the specified name and email address on a second
+ ChangeLog header, denoting a co-author.
+ Signed-off-by: Joe User <user\@example.com>
+ These lines are simply elided.
+
+In a FILE specified via --amend, comment lines (starting with "#") are ignored.
+FILE must consist of <SHA,CODE+> pairs where SHA is a 40-byte SHA1 (alone on
+a line) referring to a commit in the current project, and CODE refers to one
+or more consecutive lines of Perl code. Pairs must be separated by one or
+more blank line.
+
+Here is sample input for use with --amend=FILE, from coreutils:
+
+3a169f4c5d9159283548178668d2fae6fced3030
+# fix typo in title:
+s/all tile types/all file types/
+
+1379ed974f1fa39b12e2ffab18b3f7a607082202
+# Due to a bug in vc-dwim, I mis-attributed a patch by Paul to myself.
+# Change the author to be Paul. Note the escaped "@":
+s,Jim .*>,Paul Eggert <eggert\\\@cs.ucla.edu>,
+
+EOF
+ }
+ exit $exit_code;
+}
+
+# If the string $S is a well-behaved file name, simply return it.
+# If it contains white space, quotes, etc., quote it, and return the new string.
+sub shell_quote($)
+{
+ my ($s) = @_;
+ if ($s =~ m![^\w+/.,-]!)
+ {
+ # Convert each single quote to '\''
+ $s =~ s/\'/\'\\\'\'/g;
+ # Then single quote the string.
+ $s = "'$s'";
+ }
+ return $s;
+}
+
+sub quoted_cmd(@)
+{
+ return join (' ', map {shell_quote $_} @_);
+}
+
+# Parse file F.
+# Comment lines (starting with "#") are ignored.
+# F must consist of <SHA,CODE+> pairs where SHA is a 40-byte SHA1
+# (alone on a line) referring to a commit in the current project, and
+# CODE refers to one or more consecutive lines of Perl code.
+# Pairs must be separated by one or more blank line.
+sub parse_amend_file($)
+{
+ my ($f) = @_;
+
+ open F, '<', $f
+ or die "$ME: $f: failed to open for reading: $!\n";
+
+ my $fail;
+ my $h = {};
+ my $in_code = 0;
+ my $sha;
+ while (defined (my $line = <F>))
+ {
+ $line =~ /^\#/
+ and next;
+ chomp $line;
+ $line eq ''
+ and $in_code = 0, next;
+
+ if (!$in_code)
+ {
+ $line =~ /^([[:xdigit:]]{40})$/
+ or (warn "$ME: $f:$.: invalid line; expected an SHA1\n"),
+ $fail = 1, next;
+ $sha = lc $1;
+ $in_code = 1;
+ exists $h->{$sha}
+ and (warn "$ME: $f:$.: duplicate SHA1\n"),
+ $fail = 1, next;
+ }
+ else
+ {
+ $h->{$sha} ||= '';
+ $h->{$sha} .= "$line\n";
+ }
+ }
+ close F;
+
+ $fail
+ and exit 1;
+
+ return $h;
+}
+
+# git_dir_option $SRCDIR
+#
+# From $SRCDIR, the --git-dir option to pass to git (none if $SRCDIR
+# is undef). Return as a list (0 or 1 element).
+sub git_dir_option($)
+{
+ my ($srcdir) = @_;
+ my @res = ();
+ if (defined $srcdir)
+ {
+ my $qdir = shell_quote $srcdir;
+ my $cmd = "cd $qdir && git rev-parse --show-toplevel";
+ my $qcmd = shell_quote $cmd;
+ my $git_dir = qx($cmd);
+ defined $git_dir
+ or die "$ME: cannot run $qcmd: $!\n";
+ $? == 0
+ or die "$ME: $qcmd had unexpected exit code or signal ($?)\n";
+ chomp $git_dir;
+ push @res, "--git-dir=$git_dir/.git";
+ }
+ @res;
+}
+
+{
+ my $since_date;
+ my $until_date;
+ my $format_string = '%s%n%b%n';
+ my $amend_file;
+ my $append_dot = 0;
+ my $cluster = 1;
+ my $ignore_matching;
+ my $ignore_line;
+ my $strip_tab = 0;
+ my $strip_cherry_pick = 0;
+ my $srcdir;
+ GetOptions
+ (
+ help => sub { usage 0 },
+ version => sub { print "$ME version $VERSION\n"; exit },
+ 'since=s' => \$since_date,
+ 'until=s' => \$until_date,
+ 'format=s' => \$format_string,
+ 'amend=s' => \$amend_file,
+ 'append-dot' => \$append_dot,
+ 'cluster!' => \$cluster,
+ 'ignore-matching=s' => \$ignore_matching,
+ 'ignore-line=s' => \$ignore_line,
+ 'strip-tab' => \$strip_tab,
+ 'strip-cherry-pick' => \$strip_cherry_pick,
+ 'srcdir=s' => \$srcdir,
+ ) or usage 1;
+
+ defined $since_date
+ and unshift @ARGV, "--since=$since_date";
+ defined $until_date
+ and unshift @ARGV, "--until=$until_date";
+
+ # This is a hash that maps an SHA1 to perl code (i.e., s/old/new/)
+ # that makes a correction in the log or attribution of that commit.
+ my $amend_code = defined $amend_file ? parse_amend_file $amend_file : {};
+
+ my @cmd = ('git',
+ git_dir_option $srcdir,
+ qw(log --log-size),
+ '--pretty=format:%H:%ct %an <%ae>%n%n'.$format_string, @ARGV);
+ open PIPE, '-|', @cmd
+ or die ("$ME: failed to run '". quoted_cmd (@cmd) ."': $!\n"
+ . "(Is your Git too old? Version 1.5.1 or later is required.)\n");
+
+ my $prev_multi_paragraph;
+ my $prev_date_line = '';
+ my @prev_coauthors = ();
+ my @skipshas = ();
+ while (1)
+ {
+ defined (my $in = <PIPE>)
+ or last;
+ $in =~ /^log size (\d+)$/
+ or die "$ME:$.: Invalid line (expected log size):\n$in";
+ my $log_nbytes = $1;
+
+ my $log;
+ my $n_read = read PIPE, $log, $log_nbytes;
+ $n_read == $log_nbytes
+ or die "$ME:$.: unexpected EOF\n";
+
+ # Extract leading hash.
+ my ($sha, $rest) = split ':', $log, 2;
+ defined $sha
+ or die "$ME:$.: malformed log entry\n";
+ $sha =~ /^[[:xdigit:]]{40}$/
+ or die "$ME:$.: invalid SHA1: $sha\n";
+
+ my $skipflag = 0;
+ if (@skipshas)
+ {
+ foreach(@skipshas)
+ {
+ if ($sha =~ /^$_/)
+ {
+ $skipflag = $_;
+ last;
+ }
+ }
+ }
+
+ # If this commit's log requires any transformation, do it now.
+ my $code = $amend_code->{$sha};
+ if (defined $code)
+ {
+ eval 'use Safe';
+ my $s = new Safe;
+ # Put the unpreprocessed entry into "$_".
+ $_ = $rest;
+
+ # Let $code operate on it, safely.
+ my $r = $s->reval("$code")
+ or die "$ME:$.:$sha: failed to eval \"$code\":\n$@\n";
+
+ # Note that we've used this entry.
+ delete $amend_code->{$sha};
+
+ # Update $rest upon success.
+ $rest = $_;
+ }
+
+ # Remove lines inserted by "git cherry-pick".
+ if ($strip_cherry_pick)
+ {
+ $rest =~ s/^\s*Conflicts:\n.*//sm;
+ $rest =~ s/^\s*\(cherry picked from commit [\da-f]+\)\n//m;
+ }
+
+ my @line = split /[ \t]*\n/, $rest;
+ my $author_line = shift @line;
+ defined $author_line
+ or die "$ME:$.: unexpected EOF\n";
+ $author_line =~ /^(\d+) (.*>)$/
+ or die "$ME:$.: Invalid line "
+ . "(expected date/author/email):\n$author_line\n";
+
+ # Format 'Copyright-paperwork-exempt: Yes' as a standard ChangeLog
+ # `(tiny change)' annotation.
+ my $tiny = (grep (/^(?:Copyright-paperwork-exempt|Tiny-change):\s+[Yy]es$/, @line)
+ ? ' (tiny change)' : '');
+
+ my $date_line = sprintf "%s %s$tiny\n",
+ strftime ("%Y-%m-%d", localtime ($1)), $2;
+
+ my @coauthors = grep /^Co-authored-by:.*$/, @line;
+ # Omit meta-data lines we've already interpreted.
+ @line = grep !/^(?:Signed-off-by:[ ].*>$
+ |Co-authored-by:[ ]
+ |Copyright-paperwork-exempt:[ ]
+ |Tiny-change:[ ]
+ )/x, @line;
+
+ # Remove leading and trailing blank lines.
+ if (@line)
+ {
+ while ($line[0] =~ /^\s*$/) { shift @line; }
+ while ($line[$#line] =~ /^\s*$/) { pop @line; }
+ }
+
+ # Handle Emacs gitmerge.el "skipped" commits.
+ # Yes, this should be controlled by an option. So sue me.
+ if ( grep /^(; )?Merge from /, @line )
+ {
+ my $found = 0;
+ foreach (@line)
+ {
+ if (grep /^The following commit.*skipped:$/, $_)
+ {
+ $found = 1;
+ ## Reset at each merge to reduce chance of false matches.
+ @skipshas = ();
+ next;
+ }
+ if ($found && $_ =~ /^([[:xdigit:]]{7,}) [^ ]/)
+ {
+ push ( @skipshas, $1 );
+ }
+ }
+ }
+
+ # Ignore commits that match the --ignore-matching pattern, if specified.
+ if (defined $ignore_matching && @line && $line[0] =~ /$ignore_matching/)
+ {
+ $skipflag = 1;
+ }
+ elsif ($skipflag)
+ {
+ ## Perhaps only warn if a pattern matches more than once?
+ warn "$ME: warning: skipping $sha due to $skipflag\n";
+ }
+
+ if (! $skipflag)
+ {
+ if (defined $ignore_line && @line)
+ {
+ @line = grep ! /$ignore_line/, @line;
+ while ($line[$#line] =~ /^\s*$/) { pop @line; }
+ }
+
+ # Record whether there are two or more paragraphs.
+ my $multi_paragraph = grep /^\s*$/, @line;
+
+ # Format 'Co-authored-by: A U Thor <email@example.com>' lines in
+ # standard multi-author ChangeLog format.
+ for (@coauthors)
+ {
+ s/^Co-authored-by:\s*/\t /;
+ s/\s*</ </;
+
+ /<.*?@.*\..*>/
+ or warn "$ME: warning: missing email address for "
+ . substr ($_, 5) . "\n";
+ }
+
+ # If clustering of commit messages has been disabled, if this header
+ # would be different from the previous date/name/etc. header,
+ # or if this or the previous entry consists of two or more paragraphs,
+ # then print the header.
+ if ( ! $cluster
+ || $date_line ne $prev_date_line
+ || "@coauthors" ne "@prev_coauthors"
+ || $multi_paragraph
+ || $prev_multi_paragraph)
+ {
+ $prev_date_line eq ''
+ or print "\n";
+ print $date_line;
+ @coauthors
+ and print join ("\n", @coauthors), "\n";
+ }
+ $prev_date_line = $date_line;
+ @prev_coauthors = @coauthors;
+ $prev_multi_paragraph = $multi_paragraph;
+
+ # If there were any lines
+ if (@line == 0)
+ {
+ warn "$ME: warning: empty commit message:\n"
+ . " commit $sha\n $date_line\n";
+ }
+ else
+ {
+ if ($append_dot)
+ {
+ # If the first line of the message has enough room, then
+ if (length $line[0] < 72)
+ {
+ # append a dot if there is no other punctuation or blank
+ # at the end.
+ $line[0] =~ /[[:punct:]\s]$/
+ or $line[0] .= '.';
+ }
+ }
+
+ # Remove one additional leading TAB from each line.
+ $strip_tab
+ and map { s/^\t// } @line;
+
+ # Prefix each non-empty line with a TAB.
+ @line = map { length $_ ? "\t$_" : '' } @line;
+
+ print "\n", join ("\n", @line), "\n";
+ }
+ }
+
+ defined ($in = <PIPE>)
+ or last;
+ $in ne "\n"
+ and die "$ME:$.: unexpected line:\n$in";
+ }
+
+ close PIPE
+ or die "$ME: error closing pipe from " . quoted_cmd (@cmd) . "\n";
+ # FIXME-someday: include $PROCESS_STATUS in the diagnostic
+
+ # Complain about any unused entry in the --amend=F specified file.
+ my $fail = 0;
+ foreach my $sha (keys %$amend_code)
+ {
+ warn "$ME:$amend_file: unused entry: $sha\n";
+ $fail = 1;
+ }
+
+ exit $fail;
+}
+
+# Local Variables:
+# mode: perl
+# indent-tabs-mode: nil
+# eval: (add-hook 'before-save-hook 'time-stamp)
+# time-stamp-line-limit: 50
+# time-stamp-start: "my $VERSION = '"
+# time-stamp-format: "%:y-%02m-%02d %02H:%02M"
+# time-stamp-time-zone: "UTC0"
+# time-stamp-end: "'; # UTC"
+# End:
--- /dev/null
+#!/bin/sh
+# install - install a program, script, or datafile
+
+scriptversion=2020-11-14.01; # UTC
+
+# This originates from X11R5 (mit/util/scripts/install.sh), which was
+# later released in X11R6 (xc/config/util/install.sh) with the
+# following copyright and license.
+#
+# Copyright (C) 1994 X Consortium
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to
+# deal in the Software without restriction, including without limitation the
+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+# sell copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
+# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name of the X Consortium shall not
+# be used in advertising or otherwise to promote the sale, use or other deal-
+# ings in this Software without prior written authorization from the X Consor-
+# tium.
+#
+#
+# FSF changes to this file are in the public domain.
+#
+# Calling this script install-sh is preferred over install.sh, to prevent
+# 'make' implicit rules from creating a file called install from it
+# when there is no Makefile.
+#
+# This script is compatible with the BSD install script, but was written
+# from scratch.
+
+tab=' '
+nl='
+'
+IFS=" $tab$nl"
+
+# Set DOITPROG to "echo" to test this script.
+
+doit=${DOITPROG-}
+doit_exec=${doit:-exec}
+
+# Put in absolute file names if you don't have them in your path;
+# or use environment vars.
+
+chgrpprog=${CHGRPPROG-chgrp}
+chmodprog=${CHMODPROG-chmod}
+chownprog=${CHOWNPROG-chown}
+cmpprog=${CMPPROG-cmp}
+cpprog=${CPPROG-cp}
+mkdirprog=${MKDIRPROG-mkdir}
+mvprog=${MVPROG-mv}
+rmprog=${RMPROG-rm}
+stripprog=${STRIPPROG-strip}
+
+posix_mkdir=
+
+# Desired mode of installed file.
+mode=0755
+
+# Create dirs (including intermediate dirs) using mode 755.
+# This is like GNU 'install' as of coreutils 8.32 (2020).
+mkdir_umask=22
+
+backupsuffix=
+chgrpcmd=
+chmodcmd=$chmodprog
+chowncmd=
+mvcmd=$mvprog
+rmcmd="$rmprog -f"
+stripcmd=
+
+src=
+dst=
+dir_arg=
+dst_arg=
+
+copy_on_change=false
+is_target_a_directory=possibly
+
+usage="\
+Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
+ or: $0 [OPTION]... SRCFILES... DIRECTORY
+ or: $0 [OPTION]... -t DIRECTORY SRCFILES...
+ or: $0 [OPTION]... -d DIRECTORIES...
+
+In the 1st form, copy SRCFILE to DSTFILE.
+In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
+In the 4th, create DIRECTORIES.
+
+Options:
+ --help display this help and exit.
+ --version display version info and exit.
+
+ -c (ignored)
+ -C install only if different (preserve data modification time)
+ -d create directories instead of installing files.
+ -g GROUP $chgrpprog installed files to GROUP.
+ -m MODE $chmodprog installed files to MODE.
+ -o USER $chownprog installed files to USER.
+ -p pass -p to $cpprog.
+ -s $stripprog installed files.
+ -S SUFFIX attempt to back up existing files, with suffix SUFFIX.
+ -t DIRECTORY install into DIRECTORY.
+ -T report an error if DSTFILE is a directory.
+
+Environment variables override the default commands:
+ CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
+ RMPROG STRIPPROG
+
+By default, rm is invoked with -f; when overridden with RMPROG,
+it's up to you to specify -f if you want it.
+
+If -S is not specified, no backups are attempted.
+
+Email bug reports to bug-automake@gnu.org.
+Automake home page: https://www.gnu.org/software/automake/
+"
+
+while test $# -ne 0; do
+ case $1 in
+ -c) ;;
+
+ -C) copy_on_change=true;;
+
+ -d) dir_arg=true;;
+
+ -g) chgrpcmd="$chgrpprog $2"
+ shift;;
+
+ --help) echo "$usage"; exit $?;;
+
+ -m) mode=$2
+ case $mode in
+ *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
+ echo "$0: invalid mode: $mode" >&2
+ exit 1;;
+ esac
+ shift;;
+
+ -o) chowncmd="$chownprog $2"
+ shift;;
+
+ -p) cpprog="$cpprog -p";;
+
+ -s) stripcmd=$stripprog;;
+
+ -S) backupsuffix="$2"
+ shift;;
+
+ -t)
+ is_target_a_directory=always
+ dst_arg=$2
+ # Protect names problematic for 'test' and other utilities.
+ case $dst_arg in
+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
+ esac
+ shift;;
+
+ -T) is_target_a_directory=never;;
+
+ --version) echo "$0 $scriptversion"; exit $?;;
+
+ --) shift
+ break;;
+
+ -*) echo "$0: invalid option: $1" >&2
+ exit 1;;
+
+ *) break;;
+ esac
+ shift
+done
+
+# We allow the use of options -d and -T together, by making -d
+# take the precedence; this is for compatibility with GNU install.
+
+if test -n "$dir_arg"; then
+ if test -n "$dst_arg"; then
+ echo "$0: target directory not allowed when installing a directory." >&2
+ exit 1
+ fi
+fi
+
+if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
+ # When -d is used, all remaining arguments are directories to create.
+ # When -t is used, the destination is already specified.
+ # Otherwise, the last argument is the destination. Remove it from $@.
+ for arg
+ do
+ if test -n "$dst_arg"; then
+ # $@ is not empty: it contains at least $arg.
+ set fnord "$@" "$dst_arg"
+ shift # fnord
+ fi
+ shift # arg
+ dst_arg=$arg
+ # Protect names problematic for 'test' and other utilities.
+ case $dst_arg in
+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
+ esac
+ done
+fi
+
+if test $# -eq 0; then
+ if test -z "$dir_arg"; then
+ echo "$0: no input file specified." >&2
+ exit 1
+ fi
+ # It's OK to call 'install-sh -d' without argument.
+ # This can happen when creating conditional directories.
+ exit 0
+fi
+
+if test -z "$dir_arg"; then
+ if test $# -gt 1 || test "$is_target_a_directory" = always; then
+ if test ! -d "$dst_arg"; then
+ echo "$0: $dst_arg: Is not a directory." >&2
+ exit 1
+ fi
+ fi
+fi
+
+if test -z "$dir_arg"; then
+ do_exit='(exit $ret); exit $ret'
+ trap "ret=129; $do_exit" 1
+ trap "ret=130; $do_exit" 2
+ trap "ret=141; $do_exit" 13
+ trap "ret=143; $do_exit" 15
+
+ # Set umask so as not to create temps with too-generous modes.
+ # However, 'strip' requires both read and write access to temps.
+ case $mode in
+ # Optimize common cases.
+ *644) cp_umask=133;;
+ *755) cp_umask=22;;
+
+ *[0-7])
+ if test -z "$stripcmd"; then
+ u_plus_rw=
+ else
+ u_plus_rw='% 200'
+ fi
+ cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
+ *)
+ if test -z "$stripcmd"; then
+ u_plus_rw=
+ else
+ u_plus_rw=,u+rw
+ fi
+ cp_umask=$mode$u_plus_rw;;
+ esac
+fi
+
+for src
+do
+ # Protect names problematic for 'test' and other utilities.
+ case $src in
+ -* | [=\(\)!]) src=./$src;;
+ esac
+
+ if test -n "$dir_arg"; then
+ dst=$src
+ dstdir=$dst
+ test -d "$dstdir"
+ dstdir_status=$?
+ # Don't chown directories that already exist.
+ if test $dstdir_status = 0; then
+ chowncmd=""
+ fi
+ else
+
+ # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
+ # might cause directories to be created, which would be especially bad
+ # if $src (and thus $dsttmp) contains '*'.
+ if test ! -f "$src" && test ! -d "$src"; then
+ echo "$0: $src does not exist." >&2
+ exit 1
+ fi
+
+ if test -z "$dst_arg"; then
+ echo "$0: no destination specified." >&2
+ exit 1
+ fi
+ dst=$dst_arg
+
+ # If destination is a directory, append the input filename.
+ if test -d "$dst"; then
+ if test "$is_target_a_directory" = never; then
+ echo "$0: $dst_arg: Is a directory" >&2
+ exit 1
+ fi
+ dstdir=$dst
+ dstbase=`basename "$src"`
+ case $dst in
+ */) dst=$dst$dstbase;;
+ *) dst=$dst/$dstbase;;
+ esac
+ dstdir_status=0
+ else
+ dstdir=`dirname "$dst"`
+ test -d "$dstdir"
+ dstdir_status=$?
+ fi
+ fi
+
+ case $dstdir in
+ */) dstdirslash=$dstdir;;
+ *) dstdirslash=$dstdir/;;
+ esac
+
+ obsolete_mkdir_used=false
+
+ if test $dstdir_status != 0; then
+ case $posix_mkdir in
+ '')
+ # With -d, create the new directory with the user-specified mode.
+ # Otherwise, rely on $mkdir_umask.
+ if test -n "$dir_arg"; then
+ mkdir_mode=-m$mode
+ else
+ mkdir_mode=
+ fi
+
+ posix_mkdir=false
+ # The $RANDOM variable is not portable (e.g., dash). Use it
+ # here however when possible just to lower collision chance.
+ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
+
+ trap '
+ ret=$?
+ rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null
+ exit $ret
+ ' 0
+
+ # Because "mkdir -p" follows existing symlinks and we likely work
+ # directly in world-writeable /tmp, make sure that the '$tmpdir'
+ # directory is successfully created first before we actually test
+ # 'mkdir -p'.
+ if (umask $mkdir_umask &&
+ $mkdirprog $mkdir_mode "$tmpdir" &&
+ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
+ then
+ if test -z "$dir_arg" || {
+ # Check for POSIX incompatibilities with -m.
+ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
+ # other-writable bit of parent directory when it shouldn't.
+ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
+ test_tmpdir="$tmpdir/a"
+ ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
+ case $ls_ld_tmpdir in
+ d????-?r-*) different_mode=700;;
+ d????-?--*) different_mode=755;;
+ *) false;;
+ esac &&
+ $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
+ ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
+ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
+ }
+ }
+ then posix_mkdir=:
+ fi
+ rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
+ else
+ # Remove any dirs left behind by ancient mkdir implementations.
+ rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
+ fi
+ trap '' 0;;
+ esac
+
+ if
+ $posix_mkdir && (
+ umask $mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
+ )
+ then :
+ else
+
+ # mkdir does not conform to POSIX,
+ # or it failed possibly due to a race condition. Create the
+ # directory the slow way, step by step, checking for races as we go.
+
+ case $dstdir in
+ /*) prefix='/';;
+ [-=\(\)!]*) prefix='./';;
+ *) prefix='';;
+ esac
+
+ oIFS=$IFS
+ IFS=/
+ set -f
+ set fnord $dstdir
+ shift
+ set +f
+ IFS=$oIFS
+
+ prefixes=
+
+ for d
+ do
+ test X"$d" = X && continue
+
+ prefix=$prefix$d
+ if test -d "$prefix"; then
+ prefixes=
+ else
+ if $posix_mkdir; then
+ (umask $mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
+ # Don't fail if two instances are running concurrently.
+ test -d "$prefix" || exit 1
+ else
+ case $prefix in
+ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
+ *) qprefix=$prefix;;
+ esac
+ prefixes="$prefixes '$qprefix'"
+ fi
+ fi
+ prefix=$prefix/
+ done
+
+ if test -n "$prefixes"; then
+ # Don't fail if two instances are running concurrently.
+ (umask $mkdir_umask &&
+ eval "\$doit_exec \$mkdirprog $prefixes") ||
+ test -d "$dstdir" || exit 1
+ obsolete_mkdir_used=true
+ fi
+ fi
+ fi
+
+ if test -n "$dir_arg"; then
+ { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
+ { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
+ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
+ else
+
+ # Make a couple of temp file names in the proper directory.
+ dsttmp=${dstdirslash}_inst.$$_
+ rmtmp=${dstdirslash}_rm.$$_
+
+ # Trap to clean up those temp files at exit.
+ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
+
+ # Copy the file name to the temp name.
+ (umask $cp_umask &&
+ { test -z "$stripcmd" || {
+ # Create $dsttmp read-write so that cp doesn't create it read-only,
+ # which would cause strip to fail.
+ if test -z "$doit"; then
+ : >"$dsttmp" # No need to fork-exec 'touch'.
+ else
+ $doit touch "$dsttmp"
+ fi
+ }
+ } &&
+ $doit_exec $cpprog "$src" "$dsttmp") &&
+
+ # and set any options; do chmod last to preserve setuid bits.
+ #
+ # If any of these fail, we abort the whole thing. If we want to
+ # ignore errors from any of these, just make sure not to ignore
+ # errors from the above "$doit $cpprog $src $dsttmp" command.
+ #
+ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
+ { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
+ { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
+
+ # If -C, don't bother to copy if it wouldn't change the file.
+ if $copy_on_change &&
+ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
+ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
+ set -f &&
+ set X $old && old=:$2:$4:$5:$6 &&
+ set X $new && new=:$2:$4:$5:$6 &&
+ set +f &&
+ test "$old" = "$new" &&
+ $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
+ then
+ rm -f "$dsttmp"
+ else
+ # If $backupsuffix is set, and the file being installed
+ # already exists, attempt a backup. Don't worry if it fails,
+ # e.g., if mv doesn't support -f.
+ if test -n "$backupsuffix" && test -f "$dst"; then
+ $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null
+ fi
+
+ # Rename the file to the real destination.
+ $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
+
+ # The rename failed, perhaps because mv can't rename something else
+ # to itself, or perhaps because mv is so ancient that it does not
+ # support -f.
+ {
+ # Now remove or move aside any old file at destination location.
+ # We try this two ways since rm can't unlink itself on some
+ # systems and the destination file might be busy for other
+ # reasons. In this case, the final cleanup might fail but the new
+ # file should still install successfully.
+ {
+ test ! -f "$dst" ||
+ $doit $rmcmd "$dst" 2>/dev/null ||
+ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
+ { $doit $rmcmd "$rmtmp" 2>/dev/null; :; }
+ } ||
+ { echo "$0: cannot unlink or rename $dst" >&2
+ (exit 1); exit 1
+ }
+ } &&
+
+ # Now rename the file to the real destination.
+ $doit $mvcmd "$dsttmp" "$dst"
+ }
+ fi || exit 1
+
+ trap '' 0
+ fi
+done
+
+# Local variables:
+# eval: (add-hook 'before-save-hook 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC0"
+# time-stamp-end: "; # UTC"
+# End:
--- /dev/null
+#!/bin/sh
+# Get modification time of a file or directory and pretty-print it.
+
+scriptversion=2018-03-07.03; # UTC
+
+# Copyright (C) 1995-2021 Free Software Foundation, Inc.
+# written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# This file is maintained in Automake, please report
+# bugs to <bug-automake@gnu.org> or send patches to
+# <automake-patches@gnu.org>.
+
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+fi
+
+case $1 in
+ '')
+ echo "$0: No file. Try '$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
+ -h | --h*)
+ cat <<\EOF
+Usage: mdate-sh [--help] [--version] FILE
+
+Pretty-print the modification day of FILE, in the format:
+1 January 1970
+
+Report bugs to <bug-automake@gnu.org>.
+EOF
+ exit $?
+ ;;
+ -v | --v*)
+ echo "mdate-sh $scriptversion"
+ exit $?
+ ;;
+esac
+
+error ()
+{
+ echo "$0: $1" >&2
+ exit 1
+}
+
+
+# Prevent date giving response in another language.
+LANG=C
+export LANG
+LC_ALL=C
+export LC_ALL
+LC_TIME=C
+export LC_TIME
+
+# Use UTC to get reproducible result.
+TZ=UTC0
+export TZ
+
+# GNU ls changes its time format in response to the TIME_STYLE
+# variable. Since we cannot assume 'unset' works, revert this
+# variable to its documented default.
+if test "${TIME_STYLE+set}" = set; then
+ TIME_STYLE=posix-long-iso
+ export TIME_STYLE
+fi
+
+save_arg1=$1
+
+# Find out how to get the extended ls output of a file or directory.
+if ls -L /dev/null 1>/dev/null 2>&1; then
+ ls_command='ls -L -l -d'
+else
+ ls_command='ls -l -d'
+fi
+# Avoid user/group names that might have spaces, when possible.
+if ls -n /dev/null 1>/dev/null 2>&1; then
+ ls_command="$ls_command -n"
+fi
+
+# A 'ls -l' line looks as follows on OS/2.
+# drwxrwx--- 0 Aug 11 2001 foo
+# This differs from Unix, which adds ownership information.
+# drwxrwx--- 2 root root 4096 Aug 11 2001 foo
+#
+# To find the date, we split the line on spaces and iterate on words
+# until we find a month. This cannot work with files whose owner is a
+# user named "Jan", or "Feb", etc. However, it's unlikely that '/'
+# will be owned by a user whose name is a month. So we first look at
+# the extended ls output of the root directory to decide how many
+# words should be skipped to get the date.
+
+# On HPUX /bin/sh, "set" interprets "-rw-r--r--" as options, so the "x" below.
+set x`$ls_command /`
+
+# Find which argument is the month.
+month=
+command=
+until test $month
+do
+ test $# -gt 0 || error "failed parsing '$ls_command /' output"
+ shift
+ # Add another shift to the command.
+ command="$command shift;"
+ case $1 in
+ Jan) month=January; nummonth=1;;
+ Feb) month=February; nummonth=2;;
+ Mar) month=March; nummonth=3;;
+ Apr) month=April; nummonth=4;;
+ May) month=May; nummonth=5;;
+ Jun) month=June; nummonth=6;;
+ Jul) month=July; nummonth=7;;
+ Aug) month=August; nummonth=8;;
+ Sep) month=September; nummonth=9;;
+ Oct) month=October; nummonth=10;;
+ Nov) month=November; nummonth=11;;
+ Dec) month=December; nummonth=12;;
+ esac
+done
+
+test -n "$month" || error "failed parsing '$ls_command /' output"
+
+# Get the extended ls output of the file or directory.
+set dummy x`eval "$ls_command \"\\\$save_arg1\""`
+
+# Remove all preceding arguments
+eval $command
+
+# Because of the dummy argument above, month is in $2.
+#
+# On a POSIX system, we should have
+#
+# $# = 5
+# $1 = file size
+# $2 = month
+# $3 = day
+# $4 = year or time
+# $5 = filename
+#
+# On Darwin 7.7.0 and 7.6.0, we have
+#
+# $# = 4
+# $1 = day
+# $2 = month
+# $3 = year or time
+# $4 = filename
+
+# Get the month.
+case $2 in
+ Jan) month=January; nummonth=1;;
+ Feb) month=February; nummonth=2;;
+ Mar) month=March; nummonth=3;;
+ Apr) month=April; nummonth=4;;
+ May) month=May; nummonth=5;;
+ Jun) month=June; nummonth=6;;
+ Jul) month=July; nummonth=7;;
+ Aug) month=August; nummonth=8;;
+ Sep) month=September; nummonth=9;;
+ Oct) month=October; nummonth=10;;
+ Nov) month=November; nummonth=11;;
+ Dec) month=December; nummonth=12;;
+esac
+
+case $3 in
+ ???*) day=$1;;
+ *) day=$3; shift;;
+esac
+
+# Here we have to deal with the problem that the ls output gives either
+# the time of day or the year.
+case $3 in
+ *:*) set `date`; eval year=\$$#
+ case $2 in
+ Jan) nummonthtod=1;;
+ Feb) nummonthtod=2;;
+ Mar) nummonthtod=3;;
+ Apr) nummonthtod=4;;
+ May) nummonthtod=5;;
+ Jun) nummonthtod=6;;
+ Jul) nummonthtod=7;;
+ Aug) nummonthtod=8;;
+ Sep) nummonthtod=9;;
+ Oct) nummonthtod=10;;
+ Nov) nummonthtod=11;;
+ Dec) nummonthtod=12;;
+ esac
+ # For the first six month of the year the time notation can also
+ # be used for files modified in the last year.
+ if (expr $nummonth \> $nummonthtod) > /dev/null;
+ then
+ year=`expr $year - 1`
+ fi;;
+ *) year=$3;;
+esac
+
+# The result.
+echo $day $month $year
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'before-save-hook 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC0"
+# time-stamp-end: "; # UTC"
+# End:
--- /dev/null
+#! /bin/sh
+# Common wrapper for a few potentially missing GNU programs.
+
+scriptversion=2018-03-07.03; # UTC
+
+# Copyright (C) 1996-2021 Free Software Foundation, Inc.
+# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+if test $# -eq 0; then
+ echo 1>&2 "Try '$0 --help' for more information"
+ exit 1
+fi
+
+case $1 in
+
+ --is-lightweight)
+ # Used by our autoconf macros to check whether the available missing
+ # script is modern enough.
+ exit 0
+ ;;
+
+ --run)
+ # Back-compat with the calling convention used by older automake.
+ shift
+ ;;
+
+ -h|--h|--he|--hel|--help)
+ echo "\
+$0 [OPTION]... PROGRAM [ARGUMENT]...
+
+Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
+to PROGRAM being missing or too old.
+
+Options:
+ -h, --help display this help and exit
+ -v, --version output version information and exit
+
+Supported PROGRAM values:
+ aclocal autoconf autoheader autom4te automake makeinfo
+ bison yacc flex lex help2man
+
+Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
+'g' are ignored when checking the name.
+
+Send bug reports to <bug-automake@gnu.org>."
+ exit $?
+ ;;
+
+ -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
+ echo "missing $scriptversion (GNU Automake)"
+ exit $?
+ ;;
+
+ -*)
+ echo 1>&2 "$0: unknown '$1' option"
+ echo 1>&2 "Try '$0 --help' for more information"
+ exit 1
+ ;;
+
+esac
+
+# Run the given program, remember its exit status.
+"$@"; st=$?
+
+# If it succeeded, we are done.
+test $st -eq 0 && exit 0
+
+# Also exit now if we it failed (or wasn't found), and '--version' was
+# passed; such an option is passed most likely to detect whether the
+# program is present and works.
+case $2 in --version|--help) exit $st;; esac
+
+# Exit code 63 means version mismatch. This often happens when the user
+# tries to use an ancient version of a tool on a file that requires a
+# minimum version.
+if test $st -eq 63; then
+ msg="probably too old"
+elif test $st -eq 127; then
+ # Program was missing.
+ msg="missing on your system"
+else
+ # Program was found and executed, but failed. Give up.
+ exit $st
+fi
+
+perl_URL=https://www.perl.org/
+flex_URL=https://github.com/westes/flex
+gnu_software_URL=https://www.gnu.org/software
+
+program_details ()
+{
+ case $1 in
+ aclocal|automake)
+ echo "The '$1' program is part of the GNU Automake package:"
+ echo "<$gnu_software_URL/automake>"
+ echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
+ echo "<$gnu_software_URL/autoconf>"
+ echo "<$gnu_software_URL/m4/>"
+ echo "<$perl_URL>"
+ ;;
+ autoconf|autom4te|autoheader)
+ echo "The '$1' program is part of the GNU Autoconf package:"
+ echo "<$gnu_software_URL/autoconf/>"
+ echo "It also requires GNU m4 and Perl in order to run:"
+ echo "<$gnu_software_URL/m4/>"
+ echo "<$perl_URL>"
+ ;;
+ esac
+}
+
+give_advice ()
+{
+ # Normalize program name to check for.
+ normalized_program=`echo "$1" | sed '
+ s/^gnu-//; t
+ s/^gnu//; t
+ s/^g//; t'`
+
+ printf '%s\n' "'$1' is $msg."
+
+ configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
+ case $normalized_program in
+ autoconf*)
+ echo "You should only need it if you modified 'configure.ac',"
+ echo "or m4 files included by it."
+ program_details 'autoconf'
+ ;;
+ autoheader*)
+ echo "You should only need it if you modified 'acconfig.h' or"
+ echo "$configure_deps."
+ program_details 'autoheader'
+ ;;
+ automake*)
+ echo "You should only need it if you modified 'Makefile.am' or"
+ echo "$configure_deps."
+ program_details 'automake'
+ ;;
+ aclocal*)
+ echo "You should only need it if you modified 'acinclude.m4' or"
+ echo "$configure_deps."
+ program_details 'aclocal'
+ ;;
+ autom4te*)
+ echo "You might have modified some maintainer files that require"
+ echo "the 'autom4te' program to be rebuilt."
+ program_details 'autom4te'
+ ;;
+ bison*|yacc*)
+ echo "You should only need it if you modified a '.y' file."
+ echo "You may want to install the GNU Bison package:"
+ echo "<$gnu_software_URL/bison/>"
+ ;;
+ lex*|flex*)
+ echo "You should only need it if you modified a '.l' file."
+ echo "You may want to install the Fast Lexical Analyzer package:"
+ echo "<$flex_URL>"
+ ;;
+ help2man*)
+ echo "You should only need it if you modified a dependency" \
+ "of a man page."
+ echo "You may want to install the GNU Help2man package:"
+ echo "<$gnu_software_URL/help2man/>"
+ ;;
+ makeinfo*)
+ echo "You should only need it if you modified a '.texi' file, or"
+ echo "any other file indirectly affecting the aspect of the manual."
+ echo "You might want to install the Texinfo package:"
+ echo "<$gnu_software_URL/texinfo/>"
+ echo "The spurious makeinfo call might also be the consequence of"
+ echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
+ echo "want to install GNU make:"
+ echo "<$gnu_software_URL/make/>"
+ ;;
+ *)
+ echo "You might have modified some files without having the proper"
+ echo "tools for further handling them. Check the 'README' file, it"
+ echo "often tells you about the needed prerequisites for installing"
+ echo "this package. You may also peek at any GNU archive site, in"
+ echo "case some other package contains this missing '$1' program."
+ ;;
+ esac
+}
+
+give_advice "$1" | sed -e '1s/^/WARNING: /' \
+ -e '2,$s/^/ /' >&2
+
+# Propagate the correct exit status (expected to be 127 for a program
+# not found, 63 for a program that failed due to version mismatch).
+exit $st
+
+# Local variables:
+# eval: (add-hook 'before-save-hook 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC0"
+# time-stamp-end: "; # UTC"
+# End:
--- /dev/null
+% texinfo.tex -- TeX macros to handle Texinfo files.
+%
+% Load plain if necessary, i.e., if running under initex.
+\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
+%
+\def\texinfoversion{2021-04-25.21}
+%
+% Copyright 1985, 1986, 1988, 1990-2021 Free Software Foundation, Inc.
+%
+% This texinfo.tex file is free software: you can redistribute it and/or
+% modify it under the terms of the GNU General Public License as
+% published by the Free Software Foundation, either version 3 of the
+% License, or (at your option) any later version.
+%
+% This texinfo.tex file is distributed in the hope that it will be
+% useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+% of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+% General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program. If not, see <https://www.gnu.org/licenses/>.
+%
+% As a special exception, when this file is read by TeX when processing
+% a Texinfo source document, you may use the result without
+% restriction. This Exception is an additional permission under section 7
+% of the GNU General Public License, version 3 ("GPLv3").
+%
+% Please try the latest version of texinfo.tex before submitting bug
+% reports; you can get the latest version from:
+% https://ftp.gnu.org/gnu/texinfo/ (the Texinfo release area), or
+% https://ftpmirror.gnu.org/texinfo/ (same, via a mirror), or
+% https://www.gnu.org/software/texinfo/ (the Texinfo home page)
+% The texinfo.tex in any given distribution could well be out
+% of date, so if that's what you're using, please check.
+%
+% Send bug reports to bug-texinfo@gnu.org. Please include a
+% complete document in each bug report with which we can reproduce the
+% problem. Patches are, of course, greatly appreciated.
+%
+% To process a Texinfo manual with TeX, it's most reliable to use the
+% texi2dvi shell script that comes with the distribution. For a simple
+% manual foo.texi, however, you can get away with this:
+% tex foo.texi
+% texindex foo.??
+% tex foo.texi
+% tex foo.texi
+% dvips foo.dvi -o # or whatever; this makes foo.ps.
+% The extra TeX runs get the cross-reference information correct.
+% Sometimes one run after texindex suffices, and sometimes you need more
+% than two; texi2dvi does it as many times as necessary.
+%
+% It is possible to adapt texinfo.tex for other languages, to some
+% extent. You can get the existing language-specific files from the
+% full Texinfo distribution.
+%
+% The GNU Texinfo home page is https://www.gnu.org/software/texinfo.
+
+
+\message{Loading texinfo [version \texinfoversion]:}
+
+% If in a .fmt file, print the version number
+% and turn on active characters that we couldn't do earlier because
+% they might have appeared in the input file name.
+\everyjob{\message{[Texinfo version \texinfoversion]}%
+ \catcode`+=\active \catcode`\_=\active}
+
+% LaTeX's \typeout. This ensures that the messages it is used for
+% are identical in format to the corresponding ones from latex/pdflatex.
+\def\typeout{\immediate\write17}%
+
+\chardef\other=12
+
+% We never want plain's \outer definition of \+ in Texinfo.
+% For @tex, we can use \tabalign.
+\let\+ = \relax
+
+% Save some plain tex macros whose names we will redefine.
+\let\ptexb=\b
+\let\ptexbullet=\bullet
+\let\ptexc=\c
+\let\ptexcomma=\,
+\let\ptexdot=\.
+\let\ptexdots=\dots
+\let\ptexend=\end
+\let\ptexequiv=\equiv
+\let\ptexexclam=\!
+\let\ptexfootnote=\footnote
+\let\ptexgtr=>
+\let\ptexhat=^
+\let\ptexi=\i
+\let\ptexindent=\indent
+\let\ptexinsert=\insert
+\let\ptexlbrace=\{
+\let\ptexless=<
+\let\ptexnewwrite\newwrite
+\let\ptexnoindent=\noindent
+\let\ptexplus=+
+\let\ptexraggedright=\raggedright
+\let\ptexrbrace=\}
+\let\ptexslash=\/
+\let\ptexsp=\sp
+\let\ptexstar=\*
+\let\ptexsup=\sup
+\let\ptext=\t
+\let\ptextop=\top
+{\catcode`\'=\active \global\let\ptexquoteright'}% active in plain's math mode
+
+% If this character appears in an error message or help string, it
+% starts a new line in the output.
+\newlinechar = `^^J
+
+% Use TeX 3.0's \inputlineno to get the line number, for better error
+% messages, but if we're using an old version of TeX, don't do anything.
+%
+\ifx\inputlineno\thisisundefined
+ \let\linenumber = \empty % Pre-3.0.
+\else
+ \def\linenumber{l.\the\inputlineno:\space}
+\fi
+
+% Set up fixed words for English if not already set.
+\ifx\putwordAppendix\undefined \gdef\putwordAppendix{Appendix}\fi
+\ifx\putwordChapter\undefined \gdef\putwordChapter{Chapter}\fi
+\ifx\putworderror\undefined \gdef\putworderror{error}\fi
+\ifx\putwordfile\undefined \gdef\putwordfile{file}\fi
+\ifx\putwordin\undefined \gdef\putwordin{in}\fi
+\ifx\putwordIndexIsEmpty\undefined \gdef\putwordIndexIsEmpty{(Index is empty)}\fi
+\ifx\putwordIndexNonexistent\undefined \gdef\putwordIndexNonexistent{(Index is nonexistent)}\fi
+\ifx\putwordInfo\undefined \gdef\putwordInfo{Info}\fi
+\ifx\putwordInstanceVariableof\undefined \gdef\putwordInstanceVariableof{Instance Variable of}\fi
+\ifx\putwordMethodon\undefined \gdef\putwordMethodon{Method on}\fi
+\ifx\putwordNoTitle\undefined \gdef\putwordNoTitle{No Title}\fi
+\ifx\putwordof\undefined \gdef\putwordof{of}\fi
+\ifx\putwordon\undefined \gdef\putwordon{on}\fi
+\ifx\putwordpage\undefined \gdef\putwordpage{page}\fi
+\ifx\putwordsection\undefined \gdef\putwordsection{section}\fi
+\ifx\putwordSection\undefined \gdef\putwordSection{Section}\fi
+\ifx\putwordsee\undefined \gdef\putwordsee{see}\fi
+\ifx\putwordSee\undefined \gdef\putwordSee{See}\fi
+\ifx\putwordShortTOC\undefined \gdef\putwordShortTOC{Short Contents}\fi
+\ifx\putwordTOC\undefined \gdef\putwordTOC{Table of Contents}\fi
+%
+\ifx\putwordMJan\undefined \gdef\putwordMJan{January}\fi
+\ifx\putwordMFeb\undefined \gdef\putwordMFeb{February}\fi
+\ifx\putwordMMar\undefined \gdef\putwordMMar{March}\fi
+\ifx\putwordMApr\undefined \gdef\putwordMApr{April}\fi
+\ifx\putwordMMay\undefined \gdef\putwordMMay{May}\fi
+\ifx\putwordMJun\undefined \gdef\putwordMJun{June}\fi
+\ifx\putwordMJul\undefined \gdef\putwordMJul{July}\fi
+\ifx\putwordMAug\undefined \gdef\putwordMAug{August}\fi
+\ifx\putwordMSep\undefined \gdef\putwordMSep{September}\fi
+\ifx\putwordMOct\undefined \gdef\putwordMOct{October}\fi
+\ifx\putwordMNov\undefined \gdef\putwordMNov{November}\fi
+\ifx\putwordMDec\undefined \gdef\putwordMDec{December}\fi
+%
+\ifx\putwordDefmac\undefined \gdef\putwordDefmac{Macro}\fi
+\ifx\putwordDefspec\undefined \gdef\putwordDefspec{Special Form}\fi
+\ifx\putwordDefvar\undefined \gdef\putwordDefvar{Variable}\fi
+\ifx\putwordDefopt\undefined \gdef\putwordDefopt{User Option}\fi
+\ifx\putwordDeffunc\undefined \gdef\putwordDeffunc{Function}\fi
+
+% Give the space character the catcode for a space.
+\def\spaceisspace{\catcode`\ =10\relax}
+
+% Likewise for ^^M, the end of line character.
+\def\endlineisspace{\catcode13=10\relax}
+
+\chardef\dashChar = `\-
+\chardef\slashChar = `\/
+\chardef\underChar = `\_
+
+% Ignore a token.
+%
+\def\gobble#1{}
+
+% The following is used inside several \edef's.
+\def\makecsname#1{\expandafter\noexpand\csname#1\endcsname}
+
+% Hyphenation fixes.
+\hyphenation{
+ Flor-i-da Ghost-script Ghost-view Mac-OS Post-Script
+ ap-pen-dix bit-map bit-maps
+ data-base data-bases eshell fall-ing half-way long-est man-u-script
+ man-u-scripts mini-buf-fer mini-buf-fers over-view par-a-digm
+ par-a-digms rath-er rec-tan-gu-lar ro-bot-ics se-vere-ly set-up spa-ces
+ spell-ing spell-ings
+ stand-alone strong-est time-stamp time-stamps which-ever white-space
+ wide-spread wrap-around
+}
+
+% Sometimes it is convenient to have everything in the transcript file
+% and nothing on the terminal. We don't just call \tracingall here,
+% since that produces some useless output on the terminal. We also make
+% some effort to order the tracing commands to reduce output in the log
+% file; cf. trace.sty in LaTeX.
+%
+\def\gloggingall{\begingroup \globaldefs = 1 \loggingall \endgroup}%
+\def\loggingall{%
+ \tracingstats2
+ \tracingpages1
+ \tracinglostchars2 % 2 gives us more in etex
+ \tracingparagraphs1
+ \tracingoutput1
+ \tracingmacros2
+ \tracingrestores1
+ \showboxbreadth\maxdimen \showboxdepth\maxdimen
+ \ifx\eTeXversion\thisisundefined\else % etex gives us more logging
+ \tracingscantokens1
+ \tracingifs1
+ \tracinggroups1
+ \tracingnesting2
+ \tracingassigns1
+ \fi
+ \tracingcommands3 % 3 gives us more in etex
+ \errorcontextlines16
+}%
+
+% @errormsg{MSG}. Do the index-like expansions on MSG, but if things
+% aren't perfect, it's not the end of the world, being an error message,
+% after all.
+%
+\def\errormsg{\begingroup \indexnofonts \doerrormsg}
+\def\doerrormsg#1{\errmessage{#1}}
+
+% add check for \lastpenalty to plain's definitions. If the last thing
+% we did was a \nobreak, we don't want to insert more space.
+%
+\def\smallbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\smallskipamount
+ \removelastskip\penalty-50\smallskip\fi\fi}
+\def\medbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\medskipamount
+ \removelastskip\penalty-100\medskip\fi\fi}
+\def\bigbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\bigskipamount
+ \removelastskip\penalty-200\bigskip\fi\fi}
+
+%\f Output routine
+%
+
+% For a final copy, take out the rectangles
+% that mark overfull boxes (in case you have decided
+% that the text looks ok even though it passes the margin).
+%
+\def\finalout{\overfullrule=0pt }
+
+\newdimen\outerhsize \newdimen\outervsize % set by the paper size routines
+\newdimen\topandbottommargin \topandbottommargin=.75in
+
+% Output a mark which sets \thischapter, \thissection and \thiscolor.
+% We dump everything together because we only have one kind of mark.
+% This works because we only use \botmark / \topmark, not \firstmark.
+%
+% A mark contains a subexpression of the \ifcase ... \fi construct.
+% \get*marks macros below extract the needed part using \ifcase.
+%
+% Another complication is to let the user choose whether \thischapter
+% (\thissection) refers to the chapter (section) in effect at the top
+% of a page, or that at the bottom of a page.
+
+% \domark is called twice inside \chapmacro, to add one
+% mark before the section break, and one after.
+% In the second call \prevchapterdefs is the same as \currentchapterdefs,
+% and \prevsectiondefs is the same as \currentsectiondefs.
+% Then if the page is not broken at the mark, some of the previous
+% section appears on the page, and we can get the name of this section
+% from \firstmark for @everyheadingmarks top.
+% @everyheadingmarks bottom uses \botmark.
+%
+% See page 260 of The TeXbook.
+\def\domark{%
+ \toks0=\expandafter{\currentchapterdefs}%
+ \toks2=\expandafter{\currentsectiondefs}%
+ \toks4=\expandafter{\prevchapterdefs}%
+ \toks6=\expandafter{\prevsectiondefs}%
+ \toks8=\expandafter{\currentcolordefs}%
+ \mark{%
+ \the\toks0 \the\toks2 % 0: marks for @everyheadingmarks top
+ \noexpand\or \the\toks4 \the\toks6 % 1: for @everyheadingmarks bottom
+ \noexpand\else \the\toks8 % 2: color marks
+ }%
+}
+
+% \gettopheadingmarks, \getbottomheadingmarks,
+% \getcolormarks - extract needed part of mark.
+%
+% \topmark doesn't work for the very first chapter (after the title
+% page or the contents), so we use \firstmark there -- this gets us
+% the mark with the chapter defs, unless the user sneaks in, e.g.,
+% @setcolor (or @url, or @link, etc.) between @contents and the very
+% first @chapter.
+\def\gettopheadingmarks{%
+ \ifcase0\the\savedtopmark\fi
+ \ifx\thischapter\empty \ifcase0\firstmark\fi \fi
+}
+\def\getbottomheadingmarks{\ifcase1\botmark\fi}
+\def\getcolormarks{\ifcase2\the\savedtopmark\fi}
+
+% Avoid "undefined control sequence" errors.
+\def\currentchapterdefs{}
+\def\currentsectiondefs{}
+\def\currentsection{}
+\def\prevchapterdefs{}
+\def\prevsectiondefs{}
+\def\currentcolordefs{}
+
+% Margin to add to right of even pages, to left of odd pages.
+\newdimen\bindingoffset
+\newdimen\normaloffset
+\newdimen\txipagewidth \newdimen\txipageheight
+
+% Main output routine.
+%
+\chardef\PAGE = 255
+\newtoks\defaultoutput
+\defaultoutput = {\savetopmark\onepageout{\pagecontents\PAGE}}
+\output=\expandafter{\the\defaultoutput}
+
+\newbox\headlinebox
+\newbox\footlinebox
+
+% When outputting the double column layout for indices, an output routine
+% is run several times, which hides the original value of \topmark. This
+% can lead to a page heading being output and duplicating the chapter heading
+% of the index. Hence, save the contents of \topmark at the beginning of
+% the output routine. The saved contents are valid until we actually
+% \shipout a page.
+%
+% (We used to run a short output routine to actually set \topmark and
+% \firstmark to the right values, but if this was called with an empty page
+% containing whatsits for writing index entries, the whatsits would be thrown
+% away and the index auxiliary file would remain empty.)
+%
+\newtoks\savedtopmark
+\newif\iftopmarksaved
+\topmarksavedtrue
+\def\savetopmark{%
+ \iftopmarksaved\else
+ \global\savedtopmark=\expandafter{\topmark}%
+ \global\topmarksavedtrue
+ \fi
+}
+
+% \onepageout takes a vbox as an argument.
+% \shipout a vbox for a single page, adding an optional header, footer
+% and footnote. This also causes index entries for this page to be written
+% to the auxiliary files.
+%
+\def\onepageout#1{%
+ \hoffset=\normaloffset
+ %
+ \ifodd\pageno \advance\hoffset by \bindingoffset
+ \else \advance\hoffset by -\bindingoffset\fi
+ %
+ \checkchapterpage
+ %
+ % Retrieve the information for the headings from the marks in the page,
+ % and call Plain TeX's \makeheadline and \makefootline, which use the
+ % values in \headline and \footline.
+ %
+ % Common context changes for both heading and footing.
+ % Do this outside of the \shipout so @code etc. will be expanded in
+ % the headline as they should be, not taken literally (outputting ''code).
+ \def\commonheadfootline{\let\hsize=\txipagewidth \texinfochars}
+ %
+ \ifodd\pageno \getoddheadingmarks \else \getevenheadingmarks \fi
+ \global\setbox\headlinebox = \vbox{\commonheadfootline \makeheadline}%
+ \ifodd\pageno \getoddfootingmarks \else \getevenfootingmarks \fi
+ \global\setbox\footlinebox = \vbox{\commonheadfootline \makefootline}%
+ %
+ {%
+ % Set context for writing to auxiliary files like index files.
+ % Have to do this stuff outside the \shipout because we want it to
+ % take effect in \write's, yet the group defined by the \vbox ends
+ % before the \shipout runs.
+ %
+ \atdummies % don't expand commands in the output.
+ \turnoffactive
+ \shipout\vbox{%
+ % Do this early so pdf references go to the beginning of the page.
+ \ifpdfmakepagedest \pdfdest name{\the\pageno} xyz\fi
+ %
+ \unvbox\headlinebox
+ \pagebody{#1}%
+ \ifdim\ht\footlinebox > 0pt
+ % Only leave this space if the footline is nonempty.
+ % (We lessened \vsize for it in \oddfootingyyy.)
+ % The \baselineskip=24pt in plain's \makefootline has no effect.
+ \vskip 24pt
+ \unvbox\footlinebox
+ \fi
+ %
+ }%
+ }%
+ \global\topmarksavedfalse
+ \advancepageno
+ \ifnum\outputpenalty>-20000 \else\dosupereject\fi
+}
+
+\newinsert\margin \dimen\margin=\maxdimen
+
+% Main part of page, including any footnotes
+\def\pagebody#1{\vbox to\txipageheight{\boxmaxdepth=\maxdepth #1}}
+{\catcode`\@ =11
+\gdef\pagecontents#1{\ifvoid\topins\else\unvbox\topins\fi
+% marginal hacks, juha@viisa.uucp (Juha Takala)
+\ifvoid\margin\else % marginal info is present
+ \rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi
+\dimen@=\dp#1\relax \unvbox#1\relax
+\ifvoid\footins\else\vskip\skip\footins\footnoterule \unvbox\footins\fi
+\ifr@ggedbottom \kern-\dimen@ \vfil \fi}
+}
+
+% Check if we are on the first page of a chapter. Used for printing headings.
+\newif\ifchapterpage
+\def\checkchapterpage{%
+ % Get the chapter that was current at the end of the last page
+ \ifcase1\the\savedtopmark\fi
+ \let\prevchaptername\thischaptername
+ %
+ \ifodd\pageno \getoddheadingmarks \else \getevenheadingmarks \fi
+ \let\curchaptername\thischaptername
+ %
+ \ifx\curchaptername\prevchaptername
+ \chapterpagefalse
+ \else
+ \chapterpagetrue
+ \fi
+}
+
+% Argument parsing
+
+% Parse an argument, then pass it to #1. The argument is the rest of
+% the input line (except we remove a trailing comment). #1 should be a
+% macro which expects an ordinary undelimited TeX argument.
+% For example, \def\foo{\parsearg\fooxxx}.
+%
+\def\parsearg{\parseargusing{}}
+\def\parseargusing#1#2{%
+ \def\argtorun{#2}%
+ \begingroup
+ \obeylines
+ \spaceisspace
+ #1%
+ \parseargline\empty% Insert the \empty token, see \finishparsearg below.
+}
+
+{\obeylines %
+ \gdef\parseargline#1^^M{%
+ \endgroup % End of the group started in \parsearg.
+ \argremovecomment #1\comment\ArgTerm%
+ }%
+}
+
+% First remove any @comment, then any @c comment. Pass the result on to
+% \argcheckspaces.
+\def\argremovecomment#1\comment#2\ArgTerm{\argremovec #1\c\ArgTerm}
+\def\argremovec#1\c#2\ArgTerm{\argcheckspaces#1\^^M\ArgTerm}
+
+% Each occurrence of `\^^M' or `<space>\^^M' is replaced by a single space.
+%
+% \argremovec might leave us with trailing space, e.g.,
+% @end itemize @c foo
+% This space token undergoes the same procedure and is eventually removed
+% by \finishparsearg.
+%
+\def\argcheckspaces#1\^^M{\argcheckspacesX#1\^^M \^^M}
+\def\argcheckspacesX#1 \^^M{\argcheckspacesY#1\^^M}
+\def\argcheckspacesY#1\^^M#2\^^M#3\ArgTerm{%
+ \def\temp{#3}%
+ \ifx\temp\empty
+ % Do not use \next, perhaps the caller of \parsearg uses it; reuse \temp:
+ \let\temp\finishparsearg
+ \else
+ \let\temp\argcheckspaces
+ \fi
+ % Put the space token in:
+ \temp#1 #3\ArgTerm
+}
+
+% If a _delimited_ argument is enclosed in braces, they get stripped; so
+% to get _exactly_ the rest of the line, we had to prevent such situation.
+% We prepended an \empty token at the very beginning and we expand it now,
+% just before passing the control to \argtorun.
+% (Similarly, we have to think about #3 of \argcheckspacesY above: it is
+% either the null string, or it ends with \^^M---thus there is no danger
+% that a pair of braces would be stripped.
+%
+% But first, we have to remove the trailing space token.
+%
+\def\finishparsearg#1 \ArgTerm{\expandafter\argtorun\expandafter{#1}}
+
+
+% \parseargdef - define a command taking an argument on the line
+%
+% \parseargdef\foo{...}
+% is roughly equivalent to
+% \def\foo{\parsearg\Xfoo}
+% \def\Xfoo#1{...}
+\def\parseargdef#1{%
+ \expandafter \doparseargdef \csname\string#1\endcsname #1%
+}
+\def\doparseargdef#1#2{%
+ \def#2{\parsearg#1}%
+ \def#1##1%
+}
+
+% Several utility definitions with active space:
+{
+ \obeyspaces
+ \gdef\obeyedspace{ }
+
+ % Make each space character in the input produce a normal interword
+ % space in the output. Don't allow a line break at this space, as this
+ % is used only in environments like @example, where each line of input
+ % should produce a line of output anyway.
+ %
+ \gdef\sepspaces{\obeyspaces\let =\tie}
+
+ % If an index command is used in an @example environment, any spaces
+ % therein should become regular spaces in the raw index file, not the
+ % expansion of \tie (\leavevmode \penalty \@M \ ).
+ \gdef\unsepspaces{\let =\space}
+}
+
+
+\def\flushcr{\ifx\par\lisppar \def\next##1{}\else \let\next=\relax \fi \next}
+
+% Define the framework for environments in texinfo.tex. It's used like this:
+%
+% \envdef\foo{...}
+% \def\Efoo{...}
+%
+% It's the responsibility of \envdef to insert \begingroup before the
+% actual body; @end closes the group after calling \Efoo. \envdef also
+% defines \thisenv, so the current environment is known; @end checks
+% whether the environment name matches. The \checkenv macro can also be
+% used to check whether the current environment is the one expected.
+%
+% Non-false conditionals (@iftex, @ifset) don't fit into this, so they
+% are not treated as environments; they don't open a group. (The
+% implementation of @end takes care not to call \endgroup in this
+% special case.)
+
+
+% At run-time, environments start with this:
+\def\startenvironment#1{\begingroup\def\thisenv{#1}}
+% initialize
+\let\thisenv\empty
+
+% ... but they get defined via ``\envdef\foo{...}'':
+\long\def\envdef#1#2{\def#1{\startenvironment#1#2}}
+\def\envparseargdef#1#2{\parseargdef#1{\startenvironment#1#2}}
+
+% Check whether we're in the right environment:
+\def\checkenv#1{%
+ \def\temp{#1}%
+ \ifx\thisenv\temp
+ \else
+ \badenverr
+ \fi
+}
+
+% Environment mismatch, #1 expected:
+\def\badenverr{%
+ \errhelp = \EMsimple
+ \errmessage{This command can appear only \inenvironment\temp,
+ not \inenvironment\thisenv}%
+}
+\def\inenvironment#1{%
+ \ifx#1\empty
+ outside of any environment%
+ \else
+ in environment \expandafter\string#1%
+ \fi
+}
+
+
+% @end foo calls \checkenv and executes the definition of \Efoo.
+\parseargdef\end{%
+ \if 1\csname iscond.#1\endcsname
+ \else
+ % The general wording of \badenverr may not be ideal.
+ \expandafter\checkenv\csname#1\endcsname
+ \csname E#1\endcsname
+ \endgroup
+ \fi
+}
+
+\newhelp\EMsimple{Press RETURN to continue.}
+
+
+% Be sure we're in horizontal mode when doing a tie, since we make space
+% equivalent to this in @example-like environments. Otherwise, a space
+% at the beginning of a line will start with \penalty -- and
+% since \penalty is valid in vertical mode, we'd end up putting the
+% penalty on the vertical list instead of in the new paragraph.
+{\catcode`@ = 11
+ % Avoid using \@M directly, because that causes trouble
+ % if the definition is written into an index file.
+ \global\let\tiepenalty = \@M
+ \gdef\tie{\leavevmode\penalty\tiepenalty\ }
+}
+
+% @: forces normal size whitespace following.
+\def\:{\spacefactor=1000 }
+
+% @* forces a line break.
+\def\*{\unskip\hfil\break\hbox{}\ignorespaces}
+
+% @/ allows a line break.
+\let\/=\allowbreak
+
+% @. is an end-of-sentence period.
+\def\.{.\spacefactor=\endofsentencespacefactor\space}
+
+% @! is an end-of-sentence bang.
+\def\!{!\spacefactor=\endofsentencespacefactor\space}
+
+% @? is an end-of-sentence query.
+\def\?{?\spacefactor=\endofsentencespacefactor\space}
+
+% @frenchspacing on|off says whether to put extra space after punctuation.
+%
+\def\onword{on}
+\def\offword{off}
+%
+\parseargdef\frenchspacing{%
+ \def\temp{#1}%
+ \ifx\temp\onword \plainfrenchspacing
+ \else\ifx\temp\offword \plainnonfrenchspacing
+ \else
+ \errhelp = \EMsimple
+ \errmessage{Unknown @frenchspacing option `\temp', must be on|off}%
+ \fi\fi
+}
+
+% @w prevents a word break. Without the \leavevmode, @w at the
+% beginning of a paragraph, when TeX is still in vertical mode, would
+% produce a whole line of output instead of starting the paragraph.
+\def\w#1{\leavevmode\hbox{#1}}
+
+% @group ... @end group forces ... to be all on one page, by enclosing
+% it in a TeX vbox. We use \vtop instead of \vbox to construct the box
+% to keep its height that of a normal line. According to the rules for
+% \topskip (p.114 of the TeXbook), the glue inserted is
+% max (\topskip - \ht (first item), 0). If that height is large,
+% therefore, no glue is inserted, and the space between the headline and
+% the text is small, which looks bad.
+%
+% Another complication is that the group might be very large. This can
+% cause the glue on the previous page to be unduly stretched, because it
+% does not have much material. In this case, it's better to add an
+% explicit \vfill so that the extra space is at the bottom. The
+% threshold for doing this is if the group is more than \vfilllimit
+% percent of a page (\vfilllimit can be changed inside of @tex).
+%
+\newbox\groupbox
+\def\vfilllimit{0.7}
+%
+\envdef\group{%
+ \ifnum\catcode`\^^M=\active \else
+ \errhelp = \groupinvalidhelp
+ \errmessage{@group invalid in context where filling is enabled}%
+ \fi
+ \startsavinginserts
+ %
+ \setbox\groupbox = \vtop\bgroup
+ % Do @comment since we are called inside an environment such as
+ % @example, where each end-of-line in the input causes an
+ % end-of-line in the output. We don't want the end-of-line after
+ % the `@group' to put extra space in the output. Since @group
+ % should appear on a line by itself (according to the Texinfo
+ % manual), we don't worry about eating any user text.
+ \comment
+}
+%
+% The \vtop produces a box with normal height and large depth; thus, TeX puts
+% \baselineskip glue before it, and (when the next line of text is done)
+% \lineskip glue after it. Thus, space below is not quite equal to space
+% above. But it's pretty close.
+\def\Egroup{%
+ % To get correct interline space between the last line of the group
+ % and the first line afterwards, we have to propagate \prevdepth.
+ \endgraf % Not \par, as it may have been set to \lisppar.
+ \global\dimen1 = \prevdepth
+ \egroup % End the \vtop.
+ \addgroupbox
+ \prevdepth = \dimen1
+ \checkinserts
+}
+
+\def\addgroupbox{
+ % \dimen0 is the vertical size of the group's box.
+ \dimen0 = \ht\groupbox \advance\dimen0 by \dp\groupbox
+ % \dimen2 is how much space is left on the page (more or less).
+ \dimen2 = \txipageheight \advance\dimen2 by -\pagetotal
+ % if the group doesn't fit on the current page, and it's a big big
+ % group, force a page break.
+ \ifdim \dimen0 > \dimen2
+ \ifdim \pagetotal < \vfilllimit\txipageheight
+ \page
+ \fi
+ \fi
+ \box\groupbox
+}
+
+%
+% TeX puts in an \escapechar (i.e., `@') at the beginning of the help
+% message, so this ends up printing `@group can only ...'.
+%
+\newhelp\groupinvalidhelp{%
+group can only be used in environments such as @example,^^J%
+where each line of input produces a line of output.}
+
+% @need space-in-mils
+% forces a page break if there is not space-in-mils remaining.
+
+\newdimen\mil \mil=0.001in
+
+\parseargdef\need{%
+ % Ensure vertical mode, so we don't make a big box in the middle of a
+ % paragraph.
+ \par
+ %
+ % If the @need value is less than one line space, it's useless.
+ \dimen0 = #1\mil
+ \dimen2 = \ht\strutbox
+ \advance\dimen2 by \dp\strutbox
+ \ifdim\dimen0 > \dimen2
+ %
+ % Do a \strut just to make the height of this box be normal, so the
+ % normal leading is inserted relative to the preceding line.
+ % And a page break here is fine.
+ \vtop to #1\mil{\strut\vfil}%
+ %
+ % TeX does not even consider page breaks if a penalty added to the
+ % main vertical list is 10000 or more. But in order to see if the
+ % empty box we just added fits on the page, we must make it consider
+ % page breaks. On the other hand, we don't want to actually break the
+ % page after the empty box. So we use a penalty of 9999.
+ %
+ % There is an extremely small chance that TeX will actually break the
+ % page at this \penalty, if there are no other feasible breakpoints in
+ % sight. (If the user is using lots of big @group commands, which
+ % almost-but-not-quite fill up a page, TeX will have a hard time doing
+ % good page breaking, for example.) However, I could not construct an
+ % example where a page broke at this \penalty; if it happens in a real
+ % document, then we can reconsider our strategy.
+ \penalty9999
+ %
+ % Back up by the size of the box, whether we did a page break or not.
+ \kern -#1\mil
+ %
+ % Do not allow a page break right after this kern.
+ \nobreak
+ \fi
+}
+
+% @br forces paragraph break (and is undocumented).
+
+\let\br = \par
+
+% @page forces the start of a new page.
+%
+\def\page{\par\vfill\supereject}
+
+% @exdent text....
+% outputs text on separate line in roman font, starting at standard page margin
+
+% This records the amount of indent in the innermost environment.
+% That's how much \exdent should take out.
+\newskip\exdentamount
+
+% This defn is used inside fill environments such as @defun.
+\parseargdef\exdent{\hfil\break\hbox{\kern -\exdentamount{\rm#1}}\hfil\break}
+
+% This defn is used inside nofill environments such as @example.
+\parseargdef\nofillexdent{{\advance \leftskip by -\exdentamount
+ \leftline{\hskip\leftskip{\rm#1}}}}
+
+% @inmargin{WHICH}{TEXT} puts TEXT in the WHICH margin next to the current
+% paragraph. For more general purposes, use the \margin insertion
+% class. WHICH is `l' or `r'. Not documented, written for gawk manual.
+%
+\newskip\inmarginspacing \inmarginspacing=1cm
+\def\strutdepth{\dp\strutbox}
+%
+\def\doinmargin#1#2{\strut\vadjust{%
+ \nobreak
+ \kern-\strutdepth
+ \vtop to \strutdepth{%
+ \baselineskip=\strutdepth
+ \vss
+ % if you have multiple lines of stuff to put here, you'll need to
+ % make the vbox yourself of the appropriate size.
+ \ifx#1l%
+ \llap{\ignorespaces #2\hskip\inmarginspacing}%
+ \else
+ \rlap{\hskip\hsize \hskip\inmarginspacing \ignorespaces #2}%
+ \fi
+ \null
+ }%
+}}
+\def\inleftmargin{\doinmargin l}
+\def\inrightmargin{\doinmargin r}
+%
+% @inmargin{TEXT [, RIGHT-TEXT]}
+% (if RIGHT-TEXT is given, use TEXT for left page, RIGHT-TEXT for right;
+% else use TEXT for both).
+%
+\def\inmargin#1{\parseinmargin #1,,\finish}
+\def\parseinmargin#1,#2,#3\finish{% not perfect, but better than nothing.
+ \setbox0 = \hbox{\ignorespaces #2}%
+ \ifdim\wd0 > 0pt
+ \def\lefttext{#1}% have both texts
+ \def\righttext{#2}%
+ \else
+ \def\lefttext{#1}% have only one text
+ \def\righttext{#1}%
+ \fi
+ %
+ \ifodd\pageno
+ \def\temp{\inrightmargin\righttext}% odd page -> outside is right margin
+ \else
+ \def\temp{\inleftmargin\lefttext}%
+ \fi
+ \temp
+}
+
+% @include FILE -- \input text of FILE.
+%
+\def\include{\parseargusing\filenamecatcodes\includezzz}
+\def\includezzz#1{%
+ \pushthisfilestack
+ \def\thisfile{#1}%
+ {%
+ \makevalueexpandable % we want to expand any @value in FILE.
+ \turnoffactive % and allow special characters in the expansion
+ \indexnofonts % Allow `@@' and other weird things in file names.
+ \wlog{texinfo.tex: doing @include of #1^^J}%
+ \edef\temp{\noexpand\input #1 }%
+ %
+ % This trickery is to read FILE outside of a group, in case it makes
+ % definitions, etc.
+ \expandafter
+ }\temp
+ \popthisfilestack
+}
+\def\filenamecatcodes{%
+ \catcode`\\=\other
+ \catcode`~=\other
+ \catcode`^=\other
+ \catcode`_=\other
+ \catcode`|=\other
+ \catcode`<=\other
+ \catcode`>=\other
+ \catcode`+=\other
+ \catcode`-=\other
+ \catcode`\`=\other
+ \catcode`\'=\other
+}
+
+\def\pushthisfilestack{%
+ \expandafter\pushthisfilestackX\popthisfilestack\StackTerm
+}
+\def\pushthisfilestackX{%
+ \expandafter\pushthisfilestackY\thisfile\StackTerm
+}
+\def\pushthisfilestackY #1\StackTerm #2\StackTerm {%
+ \gdef\popthisfilestack{\gdef\thisfile{#1}\gdef\popthisfilestack{#2}}%
+}
+
+\def\popthisfilestack{\errthisfilestackempty}
+\def\errthisfilestackempty{\errmessage{Internal error:
+ the stack of filenames is empty.}}
+%
+\def\thisfile{}
+
+% @center line
+% outputs that line, centered.
+%
+\parseargdef\center{%
+ \ifhmode
+ \let\centersub\centerH
+ \else
+ \let\centersub\centerV
+ \fi
+ \centersub{\hfil \ignorespaces#1\unskip \hfil}%
+ \let\centersub\relax % don't let the definition persist, just in case
+}
+\def\centerH#1{{%
+ \hfil\break
+ \advance\hsize by -\leftskip
+ \advance\hsize by -\rightskip
+ \line{#1}%
+ \break
+}}
+%
+\newcount\centerpenalty
+\def\centerV#1{%
+ % The idea here is the same as in \startdefun, \cartouche, etc.: if
+ % @center is the first thing after a section heading, we need to wipe
+ % out the negative parskip inserted by \sectionheading, but still
+ % prevent a page break here.
+ \centerpenalty = \lastpenalty
+ \ifnum\centerpenalty>10000 \vskip\parskip \fi
+ \ifnum\centerpenalty>9999 \penalty\centerpenalty \fi
+ \line{\kern\leftskip #1\kern\rightskip}%
+}
+
+% @sp n outputs n lines of vertical space
+%
+\parseargdef\sp{\vskip #1\baselineskip}
+
+% @comment ...line which is ignored...
+% @c is the same as @comment
+% @ignore ... @end ignore is another way to write a comment
+
+
+\def\c{\begingroup \catcode`\^^M=\active%
+\catcode`\@=\other \catcode`\{=\other \catcode`\}=\other%
+\cxxx}
+{\catcode`\^^M=\active \gdef\cxxx#1^^M{\endgroup}}
+%
+\let\comment\c
+
+% @paragraphindent NCHARS
+% We'll use ems for NCHARS, close enough.
+% NCHARS can also be the word `asis' or `none'.
+% We cannot feasibly implement @paragraphindent asis, though.
+%
+\def\asisword{asis} % no translation, these are keywords
+\def\noneword{none}
+%
+\parseargdef\paragraphindent{%
+ \def\temp{#1}%
+ \ifx\temp\asisword
+ \else
+ \ifx\temp\noneword
+ \defaultparindent = 0pt
+ \else
+ \defaultparindent = #1em
+ \fi
+ \fi
+ \parindent = \defaultparindent
+}
+
+% @exampleindent NCHARS
+% We'll use ems for NCHARS like @paragraphindent.
+% It seems @exampleindent asis isn't necessary, but
+% I preserve it to make it similar to @paragraphindent.
+\parseargdef\exampleindent{%
+ \def\temp{#1}%
+ \ifx\temp\asisword
+ \else
+ \ifx\temp\noneword
+ \lispnarrowing = 0pt
+ \else
+ \lispnarrowing = #1em
+ \fi
+ \fi
+}
+
+% @firstparagraphindent WORD
+% If WORD is `none', then suppress indentation of the first paragraph
+% after a section heading. If WORD is `insert', then do indent at such
+% paragraphs.
+%
+% The paragraph indentation is suppressed or not by calling
+% \suppressfirstparagraphindent, which the sectioning commands do.
+% We switch the definition of this back and forth according to WORD.
+% By default, we suppress indentation.
+%
+\def\suppressfirstparagraphindent{\dosuppressfirstparagraphindent}
+\def\insertword{insert}
+%
+\parseargdef\firstparagraphindent{%
+ \def\temp{#1}%
+ \ifx\temp\noneword
+ \let\suppressfirstparagraphindent = \dosuppressfirstparagraphindent
+ \else\ifx\temp\insertword
+ \let\suppressfirstparagraphindent = \relax
+ \else
+ \errhelp = \EMsimple
+ \errmessage{Unknown @firstparagraphindent option `\temp'}%
+ \fi\fi
+}
+
+% Here is how we actually suppress indentation. Redefine \everypar to
+% \kern backwards by \parindent, and then reset itself to empty.
+%
+% We also make \indent itself not actually do anything until the next
+% paragraph.
+%
+\gdef\dosuppressfirstparagraphindent{%
+ \gdef\indent {\restorefirstparagraphindent \indent}%
+ \gdef\noindent{\restorefirstparagraphindent \noindent}%
+ \global\everypar = {\kern -\parindent \restorefirstparagraphindent}%
+}
+%
+\gdef\restorefirstparagraphindent{%
+ \global\let\indent = \ptexindent
+ \global\let\noindent = \ptexnoindent
+ \global\everypar = {}%
+}
+
+% leave vertical mode without cancelling any first paragraph indent
+\gdef\imageindent{%
+ \toks0=\everypar
+ \everypar={}%
+ \ptexnoindent
+ \global\everypar=\toks0
+}
+
+
+% @refill is a no-op.
+\let\refill=\relax
+
+% @setfilename INFO-FILENAME - ignored
+\let\setfilename=\comment
+
+% @bye.
+\outer\def\bye{\chappager\pagelabels\tracingstats=1\ptexend}
+
+
+\message{pdf,}
+% adobe `portable' document format
+\newcount\tempnum
+\newcount\lnkcount
+\newtoks\filename
+\newcount\filenamelength
+\newcount\pgn
+\newtoks\toksA
+\newtoks\toksB
+\newtoks\toksC
+\newtoks\toksD
+\newbox\boxA
+\newbox\boxB
+\newcount\countA
+\newif\ifpdf
+\newif\ifpdfmakepagedest
+
+%
+% For LuaTeX
+%
+
+\newif\iftxiuseunicodedestname
+\txiuseunicodedestnamefalse % For pdfTeX etc.
+
+\ifx\luatexversion\thisisundefined
+\else
+ % Use Unicode destination names
+ \txiuseunicodedestnametrue
+ % Escape PDF strings with converting UTF-16 from UTF-8
+ \begingroup
+ \catcode`\%=12
+ \directlua{
+ function UTF16oct(str)
+ tex.sprint(string.char(0x5c) .. '376' .. string.char(0x5c) .. '377')
+ for c in string.utfvalues(str) do
+ if c < 0x10000 then
+ tex.sprint(
+ string.format(string.char(0x5c) .. string.char(0x25) .. '03o' ..
+ string.char(0x5c) .. string.char(0x25) .. '03o',
+ math.floor(c / 256), math.floor(c % 256)))
+ else
+ c = c - 0x10000
+ local c_hi = c / 1024 + 0xd800
+ local c_lo = c % 1024 + 0xdc00
+ tex.sprint(
+ string.format(string.char(0x5c) .. string.char(0x25) .. '03o' ..
+ string.char(0x5c) .. string.char(0x25) .. '03o' ..
+ string.char(0x5c) .. string.char(0x25) .. '03o' ..
+ string.char(0x5c) .. string.char(0x25) .. '03o',
+ math.floor(c_hi / 256), math.floor(c_hi % 256),
+ math.floor(c_lo / 256), math.floor(c_lo % 256)))
+ end
+ end
+ end
+ }
+ \endgroup
+ \def\pdfescapestrutfsixteen#1{\directlua{UTF16oct('\luaescapestring{#1}')}}
+ % Escape PDF strings without converting
+ \begingroup
+ \directlua{
+ function PDFescstr(str)
+ for c in string.bytes(str) do
+ if c <= 0x20 or c >= 0x80 or c == 0x28 or c == 0x29 or c == 0x5c then
+ tex.sprint(-2,
+ string.format(string.char(0x5c) .. string.char(0x25) .. '03o',
+ c))
+ else
+ tex.sprint(-2, string.char(c))
+ end
+ end
+ end
+ }
+ % The -2 in the arguments here gives all the input to TeX catcode 12
+ % (other) or 10 (space), preventing undefined control sequence errors. See
+ % https://lists.gnu.org/archive/html/bug-texinfo/2019-08/msg00031.html
+ %
+ \endgroup
+ \def\pdfescapestring#1{\directlua{PDFescstr('\luaescapestring{#1}')}}
+ \ifnum\luatexversion>84
+ % For LuaTeX >= 0.85
+ \def\pdfdest{\pdfextension dest}
+ \let\pdfoutput\outputmode
+ \def\pdfliteral{\pdfextension literal}
+ \def\pdfcatalog{\pdfextension catalog}
+ \def\pdftexversion{\numexpr\pdffeedback version\relax}
+ \let\pdfximage\saveimageresource
+ \let\pdfrefximage\useimageresource
+ \let\pdflastximage\lastsavedimageresourceindex
+ \def\pdfendlink{\pdfextension endlink\relax}
+ \def\pdfoutline{\pdfextension outline}
+ \def\pdfstartlink{\pdfextension startlink}
+ \def\pdffontattr{\pdfextension fontattr}
+ \def\pdfobj{\pdfextension obj}
+ \def\pdflastobj{\numexpr\pdffeedback lastobj\relax}
+ \let\pdfpagewidth\pagewidth
+ \let\pdfpageheight\pageheight
+ \edef\pdfhorigin{\pdfvariable horigin}
+ \edef\pdfvorigin{\pdfvariable vorigin}
+ \fi
+\fi
+
+% when pdftex is run in dvi mode, \pdfoutput is defined (so \pdfoutput=1
+% can be set). So we test for \relax and 0 as well as being undefined.
+\ifx\pdfoutput\thisisundefined
+\else
+ \ifx\pdfoutput\relax
+ \else
+ \ifcase\pdfoutput
+ \else
+ \pdftrue
+ \fi
+ \fi
+\fi
+
+\newif\ifpdforxetex
+\pdforxetexfalse
+\ifpdf
+ \pdforxetextrue
+\fi
+\ifx\XeTeXrevision\thisisundefined\else
+ \pdforxetextrue
+\fi
+
+
+% Output page labels information.
+% See PDF reference v.1.7 p.594, section 8.3.1.
+\ifpdf
+\def\pagelabels{%
+ \def\title{0 << /P (T-) /S /D >>}%
+ \edef\roman{\the\romancount << /S /r >>}%
+ \edef\arabic{\the\arabiccount << /S /D >>}%
+ %
+ % Page label ranges must be increasing. Remove any duplicates.
+ % (There is a slight chance of this being wrong if e.g. there is
+ % a @contents but no @titlepage, etc.)
+ %
+ \ifnum\romancount=0 \def\roman{}\fi
+ \ifnum\arabiccount=0 \def\title{}%
+ \else
+ \ifnum\romancount=\arabiccount \def\roman{}\fi
+ \fi
+ %
+ \ifnum\romancount<\arabiccount
+ \pdfcatalog{/PageLabels << /Nums [\title \roman \arabic ] >> }\relax
+ \else
+ \pdfcatalog{/PageLabels << /Nums [\title \arabic \roman ] >> }\relax
+ \fi
+}
+\else
+ \let\pagelabels\relax
+\fi
+
+\newcount\pagecount \pagecount=0
+\newcount\romancount \romancount=0
+\newcount\arabiccount \arabiccount=0
+\ifpdf
+ \let\ptxadvancepageno\advancepageno
+ \def\advancepageno{%
+ \ptxadvancepageno\global\advance\pagecount by 1
+ }
+\fi
+
+
+% PDF uses PostScript string constants for the names of xref targets,
+% for display in the outlines, and in other places. Thus, we have to
+% double any backslashes. Otherwise, a name like "\node" will be
+% interpreted as a newline (\n), followed by o, d, e. Not good.
+%
+% See http://www.ntg.nl/pipermail/ntg-pdftex/2004-July/000654.html and
+% related messages. The final outcome is that it is up to the TeX user
+% to double the backslashes and otherwise make the string valid, so
+% that's what we do. pdftex 1.30.0 (ca.2005) introduced a primitive to
+% do this reliably, so we use it.
+
+% #1 is a control sequence in which to do the replacements,
+% which we \xdef.
+\def\txiescapepdf#1{%
+ \ifx\pdfescapestring\thisisundefined
+ % No primitive available; should we give a warning or log?
+ % Many times it won't matter.
+ \xdef#1{#1}%
+ \else
+ % The expandable \pdfescapestring primitive escapes parentheses,
+ % backslashes, and other special chars.
+ \xdef#1{\pdfescapestring{#1}}%
+ \fi
+}
+\def\txiescapepdfutfsixteen#1{%
+ \ifx\pdfescapestrutfsixteen\thisisundefined
+ % No UTF-16 converting macro available.
+ \txiescapepdf{#1}%
+ \else
+ \xdef#1{\pdfescapestrutfsixteen{#1}}%
+ \fi
+}
+
+\newhelp\nopdfimagehelp{Texinfo supports .png, .jpg, .jpeg, and .pdf images
+with PDF output, and none of those formats could be found. (.eps cannot
+be supported due to the design of the PDF format; use regular TeX (DVI
+output) for that.)}
+
+\ifpdf
+ %
+ % Color manipulation macros using ideas from pdfcolor.tex,
+ % except using rgb instead of cmyk; the latter is said to render as a
+ % very dark gray on-screen and a very dark halftone in print, instead
+ % of actual black. The dark red here is dark enough to print on paper as
+ % nearly black, but still distinguishable for online viewing. We use
+ % black by default, though.
+ \def\rgbDarkRed{0.50 0.09 0.12}
+ \def\rgbBlack{0 0 0}
+ %
+ % rg sets the color for filling (usual text, etc.);
+ % RG sets the color for stroking (thin rules, e.g., normal _'s).
+ \def\pdfsetcolor#1{\pdfliteral{#1 rg #1 RG}}
+ %
+ % Set color, and create a mark which defines \thiscolor accordingly,
+ % so that \makeheadline knows which color to restore.
+ \def\setcolor#1{%
+ \xdef\currentcolordefs{\gdef\noexpand\thiscolor{#1}}%
+ \domark
+ \pdfsetcolor{#1}%
+ }
+ %
+ \def\maincolor{\rgbBlack}
+ \pdfsetcolor{\maincolor}
+ \edef\thiscolor{\maincolor}
+ \def\currentcolordefs{}
+ %
+ \def\makefootline{%
+ \baselineskip24pt
+ \line{\pdfsetcolor{\maincolor}\the\footline}%
+ }
+ %
+ \def\makeheadline{%
+ \vbox to 0pt{%
+ \vskip-22.5pt
+ \line{%
+ \vbox to8.5pt{}%
+ % Extract \thiscolor definition from the marks.
+ \getcolormarks
+ % Typeset the headline with \maincolor, then restore the color.
+ \pdfsetcolor{\maincolor}\the\headline\pdfsetcolor{\thiscolor}%
+ }%
+ \vss
+ }%
+ \nointerlineskip
+ }
+ %
+ %
+ \pdfcatalog{/PageMode /UseOutlines}
+ %
+ % #1 is image name, #2 width (might be empty/whitespace), #3 height (ditto).
+ \def\dopdfimage#1#2#3{%
+ \def\pdfimagewidth{#2}\setbox0 = \hbox{\ignorespaces #2}%
+ \def\pdfimageheight{#3}\setbox2 = \hbox{\ignorespaces #3}%
+ %
+ % pdftex (and the PDF format) support .pdf, .png, .jpg (among
+ % others). Let's try in that order, PDF first since if
+ % someone has a scalable image, presumably better to use that than a
+ % bitmap.
+ \let\pdfimgext=\empty
+ \begingroup
+ \openin 1 #1.pdf \ifeof 1
+ \openin 1 #1.PDF \ifeof 1
+ \openin 1 #1.png \ifeof 1
+ \openin 1 #1.jpg \ifeof 1
+ \openin 1 #1.jpeg \ifeof 1
+ \openin 1 #1.JPG \ifeof 1
+ \errhelp = \nopdfimagehelp
+ \errmessage{Could not find image file #1 for pdf}%
+ \else \gdef\pdfimgext{JPG}%
+ \fi
+ \else \gdef\pdfimgext{jpeg}%
+ \fi
+ \else \gdef\pdfimgext{jpg}%
+ \fi
+ \else \gdef\pdfimgext{png}%
+ \fi
+ \else \gdef\pdfimgext{PDF}%
+ \fi
+ \else \gdef\pdfimgext{pdf}%
+ \fi
+ \closein 1
+ \endgroup
+ %
+ % without \immediate, ancient pdftex seg faults when the same image is
+ % included twice. (Version 3.14159-pre-1.0-unofficial-20010704.)
+ \ifnum\pdftexversion < 14
+ \immediate\pdfimage
+ \else
+ \immediate\pdfximage
+ \fi
+ \ifdim \wd0 >0pt width \pdfimagewidth \fi
+ \ifdim \wd2 >0pt height \pdfimageheight \fi
+ \ifnum\pdftexversion<13
+ #1.\pdfimgext
+ \else
+ {#1.\pdfimgext}%
+ \fi
+ \ifnum\pdftexversion < 14 \else
+ \pdfrefximage \pdflastximage
+ \fi}
+ %
+ \def\setpdfdestname#1{{%
+ % We have to set dummies so commands such as @code, and characters
+ % such as \, aren't expanded when present in a section title.
+ \indexnofonts
+ \makevalueexpandable
+ \turnoffactive
+ \iftxiuseunicodedestname
+ \ifx \declaredencoding \latone
+ % Pass through Latin-1 characters.
+ % LuaTeX with byte wise I/O converts Latin-1 characters to Unicode.
+ \else
+ \ifx \declaredencoding \utfeight
+ % Pass through Unicode characters.
+ \else
+ % Use ASCII approximations in destination names.
+ \passthroughcharsfalse
+ \fi
+ \fi
+ \else
+ % Use ASCII approximations in destination names.
+ \passthroughcharsfalse
+ \fi
+ \def\pdfdestname{#1}%
+ \txiescapepdf\pdfdestname
+ }}
+ %
+ \def\setpdfoutlinetext#1{{%
+ \indexnofonts
+ \makevalueexpandable
+ \turnoffactive
+ \ifx \declaredencoding \latone
+ % The PDF format can use an extended form of Latin-1 in bookmark
+ % strings. See Appendix D of the PDF Reference, Sixth Edition, for
+ % the "PDFDocEncoding".
+ \passthroughcharstrue
+ % Pass through Latin-1 characters.
+ % LuaTeX: Convert to Unicode
+ % pdfTeX: Use Latin-1 as PDFDocEncoding
+ \def\pdfoutlinetext{#1}%
+ \else
+ \ifx \declaredencoding \utfeight
+ \ifx\luatexversion\thisisundefined
+ % For pdfTeX with UTF-8.
+ % TODO: the PDF format can use UTF-16 in bookmark strings,
+ % but the code for this isn't done yet.
+ % Use ASCII approximations.
+ \passthroughcharsfalse
+ \def\pdfoutlinetext{#1}%
+ \else
+ % For LuaTeX with UTF-8.
+ % Pass through Unicode characters for title texts.
+ \passthroughcharstrue
+ \def\pdfoutlinetext{#1}%
+ \fi
+ \else
+ % For non-Latin-1 or non-UTF-8 encodings.
+ % Use ASCII approximations.
+ \passthroughcharsfalse
+ \def\pdfoutlinetext{#1}%
+ \fi
+ \fi
+ % LuaTeX: Convert to UTF-16
+ % pdfTeX: Use Latin-1 as PDFDocEncoding
+ \txiescapepdfutfsixteen\pdfoutlinetext
+ }}
+ %
+ \def\pdfmkdest#1{%
+ \setpdfdestname{#1}%
+ \safewhatsit{\pdfdest name{\pdfdestname} xyz}%
+ }
+ %
+ % used to mark target names; must be expandable.
+ \def\pdfmkpgn#1{#1}
+ %
+ % by default, use black for everything.
+ \def\urlcolor{\rgbBlack}
+ \def\linkcolor{\rgbBlack}
+ \def\endlink{\setcolor{\maincolor}\pdfendlink}
+ %
+ % Adding outlines to PDF; macros for calculating structure of outlines
+ % come from Petr Olsak
+ \def\expnumber#1{\expandafter\ifx\csname#1\endcsname\relax 0%
+ \else \csname#1\endcsname \fi}
+ \def\advancenumber#1{\tempnum=\expnumber{#1}\relax
+ \advance\tempnum by 1
+ \expandafter\xdef\csname#1\endcsname{\the\tempnum}}
+ %
+ % #1 is the section text, which is what will be displayed in the
+ % outline by the pdf viewer. #2 is the pdf expression for the number
+ % of subentries (or empty, for subsubsections). #3 is the node text,
+ % which might be empty if this toc entry had no corresponding node.
+ % #4 is the page number
+ %
+ \def\dopdfoutline#1#2#3#4{%
+ % Generate a link to the node text if that exists; else, use the
+ % page number. We could generate a destination for the section
+ % text in the case where a section has no node, but it doesn't
+ % seem worth the trouble, since most documents are normally structured.
+ \setpdfoutlinetext{#1}
+ \setpdfdestname{#3}
+ \ifx\pdfdestname\empty
+ \def\pdfdestname{#4}%
+ \fi
+ %
+ \pdfoutline goto name{\pdfmkpgn{\pdfdestname}}#2{\pdfoutlinetext}%
+ }
+ %
+ \def\pdfmakeoutlines{%
+ \begingroup
+ % Read toc silently, to get counts of subentries for \pdfoutline.
+ \def\partentry##1##2##3##4{}% ignore parts in the outlines
+ \def\numchapentry##1##2##3##4{%
+ \def\thischapnum{##2}%
+ \def\thissecnum{0}%
+ \def\thissubsecnum{0}%
+ }%
+ \def\numsecentry##1##2##3##4{%
+ \advancenumber{chap\thischapnum}%
+ \def\thissecnum{##2}%
+ \def\thissubsecnum{0}%
+ }%
+ \def\numsubsecentry##1##2##3##4{%
+ \advancenumber{sec\thissecnum}%
+ \def\thissubsecnum{##2}%
+ }%
+ \def\numsubsubsecentry##1##2##3##4{%
+ \advancenumber{subsec\thissubsecnum}%
+ }%
+ \def\thischapnum{0}%
+ \def\thissecnum{0}%
+ \def\thissubsecnum{0}%
+ %
+ % use \def rather than \let here because we redefine \chapentry et
+ % al. a second time, below.
+ \def\appentry{\numchapentry}%
+ \def\appsecentry{\numsecentry}%
+ \def\appsubsecentry{\numsubsecentry}%
+ \def\appsubsubsecentry{\numsubsubsecentry}%
+ \def\unnchapentry{\numchapentry}%
+ \def\unnsecentry{\numsecentry}%
+ \def\unnsubsecentry{\numsubsecentry}%
+ \def\unnsubsubsecentry{\numsubsubsecentry}%
+ \readdatafile{toc}%
+ %
+ % Read toc second time, this time actually producing the outlines.
+ % The `-' means take the \expnumber as the absolute number of
+ % subentries, which we calculated on our first read of the .toc above.
+ %
+ % We use the node names as the destinations.
+ %
+ % Currently we prefix the section name with the section number
+ % for chapter and appendix headings only in order to avoid too much
+ % horizontal space being required in the PDF viewer.
+ \def\numchapentry##1##2##3##4{%
+ \dopdfoutline{##2 ##1}{count-\expnumber{chap##2}}{##3}{##4}}%
+ \def\unnchapentry##1##2##3##4{%
+ \dopdfoutline{##1}{count-\expnumber{chap##2}}{##3}{##4}}%
+ \def\numsecentry##1##2##3##4{%
+ \dopdfoutline{##1}{count-\expnumber{sec##2}}{##3}{##4}}%
+ \def\numsubsecentry##1##2##3##4{%
+ \dopdfoutline{##1}{count-\expnumber{subsec##2}}{##3}{##4}}%
+ \def\numsubsubsecentry##1##2##3##4{% count is always zero
+ \dopdfoutline{##1}{}{##3}{##4}}%
+ %
+ % PDF outlines are displayed using system fonts, instead of
+ % document fonts. Therefore we cannot use special characters,
+ % since the encoding is unknown. For example, the eogonek from
+ % Latin 2 (0xea) gets translated to a | character. Info from
+ % Staszek Wawrykiewicz, 19 Jan 2004 04:09:24 +0100.
+ %
+ % TODO this right, we have to translate 8-bit characters to
+ % their "best" equivalent, based on the @documentencoding. Too
+ % much work for too little return. Just use the ASCII equivalents
+ % we use for the index sort strings.
+ %
+ \indexnofonts
+ \setupdatafile
+ % We can have normal brace characters in the PDF outlines, unlike
+ % Texinfo index files. So set that up.
+ \def\{{\lbracecharliteral}%
+ \def\}{\rbracecharliteral}%
+ \catcode`\\=\active \otherbackslash
+ \input \tocreadfilename
+ \endgroup
+ }
+ {\catcode`[=1 \catcode`]=2
+ \catcode`{=\other \catcode`}=\other
+ \gdef\lbracecharliteral[{]%
+ \gdef\rbracecharliteral[}]%
+ ]
+ %
+ \def\skipspaces#1{\def\PP{#1}\def\D{|}%
+ \ifx\PP\D\let\nextsp\relax
+ \else\let\nextsp\skipspaces
+ \addtokens{\filename}{\PP}%
+ \advance\filenamelength by 1
+ \fi
+ \nextsp}
+ \def\getfilename#1{%
+ \filenamelength=0
+ % If we don't expand the argument now, \skipspaces will get
+ % snagged on things like "@value{foo}".
+ \edef\temp{#1}%
+ \expandafter\skipspaces\temp|\relax
+ }
+ \ifnum\pdftexversion < 14
+ \let \startlink \pdfannotlink
+ \else
+ \let \startlink \pdfstartlink
+ \fi
+ % make a live url in pdf output.
+ \def\pdfurl#1{%
+ \begingroup
+ % it seems we really need yet another set of dummies; have not
+ % tried to figure out what each command should do in the context
+ % of @url. for now, just make @/ a no-op, that's the only one
+ % people have actually reported a problem with.
+ %
+ \normalturnoffactive
+ \def\@{@}%
+ \let\/=\empty
+ \makevalueexpandable
+ % do we want to go so far as to use \indexnofonts instead of just
+ % special-casing \var here?
+ \def\var##1{##1}%
+ %
+ \leavevmode\setcolor{\urlcolor}%
+ \startlink attr{/Border [0 0 0]}%
+ user{/Subtype /Link /A << /S /URI /URI (#1) >>}%
+ \endgroup}
+ % \pdfgettoks - Surround page numbers in #1 with @pdflink. #1 may
+ % be a simple number, or a list of numbers in the case of an index
+ % entry.
+ \def\pdfgettoks#1.{\setbox\boxA=\hbox{\toksA={#1.}\toksB={}\maketoks}}
+ \def\addtokens#1#2{\edef\addtoks{\noexpand#1={\the#1#2}}\addtoks}
+ \def\adn#1{\addtokens{\toksC}{#1}\global\countA=1\let\next=\maketoks}
+ \def\poptoks#1#2|ENDTOKS|{\let\first=#1\toksD={#1}\toksA={#2}}
+ \def\maketoks{%
+ \expandafter\poptoks\the\toksA|ENDTOKS|\relax
+ \ifx\first0\adn0
+ \else\ifx\first1\adn1 \else\ifx\first2\adn2 \else\ifx\first3\adn3
+ \else\ifx\first4\adn4 \else\ifx\first5\adn5 \else\ifx\first6\adn6
+ \else\ifx\first7\adn7 \else\ifx\first8\adn8 \else\ifx\first9\adn9
+ \else
+ \ifnum0=\countA\else\makelink\fi
+ \ifx\first.\let\next=\done\else
+ \let\next=\maketoks
+ \addtokens{\toksB}{\the\toksD}
+ \ifx\first,\addtokens{\toksB}{\space}\fi
+ \fi
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
+ \next}
+ \def\makelink{\addtokens{\toksB}%
+ {\noexpand\pdflink{\the\toksC}}\toksC={}\global\countA=0}
+ \def\pdflink#1{%
+ \startlink attr{/Border [0 0 0]} goto name{\pdfmkpgn{#1}}
+ \setcolor{\linkcolor}#1\endlink}
+ \def\done{\edef\st{\global\noexpand\toksA={\the\toksB}}\st}
+\else
+ % non-pdf mode
+ \let\pdfmkdest = \gobble
+ \let\pdfurl = \gobble
+ \let\endlink = \relax
+ \let\setcolor = \gobble
+ \let\pdfsetcolor = \gobble
+ \let\pdfmakeoutlines = \relax
+\fi % \ifx\pdfoutput
+
+%
+% For XeTeX
+%
+\ifx\XeTeXrevision\thisisundefined
+\else
+ %
+ % XeTeX version check
+ %
+ \ifnum\strcmp{\the\XeTeXversion\XeTeXrevision}{0.99996}>-1
+ % TeX Live 2016 contains XeTeX 0.99996 and xdvipdfmx 20160307.
+ % It can use the `dvipdfmx:config' special (from TeX Live SVN r40941).
+ % For avoiding PDF destination name replacement, we use this special
+ % instead of xdvipdfmx's command line option `-C 0x0010'.
+ \special{dvipdfmx:config C 0x0010}
+ % XeTeX 0.99995+ comes with xdvipdfmx 20160307+.
+ % It can handle Unicode destination names for PDF.
+ \txiuseunicodedestnametrue
+ \else
+ % XeTeX < 0.99996 (TeX Live < 2016) cannot use the
+ % `dvipdfmx:config' special.
+ % So for avoiding PDF destination name replacement,
+ % xdvipdfmx's command line option `-C 0x0010' is necessary.
+ %
+ % XeTeX < 0.99995 can not handle Unicode destination names for PDF
+ % because xdvipdfmx 20150315 has a UTF-16 conversion issue.
+ % It is fixed by xdvipdfmx 20160106 (TeX Live SVN r39753).
+ \txiuseunicodedestnamefalse
+ \fi
+ %
+ % Color support
+ %
+ \def\rgbDarkRed{0.50 0.09 0.12}
+ \def\rgbBlack{0 0 0}
+ %
+ \def\pdfsetcolor#1{\special{pdf:scolor [#1]}}
+ %
+ % Set color, and create a mark which defines \thiscolor accordingly,
+ % so that \makeheadline knows which color to restore.
+ \def\setcolor#1{%
+ \xdef\currentcolordefs{\gdef\noexpand\thiscolor{#1}}%
+ \domark
+ \pdfsetcolor{#1}%
+ }
+ %
+ \def\maincolor{\rgbBlack}
+ \pdfsetcolor{\maincolor}
+ \edef\thiscolor{\maincolor}
+ \def\currentcolordefs{}
+ %
+ \def\makefootline{%
+ \baselineskip24pt
+ \line{\pdfsetcolor{\maincolor}\the\footline}%
+ }
+ %
+ \def\makeheadline{%
+ \vbox to 0pt{%
+ \vskip-22.5pt
+ \line{%
+ \vbox to8.5pt{}%
+ % Extract \thiscolor definition from the marks.
+ \getcolormarks
+ % Typeset the headline with \maincolor, then restore the color.
+ \pdfsetcolor{\maincolor}\the\headline\pdfsetcolor{\thiscolor}%
+ }%
+ \vss
+ }%
+ \nointerlineskip
+ }
+ %
+ % PDF outline support
+ %
+ % Emulate pdfTeX primitive
+ \def\pdfdest name#1 xyz{%
+ \special{pdf:dest (#1) [@thispage /XYZ @xpos @ypos null]}%
+ }
+ %
+ \def\setpdfdestname#1{{%
+ % We have to set dummies so commands such as @code, and characters
+ % such as \, aren't expanded when present in a section title.
+ \indexnofonts
+ \makevalueexpandable
+ \turnoffactive
+ \iftxiuseunicodedestname
+ % Pass through Unicode characters.
+ \else
+ % Use ASCII approximations in destination names.
+ \passthroughcharsfalse
+ \fi
+ \def\pdfdestname{#1}%
+ \txiescapepdf\pdfdestname
+ }}
+ %
+ \def\setpdfoutlinetext#1{{%
+ \turnoffactive
+ % Always use Unicode characters in title texts.
+ \def\pdfoutlinetext{#1}%
+ % For XeTeX, xdvipdfmx converts to UTF-16.
+ % So we do not convert.
+ \txiescapepdf\pdfoutlinetext
+ }}
+ %
+ \def\pdfmkdest#1{%
+ \setpdfdestname{#1}%
+ \safewhatsit{\pdfdest name{\pdfdestname} xyz}%
+ }
+ %
+ % by default, use black for everything.
+ \def\urlcolor{\rgbBlack}
+ \def\linkcolor{\rgbBlack}
+ \def\endlink{\setcolor{\maincolor}\pdfendlink}
+ %
+ \def\dopdfoutline#1#2#3#4{%
+ \setpdfoutlinetext{#1}
+ \setpdfdestname{#3}
+ \ifx\pdfdestname\empty
+ \def\pdfdestname{#4}%
+ \fi
+ %
+ \special{pdf:out [-] #2 << /Title (\pdfoutlinetext) /A
+ << /S /GoTo /D (\pdfdestname) >> >> }%
+ }
+ %
+ \def\pdfmakeoutlines{%
+ \begingroup
+ %
+ % For XeTeX, counts of subentries are not necessary.
+ % Therefore, we read toc only once.
+ %
+ % We use node names as destinations.
+ %
+ % Currently we prefix the section name with the section number
+ % for chapter and appendix headings only in order to avoid too much
+ % horizontal space being required in the PDF viewer.
+ \def\partentry##1##2##3##4{}% ignore parts in the outlines
+ \def\numchapentry##1##2##3##4{%
+ \dopdfoutline{##2 ##1}{1}{##3}{##4}}%
+ \def\numsecentry##1##2##3##4{%
+ \dopdfoutline{##1}{2}{##3}{##4}}%
+ \def\numsubsecentry##1##2##3##4{%
+ \dopdfoutline{##1}{3}{##3}{##4}}%
+ \def\numsubsubsecentry##1##2##3##4{%
+ \dopdfoutline{##1}{4}{##3}{##4}}%
+ %
+ \let\appentry\numchapentry%
+ \let\appsecentry\numsecentry%
+ \let\appsubsecentry\numsubsecentry%
+ \let\appsubsubsecentry\numsubsubsecentry%
+ \def\unnchapentry##1##2##3##4{%
+ \dopdfoutline{##1}{1}{##3}{##4}}%
+ \let\unnsecentry\numsecentry%
+ \let\unnsubsecentry\numsubsecentry%
+ \let\unnsubsubsecentry\numsubsubsecentry%
+ %
+ % For XeTeX, xdvipdfmx converts strings to UTF-16.
+ % Therefore, the encoding and the language may not be considered.
+ %
+ \indexnofonts
+ \setupdatafile
+ % We can have normal brace characters in the PDF outlines, unlike
+ % Texinfo index files. So set that up.
+ \def\{{\lbracecharliteral}%
+ \def\}{\rbracecharliteral}%
+ \catcode`\\=\active \otherbackslash
+ \input \tocreadfilename
+ \endgroup
+ }
+ {\catcode`[=1 \catcode`]=2
+ \catcode`{=\other \catcode`}=\other
+ \gdef\lbracecharliteral[{]%
+ \gdef\rbracecharliteral[}]%
+ ]
+
+ \special{pdf:docview << /PageMode /UseOutlines >> }
+ % ``\special{pdf:tounicode ...}'' is not necessary
+ % because xdvipdfmx converts strings from UTF-8 to UTF-16 without it.
+ % However, due to a UTF-16 conversion issue of xdvipdfmx 20150315,
+ % ``\special{pdf:dest ...}'' cannot handle non-ASCII strings.
+ % It is fixed by xdvipdfmx 20160106 (TeX Live SVN r39753).
+%
+ \def\skipspaces#1{\def\PP{#1}\def\D{|}%
+ \ifx\PP\D\let\nextsp\relax
+ \else\let\nextsp\skipspaces
+ \addtokens{\filename}{\PP}%
+ \advance\filenamelength by 1
+ \fi
+ \nextsp}
+ \def\getfilename#1{%
+ \filenamelength=0
+ % If we don't expand the argument now, \skipspaces will get
+ % snagged on things like "@value{foo}".
+ \edef\temp{#1}%
+ \expandafter\skipspaces\temp|\relax
+ }
+ % make a live url in pdf output.
+ \def\pdfurl#1{%
+ \begingroup
+ % it seems we really need yet another set of dummies; have not
+ % tried to figure out what each command should do in the context
+ % of @url. for now, just make @/ a no-op, that's the only one
+ % people have actually reported a problem with.
+ %
+ \normalturnoffactive
+ \def\@{@}%
+ \let\/=\empty
+ \makevalueexpandable
+ % do we want to go so far as to use \indexnofonts instead of just
+ % special-casing \var here?
+ \def\var##1{##1}%
+ %
+ \leavevmode\setcolor{\urlcolor}%
+ \special{pdf:bann << /Border [0 0 0]
+ /Subtype /Link /A << /S /URI /URI (#1) >> >>}%
+ \endgroup}
+ \def\endlink{\setcolor{\maincolor}\special{pdf:eann}}
+ \def\pdfgettoks#1.{\setbox\boxA=\hbox{\toksA={#1.}\toksB={}\maketoks}}
+ \def\addtokens#1#2{\edef\addtoks{\noexpand#1={\the#1#2}}\addtoks}
+ \def\adn#1{\addtokens{\toksC}{#1}\global\countA=1\let\next=\maketoks}
+ \def\poptoks#1#2|ENDTOKS|{\let\first=#1\toksD={#1}\toksA={#2}}
+ \def\maketoks{%
+ \expandafter\poptoks\the\toksA|ENDTOKS|\relax
+ \ifx\first0\adn0
+ \else\ifx\first1\adn1 \else\ifx\first2\adn2 \else\ifx\first3\adn3
+ \else\ifx\first4\adn4 \else\ifx\first5\adn5 \else\ifx\first6\adn6
+ \else\ifx\first7\adn7 \else\ifx\first8\adn8 \else\ifx\first9\adn9
+ \else
+ \ifnum0=\countA\else\makelink\fi
+ \ifx\first.\let\next=\done\else
+ \let\next=\maketoks
+ \addtokens{\toksB}{\the\toksD}
+ \ifx\first,\addtokens{\toksB}{\space}\fi
+ \fi
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
+ \next}
+ \def\makelink{\addtokens{\toksB}%
+ {\noexpand\pdflink{\the\toksC}}\toksC={}\global\countA=0}
+ \def\pdflink#1{%
+ \special{pdf:bann << /Border [0 0 0]
+ /Type /Annot /Subtype /Link /A << /S /GoTo /D (#1) >> >>}%
+ \setcolor{\linkcolor}#1\endlink}
+ \def\done{\edef\st{\global\noexpand\toksA={\the\toksB}}\st}
+%
+ %
+ % @image support
+ %
+ % #1 is image name, #2 width (might be empty/whitespace), #3 height (ditto).
+ \def\doxeteximage#1#2#3{%
+ \def\xeteximagewidth{#2}\setbox0 = \hbox{\ignorespaces #2}%
+ \def\xeteximageheight{#3}\setbox2 = \hbox{\ignorespaces #3}%
+ %
+ % XeTeX (and the PDF format) supports .pdf, .png, .jpg (among
+ % others). Let's try in that order, PDF first since if
+ % someone has a scalable image, presumably better to use that than a
+ % bitmap.
+ \let\xeteximgext=\empty
+ \begingroup
+ \openin 1 #1.pdf \ifeof 1
+ \openin 1 #1.PDF \ifeof 1
+ \openin 1 #1.png \ifeof 1
+ \openin 1 #1.jpg \ifeof 1
+ \openin 1 #1.jpeg \ifeof 1
+ \openin 1 #1.JPG \ifeof 1
+ \errmessage{Could not find image file #1 for XeTeX}%
+ \else \gdef\xeteximgext{JPG}%
+ \fi
+ \else \gdef\xeteximgext{jpeg}%
+ \fi
+ \else \gdef\xeteximgext{jpg}%
+ \fi
+ \else \gdef\xeteximgext{png}%
+ \fi
+ \else \gdef\xeteximgext{PDF}%
+ \fi
+ \else \gdef\xeteximgext{pdf}%
+ \fi
+ \closein 1
+ \endgroup
+ %
+ % Putting an \hbox around the image can prevent an over-long line
+ % after the image.
+ \hbox\bgroup
+ \def\xetexpdfext{pdf}%
+ \ifx\xeteximgext\xetexpdfext
+ \XeTeXpdffile "#1".\xeteximgext ""
+ \else
+ \def\xetexpdfext{PDF}%
+ \ifx\xeteximgext\xetexpdfext
+ \XeTeXpdffile "#1".\xeteximgext ""
+ \else
+ \XeTeXpicfile "#1".\xeteximgext ""
+ \fi
+ \fi
+ \ifdim \wd0 >0pt width \xeteximagewidth \fi
+ \ifdim \wd2 >0pt height \xeteximageheight \fi \relax
+ \egroup
+ }
+\fi
+
+
+%
+\message{fonts,}
+
+% Set the baselineskip to #1, and the lineskip and strut size
+% correspondingly. There is no deep meaning behind these magic numbers
+% used as factors; they just match (closely enough) what Knuth defined.
+%
+\def\lineskipfactor{.08333}
+\def\strutheightpercent{.70833}
+\def\strutdepthpercent {.29167}
+%
+% can get a sort of poor man's double spacing by redefining this.
+\def\baselinefactor{1}
+%
+\newdimen\textleading
+\def\setleading#1{%
+ \dimen0 = #1\relax
+ \normalbaselineskip = \baselinefactor\dimen0
+ \normallineskip = \lineskipfactor\normalbaselineskip
+ \normalbaselines
+ \setbox\strutbox =\hbox{%
+ \vrule width0pt height\strutheightpercent\baselineskip
+ depth \strutdepthpercent \baselineskip
+ }%
+}
+
+% PDF CMaps. See also LaTeX's t1.cmap.
+%
+% do nothing with this by default.
+\expandafter\let\csname cmapOT1\endcsname\gobble
+\expandafter\let\csname cmapOT1IT\endcsname\gobble
+\expandafter\let\csname cmapOT1TT\endcsname\gobble
+
+% if we are producing pdf, and we have \pdffontattr, then define cmaps.
+% (\pdffontattr was introduced many years ago, but people still run
+% older pdftex's; it's easy to conditionalize, so we do.)
+\ifpdf \ifx\pdffontattr\thisisundefined \else
+ \begingroup
+ \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char.
+ \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap
+%%DocumentNeededResources: ProcSet (CIDInit)
+%%IncludeResource: ProcSet (CIDInit)
+%%BeginResource: CMap (TeX-OT1-0)
+%%Title: (TeX-OT1-0 TeX OT1 0)
+%%Version: 1.000
+%%EndComments
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CIDSystemInfo
+<< /Registry (TeX)
+/Ordering (OT1)
+/Supplement 0
+>> def
+/CMapName /TeX-OT1-0 def
+/CMapType 2 def
+1 begincodespacerange
+<00> <7F>
+endcodespacerange
+8 beginbfrange
+<00> <01> <0393>
+<09> <0A> <03A8>
+<23> <26> <0023>
+<28> <3B> <0028>
+<3F> <5B> <003F>
+<5D> <5E> <005D>
+<61> <7A> <0061>
+<7B> <7C> <2013>
+endbfrange
+40 beginbfchar
+<02> <0398>
+<03> <039B>
+<04> <039E>
+<05> <03A0>
+<06> <03A3>
+<07> <03D2>
+<08> <03A6>
+<0B> <00660066>
+<0C> <00660069>
+<0D> <0066006C>
+<0E> <006600660069>
+<0F> <00660066006C>
+<10> <0131>
+<11> <0237>
+<12> <0060>
+<13> <00B4>
+<14> <02C7>
+<15> <02D8>
+<16> <00AF>
+<17> <02DA>
+<18> <00B8>
+<19> <00DF>
+<1A> <00E6>
+<1B> <0153>
+<1C> <00F8>
+<1D> <00C6>
+<1E> <0152>
+<1F> <00D8>
+<21> <0021>
+<22> <201D>
+<27> <2019>
+<3C> <00A1>
+<3D> <003D>
+<3E> <00BF>
+<5C> <201C>
+<5F> <02D9>
+<60> <2018>
+<7D> <02DD>
+<7E> <007E>
+<7F> <00A8>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+%%EndResource
+%%EOF
+ }\endgroup
+ \expandafter\edef\csname cmapOT1\endcsname#1{%
+ \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}%
+ }%
+%
+% \cmapOT1IT
+ \begingroup
+ \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char.
+ \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap
+%%DocumentNeededResources: ProcSet (CIDInit)
+%%IncludeResource: ProcSet (CIDInit)
+%%BeginResource: CMap (TeX-OT1IT-0)
+%%Title: (TeX-OT1IT-0 TeX OT1IT 0)
+%%Version: 1.000
+%%EndComments
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CIDSystemInfo
+<< /Registry (TeX)
+/Ordering (OT1IT)
+/Supplement 0
+>> def
+/CMapName /TeX-OT1IT-0 def
+/CMapType 2 def
+1 begincodespacerange
+<00> <7F>
+endcodespacerange
+8 beginbfrange
+<00> <01> <0393>
+<09> <0A> <03A8>
+<25> <26> <0025>
+<28> <3B> <0028>
+<3F> <5B> <003F>
+<5D> <5E> <005D>
+<61> <7A> <0061>
+<7B> <7C> <2013>
+endbfrange
+42 beginbfchar
+<02> <0398>
+<03> <039B>
+<04> <039E>
+<05> <03A0>
+<06> <03A3>
+<07> <03D2>
+<08> <03A6>
+<0B> <00660066>
+<0C> <00660069>
+<0D> <0066006C>
+<0E> <006600660069>
+<0F> <00660066006C>
+<10> <0131>
+<11> <0237>
+<12> <0060>
+<13> <00B4>
+<14> <02C7>
+<15> <02D8>
+<16> <00AF>
+<17> <02DA>
+<18> <00B8>
+<19> <00DF>
+<1A> <00E6>
+<1B> <0153>
+<1C> <00F8>
+<1D> <00C6>
+<1E> <0152>
+<1F> <00D8>
+<21> <0021>
+<22> <201D>
+<23> <0023>
+<24> <00A3>
+<27> <2019>
+<3C> <00A1>
+<3D> <003D>
+<3E> <00BF>
+<5C> <201C>
+<5F> <02D9>
+<60> <2018>
+<7D> <02DD>
+<7E> <007E>
+<7F> <00A8>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+%%EndResource
+%%EOF
+ }\endgroup
+ \expandafter\edef\csname cmapOT1IT\endcsname#1{%
+ \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}%
+ }%
+%
+% \cmapOT1TT
+ \begingroup
+ \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char.
+ \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap
+%%DocumentNeededResources: ProcSet (CIDInit)
+%%IncludeResource: ProcSet (CIDInit)
+%%BeginResource: CMap (TeX-OT1TT-0)
+%%Title: (TeX-OT1TT-0 TeX OT1TT 0)
+%%Version: 1.000
+%%EndComments
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CIDSystemInfo
+<< /Registry (TeX)
+/Ordering (OT1TT)
+/Supplement 0
+>> def
+/CMapName /TeX-OT1TT-0 def
+/CMapType 2 def
+1 begincodespacerange
+<00> <7F>
+endcodespacerange
+5 beginbfrange
+<00> <01> <0393>
+<09> <0A> <03A8>
+<21> <26> <0021>
+<28> <5F> <0028>
+<61> <7E> <0061>
+endbfrange
+32 beginbfchar
+<02> <0398>
+<03> <039B>
+<04> <039E>
+<05> <03A0>
+<06> <03A3>
+<07> <03D2>
+<08> <03A6>
+<0B> <2191>
+<0C> <2193>
+<0D> <0027>
+<0E> <00A1>
+<0F> <00BF>
+<10> <0131>
+<11> <0237>
+<12> <0060>
+<13> <00B4>
+<14> <02C7>
+<15> <02D8>
+<16> <00AF>
+<17> <02DA>
+<18> <00B8>
+<19> <00DF>
+<1A> <00E6>
+<1B> <0153>
+<1C> <00F8>
+<1D> <00C6>
+<1E> <0152>
+<1F> <00D8>
+<20> <2423>
+<27> <2019>
+<60> <2018>
+<7F> <00A8>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+%%EndResource
+%%EOF
+ }\endgroup
+ \expandafter\edef\csname cmapOT1TT\endcsname#1{%
+ \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}%
+ }%
+\fi\fi
+
+
+% Set the font macro #1 to the font named \fontprefix#2.
+% #3 is the font's design size, #4 is a scale factor, #5 is the CMap
+% encoding (only OT1, OT1IT and OT1TT are allowed, or empty to omit).
+% Example:
+% #1 = \textrm
+% #2 = \rmshape
+% #3 = 10
+% #4 = \mainmagstep
+% #5 = OT1
+%
+\def\setfont#1#2#3#4#5{%
+ \font#1=\fontprefix#2#3 scaled #4
+ \csname cmap#5\endcsname#1%
+}
+% This is what gets called when #5 of \setfont is empty.
+\let\cmap\gobble
+%
+% (end of cmaps)
+
+% Use cm as the default font prefix.
+% To specify the font prefix, you must define \fontprefix
+% before you read in texinfo.tex.
+\ifx\fontprefix\thisisundefined
+\def\fontprefix{cm}
+\fi
+% Support font families that don't use the same naming scheme as CM.
+\def\rmshape{r}
+\def\rmbshape{bx} % where the normal face is bold
+\def\bfshape{b}
+\def\bxshape{bx}
+\def\ttshape{tt}
+\def\ttbshape{tt}
+\def\ttslshape{sltt}
+\def\itshape{ti}
+\def\itbshape{bxti}
+\def\slshape{sl}
+\def\slbshape{bxsl}
+\def\sfshape{ss}
+\def\sfbshape{ss}
+\def\scshape{csc}
+\def\scbshape{csc}
+
+% Definitions for a main text size of 11pt. (The default in Texinfo.)
+%
+\def\definetextfontsizexi{%
+% Text fonts (11.2pt, magstep1).
+\def\textnominalsize{11pt}
+\edef\mainmagstep{\magstephalf}
+\setfont\textrm\rmshape{10}{\mainmagstep}{OT1}
+\setfont\texttt\ttshape{10}{\mainmagstep}{OT1TT}
+\setfont\textbf\bfshape{10}{\mainmagstep}{OT1}
+\setfont\textit\itshape{10}{\mainmagstep}{OT1IT}
+\setfont\textsl\slshape{10}{\mainmagstep}{OT1}
+\setfont\textsf\sfshape{10}{\mainmagstep}{OT1}
+\setfont\textsc\scshape{10}{\mainmagstep}{OT1}
+\setfont\textttsl\ttslshape{10}{\mainmagstep}{OT1TT}
+\font\texti=cmmi10 scaled \mainmagstep
+\font\textsy=cmsy10 scaled \mainmagstep
+\def\textecsize{1095}
+
+% A few fonts for @defun names and args.
+\setfont\defbf\bfshape{10}{\magstep1}{OT1}
+\setfont\deftt\ttshape{10}{\magstep1}{OT1TT}
+\setfont\defsl\slshape{10}{\magstep1}{OT1}
+\setfont\defttsl\ttslshape{10}{\magstep1}{OT1TT}
+\def\df{\let\ttfont=\deftt \let\bffont = \defbf
+\let\ttslfont=\defttsl \let\slfont=\defsl \bf}
+
+% Fonts for indices, footnotes, small examples (9pt).
+\def\smallnominalsize{9pt}
+\setfont\smallrm\rmshape{9}{1000}{OT1}
+\setfont\smalltt\ttshape{9}{1000}{OT1TT}
+\setfont\smallbf\bfshape{10}{900}{OT1}
+\setfont\smallit\itshape{9}{1000}{OT1IT}
+\setfont\smallsl\slshape{9}{1000}{OT1}
+\setfont\smallsf\sfshape{9}{1000}{OT1}
+\setfont\smallsc\scshape{10}{900}{OT1}
+\setfont\smallttsl\ttslshape{10}{900}{OT1TT}
+\font\smalli=cmmi9
+\font\smallsy=cmsy9
+\def\smallecsize{0900}
+
+% Fonts for small examples (8pt).
+\def\smallernominalsize{8pt}
+\setfont\smallerrm\rmshape{8}{1000}{OT1}
+\setfont\smallertt\ttshape{8}{1000}{OT1TT}
+\setfont\smallerbf\bfshape{10}{800}{OT1}
+\setfont\smallerit\itshape{8}{1000}{OT1IT}
+\setfont\smallersl\slshape{8}{1000}{OT1}
+\setfont\smallersf\sfshape{8}{1000}{OT1}
+\setfont\smallersc\scshape{10}{800}{OT1}
+\setfont\smallerttsl\ttslshape{10}{800}{OT1TT}
+\font\smalleri=cmmi8
+\font\smallersy=cmsy8
+\def\smallerecsize{0800}
+
+% Fonts for math mode superscripts (7pt).
+\def\sevennominalsize{7pt}
+\setfont\sevenrm\rmshape{7}{1000}{OT1}
+\setfont\seventt\ttshape{10}{700}{OT1TT}
+\setfont\sevenbf\bfshape{10}{700}{OT1}
+\setfont\sevenit\itshape{7}{1000}{OT1IT}
+\setfont\sevensl\slshape{10}{700}{OT1}
+\setfont\sevensf\sfshape{10}{700}{OT1}
+\setfont\sevensc\scshape{10}{700}{OT1}
+\setfont\seventtsl\ttslshape{10}{700}{OT1TT}
+\font\seveni=cmmi7
+\font\sevensy=cmsy7
+\def\sevenecsize{0700}
+
+% Fonts for title page (20.4pt):
+\def\titlenominalsize{20pt}
+\setfont\titlerm\rmbshape{12}{\magstep3}{OT1}
+\setfont\titleit\itbshape{10}{\magstep4}{OT1IT}
+\setfont\titlesl\slbshape{10}{\magstep4}{OT1}
+\setfont\titlett\ttbshape{12}{\magstep3}{OT1TT}
+\setfont\titlettsl\ttslshape{10}{\magstep4}{OT1TT}
+\setfont\titlesf\sfbshape{17}{\magstep1}{OT1}
+\let\titlebf=\titlerm
+\setfont\titlesc\scbshape{10}{\magstep4}{OT1}
+\font\titlei=cmmi12 scaled \magstep3
+\font\titlesy=cmsy10 scaled \magstep4
+\def\titleecsize{2074}
+
+% Chapter (and unnumbered) fonts (17.28pt).
+\def\chapnominalsize{17pt}
+\setfont\chaprm\rmbshape{12}{\magstep2}{OT1}
+\setfont\chapit\itbshape{10}{\magstep3}{OT1IT}
+\setfont\chapsl\slbshape{10}{\magstep3}{OT1}
+\setfont\chaptt\ttbshape{12}{\magstep2}{OT1TT}
+\setfont\chapttsl\ttslshape{10}{\magstep3}{OT1TT}
+\setfont\chapsf\sfbshape{17}{1000}{OT1}
+\let\chapbf=\chaprm
+\setfont\chapsc\scbshape{10}{\magstep3}{OT1}
+\font\chapi=cmmi12 scaled \magstep2
+\font\chapsy=cmsy10 scaled \magstep3
+\def\chapecsize{1728}
+
+% Section fonts (14.4pt).
+\def\secnominalsize{14pt}
+\setfont\secrm\rmbshape{12}{\magstep1}{OT1}
+\setfont\secrmnotbold\rmshape{12}{\magstep1}{OT1}
+\setfont\secit\itbshape{10}{\magstep2}{OT1IT}
+\setfont\secsl\slbshape{10}{\magstep2}{OT1}
+\setfont\sectt\ttbshape{12}{\magstep1}{OT1TT}
+\setfont\secttsl\ttslshape{10}{\magstep2}{OT1TT}
+\setfont\secsf\sfbshape{12}{\magstep1}{OT1}
+\let\secbf\secrm
+\setfont\secsc\scbshape{10}{\magstep2}{OT1}
+\font\seci=cmmi12 scaled \magstep1
+\font\secsy=cmsy10 scaled \magstep2
+\def\sececsize{1440}
+
+% Subsection fonts (13.15pt).
+\def\ssecnominalsize{13pt}
+\setfont\ssecrm\rmbshape{12}{\magstephalf}{OT1}
+\setfont\ssecit\itbshape{10}{1315}{OT1IT}
+\setfont\ssecsl\slbshape{10}{1315}{OT1}
+\setfont\ssectt\ttbshape{12}{\magstephalf}{OT1TT}
+\setfont\ssecttsl\ttslshape{10}{1315}{OT1TT}
+\setfont\ssecsf\sfbshape{12}{\magstephalf}{OT1}
+\let\ssecbf\ssecrm
+\setfont\ssecsc\scbshape{10}{1315}{OT1}
+\font\sseci=cmmi12 scaled \magstephalf
+\font\ssecsy=cmsy10 scaled 1315
+\def\ssececsize{1200}
+
+% Reduced fonts for @acronym in text (10pt).
+\def\reducednominalsize{10pt}
+\setfont\reducedrm\rmshape{10}{1000}{OT1}
+\setfont\reducedtt\ttshape{10}{1000}{OT1TT}
+\setfont\reducedbf\bfshape{10}{1000}{OT1}
+\setfont\reducedit\itshape{10}{1000}{OT1IT}
+\setfont\reducedsl\slshape{10}{1000}{OT1}
+\setfont\reducedsf\sfshape{10}{1000}{OT1}
+\setfont\reducedsc\scshape{10}{1000}{OT1}
+\setfont\reducedttsl\ttslshape{10}{1000}{OT1TT}
+\font\reducedi=cmmi10
+\font\reducedsy=cmsy10
+\def\reducedecsize{1000}
+
+\textleading = 13.2pt % line spacing for 11pt CM
+\textfonts % reset the current fonts
+\rm
+} % end of 11pt text font size definitions, \definetextfontsizexi
+
+
+% Definitions to make the main text be 10pt Computer Modern, with
+% section, chapter, etc., sizes following suit. This is for the GNU
+% Press printing of the Emacs 22 manual. Maybe other manuals in the
+% future. Used with @smallbook, which sets the leading to 12pt.
+%
+\def\definetextfontsizex{%
+% Text fonts (10pt).
+\def\textnominalsize{10pt}
+\edef\mainmagstep{1000}
+\setfont\textrm\rmshape{10}{\mainmagstep}{OT1}
+\setfont\texttt\ttshape{10}{\mainmagstep}{OT1TT}
+\setfont\textbf\bfshape{10}{\mainmagstep}{OT1}
+\setfont\textit\itshape{10}{\mainmagstep}{OT1IT}
+\setfont\textsl\slshape{10}{\mainmagstep}{OT1}
+\setfont\textsf\sfshape{10}{\mainmagstep}{OT1}
+\setfont\textsc\scshape{10}{\mainmagstep}{OT1}
+\setfont\textttsl\ttslshape{10}{\mainmagstep}{OT1TT}
+\font\texti=cmmi10 scaled \mainmagstep
+\font\textsy=cmsy10 scaled \mainmagstep
+\def\textecsize{1000}
+
+% A few fonts for @defun names and args.
+\setfont\defbf\bfshape{10}{\magstephalf}{OT1}
+\setfont\deftt\ttshape{10}{\magstephalf}{OT1TT}
+\setfont\defsl\slshape{10}{\magstephalf}{OT1}
+\setfont\defttsl\ttslshape{10}{\magstephalf}{OT1TT}
+\def\df{\let\ttfont=\deftt \let\bffont = \defbf
+\let\slfont=\defsl \let\ttslfont=\defttsl \bf}
+
+% Fonts for indices, footnotes, small examples (9pt).
+\def\smallnominalsize{9pt}
+\setfont\smallrm\rmshape{9}{1000}{OT1}
+\setfont\smalltt\ttshape{9}{1000}{OT1TT}
+\setfont\smallbf\bfshape{10}{900}{OT1}
+\setfont\smallit\itshape{9}{1000}{OT1IT}
+\setfont\smallsl\slshape{9}{1000}{OT1}
+\setfont\smallsf\sfshape{9}{1000}{OT1}
+\setfont\smallsc\scshape{10}{900}{OT1}
+\setfont\smallttsl\ttslshape{10}{900}{OT1TT}
+\font\smalli=cmmi9
+\font\smallsy=cmsy9
+\def\smallecsize{0900}
+
+% Fonts for small examples (8pt).
+\def\smallernominalsize{8pt}
+\setfont\smallerrm\rmshape{8}{1000}{OT1}
+\setfont\smallertt\ttshape{8}{1000}{OT1TT}
+\setfont\smallerbf\bfshape{10}{800}{OT1}
+\setfont\smallerit\itshape{8}{1000}{OT1IT}
+\setfont\smallersl\slshape{8}{1000}{OT1}
+\setfont\smallersf\sfshape{8}{1000}{OT1}
+\setfont\smallersc\scshape{10}{800}{OT1}
+\setfont\smallerttsl\ttslshape{10}{800}{OT1TT}
+\font\smalleri=cmmi8
+\font\smallersy=cmsy8
+\def\smallerecsize{0800}
+
+% Fonts for math mode superscripts (7pt).
+\def\sevennominalsize{7pt}
+\setfont\sevenrm\rmshape{7}{1000}{OT1}
+\setfont\seventt\ttshape{10}{700}{OT1TT}
+\setfont\sevenbf\bfshape{10}{700}{OT1}
+\setfont\sevenit\itshape{7}{1000}{OT1IT}
+\setfont\sevensl\slshape{10}{700}{OT1}
+\setfont\sevensf\sfshape{10}{700}{OT1}
+\setfont\sevensc\scshape{10}{700}{OT1}
+\setfont\seventtsl\ttslshape{10}{700}{OT1TT}
+\font\seveni=cmmi7
+\font\sevensy=cmsy7
+\def\sevenecsize{0700}
+
+% Fonts for title page (20.4pt):
+\def\titlenominalsize{20pt}
+\setfont\titlerm\rmbshape{12}{\magstep3}{OT1}
+\setfont\titleit\itbshape{10}{\magstep4}{OT1IT}
+\setfont\titlesl\slbshape{10}{\magstep4}{OT1}
+\setfont\titlett\ttbshape{12}{\magstep3}{OT1TT}
+\setfont\titlettsl\ttslshape{10}{\magstep4}{OT1TT}
+\setfont\titlesf\sfbshape{17}{\magstep1}{OT1}
+\let\titlebf=\titlerm
+\setfont\titlesc\scbshape{10}{\magstep4}{OT1}
+\font\titlei=cmmi12 scaled \magstep3
+\font\titlesy=cmsy10 scaled \magstep4
+\def\titleecsize{2074}
+
+% Chapter fonts (14.4pt).
+\def\chapnominalsize{14pt}
+\setfont\chaprm\rmbshape{12}{\magstep1}{OT1}
+\setfont\chapit\itbshape{10}{\magstep2}{OT1IT}
+\setfont\chapsl\slbshape{10}{\magstep2}{OT1}
+\setfont\chaptt\ttbshape{12}{\magstep1}{OT1TT}
+\setfont\chapttsl\ttslshape{10}{\magstep2}{OT1TT}
+\setfont\chapsf\sfbshape{12}{\magstep1}{OT1}
+\let\chapbf\chaprm
+\setfont\chapsc\scbshape{10}{\magstep2}{OT1}
+\font\chapi=cmmi12 scaled \magstep1
+\font\chapsy=cmsy10 scaled \magstep2
+\def\chapecsize{1440}
+
+% Section fonts (12pt).
+\def\secnominalsize{12pt}
+\setfont\secrm\rmbshape{12}{1000}{OT1}
+\setfont\secit\itbshape{10}{\magstep1}{OT1IT}
+\setfont\secsl\slbshape{10}{\magstep1}{OT1}
+\setfont\sectt\ttbshape{12}{1000}{OT1TT}
+\setfont\secttsl\ttslshape{10}{\magstep1}{OT1TT}
+\setfont\secsf\sfbshape{12}{1000}{OT1}
+\let\secbf\secrm
+\setfont\secsc\scbshape{10}{\magstep1}{OT1}
+\font\seci=cmmi12
+\font\secsy=cmsy10 scaled \magstep1
+\def\sececsize{1200}
+
+% Subsection fonts (10pt).
+\def\ssecnominalsize{10pt}
+\setfont\ssecrm\rmbshape{10}{1000}{OT1}
+\setfont\ssecit\itbshape{10}{1000}{OT1IT}
+\setfont\ssecsl\slbshape{10}{1000}{OT1}
+\setfont\ssectt\ttbshape{10}{1000}{OT1TT}
+\setfont\ssecttsl\ttslshape{10}{1000}{OT1TT}
+\setfont\ssecsf\sfbshape{10}{1000}{OT1}
+\let\ssecbf\ssecrm
+\setfont\ssecsc\scbshape{10}{1000}{OT1}
+\font\sseci=cmmi10
+\font\ssecsy=cmsy10
+\def\ssececsize{1000}
+
+% Reduced fonts for @acronym in text (9pt).
+\def\reducednominalsize{9pt}
+\setfont\reducedrm\rmshape{9}{1000}{OT1}
+\setfont\reducedtt\ttshape{9}{1000}{OT1TT}
+\setfont\reducedbf\bfshape{10}{900}{OT1}
+\setfont\reducedit\itshape{9}{1000}{OT1IT}
+\setfont\reducedsl\slshape{9}{1000}{OT1}
+\setfont\reducedsf\sfshape{9}{1000}{OT1}
+\setfont\reducedsc\scshape{10}{900}{OT1}
+\setfont\reducedttsl\ttslshape{10}{900}{OT1TT}
+\font\reducedi=cmmi9
+\font\reducedsy=cmsy9
+\def\reducedecsize{0900}
+
+\divide\parskip by 2 % reduce space between paragraphs
+\textleading = 12pt % line spacing for 10pt CM
+\textfonts % reset the current fonts
+\rm
+} % end of 10pt text font size definitions, \definetextfontsizex
+
+% Fonts for short table of contents.
+\setfont\shortcontrm\rmshape{12}{1000}{OT1}
+\setfont\shortcontbf\bfshape{10}{\magstep1}{OT1} % no cmb12
+\setfont\shortcontsl\slshape{12}{1000}{OT1}
+\setfont\shortconttt\ttshape{12}{1000}{OT1TT}
+
+
+% We provide the user-level command
+% @fonttextsize 10
+% (or 11) to redefine the text font size. pt is assumed.
+%
+\def\xiword{11}
+\def\xword{10}
+\def\xwordpt{10pt}
+%
+\parseargdef\fonttextsize{%
+ \def\textsizearg{#1}%
+ %\wlog{doing @fonttextsize \textsizearg}%
+ %
+ % Set \globaldefs so that documents can use this inside @tex, since
+ % makeinfo 4.8 does not support it, but we need it nonetheless.
+ %
+ \begingroup \globaldefs=1
+ \ifx\textsizearg\xword \definetextfontsizex
+ \else \ifx\textsizearg\xiword \definetextfontsizexi
+ \else
+ \errhelp=\EMsimple
+ \errmessage{@fonttextsize only supports `10' or `11', not `\textsizearg'}
+ \fi\fi
+ \endgroup
+}
+
+%
+% Change the current font style to #1, remembering it in \curfontstyle.
+% For now, we do not accumulate font styles: @b{@i{foo}} prints foo in
+% italics, not bold italics.
+%
+\def\setfontstyle#1{%
+ \def\curfontstyle{#1}% not as a control sequence, because we are \edef'd.
+ \csname #1font\endcsname % change the current font
+}
+
+\def\rm{\fam=0 \setfontstyle{rm}}
+\def\it{\fam=\itfam \setfontstyle{it}}
+\def\sl{\fam=\slfam \setfontstyle{sl}}
+\def\bf{\fam=\bffam \setfontstyle{bf}}\def\bfstylename{bf}
+\def\tt{\fam=\ttfam \setfontstyle{tt}}\def\ttstylename{tt}
+
+% Texinfo sort of supports the sans serif font style, which plain TeX does not.
+% So we set up a \sf.
+\newfam\sffam
+\def\sf{\fam=\sffam \setfontstyle{sf}}
+
+% We don't need math for this font style.
+\def\ttsl{\setfontstyle{ttsl}}
+
+
+% In order for the font changes to affect most math symbols and letters,
+% we have to define the \textfont of the standard families.
+% We don't bother to reset \scriptscriptfont; awaiting user need.
+%
+\def\resetmathfonts{%
+ \textfont0=\rmfont \textfont1=\ifont \textfont2=\syfont
+ \textfont\itfam=\itfont \textfont\slfam=\slfont \textfont\bffam=\bffont
+ \textfont\ttfam=\ttfont \textfont\sffam=\sffont
+ %
+ % Fonts for superscript. Note that the 7pt fonts are used regardless
+ % of the current font size.
+ \scriptfont0=\sevenrm \scriptfont1=\seveni \scriptfont2=\sevensy
+ \scriptfont\itfam=\sevenit \scriptfont\slfam=\sevensl
+ \scriptfont\bffam=\sevenbf \scriptfont\ttfam=\seventt
+ \scriptfont\sffam=\sevensf
+}
+
+%
+
+% The font-changing commands (all called \...fonts) redefine the meanings
+% of \STYLEfont, instead of just \STYLE. We do this because \STYLE needs
+% to also set the current \fam for math mode. Our \STYLE (e.g., \rm)
+% commands hardwire \STYLEfont to set the current font.
+%
+% The fonts used for \ifont are for "math italics" (\itfont is for italics
+% in regular text). \syfont is also used in math mode only.
+%
+% Each font-changing command also sets the names \lsize (one size lower)
+% and \lllsize (three sizes lower). These relative commands are used
+% in, e.g., the LaTeX logo and acronyms.
+%
+% This all needs generalizing, badly.
+%
+
+\def\assignfonts#1{%
+ \expandafter\let\expandafter\rmfont\csname #1rm\endcsname
+ \expandafter\let\expandafter\itfont\csname #1it\endcsname
+ \expandafter\let\expandafter\slfont\csname #1sl\endcsname
+ \expandafter\let\expandafter\bffont\csname #1bf\endcsname
+ \expandafter\let\expandafter\ttfont\csname #1tt\endcsname
+ \expandafter\let\expandafter\smallcaps\csname #1sc\endcsname
+ \expandafter\let\expandafter\sffont \csname #1sf\endcsname
+ \expandafter\let\expandafter\ifont \csname #1i\endcsname
+ \expandafter\let\expandafter\syfont \csname #1sy\endcsname
+ \expandafter\let\expandafter\ttslfont\csname #1ttsl\endcsname
+}
+
+\newif\ifrmisbold
+
+% Select smaller font size with the current style. Used to change font size
+% in, e.g., the LaTeX logo and acronyms. If we are using bold fonts for
+% normal roman text, also use bold fonts for roman text in the smaller size.
+\def\switchtolllsize{%
+ \expandafter\assignfonts\expandafter{\lllsize}%
+ \ifrmisbold
+ \let\rmfont\bffont
+ \fi
+ \csname\curfontstyle\endcsname
+}%
+
+\def\switchtolsize{%
+ \expandafter\assignfonts\expandafter{\lsize}%
+ \ifrmisbold
+ \let\rmfont\bffont
+ \fi
+ \csname\curfontstyle\endcsname
+}%
+
+\def\definefontsetatsize#1#2#3#4#5{%
+\expandafter\def\csname #1fonts\endcsname{%
+ \def\curfontsize{#1}%
+ \def\lsize{#2}\def\lllsize{#3}%
+ \csname rmisbold#5\endcsname
+ \assignfonts{#1}%
+ \resetmathfonts
+ \setleading{#4}%
+}}
+
+\definefontsetatsize{text} {reduced}{smaller}{\textleading}{false}
+\definefontsetatsize{title} {chap} {subsec} {27pt} {true}
+\definefontsetatsize{chap} {sec} {text} {19pt} {true}
+\definefontsetatsize{sec} {subsec} {reduced}{17pt} {true}
+\definefontsetatsize{ssec} {text} {small} {15pt} {true}
+\definefontsetatsize{reduced}{small} {smaller}{10.5pt}{false}
+\definefontsetatsize{small} {smaller}{smaller}{10.5pt}{false}
+\definefontsetatsize{smaller}{smaller}{smaller}{9.5pt} {false}
+
+\def\titlefont#1{{\titlefonts\rm #1}}
+\let\subsecfonts = \ssecfonts
+\let\subsubsecfonts = \ssecfonts
+
+% Define these just so they can be easily changed for other fonts.
+\def\angleleft{$\langle$}
+\def\angleright{$\rangle$}
+
+% Set the fonts to use with the @small... environments.
+\let\smallexamplefonts = \smallfonts
+
+% About \smallexamplefonts. If we use \smallfonts (9pt), @smallexample
+% can fit this many characters:
+% 8.5x11=86 smallbook=72 a4=90 a5=69
+% If we use \scriptfonts (8pt), then we can fit this many characters:
+% 8.5x11=90+ smallbook=80 a4=90+ a5=77
+% For me, subjectively, the few extra characters that fit aren't worth
+% the additional smallness of 8pt. So I'm making the default 9pt.
+%
+% By the way, for comparison, here's what fits with @example (10pt):
+% 8.5x11=71 smallbook=60 a4=75 a5=58
+% --karl, 24jan03.
+
+% Set up the default fonts, so we can use them for creating boxes.
+%
+\definetextfontsizexi
+
+
+% Check if we are currently using a typewriter font. Since all the
+% Computer Modern typewriter fonts have zero interword stretch (and
+% shrink), and it is reasonable to expect all typewriter fonts to have
+% this property, we can check that font parameter.
+%
+\def\ifmonospace{\ifdim\fontdimen3\font=0pt }
+
+{
+\catcode`\'=\active
+\catcode`\`=\active
+
+\gdef\setcodequotes{\let`\codequoteleft \let'\codequoteright}
+\gdef\setregularquotes{\let`\lq \let'\rq}
+}
+
+% Allow an option to not use regular directed right quote/apostrophe
+% (char 0x27), but instead the undirected quote from cmtt (char 0x0d).
+% The undirected quote is ugly, so don't make it the default, but it
+% works for pasting with more pdf viewers (at least evince), the
+% lilypond developers report. xpdf does work with the regular 0x27.
+%
+\def\codequoteright{%
+ \ifmonospace
+ \expandafter\ifx\csname SETtxicodequoteundirected\endcsname\relax
+ \expandafter\ifx\csname SETcodequoteundirected\endcsname\relax
+ '%
+ \else \char'15 \fi
+ \else \char'15 \fi
+ \else
+ '%
+ \fi
+}
+%
+% and a similar option for the left quote char vs. a grave accent.
+% Modern fonts display ASCII 0x60 as a grave accent, so some people like
+% the code environments to do likewise.
+%
+\def\codequoteleft{%
+ \ifmonospace
+ \expandafter\ifx\csname SETtxicodequotebacktick\endcsname\relax
+ \expandafter\ifx\csname SETcodequotebacktick\endcsname\relax
+ % [Knuth] pp. 380,381,391
+ % \relax disables Spanish ligatures ?` and !` of \tt font.
+ \relax`%
+ \else \char'22 \fi
+ \else \char'22 \fi
+ \else
+ \relax`%
+ \fi
+}
+
+% Commands to set the quote options.
+%
+\parseargdef\codequoteundirected{%
+ \def\temp{#1}%
+ \ifx\temp\onword
+ \expandafter\let\csname SETtxicodequoteundirected\endcsname
+ = t%
+ \else\ifx\temp\offword
+ \expandafter\let\csname SETtxicodequoteundirected\endcsname
+ = \relax
+ \else
+ \errhelp = \EMsimple
+ \errmessage{Unknown @codequoteundirected value `\temp', must be on|off}%
+ \fi\fi
+}
+%
+\parseargdef\codequotebacktick{%
+ \def\temp{#1}%
+ \ifx\temp\onword
+ \expandafter\let\csname SETtxicodequotebacktick\endcsname
+ = t%
+ \else\ifx\temp\offword
+ \expandafter\let\csname SETtxicodequotebacktick\endcsname
+ = \relax
+ \else
+ \errhelp = \EMsimple
+ \errmessage{Unknown @codequotebacktick value `\temp', must be on|off}%
+ \fi\fi
+}
+
+% [Knuth] pp. 380,381,391, disable Spanish ligatures ?` and !` of \tt font.
+\def\noligaturesquoteleft{\relax\lq}
+
+% Count depth in font-changes, for error checks
+\newcount\fontdepth \fontdepth=0
+
+% Font commands.
+
+% #1 is the font command (\sl or \it), #2 is the text to slant.
+% If we are in a monospaced environment, however, 1) always use \ttsl,
+% and 2) do not add an italic correction.
+\def\dosmartslant#1#2{%
+ \ifusingtt
+ {{\ttsl #2}\let\next=\relax}%
+ {\def\next{{#1#2}\futurelet\next\smartitaliccorrection}}%
+ \next
+}
+\def\smartslanted{\dosmartslant\sl}
+\def\smartitalic{\dosmartslant\it}
+
+% Output an italic correction unless \next (presumed to be the following
+% character) is such as not to need one.
+\def\smartitaliccorrection{%
+ \ifx\next,%
+ \else\ifx\next-%
+ \else\ifx\next.%
+ \else\ifx\next\.%
+ \else\ifx\next\comma%
+ \else\ptexslash
+ \fi\fi\fi\fi\fi
+ \aftersmartic
+}
+
+% Unconditional use \ttsl, and no ic. @var is set to this for defuns.
+\def\ttslanted#1{{\ttsl #1}}
+
+% @cite is like \smartslanted except unconditionally use \sl. We never want
+% ttsl for book titles, do we?
+\def\cite#1{{\sl #1}\futurelet\next\smartitaliccorrection}
+
+\def\aftersmartic{}
+\def\var#1{%
+ \let\saveaftersmartic = \aftersmartic
+ \def\aftersmartic{\null\let\aftersmartic=\saveaftersmartic}%
+ \smartslanted{#1}%
+}
+
+\let\i=\smartitalic
+\let\slanted=\smartslanted
+\let\dfn=\smartslanted
+\let\emph=\smartitalic
+
+% Explicit font changes: @r, @sc, undocumented @ii.
+\def\r#1{{\rm #1}} % roman font
+\def\sc#1{{\smallcaps#1}} % smallcaps font
+\def\ii#1{{\it #1}} % italic font
+
+% @b, explicit bold. Also @strong.
+\def\b#1{{\bf #1}}
+\let\strong=\b
+
+% @sansserif, explicit sans.
+\def\sansserif#1{{\sf #1}}
+
+% We can't just use \exhyphenpenalty, because that only has effect at
+% the end of a paragraph. Restore normal hyphenation at the end of the
+% group within which \nohyphenation is presumably called.
+%
+\def\nohyphenation{\hyphenchar\font = -1 \aftergroup\restorehyphenation}
+\def\restorehyphenation{\hyphenchar\font = `- }
+
+% Set sfcode to normal for the chars that usually have another value.
+% Can't use plain's \frenchspacing because it uses the `\x notation, and
+% sometimes \x has an active definition that messes things up.
+%
+\catcode`@=11
+ \def\plainfrenchspacing{%
+ \sfcode`\.=\@m \sfcode`\?=\@m \sfcode`\!=\@m
+ \sfcode`\:=\@m \sfcode`\;=\@m \sfcode`\,=\@m
+ \def\endofsentencespacefactor{1000}% for @. and friends
+ }
+ \def\plainnonfrenchspacing{%
+ \sfcode`\.3000\sfcode`\?3000\sfcode`\!3000
+ \sfcode`\:2000\sfcode`\;1500\sfcode`\,1250
+ \def\endofsentencespacefactor{3000}% for @. and friends
+ }
+\catcode`@=\other
+\def\endofsentencespacefactor{3000}% default
+
+% @t, explicit typewriter.
+\def\t#1{%
+ {\tt \plainfrenchspacing #1}%
+ \null
+}
+
+% @samp.
+\def\samp#1{{\setcodequotes\lq\tclose{#1}\rq\null}}
+
+% @indicateurl is \samp, that is, with quotes.
+\let\indicateurl=\samp
+
+% @code (and similar) prints in typewriter, but with spaces the same
+% size as normal in the surrounding text, without hyphenation, etc.
+% This is a subroutine for that.
+\def\tclose#1{%
+ {%
+ % Change normal interword space to be same as for the current font.
+ \spaceskip = \fontdimen2\font
+ %
+ % Switch to typewriter.
+ \tt
+ %
+ % But `\ ' produces the large typewriter interword space.
+ \def\ {{\spaceskip = 0pt{} }}%
+ %
+ % Turn off hyphenation.
+ \nohyphenation
+ %
+ \plainfrenchspacing
+ #1%
+ }%
+ \null % reset spacefactor to 1000
+}
+
+% We *must* turn on hyphenation at `-' and `_' in @code.
+% (But see \codedashfinish below.)
+% Otherwise, it is too hard to avoid overfull hboxes
+% in the Emacs manual, the Library manual, etc.
+%
+% Unfortunately, TeX uses one parameter (\hyphenchar) to control
+% both hyphenation at - and hyphenation within words.
+% We must therefore turn them both off (\tclose does that)
+% and arrange explicitly to hyphenate at a dash. -- rms.
+{
+ \catcode`\-=\active \catcode`\_=\active
+ \catcode`\'=\active \catcode`\`=\active
+ \global\let'=\rq \global\let`=\lq % default definitions
+ %
+ \global\def\code{\begingroup
+ \setcodequotes
+ \catcode\dashChar=\active \catcode\underChar=\active
+ \ifallowcodebreaks
+ \let-\codedash
+ \let_\codeunder
+ \else
+ \let-\normaldash
+ \let_\realunder
+ \fi
+ % Given -foo (with a single dash), we do not want to allow a break
+ % after the hyphen.
+ \global\let\codedashprev=\codedash
+ %
+ \codex
+ }
+ %
+ \gdef\codedash{\futurelet\next\codedashfinish}
+ \gdef\codedashfinish{%
+ \normaldash % always output the dash character itself.
+ %
+ % Now, output a discretionary to allow a line break, unless
+ % (a) the next character is a -, or
+ % (b) the preceding character is a -.
+ % E.g., given --posix, we do not want to allow a break after either -.
+ % Given --foo-bar, we do want to allow a break between the - and the b.
+ \ifx\next\codedash \else
+ \ifx\codedashprev\codedash
+ \else \discretionary{}{}{}\fi
+ \fi
+ % we need the space after the = for the case when \next itself is a
+ % space token; it would get swallowed otherwise. As in @code{- a}.
+ \global\let\codedashprev= \next
+ }
+}
+\def\normaldash{-}
+%
+\def\codex #1{\tclose{#1}\endgroup}
+
+\def\codeunder{%
+ % this is all so @math{@code{var_name}+1} can work. In math mode, _
+ % is "active" (mathcode"8000) and \normalunderscore (or \char95, etc.)
+ % will therefore expand the active definition of _, which is us
+ % (inside @code that is), therefore an endless loop.
+ \ifusingtt{\ifmmode
+ \mathchar"075F % class 0=ordinary, family 7=ttfam, pos 0x5F=_.
+ \else\normalunderscore \fi
+ \discretionary{}{}{}}%
+ {\_}%
+}
+
+% An additional complication: the above will allow breaks after, e.g.,
+% each of the four underscores in __typeof__. This is bad.
+% @allowcodebreaks provides a document-level way to turn breaking at -
+% and _ on and off.
+%
+\newif\ifallowcodebreaks \allowcodebreakstrue
+
+\def\keywordtrue{true}
+\def\keywordfalse{false}
+
+\parseargdef\allowcodebreaks{%
+ \def\txiarg{#1}%
+ \ifx\txiarg\keywordtrue
+ \allowcodebreakstrue
+ \else\ifx\txiarg\keywordfalse
+ \allowcodebreaksfalse
+ \else
+ \errhelp = \EMsimple
+ \errmessage{Unknown @allowcodebreaks option `\txiarg', must be true|false}%
+ \fi\fi
+}
+
+% For @command, @env, @file, @option quotes seem unnecessary,
+% so use \code rather than \samp.
+\let\command=\code
+\let\env=\code
+\let\file=\code
+\let\option=\code
+
+% @uref (abbreviation for `urlref') aka @url takes an optional
+% (comma-separated) second argument specifying the text to display and
+% an optional third arg as text to display instead of (rather than in
+% addition to) the url itself. First (mandatory) arg is the url.
+
+% TeX-only option to allow changing PDF output to show only the second
+% arg (if given), and not the url (which is then just the link target).
+\newif\ifurefurlonlylink
+
+% The default \pretolerance setting stops the penalty inserted in
+% \urefallowbreak being a discouragement to line breaking. Set it to
+% a negative value for this paragraph only. Hopefully this does not
+% conflict with redefinitions of \par done elsewhere.
+\def\nopretolerance{%
+\pretolerance=-1
+\def\par{\endgraf\pretolerance=100 \let\par\endgraf}%
+}
+
+% The main macro is \urefbreak, which allows breaking at expected
+% places within the url.
+\def\urefbreak{\nopretolerance \begingroup \urefcatcodes \dourefbreak}
+\let\uref=\urefbreak
+%
+\def\dourefbreak#1{\urefbreakfinish #1,,,\finish}
+\def\urefbreakfinish#1,#2,#3,#4\finish{% doesn't work in @example
+ \unsepspaces
+ \pdfurl{#1}%
+ \setbox0 = \hbox{\ignorespaces #3}%
+ \ifdim\wd0 > 0pt
+ \unhbox0 % third arg given, show only that
+ \else
+ \setbox0 = \hbox{\ignorespaces #2}% look for second arg
+ \ifdim\wd0 > 0pt
+ \ifpdf
+ % For pdfTeX and LuaTeX
+ \ifurefurlonlylink
+ % PDF plus option to not display url, show just arg
+ \unhbox0
+ \else
+ % PDF, normally display both arg and url for consistency,
+ % visibility, if the pdf is eventually used to print, etc.
+ \unhbox0\ (\urefcode{#1})%
+ \fi
+ \else
+ \ifx\XeTeXrevision\thisisundefined
+ \unhbox0\ (\urefcode{#1})% DVI, always show arg and url
+ \else
+ % For XeTeX
+ \ifurefurlonlylink
+ % PDF plus option to not display url, show just arg
+ \unhbox0
+ \else
+ % PDF, normally display both arg and url for consistency,
+ % visibility, if the pdf is eventually used to print, etc.
+ \unhbox0\ (\urefcode{#1})%
+ \fi
+ \fi
+ \fi
+ \else
+ \urefcode{#1}% only url given, so show it
+ \fi
+ \fi
+ \endlink
+\endgroup}
+
+% Allow line breaks around only a few characters (only).
+\def\urefcatcodes{%
+ \catcode`\&=\active \catcode`\.=\active
+ \catcode`\#=\active \catcode`\?=\active
+ \catcode`\/=\active
+}
+{
+ \urefcatcodes
+ %
+ \global\def\urefcode{\begingroup
+ \setcodequotes
+ \urefcatcodes
+ \let&\urefcodeamp
+ \let.\urefcodedot
+ \let#\urefcodehash
+ \let?\urefcodequest
+ \let/\urefcodeslash
+ \codex
+ }
+ %
+ % By default, they are just regular characters.
+ \global\def&{\normalamp}
+ \global\def.{\normaldot}
+ \global\def#{\normalhash}
+ \global\def?{\normalquest}
+ \global\def/{\normalslash}
+}
+
+\def\urefcodeamp{\urefprebreak \&\urefpostbreak}
+\def\urefcodedot{\urefprebreak .\urefpostbreak}
+\def\urefcodehash{\urefprebreak \#\urefpostbreak}
+\def\urefcodequest{\urefprebreak ?\urefpostbreak}
+\def\urefcodeslash{\futurelet\next\urefcodeslashfinish}
+{
+ \catcode`\/=\active
+ \global\def\urefcodeslashfinish{%
+ \urefprebreak \slashChar
+ % Allow line break only after the final / in a sequence of
+ % slashes, to avoid line break between the slashes in http://.
+ \ifx\next/\else \urefpostbreak \fi
+ }
+}
+
+% By default we'll break after the special characters, but some people like to
+% break before the special chars, so allow that. Also allow no breaking at
+% all, for manual control.
+%
+\parseargdef\urefbreakstyle{%
+ \def\txiarg{#1}%
+ \ifx\txiarg\wordnone
+ \def\urefprebreak{\nobreak}\def\urefpostbreak{\nobreak}
+ \else\ifx\txiarg\wordbefore
+ \def\urefprebreak{\urefallowbreak}\def\urefpostbreak{\nobreak}
+ \else\ifx\txiarg\wordafter
+ \def\urefprebreak{\nobreak}\def\urefpostbreak{\urefallowbreak}
+ \else
+ \errhelp = \EMsimple
+ \errmessage{Unknown @urefbreakstyle setting `\txiarg'}%
+ \fi\fi\fi
+}
+\def\wordafter{after}
+\def\wordbefore{before}
+\def\wordnone{none}
+
+% Allow a ragged right output to aid breaking long URL's. There can
+% be a break at the \allowbreak with no extra glue (if the existing stretch in
+% the line is sufficient), a break at the \penalty with extra glue added
+% at the end of the line, or no break at all here.
+% Changing the value of the penalty and/or the amount of stretch affects how
+% preferable one choice is over the other.
+\def\urefallowbreak{%
+ \penalty0\relax
+ \hskip 0pt plus 2 em\relax
+ \penalty1000\relax
+ \hskip 0pt plus -2 em\relax
+}
+
+\urefbreakstyle after
+
+% @url synonym for @uref, since that's how everyone uses it.
+%
+\let\url=\uref
+
+% rms does not like angle brackets --karl, 17may97.
+% So now @email is just like @uref, unless we are pdf.
+%
+%\def\email#1{\angleleft{\tt #1}\angleright}
+\ifpdforxetex
+ \def\email#1{\doemail#1,,\finish}
+ \def\doemail#1,#2,#3\finish{\begingroup
+ \unsepspaces
+ \pdfurl{mailto:#1}%
+ \setbox0 = \hbox{\ignorespaces #2}%
+ \ifdim\wd0>0pt\unhbox0\else\code{#1}\fi
+ \endlink
+ \endgroup}
+\else
+ \let\email=\uref
+\fi
+
+% @kbdinputstyle -- arg is `distinct' (@kbd uses slanted tty font always),
+% `example' (@kbd uses ttsl only inside of @example and friends),
+% or `code' (@kbd uses normal tty font always).
+\parseargdef\kbdinputstyle{%
+ \def\txiarg{#1}%
+ \ifx\txiarg\worddistinct
+ \gdef\kbdexamplefont{\ttsl}\gdef\kbdfont{\ttsl}%
+ \else\ifx\txiarg\wordexample
+ \gdef\kbdexamplefont{\ttsl}\gdef\kbdfont{\tt}%
+ \else\ifx\txiarg\wordcode
+ \gdef\kbdexamplefont{\tt}\gdef\kbdfont{\tt}%
+ \else
+ \errhelp = \EMsimple
+ \errmessage{Unknown @kbdinputstyle setting `\txiarg'}%
+ \fi\fi\fi
+}
+\def\worddistinct{distinct}
+\def\wordexample{example}
+\def\wordcode{code}
+
+% Default is `distinct'.
+\kbdinputstyle distinct
+
+% @kbd is like @code, except that if the argument is just one @key command,
+% then @kbd has no effect.
+\def\kbd#1{{\def\look{#1}\expandafter\kbdsub\look??\par}}
+
+\def\xkey{\key}
+\def\kbdsub#1#2#3\par{%
+ \def\one{#1}\def\three{#3}\def\threex{??}%
+ \ifx\one\xkey\ifx\threex\three \key{#2}%
+ \else{\tclose{\kbdfont\setcodequotes\look}}\fi
+ \else{\tclose{\kbdfont\setcodequotes\look}}\fi
+}
+
+% definition of @key that produces a lozenge. Doesn't adjust to text size.
+%\setfont\keyrm\rmshape{8}{1000}{OT1}
+%\font\keysy=cmsy9
+%\def\key#1{{\keyrm\textfont2=\keysy \leavevmode\hbox{%
+% \raise0.4pt\hbox{\angleleft}\kern-.08em\vtop{%
+% \vbox{\hrule\kern-0.4pt
+% \hbox{\raise0.4pt\hbox{\vphantom{\angleleft}}#1}}%
+% \kern-0.4pt\hrule}%
+% \kern-.06em\raise0.4pt\hbox{\angleright}}}}
+
+% definition of @key with no lozenge. If the current font is already
+% monospace, don't change it; that way, we respect @kbdinputstyle. But
+% if it isn't monospace, then use \tt.
+%
+\def\key#1{{\setregularquotes
+ \nohyphenation
+ \ifmonospace\else\tt\fi
+ #1}\null}
+
+% @clicksequence{File @click{} Open ...}
+\def\clicksequence#1{\begingroup #1\endgroup}
+
+% @clickstyle @arrow (by default)
+\parseargdef\clickstyle{\def\click{#1}}
+\def\click{\arrow}
+
+% Typeset a dimension, e.g., `in' or `pt'. The only reason for the
+% argument is to make the input look right: @dmn{pt} instead of @dmn{}pt.
+%
+\def\dmn#1{\thinspace #1}
+
+% @acronym for "FBI", "NATO", and the like.
+% We print this one point size smaller, since it's intended for
+% all-uppercase.
+%
+\def\acronym#1{\doacronym #1,,\finish}
+\def\doacronym#1,#2,#3\finish{%
+ {\switchtolsize #1}%
+ \def\temp{#2}%
+ \ifx\temp\empty \else
+ \space ({\unsepspaces \ignorespaces \temp \unskip})%
+ \fi
+ \null % reset \spacefactor=1000
+}
+
+% @abbr for "Comput. J." and the like.
+% No font change, but don't do end-of-sentence spacing.
+%
+\def\abbr#1{\doabbr #1,,\finish}
+\def\doabbr#1,#2,#3\finish{%
+ {\plainfrenchspacing #1}%
+ \def\temp{#2}%
+ \ifx\temp\empty \else
+ \space ({\unsepspaces \ignorespaces \temp \unskip})%
+ \fi
+ \null % reset \spacefactor=1000
+}
+
+% @asis just yields its argument. Used with @table, for example.
+%
+\def\asis#1{#1}
+
+% @math outputs its argument in math mode.
+%
+% One complication: _ usually means subscripts, but it could also mean
+% an actual _ character, as in @math{@var{some_variable} + 1}. So make
+% _ active, and distinguish by seeing if the current family is \slfam,
+% which is what @var uses.
+{
+ \catcode`\_ = \active
+ \gdef\mathunderscore{%
+ \catcode`\_=\active
+ \def_{\ifnum\fam=\slfam \_\else\sb\fi}%
+ }
+}
+% Another complication: we want \\ (and @\) to output a math (or tt) \.
+% FYI, plain.tex uses \\ as a temporary control sequence (for no
+% particular reason), but this is not advertised and we don't care.
+%
+% The \mathchar is class=0=ordinary, family=7=ttfam, position=5C=\.
+\def\mathbackslash{\ifnum\fam=\ttfam \mathchar"075C \else\backslash \fi}
+%
+\def\math{%
+ \ifmmode\else % only go into math if not in math mode already
+ \tex
+ \mathunderscore
+ \let\\ = \mathbackslash
+ \mathactive
+ % make the texinfo accent commands work in math mode
+ \let\"=\ddot
+ \let\'=\acute
+ \let\==\bar
+ \let\^=\hat
+ \let\`=\grave
+ \let\u=\breve
+ \let\v=\check
+ \let\~=\tilde
+ \let\dotaccent=\dot
+ % have to provide another name for sup operator
+ \let\mathopsup=\sup
+ $\expandafter\finishmath\fi
+}
+\def\finishmath#1{#1$\endgroup} % Close the group opened by \tex.
+
+% Some active characters (such as <) are spaced differently in math.
+% We have to reset their definitions in case the @math was an argument
+% to a command which sets the catcodes (such as @item or @section).
+%
+{
+ \catcode`^ = \active
+ \catcode`< = \active
+ \catcode`> = \active
+ \catcode`+ = \active
+ \catcode`' = \active
+ \gdef\mathactive{%
+ \let^ = \ptexhat
+ \let< = \ptexless
+ \let> = \ptexgtr
+ \let+ = \ptexplus
+ \let' = \ptexquoteright
+ }
+}
+
+% for @sub and @sup, if in math mode, just do a normal sub/superscript.
+% If in text, use math to place as sub/superscript, but switch
+% into text mode, with smaller fonts. This is a different font than the
+% one used for real math sub/superscripts (8pt vs. 7pt), but let's not
+% fix it (significant additions to font machinery) until someone notices.
+%
+\def\sub{\ifmmode \expandafter\sb \else \expandafter\finishsub\fi}
+\def\finishsub#1{$\sb{\hbox{\switchtolllsize #1}}$}%
+%
+\def\sup{\ifmmode \expandafter\ptexsp \else \expandafter\finishsup\fi}
+\def\finishsup#1{$\ptexsp{\hbox{\switchtolllsize #1}}$}%
+
+% provide this command from LaTeX as it is very common
+\def\frac#1#2{{{#1}\over{#2}}}
+
+% @displaymath.
+% \globaldefs is needed to recognize the end lines in \tex and
+% \end tex. Set \thisenv as @end displaymath is seen before @end tex.
+{\obeylines
+\globaldefs=1
+\envdef\displaymath{%
+\tex%
+\def\thisenv{\displaymath}%
+\begingroup\let\end\displaymathend%
+$$%
+}
+
+\def\displaymathend{$$\endgroup\end}%
+
+\def\Edisplaymath{%
+\def\thisenv{\tex}%
+\end tex
+}}
+
+
+% @inlinefmt{FMTNAME,PROCESSED-TEXT} and @inlineraw{FMTNAME,RAW-TEXT}.
+% Ignore unless FMTNAME == tex; then it is like @iftex and @tex,
+% except specified as a normal braced arg, so no newlines to worry about.
+%
+\def\outfmtnametex{tex}
+%
+\long\def\inlinefmt#1{\doinlinefmt #1,\finish}
+\long\def\doinlinefmt#1,#2,\finish{%
+ \def\inlinefmtname{#1}%
+ \ifx\inlinefmtname\outfmtnametex \ignorespaces #2\fi
+}
+%
+% @inlinefmtifelse{FMTNAME,THEN-TEXT,ELSE-TEXT} expands THEN-TEXT if
+% FMTNAME is tex, else ELSE-TEXT.
+\long\def\inlinefmtifelse#1{\doinlinefmtifelse #1,,,\finish}
+\long\def\doinlinefmtifelse#1,#2,#3,#4,\finish{%
+ \def\inlinefmtname{#1}%
+ \ifx\inlinefmtname\outfmtnametex \ignorespaces #2\else \ignorespaces #3\fi
+}
+%
+% For raw, must switch into @tex before parsing the argument, to avoid
+% setting catcodes prematurely. Doing it this way means that, for
+% example, @inlineraw{html, foo{bar} gets a parse error instead of being
+% ignored. But this isn't important because if people want a literal
+% *right* brace they would have to use a command anyway, so they may as
+% well use a command to get a left brace too. We could re-use the
+% delimiter character idea from \verb, but it seems like overkill.
+%
+\long\def\inlineraw{\tex \doinlineraw}
+\long\def\doinlineraw#1{\doinlinerawtwo #1,\finish}
+\def\doinlinerawtwo#1,#2,\finish{%
+ \def\inlinerawname{#1}%
+ \ifx\inlinerawname\outfmtnametex \ignorespaces #2\fi
+ \endgroup % close group opened by \tex.
+}
+
+% @inlineifset{VAR, TEXT} expands TEXT if VAR is @set.
+%
+\long\def\inlineifset#1{\doinlineifset #1,\finish}
+\long\def\doinlineifset#1,#2,\finish{%
+ \def\inlinevarname{#1}%
+ \expandafter\ifx\csname SET\inlinevarname\endcsname\relax
+ \else\ignorespaces#2\fi
+}
+
+% @inlineifclear{VAR, TEXT} expands TEXT if VAR is not @set.
+%
+\long\def\inlineifclear#1{\doinlineifclear #1,\finish}
+\long\def\doinlineifclear#1,#2,\finish{%
+ \def\inlinevarname{#1}%
+ \expandafter\ifx\csname SET\inlinevarname\endcsname\relax \ignorespaces#2\fi
+}
+
+
+\message{glyphs,}
+% and logos.
+
+% @@ prints an @, as does @atchar{}.
+\def\@{\char64 }
+\let\atchar=\@
+
+% @{ @} @lbracechar{} @rbracechar{} all generate brace characters.
+\def\lbracechar{{\ifmonospace\char123\else\ensuremath\lbrace\fi}}
+\def\rbracechar{{\ifmonospace\char125\else\ensuremath\rbrace\fi}}
+\let\{=\lbracechar
+\let\}=\rbracechar
+
+% @comma{} to avoid , parsing problems.
+\let\comma = ,
+
+% Accents: @, @dotaccent @ringaccent @ubaraccent @udotaccent
+% Others are defined by plain TeX: @` @' @" @^ @~ @= @u @v @H.
+\let\, = \ptexc
+\let\dotaccent = \ptexdot
+\def\ringaccent#1{{\accent23 #1}}
+\let\tieaccent = \ptext
+\let\ubaraccent = \ptexb
+\let\udotaccent = \d
+
+% Other special characters: @questiondown @exclamdown @ordf @ordm
+% Plain TeX defines: @AA @AE @O @OE @L (plus lowercase versions) @ss.
+\def\questiondown{?`}
+\def\exclamdown{!`}
+\def\ordf{\leavevmode\raise1ex\hbox{\switchtolllsize \underbar{a}}}
+\def\ordm{\leavevmode\raise1ex\hbox{\switchtolllsize \underbar{o}}}
+
+% Dotless i and dotless j, used for accents.
+\def\imacro{i}
+\def\jmacro{j}
+\def\dotless#1{%
+ \def\temp{#1}%
+ \ifx\temp\imacro \ifmmode\imath \else\ptexi \fi
+ \else\ifx\temp\jmacro \ifmmode\jmath \else\j \fi
+ \else \errmessage{@dotless can be used only with i or j}%
+ \fi\fi
+}
+
+% The \TeX{} logo, as in plain, but resetting the spacing so that a
+% period following counts as ending a sentence. (Idea found in latex.)
+%
+\edef\TeX{\TeX \spacefactor=1000 }
+
+% @LaTeX{} logo. Not quite the same results as the definition in
+% latex.ltx, since we use a different font for the raised A; it's most
+% convenient for us to use an explicitly smaller font, rather than using
+% the \scriptstyle font (since we don't reset \scriptstyle and
+% \scriptscriptstyle).
+%
+\def\LaTeX{%
+ L\kern-.36em
+ {\setbox0=\hbox{T}%
+ \vbox to \ht0{\hbox{%
+ \ifx\textnominalsize\xwordpt
+ % for 10pt running text, lllsize (8pt) is too small for the A in LaTeX.
+ % Revert to plain's \scriptsize, which is 7pt.
+ \count255=\the\fam $\fam\count255 \scriptstyle A$%
+ \else
+ % For 11pt, we can use our lllsize.
+ \switchtolllsize A%
+ \fi
+ }%
+ \vss
+ }}%
+ \kern-.15em
+ \TeX
+}
+
+% Some math mode symbols. Define \ensuremath to switch into math mode
+% unless we are already there. Expansion tricks may not be needed here,
+% but safer, and can't hurt.
+\def\ensuremath{\ifmmode \expandafter\asis \else\expandafter\ensuredmath \fi}
+\def\ensuredmath#1{$\relax#1$}
+%
+\def\bullet{\ensuremath\ptexbullet}
+\def\geq{\ensuremath\ge}
+\def\leq{\ensuremath\le}
+\def\minus{\ensuremath-}
+
+% @dots{} outputs an ellipsis using the current font.
+% We do .5em per period so that it has the same spacing in the cm
+% typewriter fonts as three actual period characters; on the other hand,
+% in other typewriter fonts three periods are wider than 1.5em. So do
+% whichever is larger.
+%
+\def\dots{%
+ \leavevmode
+ \setbox0=\hbox{...}% get width of three periods
+ \ifdim\wd0 > 1.5em
+ \dimen0 = \wd0
+ \else
+ \dimen0 = 1.5em
+ \fi
+ \hbox to \dimen0{%
+ \hskip 0pt plus.25fil
+ .\hskip 0pt plus1fil
+ .\hskip 0pt plus1fil
+ .\hskip 0pt plus.5fil
+ }%
+}
+
+% @enddots{} is an end-of-sentence ellipsis.
+%
+\def\enddots{%
+ \dots
+ \spacefactor=\endofsentencespacefactor
+}
+
+% @point{}, @result{}, @expansion{}, @print{}, @equiv{}.
+%
+% Since these characters are used in examples, they should be an even number of
+% \tt widths. Each \tt character is 1en, so two makes it 1em.
+%
+\def\point{$\star$}
+\def\arrow{\leavevmode\raise.05ex\hbox to 1em{\hfil$\rightarrow$\hfil}}
+\def\result{\leavevmode\raise.05ex\hbox to 1em{\hfil$\Rightarrow$\hfil}}
+\def\expansion{\leavevmode\hbox to 1em{\hfil$\mapsto$\hfil}}
+\def\print{\leavevmode\lower.1ex\hbox to 1em{\hfil$\dashv$\hfil}}
+\def\equiv{\leavevmode\hbox to 1em{\hfil$\ptexequiv$\hfil}}
+
+% The @error{} command.
+% Adapted from the TeXbook's \boxit.
+%
+\newbox\errorbox
+%
+{\ttfont \global\dimen0 = 3em}% Width of the box.
+\dimen2 = .55pt % Thickness of rules
+% The text. (`r' is open on the right, `e' somewhat less so on the left.)
+\setbox0 = \hbox{\kern-.75pt \reducedsf \putworderror\kern-1.5pt}
+%
+\setbox\errorbox=\hbox to \dimen0{\hfil
+ \hsize = \dimen0 \advance\hsize by -5.8pt % Space to left+right.
+ \advance\hsize by -2\dimen2 % Rules.
+ \vbox{%
+ \hrule height\dimen2
+ \hbox{\vrule width\dimen2 \kern3pt % Space to left of text.
+ \vtop{\kern2.4pt \box0 \kern2.4pt}% Space above/below.
+ \kern3pt\vrule width\dimen2}% Space to right.
+ \hrule height\dimen2}
+ \hfil}
+%
+\def\error{\leavevmode\lower.7ex\copy\errorbox}
+
+% @pounds{} is a sterling sign, which Knuth put in the CM italic font.
+%
+\def\pounds{\ifmonospace{\ecfont\char"BF}\else{\it\$}\fi}
+
+% @euro{} comes from a separate font, depending on the current style.
+% We use the free feym* fonts from the eurosym package by Henrik
+% Theiling, which support regular, slanted, bold and bold slanted (and
+% "outlined" (blackboard board, sort of) versions, which we don't need).
+% It is available from http://www.ctan.org/tex-archive/fonts/eurosym.
+%
+% Although only regular is the truly official Euro symbol, we ignore
+% that. The Euro is designed to be slightly taller than the regular
+% font height.
+%
+% feymr - regular
+% feymo - slanted
+% feybr - bold
+% feybo - bold slanted
+%
+% There is no good (free) typewriter version, to my knowledge.
+% A feymr10 euro is ~7.3pt wide, while a normal cmtt10 char is ~5.25pt wide.
+% Hmm.
+%
+% Also doesn't work in math. Do we need to do math with euro symbols?
+% Hope not.
+%
+%
+\def\euro{{\eurofont e}}
+\def\eurofont{%
+ % We set the font at each command, rather than predefining it in
+ % \textfonts and the other font-switching commands, so that
+ % installations which never need the symbol don't have to have the
+ % font installed.
+ %
+ % There is only one designed size (nominal 10pt), so we always scale
+ % that to the current nominal size.
+ %
+ % By the way, simply using "at 1em" works for cmr10 and the like, but
+ % does not work for cmbx10 and other extended/shrunken fonts.
+ %
+ \def\eurosize{\csname\curfontsize nominalsize\endcsname}%
+ %
+ \ifx\curfontstyle\bfstylename
+ % bold:
+ \font\thiseurofont = \ifusingit{feybo10}{feybr10} at \eurosize
+ \else
+ % regular:
+ \font\thiseurofont = \ifusingit{feymo10}{feymr10} at \eurosize
+ \fi
+ \thiseurofont
+}
+
+% Glyphs from the EC fonts. We don't use \let for the aliases, because
+% sometimes we redefine the original macro, and the alias should reflect
+% the redefinition.
+%
+% Use LaTeX names for the Icelandic letters.
+\def\DH{{\ecfont \char"D0}} % Eth
+\def\dh{{\ecfont \char"F0}} % eth
+\def\TH{{\ecfont \char"DE}} % Thorn
+\def\th{{\ecfont \char"FE}} % thorn
+%
+\def\guillemetleft{{\ecfont \char"13}}
+\def\guillemotleft{\guillemetleft}
+\def\guillemetright{{\ecfont \char"14}}
+\def\guillemotright{\guillemetright}
+\def\guilsinglleft{{\ecfont \char"0E}}
+\def\guilsinglright{{\ecfont \char"0F}}
+\def\quotedblbase{{\ecfont \char"12}}
+\def\quotesinglbase{{\ecfont \char"0D}}
+%
+% This positioning is not perfect (see the ogonek LaTeX package), but
+% we have the precomposed glyphs for the most common cases. We put the
+% tests to use those glyphs in the single \ogonek macro so we have fewer
+% dummy definitions to worry about for index entries, etc.
+%
+% ogonek is also used with other letters in Lithuanian (IOU), but using
+% the precomposed glyphs for those is not so easy since they aren't in
+% the same EC font.
+\def\ogonek#1{{%
+ \def\temp{#1}%
+ \ifx\temp\macrocharA\Aogonek
+ \else\ifx\temp\macrochara\aogonek
+ \else\ifx\temp\macrocharE\Eogonek
+ \else\ifx\temp\macrochare\eogonek
+ \else
+ \ecfont \setbox0=\hbox{#1}%
+ \ifdim\ht0=1ex\accent"0C #1%
+ \else\ooalign{\unhbox0\crcr\hidewidth\char"0C \hidewidth}%
+ \fi
+ \fi\fi\fi\fi
+ }%
+}
+\def\Aogonek{{\ecfont \char"81}}\def\macrocharA{A}
+\def\aogonek{{\ecfont \char"A1}}\def\macrochara{a}
+\def\Eogonek{{\ecfont \char"86}}\def\macrocharE{E}
+\def\eogonek{{\ecfont \char"A6}}\def\macrochare{e}
+%
+% Use the European Computer Modern fonts (cm-super in outline format)
+% for non-CM glyphs. That is ec* for regular text and tc* for the text
+% companion symbols (LaTeX TS1 encoding). Both are part of the ec
+% package and follow the same conventions.
+%
+\def\ecfont{\etcfont{e}}
+\def\tcfont{\etcfont{t}}
+%
+\def\etcfont#1{%
+ % We can't distinguish serif/sans and italic/slanted, but this
+ % is used for crude hacks anyway (like adding French and German
+ % quotes to documents typeset with CM, where we lose kerning), so
+ % hopefully nobody will notice/care.
+ \edef\ecsize{\csname\curfontsize ecsize\endcsname}%
+ \edef\nominalsize{\csname\curfontsize nominalsize\endcsname}%
+ \ifmonospace
+ % typewriter:
+ \font\thisecfont = #1ctt\ecsize \space at \nominalsize
+ \else
+ \ifx\curfontstyle\bfstylename
+ % bold:
+ \font\thisecfont = #1cb\ifusingit{i}{x}\ecsize \space at \nominalsize
+ \else
+ % regular:
+ \font\thisecfont = #1c\ifusingit{ti}{rm}\ecsize \space at \nominalsize
+ \fi
+ \fi
+ \thisecfont
+}
+
+% @registeredsymbol - R in a circle. The font for the R should really
+% be smaller yet, but lllsize is the best we can do for now.
+% Adapted from the plain.tex definition of \copyright.
+%
+\def\registeredsymbol{%
+ $^{{\ooalign{\hfil\raise.07ex\hbox{\switchtolllsize R}%
+ \hfil\crcr\Orb}}%
+ }$%
+}
+
+% @textdegree - the normal degrees sign.
+%
+\def\textdegree{$^\circ$}
+
+% Laurent Siebenmann reports \Orb undefined with:
+% Textures 1.7.7 (preloaded format=plain 93.10.14) (68K) 16 APR 2004 02:38
+% so we'll define it if necessary.
+%
+\ifx\Orb\thisisundefined
+\def\Orb{\mathhexbox20D}
+\fi
+
+% Quotes.
+\chardef\quoteleft=`\`
+\chardef\quoteright=`\'
+
+% only change font for tt for correct kerning and to avoid using
+% \ecfont unless necessary.
+\def\quotedblleft{%
+ \ifmonospace{\ecfont\char"10}\else{\char"5C}\fi
+}
+
+\def\quotedblright{%
+ \ifmonospace{\ecfont\char"11}\else{\char`\"}\fi
+}
+
+
+\message{page headings,}
+
+\newskip\titlepagetopglue \titlepagetopglue = 1.5in
+\newskip\titlepagebottomglue \titlepagebottomglue = 2pc
+
+% First the title page. Must do @settitle before @titlepage.
+\newif\ifseenauthor
+\newif\iffinishedtitlepage
+
+% @setcontentsaftertitlepage used to do an implicit @contents or
+% @shortcontents after @end titlepage, but it is now obsolete.
+\def\setcontentsaftertitlepage{%
+ \errmessage{@setcontentsaftertitlepage has been removed as a Texinfo
+ command; move your @contents command if you want the contents
+ after the title page.}}%
+\def\setshortcontentsaftertitlepage{%
+ \errmessage{@setshortcontentsaftertitlepage has been removed as a Texinfo
+ command; move your @shortcontents and @contents commands if you
+ want the contents after the title page.}}%
+
+\parseargdef\shorttitlepage{%
+ \begingroup \hbox{}\vskip 1.5in \chaprm \centerline{#1}%
+ \endgroup\page\hbox{}\page}
+
+\envdef\titlepage{%
+ % Open one extra group, as we want to close it in the middle of \Etitlepage.
+ \begingroup
+ \parindent=0pt \textfonts
+ % Leave some space at the very top of the page.
+ \vglue\titlepagetopglue
+ % No rule at page bottom unless we print one at the top with @title.
+ \finishedtitlepagetrue
+ %
+ % Most title ``pages'' are actually two pages long, with space
+ % at the top of the second. We don't want the ragged left on the second.
+ \let\oldpage = \page
+ \def\page{%
+ \iffinishedtitlepage\else
+ \finishtitlepage
+ \fi
+ \let\page = \oldpage
+ \page
+ \null
+ }%
+}
+
+\def\Etitlepage{%
+ \iffinishedtitlepage\else
+ \finishtitlepage
+ \fi
+ % It is important to do the page break before ending the group,
+ % because the headline and footline are only empty inside the group.
+ % If we use the new definition of \page, we always get a blank page
+ % after the title page, which we certainly don't want.
+ \oldpage
+ \endgroup
+ %
+ % Need this before the \...aftertitlepage checks so that if they are
+ % in effect the toc pages will come out with page numbers.
+ \HEADINGSon
+}
+
+\def\finishtitlepage{%
+ \vskip4pt \hrule height 2pt width \hsize
+ \vskip\titlepagebottomglue
+ \finishedtitlepagetrue
+}
+
+% Settings used for typesetting titles: no hyphenation, no indentation,
+% don't worry much about spacing, ragged right. This should be used
+% inside a \vbox, and fonts need to be set appropriately first. \par should
+% be specified before the end of the \vbox, since a vbox is a group.
+%
+\def\raggedtitlesettings{%
+ \rm
+ \hyphenpenalty=10000
+ \parindent=0pt
+ \tolerance=5000
+ \ptexraggedright
+}
+
+% Macros to be used within @titlepage:
+
+\let\subtitlerm=\rmfont
+\def\subtitlefont{\subtitlerm \normalbaselineskip = 13pt \normalbaselines}
+
+\parseargdef\title{%
+ \checkenv\titlepage
+ \vbox{\titlefonts \raggedtitlesettings #1\par}%
+ % print a rule at the page bottom also.
+ \finishedtitlepagefalse
+ \vskip4pt \hrule height 4pt width \hsize \vskip4pt
+}
+
+\parseargdef\subtitle{%
+ \checkenv\titlepage
+ {\subtitlefont \rightline{#1}}%
+}
+
+% @author should come last, but may come many times.
+% It can also be used inside @quotation.
+%
+\parseargdef\author{%
+ \def\temp{\quotation}%
+ \ifx\thisenv\temp
+ \def\quotationauthor{#1}% printed in \Equotation.
+ \else
+ \checkenv\titlepage
+ \ifseenauthor\else \vskip 0pt plus 1filll \seenauthortrue \fi
+ {\secfonts\rm \leftline{#1}}%
+ \fi
+}
+
+
+% Set up page headings and footings.
+
+\let\thispage=\folio
+
+\newtoks\evenheadline % headline on even pages
+\newtoks\oddheadline % headline on odd pages
+\newtoks\evenchapheadline% headline on even pages with a new chapter
+\newtoks\oddchapheadline % headline on odd pages with a new chapter
+\newtoks\evenfootline % footline on even pages
+\newtoks\oddfootline % footline on odd pages
+
+% Now make \makeheadline and \makefootline in Plain TeX use those variables
+\headline={{\textfonts\rm
+ \ifchapterpage
+ \ifodd\pageno\the\oddchapheadline\else\the\evenchapheadline\fi
+ \else
+ \ifodd\pageno\the\oddheadline\else\the\evenheadline\fi
+ \fi}}
+
+\footline={{\textfonts\rm \ifodd\pageno \the\oddfootline
+ \else \the\evenfootline \fi}\HEADINGShook}
+\let\HEADINGShook=\relax
+
+% Commands to set those variables.
+% For example, this is what @headings on does
+% @evenheading @thistitle|@thispage|@thischapter
+% @oddheading @thischapter|@thispage|@thistitle
+% @evenfooting @thisfile||
+% @oddfooting ||@thisfile
+
+
+\def\evenheading{\parsearg\evenheadingxxx}
+\def\evenheadingxxx #1{\evenheadingyyy #1\|\|\|\|\finish}
+\def\evenheadingyyy #1\|#2\|#3\|#4\finish{%
+ \global\evenheadline={\rlap{\centerline{#2}}\line{#1\hfil#3}}
+ \global\evenchapheadline=\evenheadline}
+
+\def\oddheading{\parsearg\oddheadingxxx}
+\def\oddheadingxxx #1{\oddheadingyyy #1\|\|\|\|\finish}
+\def\oddheadingyyy #1\|#2\|#3\|#4\finish{%
+ \global\oddheadline={\rlap{\centerline{#2}}\line{#1\hfil#3}}%
+ \global\oddchapheadline=\oddheadline}
+
+\parseargdef\everyheading{\oddheadingxxx{#1}\evenheadingxxx{#1}}%
+
+\def\evenfooting{\parsearg\evenfootingxxx}
+\def\evenfootingxxx #1{\evenfootingyyy #1\|\|\|\|\finish}
+\def\evenfootingyyy #1\|#2\|#3\|#4\finish{%
+\global\evenfootline={\rlap{\centerline{#2}}\line{#1\hfil#3}}}
+
+\def\oddfooting{\parsearg\oddfootingxxx}
+\def\oddfootingxxx #1{\oddfootingyyy #1\|\|\|\|\finish}
+\def\oddfootingyyy #1\|#2\|#3\|#4\finish{%
+ \global\oddfootline = {\rlap{\centerline{#2}}\line{#1\hfil#3}}%
+ %
+ % Leave some space for the footline. Hopefully ok to assume
+ % @evenfooting will not be used by itself.
+ \global\advance\txipageheight by -12pt
+ \global\advance\vsize by -12pt
+}
+
+\parseargdef\everyfooting{\oddfootingxxx{#1}\evenfootingxxx{#1}}
+
+% @evenheadingmarks top \thischapter <- chapter at the top of a page
+% @evenheadingmarks bottom \thischapter <- chapter at the bottom of a page
+%
+% The same set of arguments for:
+%
+% @oddheadingmarks
+% @evenfootingmarks
+% @oddfootingmarks
+% @everyheadingmarks
+% @everyfootingmarks
+
+% These define \getoddheadingmarks, \getevenheadingmarks,
+% \getoddfootingmarks, and \getevenfootingmarks, each to one of
+% \gettopheadingmarks, \getbottomheadingmarks.
+%
+\def\evenheadingmarks{\headingmarks{even}{heading}}
+\def\oddheadingmarks{\headingmarks{odd}{heading}}
+\def\evenfootingmarks{\headingmarks{even}{footing}}
+\def\oddfootingmarks{\headingmarks{odd}{footing}}
+\parseargdef\everyheadingmarks{\headingmarks{even}{heading}{#1}
+ \headingmarks{odd}{heading}{#1} }
+\parseargdef\everyfootingmarks{\headingmarks{even}{footing}{#1}
+ \headingmarks{odd}{footing}{#1} }
+% #1 = even/odd, #2 = heading/footing, #3 = top/bottom.
+\def\headingmarks#1#2#3 {%
+ \expandafter\let\expandafter\temp \csname get#3headingmarks\endcsname
+ \global\expandafter\let\csname get#1#2marks\endcsname \temp
+}
+
+\everyheadingmarks bottom
+\everyfootingmarks bottom
+
+% @headings double turns headings on for double-sided printing.
+% @headings single turns headings on for single-sided printing.
+% @headings off turns them off.
+% @headings on same as @headings double, retained for compatibility.
+% @headings after turns on double-sided headings after this page.
+% @headings doubleafter turns on double-sided headings after this page.
+% @headings singleafter turns on single-sided headings after this page.
+% By default, they are off at the start of a document,
+% and turned `on' after @end titlepage.
+
+\parseargdef\headings{\csname HEADINGS#1\endcsname}
+
+\def\headingsoff{% non-global headings elimination
+ \evenheadline={\hfil}\evenfootline={\hfil}\evenchapheadline={\hfil}%
+ \oddheadline={\hfil}\oddfootline={\hfil}\oddchapheadline={\hfil}%
+}
+
+\def\HEADINGSoff{{\globaldefs=1 \headingsoff}} % global setting
+\HEADINGSoff % it's the default
+
+% When we turn headings on, set the page number to 1.
+\def\pageone{
+ \global\pageno=1
+ \global\arabiccount = \pagecount
+}
+
+% For double-sided printing, put current file name in lower left corner,
+% chapter name on inside top of right hand pages, document
+% title on inside top of left hand pages, and page numbers on outside top
+% edge of all pages.
+\def\HEADINGSdouble{%
+\pageone
+\HEADINGSdoublex
+}
+\let\contentsalignmacro = \chappager
+
+% For single-sided printing, chapter title goes across top left of page,
+% page number on top right.
+\def\HEADINGSsingle{%
+\pageone
+\HEADINGSsinglex
+}
+\def\HEADINGSon{\HEADINGSdouble}
+
+\def\HEADINGSafter{\let\HEADINGShook=\HEADINGSdoublex}
+\let\HEADINGSdoubleafter=\HEADINGSafter
+\def\HEADINGSdoublex{%
+\global\evenfootline={\hfil}
+\global\oddfootline={\hfil}
+\global\evenheadline={\line{\folio\hfil\thistitle}}
+\global\oddheadline={\line{\thischapter\hfil\folio}}
+\global\evenchapheadline={\line{\folio\hfil}}
+\global\oddchapheadline={\line{\hfil\folio}}
+\global\let\contentsalignmacro = \chapoddpage
+}
+
+\def\HEADINGSsingleafter{\let\HEADINGShook=\HEADINGSsinglex}
+\def\HEADINGSsinglex{%
+\global\evenfootline={\hfil}
+\global\oddfootline={\hfil}
+\global\evenheadline={\line{\thischapter\hfil\folio}}
+\global\oddheadline={\line{\thischapter\hfil\folio}}
+\global\evenchapheadline={\line{\hfil\folio}}
+\global\oddchapheadline={\line{\hfil\folio}}
+\global\let\contentsalignmacro = \chappager
+}
+
+% for @setchapternewpage off
+\def\HEADINGSsinglechapoff{%
+\pageone
+\global\evenfootline={\hfil}
+\global\oddfootline={\hfil}
+\global\evenheadline={\line{\thischapter\hfil\folio}}
+\global\oddheadline={\line{\thischapter\hfil\folio}}
+\global\evenchapheadline=\evenheadline
+\global\oddchapheadline=\oddheadline
+\global\let\contentsalignmacro = \chappager
+}
+
+% Subroutines used in generating headings
+% This produces Day Month Year style of output.
+% Only define if not already defined, in case a txi-??.tex file has set
+% up a different format (e.g., txi-cs.tex does this).
+\ifx\today\thisisundefined
+\def\today{%
+ \number\day\space
+ \ifcase\month
+ \or\putwordMJan\or\putwordMFeb\or\putwordMMar\or\putwordMApr
+ \or\putwordMMay\or\putwordMJun\or\putwordMJul\or\putwordMAug
+ \or\putwordMSep\or\putwordMOct\or\putwordMNov\or\putwordMDec
+ \fi
+ \space\number\year}
+\fi
+
+% @settitle line... specifies the title of the document, for headings.
+% It generates no output of its own.
+\def\thistitle{\putwordNoTitle}
+\def\settitle{\parsearg{\gdef\thistitle}}
+
+
+\message{tables,}
+% Tables -- @table, @ftable, @vtable, @item(x).
+
+% default indentation of table text
+\newdimen\tableindent \tableindent=.8in
+% default indentation of @itemize and @enumerate text
+\newdimen\itemindent \itemindent=.3in
+% margin between end of table item and start of table text.
+\newdimen\itemmargin \itemmargin=.1in
+
+% used internally for \itemindent minus \itemmargin
+\newdimen\itemmax
+
+% Note @table, @ftable, and @vtable define @item, @itemx, etc., with
+% these defs.
+% They also define \itemindex
+% to index the item name in whatever manner is desired (perhaps none).
+
+\newif\ifitemxneedsnegativevskip
+
+\def\itemxpar{\par\ifitemxneedsnegativevskip\nobreak\vskip-\parskip\nobreak\fi}
+
+\def\internalBitem{\smallbreak \parsearg\itemzzz}
+\def\internalBitemx{\itemxpar \parsearg\itemzzz}
+
+\def\itemzzz #1{\begingroup %
+ \advance\hsize by -\rightskip
+ \advance\hsize by -\tableindent
+ \setbox0=\hbox{\itemindicate{#1}}%
+ \itemindex{#1}%
+ \nobreak % This prevents a break before @itemx.
+ %
+ % If the item text does not fit in the space we have, put it on a line
+ % by itself, and do not allow a page break either before or after that
+ % line. We do not start a paragraph here because then if the next
+ % command is, e.g., @kindex, the whatsit would get put into the
+ % horizontal list on a line by itself, resulting in extra blank space.
+ \ifdim \wd0>\itemmax
+ %
+ % Make this a paragraph so we get the \parskip glue and wrapping,
+ % but leave it ragged-right.
+ \begingroup
+ \advance\leftskip by-\tableindent
+ \advance\hsize by\tableindent
+ \advance\rightskip by0pt plus1fil\relax
+ \leavevmode\unhbox0\par
+ \endgroup
+ %
+ % We're going to be starting a paragraph, but we don't want the
+ % \parskip glue -- logically it's part of the @item we just started.
+ \nobreak \vskip-\parskip
+ %
+ % Stop a page break at the \parskip glue coming up. However, if
+ % what follows is an environment such as @example, there will be no
+ % \parskip glue; then the negative vskip we just inserted would
+ % cause the example and the item to crash together. So we use this
+ % bizarre value of 10001 as a signal to \aboveenvbreak to insert
+ % \parskip glue after all. Section titles are handled this way also.
+ %
+ \penalty 10001
+ \endgroup
+ \itemxneedsnegativevskipfalse
+ \else
+ % The item text fits into the space. Start a paragraph, so that the
+ % following text (if any) will end up on the same line.
+ \noindent
+ % Do this with kerns and \unhbox so that if there is a footnote in
+ % the item text, it can migrate to the main vertical list and
+ % eventually be printed.
+ \nobreak\kern-\tableindent
+ \dimen0 = \itemmax \advance\dimen0 by \itemmargin \advance\dimen0 by -\wd0
+ \unhbox0
+ \nobreak\kern\dimen0
+ \endgroup
+ \itemxneedsnegativevskiptrue
+ \fi
+}
+
+\def\item{\errmessage{@item while not in a list environment}}
+\def\itemx{\errmessage{@itemx while not in a list environment}}
+
+% @table, @ftable, @vtable.
+\envdef\table{%
+ \let\itemindex\gobble
+ \tablecheck{table}%
+}
+\envdef\ftable{%
+ \def\itemindex ##1{\doind {fn}{\code{##1}}}%
+ \tablecheck{ftable}%
+}
+\envdef\vtable{%
+ \def\itemindex ##1{\doind {vr}{\code{##1}}}%
+ \tablecheck{vtable}%
+}
+\def\tablecheck#1{%
+ \ifnum \the\catcode`\^^M=\active
+ \endgroup
+ \errmessage{This command won't work in this context; perhaps the problem is
+ that we are \inenvironment\thisenv}%
+ \def\next{\doignore{#1}}%
+ \else
+ \let\next\tablex
+ \fi
+ \next
+}
+\def\tablex#1{%
+ \def\itemindicate{#1}%
+ \parsearg\tabley
+}
+\def\tabley#1{%
+ {%
+ \makevalueexpandable
+ \edef\temp{\noexpand\tablez #1\space\space\space}%
+ \expandafter
+ }\temp \endtablez
+}
+\def\tablez #1 #2 #3 #4\endtablez{%
+ \aboveenvbreak
+ \ifnum 0#1>0 \advance \leftskip by #1\mil \fi
+ \ifnum 0#2>0 \tableindent=#2\mil \fi
+ \ifnum 0#3>0 \advance \rightskip by #3\mil \fi
+ \itemmax=\tableindent
+ \advance \itemmax by -\itemmargin
+ \advance \leftskip by \tableindent
+ \exdentamount=\tableindent
+ \parindent = 0pt
+ \parskip = \smallskipamount
+ \ifdim \parskip=0pt \parskip=2pt \fi
+ \let\item = \internalBitem
+ \let\itemx = \internalBitemx
+}
+\def\Etable{\endgraf\afterenvbreak}
+\let\Eftable\Etable
+\let\Evtable\Etable
+\let\Eitemize\Etable
+\let\Eenumerate\Etable
+
+% This is the counter used by @enumerate, which is really @itemize
+
+\newcount \itemno
+
+\envdef\itemize{\parsearg\doitemize}
+
+\def\doitemize#1{%
+ \aboveenvbreak
+ \itemmax=\itemindent
+ \advance\itemmax by -\itemmargin
+ \advance\leftskip by \itemindent
+ \exdentamount=\itemindent
+ \parindent=0pt
+ \parskip=\smallskipamount
+ \ifdim\parskip=0pt \parskip=2pt \fi
+ %
+ % Try typesetting the item mark so that if the document erroneously says
+ % something like @itemize @samp (intending @table), there's an error
+ % right away at the @itemize. It's not the best error message in the
+ % world, but it's better than leaving it to the @item. This means if
+ % the user wants an empty mark, they have to say @w{} not just @w.
+ \def\itemcontents{#1}%
+ \setbox0 = \hbox{\itemcontents}%
+ %
+ % @itemize with no arg is equivalent to @itemize @bullet.
+ \ifx\itemcontents\empty\def\itemcontents{\bullet}\fi
+ %
+ \let\item=\itemizeitem
+}
+
+% Definition of @item while inside @itemize and @enumerate.
+%
+\def\itemizeitem{%
+ \advance\itemno by 1 % for enumerations
+ {\let\par=\endgraf \smallbreak}% reasonable place to break
+ {%
+ % If the document has an @itemize directly after a section title, a
+ % \nobreak will be last on the list, and \sectionheading will have
+ % done a \vskip-\parskip. In that case, we don't want to zero
+ % parskip, or the item text will crash with the heading. On the
+ % other hand, when there is normal text preceding the item (as there
+ % usually is), we do want to zero parskip, or there would be too much
+ % space. In that case, we won't have a \nobreak before. At least
+ % that's the theory.
+ \ifnum\lastpenalty<10000 \parskip=0in \fi
+ \noindent
+ \hbox to 0pt{\hss \itemcontents \kern\itemmargin}%
+ %
+ \ifinner\else
+ \vadjust{\penalty 1200}% not good to break after first line of item.
+ \fi
+ % We can be in inner vertical mode in a footnote, although an
+ % @itemize looks awful there.
+ }%
+ \flushcr
+}
+
+% \splitoff TOKENS\endmark defines \first to be the first token in
+% TOKENS, and \rest to be the remainder.
+%
+\def\splitoff#1#2\endmark{\def\first{#1}\def\rest{#2}}%
+
+% Allow an optional argument of an uppercase letter, lowercase letter,
+% or number, to specify the first label in the enumerated list. No
+% argument is the same as `1'.
+%
+\envparseargdef\enumerate{\enumeratey #1 \endenumeratey}
+\def\enumeratey #1 #2\endenumeratey{%
+ % If we were given no argument, pretend we were given `1'.
+ \def\thearg{#1}%
+ \ifx\thearg\empty \def\thearg{1}\fi
+ %
+ % Detect if the argument is a single token. If so, it might be a
+ % letter. Otherwise, the only valid thing it can be is a number.
+ % (We will always have one token, because of the test we just made.
+ % This is a good thing, since \splitoff doesn't work given nothing at
+ % all -- the first parameter is undelimited.)
+ \expandafter\splitoff\thearg\endmark
+ \ifx\rest\empty
+ % Only one token in the argument. It could still be anything.
+ % A ``lowercase letter'' is one whose \lccode is nonzero.
+ % An ``uppercase letter'' is one whose \lccode is both nonzero, and
+ % not equal to itself.
+ % Otherwise, we assume it's a number.
+ %
+ % We need the \relax at the end of the \ifnum lines to stop TeX from
+ % continuing to look for a <number>.
+ %
+ \ifnum\lccode\expandafter`\thearg=0\relax
+ \numericenumerate % a number (we hope)
+ \else
+ % It's a letter.
+ \ifnum\lccode\expandafter`\thearg=\expandafter`\thearg\relax
+ \lowercaseenumerate % lowercase letter
+ \else
+ \uppercaseenumerate % uppercase letter
+ \fi
+ \fi
+ \else
+ % Multiple tokens in the argument. We hope it's a number.
+ \numericenumerate
+ \fi
+}
+
+% An @enumerate whose labels are integers. The starting integer is
+% given in \thearg.
+%
+\def\numericenumerate{%
+ \itemno = \thearg
+ \startenumeration{\the\itemno}%
+}
+
+% The starting (lowercase) letter is in \thearg.
+\def\lowercaseenumerate{%
+ \itemno = \expandafter`\thearg
+ \startenumeration{%
+ % Be sure we're not beyond the end of the alphabet.
+ \ifnum\itemno=0
+ \errmessage{No more lowercase letters in @enumerate; get a bigger
+ alphabet}%
+ \fi
+ \char\lccode\itemno
+ }%
+}
+
+% The starting (uppercase) letter is in \thearg.
+\def\uppercaseenumerate{%
+ \itemno = \expandafter`\thearg
+ \startenumeration{%
+ % Be sure we're not beyond the end of the alphabet.
+ \ifnum\itemno=0
+ \errmessage{No more uppercase letters in @enumerate; get a bigger
+ alphabet}
+ \fi
+ \char\uccode\itemno
+ }%
+}
+
+% Call \doitemize, adding a period to the first argument and supplying the
+% common last two arguments. Also subtract one from the initial value in
+% \itemno, since @item increments \itemno.
+%
+\def\startenumeration#1{%
+ \advance\itemno by -1
+ \doitemize{#1.}\flushcr
+}
+
+
+% @multitable macros
+
+% Macros used to set up halign preamble:
+%
+\let\endsetuptable\relax
+\def\xendsetuptable{\endsetuptable}
+\let\columnfractions\relax
+\def\xcolumnfractions{\columnfractions}
+\newif\ifsetpercent
+
+% #1 is the @columnfraction, usually a decimal number like .5, but might
+% be just 1. We just use it, whatever it is.
+%
+\def\pickupwholefraction#1 {%
+ \global\advance\colcount by 1
+ \expandafter\xdef\csname col\the\colcount\endcsname{#1\hsize}%
+ \setuptable
+}
+
+\newcount\colcount
+\def\setuptable#1{%
+ \def\firstarg{#1}%
+ \ifx\firstarg\xendsetuptable
+ \let\go = \relax
+ \else
+ \ifx\firstarg\xcolumnfractions
+ \global\setpercenttrue
+ \else
+ \ifsetpercent
+ \let\go\pickupwholefraction
+ \else
+ \global\advance\colcount by 1
+ \setbox0=\hbox{#1\unskip\space}% Add a normal word space as a
+ % separator; typically that is always in the input, anyway.
+ \expandafter\xdef\csname col\the\colcount\endcsname{\the\wd0}%
+ \fi
+ \fi
+ \ifx\go\pickupwholefraction
+ % Put the argument back for the \pickupwholefraction call, so
+ % we'll always have a period there to be parsed.
+ \def\go{\pickupwholefraction#1}%
+ \else
+ \let\go = \setuptable
+ \fi%
+ \fi
+ \go
+}
+
+% @headitem starts a heading row, which we typeset in bold. Assignments
+% have to be global since we are inside the implicit group of an
+% alignment entry. \everycr below resets \everytab so we don't have to
+% undo it ourselves.
+\def\headitemfont{\b}% for people to use in the template row; not changeable
+\def\headitem{%
+ \checkenv\multitable
+ \crcr
+ \gdef\headitemcrhook{\nobreak}% attempt to avoid page break after headings
+ \global\everytab={\bf}% can't use \headitemfont since the parsing differs
+ \the\everytab % for the first item
+}%
+%
+% default for tables with no headings.
+\let\headitemcrhook=\relax
+%
+\def\tab{\checkenv\multitable &\the\everytab}%
+
+\newtoks\everytab % insert after every tab.
+%
+\envdef\multitable{%
+ \vskip\parskip
+ \startsavinginserts
+ %
+ % @item within a multitable starts a normal row.
+ % We use \def instead of \let so that if one of the multitable entries
+ % contains an @itemize, we don't choke on the \item (seen as \crcr aka
+ % \endtemplate) expanding \doitemize.
+ \def\item{\crcr}%
+ %
+ \tolerance=9500
+ \hbadness=9500
+ \parskip=0pt
+ \parindent=6pt
+ \overfullrule=0pt
+ \global\colcount=0
+ %
+ \everycr = {%
+ \noalign{%
+ \global\everytab={}% Reset from possible headitem.
+ \global\colcount=0 % Reset the column counter.
+ %
+ % Check for saved footnotes, etc.:
+ \checkinserts
+ %
+ % Perhaps a \nobreak, then reset:
+ \headitemcrhook
+ \global\let\headitemcrhook=\relax
+ }%
+ }%
+ %
+ \parsearg\domultitable
+}
+\def\domultitable#1{%
+ % To parse everything between @multitable and @item:
+ \setuptable#1 \endsetuptable
+ %
+ % This preamble sets up a generic column definition, which will
+ % be used as many times as user calls for columns.
+ % \vtop will set a single line and will also let text wrap and
+ % continue for many paragraphs if desired.
+ \halign\bgroup &%
+ \global\advance\colcount by 1
+ \strut
+ \vtop{%
+ \advance\hsize by -1\leftskip
+ % Find the correct column width
+ \hsize=\expandafter\csname col\the\colcount\endcsname
+ %
+ \rightskip=0pt
+ \ifnum\colcount=1
+ \advance\hsize by\leftskip % Add indent of surrounding text
+ \else
+ % In order to keep entries from bumping into each other.
+ \leftskip=12pt
+ \ifsetpercent \else
+ % If a template has been used
+ \advance\hsize by \leftskip
+ \fi
+ \fi
+ \noindent\ignorespaces##\unskip\strut
+ }\cr
+}
+\def\Emultitable{%
+ \crcr
+ \egroup % end the \halign
+ \global\setpercentfalse
+}
+
+
+\message{conditionals,}
+
+% @iftex, @ifnotdocbook, @ifnothtml, @ifnotinfo, @ifnotplaintext,
+% @ifnotxml always succeed. They currently do nothing; we don't
+% attempt to check whether the conditionals are properly nested. But we
+% have to remember that they are conditionals, so that @end doesn't
+% attempt to close an environment group.
+%
+\def\makecond#1{%
+ \expandafter\let\csname #1\endcsname = \relax
+ \expandafter\let\csname iscond.#1\endcsname = 1
+}
+\makecond{iftex}
+\makecond{ifnotdocbook}
+\makecond{ifnothtml}
+\makecond{ifnotinfo}
+\makecond{ifnotplaintext}
+\makecond{ifnotxml}
+
+% Ignore @ignore, @ifhtml, @ifinfo, and the like.
+%
+\def\direntry{\doignore{direntry}}
+\def\documentdescription{\doignore{documentdescription}}
+\def\docbook{\doignore{docbook}}
+\def\html{\doignore{html}}
+\def\ifdocbook{\doignore{ifdocbook}}
+\def\ifhtml{\doignore{ifhtml}}
+\def\ifinfo{\doignore{ifinfo}}
+\def\ifnottex{\doignore{ifnottex}}
+\def\ifplaintext{\doignore{ifplaintext}}
+\def\ifxml{\doignore{ifxml}}
+\def\ignore{\doignore{ignore}}
+\def\menu{\doignore{menu}}
+\def\xml{\doignore{xml}}
+
+% Ignore text until a line `@end #1', keeping track of nested conditionals.
+%
+% A count to remember the depth of nesting.
+\newcount\doignorecount
+
+\def\doignore#1{\begingroup
+ % Scan in ``verbatim'' mode:
+ \obeylines
+ \catcode`\@ = \other
+ \catcode`\{ = \other
+ \catcode`\} = \other
+ %
+ % Make sure that spaces turn into tokens that match what \doignoretext wants.
+ \spaceisspace
+ %
+ % Count number of #1's that we've seen.
+ \doignorecount = 0
+ %
+ % Swallow text until we reach the matching `@end #1'.
+ \dodoignore{#1}%
+}
+
+{ \catcode`_=11 % We want to use \_STOP_ which cannot appear in texinfo source.
+ \obeylines %
+ %
+ \gdef\dodoignore#1{%
+ % #1 contains the command name as a string, e.g., `ifinfo'.
+ %
+ % Define a command to find the next `@end #1'.
+ \long\def\doignoretext##1^^M@end #1{%
+ \doignoretextyyy##1^^M@#1\_STOP_}%
+ %
+ % And this command to find another #1 command, at the beginning of a
+ % line. (Otherwise, we would consider a line `@c @ifset', for
+ % example, to count as an @ifset for nesting.)
+ \long\def\doignoretextyyy##1^^M@#1##2\_STOP_{\doignoreyyy{##2}\_STOP_}%
+ %
+ % And now expand that command.
+ \doignoretext ^^M%
+ }%
+}
+
+\def\doignoreyyy#1{%
+ \def\temp{#1}%
+ \ifx\temp\empty % Nothing found.
+ \let\next\doignoretextzzz
+ \else % Found a nested condition, ...
+ \advance\doignorecount by 1
+ \let\next\doignoretextyyy % ..., look for another.
+ % If we're here, #1 ends with ^^M\ifinfo (for example).
+ \fi
+ \next #1% the token \_STOP_ is present just after this macro.
+}
+
+% We have to swallow the remaining "\_STOP_".
+%
+\def\doignoretextzzz#1{%
+ \ifnum\doignorecount = 0 % We have just found the outermost @end.
+ \let\next\enddoignore
+ \else % Still inside a nested condition.
+ \advance\doignorecount by -1
+ \let\next\doignoretext % Look for the next @end.
+ \fi
+ \next
+}
+
+% Finish off ignored text.
+{ \obeylines%
+ % Ignore anything after the last `@end #1'; this matters in verbatim
+ % environments, where otherwise the newline after an ignored conditional
+ % would result in a blank line in the output.
+ \gdef\enddoignore#1^^M{\endgroup\ignorespaces}%
+}
+
+
+% @set VAR sets the variable VAR to an empty value.
+% @set VAR REST-OF-LINE sets VAR to the value REST-OF-LINE.
+%
+% Since we want to separate VAR from REST-OF-LINE (which might be
+% empty), we can't just use \parsearg; we have to insert a space of our
+% own to delimit the rest of the line, and then take it out again if we
+% didn't need it.
+% We rely on the fact that \parsearg sets \catcode`\ =10.
+%
+\parseargdef\set{\setyyy#1 \endsetyyy}
+\def\setyyy#1 #2\endsetyyy{%
+ {%
+ \makevalueexpandable
+ \def\temp{#2}%
+ \edef\next{\gdef\makecsname{SET#1}}%
+ \ifx\temp\empty
+ \next{}%
+ \else
+ \setzzz#2\endsetzzz
+ \fi
+ }%
+}
+% Remove the trailing space \setxxx inserted.
+\def\setzzz#1 \endsetzzz{\next{#1}}
+
+% @clear VAR clears (i.e., unsets) the variable VAR.
+%
+\parseargdef\clear{%
+ {%
+ \makevalueexpandable
+ \global\expandafter\let\csname SET#1\endcsname=\relax
+ }%
+}
+
+% @value{foo} gets the text saved in variable foo.
+\def\value{\begingroup\makevalueexpandable\valuexxx}
+\def\valuexxx#1{\expandablevalue{#1}\endgroup}
+{
+ \catcode`\-=\active \catcode`\_=\active
+ %
+ \gdef\makevalueexpandable{%
+ \let\value = \expandablevalue
+ % We don't want these characters active, ...
+ \catcode`\-=\other \catcode`\_=\other
+ % ..., but we might end up with active ones in the argument if
+ % we're called from @code, as @code{@value{foo-bar_}}, though.
+ % So \let them to their normal equivalents.
+ \let-\normaldash \let_\normalunderscore
+ }
+}
+
+\def\expandablevalue#1{%
+ \expandafter\ifx\csname SET#1\endcsname\relax
+ {[No value for ``#1'']}%
+ \message{Variable `#1', used in @value, is not set.}%
+ \else
+ \csname SET#1\endcsname
+ \fi
+}
+
+% Like \expandablevalue, but completely expandable (the \message in the
+% definition above operates at the execution level of TeX). Used when
+% writing to auxiliary files, due to the expansion that \write does.
+% If flag is undefined, pass through an unexpanded @value command: maybe it
+% will be set by the time it is read back in.
+%
+% NB flag names containing - or _ may not work here.
+\def\dummyvalue#1{%
+ \expandafter\ifx\csname SET#1\endcsname\relax
+ \string\value{#1}%
+ \else
+ \csname SET#1\endcsname
+ \fi
+}
+
+% Used for @value's in index entries to form the sort key: expand the @value
+% if possible, otherwise sort late.
+\def\indexnofontsvalue#1{%
+ \expandafter\ifx\csname SET#1\endcsname\relax
+ ZZZZZZZ%
+ \else
+ \csname SET#1\endcsname
+ \fi
+}
+
+% @ifset VAR ... @end ifset reads the `...' iff VAR has been defined
+% with @set.
+%
+% To get the special treatment we need for `@end ifset,' we call
+% \makecond and then redefine.
+%
+\makecond{ifset}
+\def\ifset{\parsearg{\doifset{\let\next=\ifsetfail}}}
+\def\doifset#1#2{%
+ {%
+ \makevalueexpandable
+ \let\next=\empty
+ \expandafter\ifx\csname SET#2\endcsname\relax
+ #1% If not set, redefine \next.
+ \fi
+ \expandafter
+ }\next
+}
+\def\ifsetfail{\doignore{ifset}}
+
+% @ifclear VAR ... @end executes the `...' iff VAR has never been
+% defined with @set, or has been undefined with @clear.
+%
+% The `\else' inside the `\doifset' parameter is a trick to reuse the
+% above code: if the variable is not set, do nothing, if it is set,
+% then redefine \next to \ifclearfail.
+%
+\makecond{ifclear}
+\def\ifclear{\parsearg{\doifset{\else \let\next=\ifclearfail}}}
+\def\ifclearfail{\doignore{ifclear}}
+
+% @ifcommandisdefined CMD ... @end executes the `...' if CMD (written
+% without the @) is in fact defined. We can only feasibly check at the
+% TeX level, so something like `mathcode' is going to considered
+% defined even though it is not a Texinfo command.
+%
+\makecond{ifcommanddefined}
+\def\ifcommanddefined{\parsearg{\doifcmddefined{\let\next=\ifcmddefinedfail}}}
+%
+\def\doifcmddefined#1#2{{%
+ \makevalueexpandable
+ \let\next=\empty
+ \expandafter\ifx\csname #2\endcsname\relax
+ #1% If not defined, \let\next as above.
+ \fi
+ \expandafter
+ }\next
+}
+\def\ifcmddefinedfail{\doignore{ifcommanddefined}}
+
+% @ifcommandnotdefined CMD ... handled similar to @ifclear above.
+\makecond{ifcommandnotdefined}
+\def\ifcommandnotdefined{%
+ \parsearg{\doifcmddefined{\else \let\next=\ifcmdnotdefinedfail}}}
+\def\ifcmdnotdefinedfail{\doignore{ifcommandnotdefined}}
+
+% Set the `txicommandconditionals' variable, so documents have a way to
+% test if the @ifcommand...defined conditionals are available.
+\set txicommandconditionals
+
+% @dircategory CATEGORY -- specify a category of the dir file
+% which this file should belong to. Ignore this in TeX.
+\let\dircategory=\comment
+
+% @defininfoenclose.
+\let\definfoenclose=\comment
+
+
+\message{indexing,}
+% Index generation facilities
+
+% Define \newwrite to be identical to plain tex's \newwrite
+% except not \outer, so it can be used within macros and \if's.
+\edef\newwrite{\makecsname{ptexnewwrite}}
+
+% \newindex {foo} defines an index named IX.
+% It automatically defines \IXindex such that
+% \IXindex ...rest of line... puts an entry in the index IX.
+% It also defines \IXindfile to be the number of the output channel for
+% the file that accumulates this index. The file's extension is IX.
+% The name of an index should be no more than 2 characters long
+% for the sake of vms.
+%
+\def\newindex#1{%
+ \expandafter\chardef\csname#1indfile\endcsname=0
+ \expandafter\xdef\csname#1index\endcsname{% % Define @#1index
+ \noexpand\doindex{#1}}
+}
+
+% @defindex foo == \newindex{foo}
+%
+\def\defindex{\parsearg\newindex}
+
+% Define @defcodeindex, like @defindex except put all entries in @code.
+%
+\def\defcodeindex{\parsearg\newcodeindex}
+%
+\def\newcodeindex#1{%
+ \expandafter\chardef\csname#1indfile\endcsname=0
+ \expandafter\xdef\csname#1index\endcsname{%
+ \noexpand\docodeindex{#1}}%
+}
+
+% The default indices:
+\newindex{cp}% concepts,
+\newcodeindex{fn}% functions,
+\newcodeindex{vr}% variables,
+\newcodeindex{tp}% types,
+\newcodeindex{ky}% keys
+\newcodeindex{pg}% and programs.
+
+
+% @synindex foo bar makes index foo feed into index bar.
+% Do this instead of @defindex foo if you don't want it as a separate index.
+%
+% @syncodeindex foo bar similar, but put all entries made for index foo
+% inside @code.
+%
+\def\synindex#1 #2 {\dosynindex\doindex{#1}{#2}}
+\def\syncodeindex#1 #2 {\dosynindex\docodeindex{#1}{#2}}
+
+% #1 is \doindex or \docodeindex, #2 the index getting redefined (foo),
+% #3 the target index (bar).
+\def\dosynindex#1#2#3{%
+ \requireopenindexfile{#3}%
+ % redefine \fooindfile:
+ \expandafter\let\expandafter\temp\expandafter=\csname#3indfile\endcsname
+ \expandafter\let\csname#2indfile\endcsname=\temp
+ % redefine \fooindex:
+ \expandafter\xdef\csname#2index\endcsname{\noexpand#1{#3}}%
+}
+
+% Define \doindex, the driver for all index macros.
+% Argument #1 is generated by the calling \fooindex macro,
+% and it is the two-letter name of the index.
+
+\def\doindex#1{\edef\indexname{#1}\parsearg\doindexxxx}
+\def\doindexxxx #1{\doind{\indexname}{#1}}
+
+% like the previous two, but they put @code around the argument.
+\def\docodeindex#1{\edef\indexname{#1}\parsearg\docodeindexxxx}
+\def\docodeindexxxx #1{\docind{\indexname}{#1}}
+
+
+% Used for the aux, toc and index files to prevent expansion of Texinfo
+% commands.
+%
+\def\atdummies{%
+ \definedummyletter\@%
+ \definedummyletter\ %
+ \definedummyletter\{%
+ \definedummyletter\}%
+ \definedummyletter\&%
+ %
+ % Do the redefinitions.
+ \definedummies
+ \otherbackslash
+}
+
+% \definedummyword defines \#1 as \string\#1\space, thus effectively
+% preventing its expansion. This is used only for control words,
+% not control letters, because the \space would be incorrect for
+% control characters, but is needed to separate the control word
+% from whatever follows.
+%
+% These can be used both for control words that take an argument and
+% those that do not. If it is followed by {arg} in the input, then
+% that will dutifully get written to the index (or wherever).
+%
+% For control letters, we have \definedummyletter, which omits the
+% space.
+%
+\def\definedummyword #1{\def#1{\string#1\space}}%
+\def\definedummyletter#1{\def#1{\string#1}}%
+\let\definedummyaccent\definedummyletter
+
+% Called from \atdummies to prevent the expansion of commands.
+%
+\def\definedummies{%
+ %
+ \let\commondummyword\definedummyword
+ \let\commondummyletter\definedummyletter
+ \let\commondummyaccent\definedummyaccent
+ \commondummiesnofonts
+ %
+ \definedummyletter\_%
+ \definedummyletter\-%
+ %
+ % Non-English letters.
+ \definedummyword\AA
+ \definedummyword\AE
+ \definedummyword\DH
+ \definedummyword\L
+ \definedummyword\O
+ \definedummyword\OE
+ \definedummyword\TH
+ \definedummyword\aa
+ \definedummyword\ae
+ \definedummyword\dh
+ \definedummyword\exclamdown
+ \definedummyword\l
+ \definedummyword\o
+ \definedummyword\oe
+ \definedummyword\ordf
+ \definedummyword\ordm
+ \definedummyword\questiondown
+ \definedummyword\ss
+ \definedummyword\th
+ %
+ % Although these internal commands shouldn't show up, sometimes they do.
+ \definedummyword\bf
+ \definedummyword\gtr
+ \definedummyword\hat
+ \definedummyword\less
+ \definedummyword\sf
+ \definedummyword\sl
+ \definedummyword\tclose
+ \definedummyword\tt
+ %
+ \definedummyword\LaTeX
+ \definedummyword\TeX
+ %
+ % Assorted special characters.
+ \definedummyword\ampchar
+ \definedummyword\atchar
+ \definedummyword\arrow
+ \definedummyword\backslashchar
+ \definedummyword\bullet
+ \definedummyword\comma
+ \definedummyword\copyright
+ \definedummyword\registeredsymbol
+ \definedummyword\dots
+ \definedummyword\enddots
+ \definedummyword\entrybreak
+ \definedummyword\equiv
+ \definedummyword\error
+ \definedummyword\euro
+ \definedummyword\expansion
+ \definedummyword\geq
+ \definedummyword\guillemetleft
+ \definedummyword\guillemetright
+ \definedummyword\guilsinglleft
+ \definedummyword\guilsinglright
+ \definedummyword\lbracechar
+ \definedummyword\leq
+ \definedummyword\mathopsup
+ \definedummyword\minus
+ \definedummyword\ogonek
+ \definedummyword\pounds
+ \definedummyword\point
+ \definedummyword\print
+ \definedummyword\quotedblbase
+ \definedummyword\quotedblleft
+ \definedummyword\quotedblright
+ \definedummyword\quoteleft
+ \definedummyword\quoteright
+ \definedummyword\quotesinglbase
+ \definedummyword\rbracechar
+ \definedummyword\result
+ \definedummyword\sub
+ \definedummyword\sup
+ \definedummyword\textdegree
+ %
+ \definedummyword\subentry
+ %
+ % We want to disable all macros so that they are not expanded by \write.
+ \macrolist
+ \let\value\dummyvalue
+ %
+ \normalturnoffactive
+}
+
+% \commondummiesnofonts: common to \definedummies and \indexnofonts.
+% Define \commondummyletter, \commondummyaccent and \commondummyword before
+% using. Used for accents, font commands, and various control letters.
+%
+\def\commondummiesnofonts{%
+ % Control letters and accents.
+ \commondummyletter\!%
+ \commondummyaccent\"%
+ \commondummyaccent\'%
+ \commondummyletter\*%
+ \commondummyaccent\,%
+ \commondummyletter\.%
+ \commondummyletter\/%
+ \commondummyletter\:%
+ \commondummyaccent\=%
+ \commondummyletter\?%
+ \commondummyaccent\^%
+ \commondummyaccent\`%
+ \commondummyaccent\~%
+ \commondummyword\u
+ \commondummyword\v
+ \commondummyword\H
+ \commondummyword\dotaccent
+ \commondummyword\ogonek
+ \commondummyword\ringaccent
+ \commondummyword\tieaccent
+ \commondummyword\ubaraccent
+ \commondummyword\udotaccent
+ \commondummyword\dotless
+ %
+ % Texinfo font commands.
+ \commondummyword\b
+ \commondummyword\i
+ \commondummyword\r
+ \commondummyword\sansserif
+ \commondummyword\sc
+ \commondummyword\slanted
+ \commondummyword\t
+ %
+ % Commands that take arguments.
+ \commondummyword\abbr
+ \commondummyword\acronym
+ \commondummyword\anchor
+ \commondummyword\cite
+ \commondummyword\code
+ \commondummyword\command
+ \commondummyword\dfn
+ \commondummyword\dmn
+ \commondummyword\email
+ \commondummyword\emph
+ \commondummyword\env
+ \commondummyword\file
+ \commondummyword\image
+ \commondummyword\indicateurl
+ \commondummyword\inforef
+ \commondummyword\kbd
+ \commondummyword\key
+ \commondummyword\math
+ \commondummyword\option
+ \commondummyword\pxref
+ \commondummyword\ref
+ \commondummyword\samp
+ \commondummyword\strong
+ \commondummyword\tie
+ \commondummyword\U
+ \commondummyword\uref
+ \commondummyword\url
+ \commondummyword\var
+ \commondummyword\verb
+ \commondummyword\w
+ \commondummyword\xref
+}
+
+\let\indexlbrace\relax
+\let\indexrbrace\relax
+\let\indexatchar\relax
+\let\indexbackslash\relax
+
+{\catcode`\@=0
+\catcode`\\=13
+ @gdef@backslashdisappear{@def\{}}
+}
+
+{
+\catcode`\<=13
+\catcode`\-=13
+\catcode`\`=13
+ \gdef\indexnonalnumdisappear{%
+ \expandafter\ifx\csname SETtxiindexlquoteignore\endcsname\relax\else
+ % @set txiindexlquoteignore makes us ignore left quotes in the sort term.
+ % (Introduced for FSFS 2nd ed.)
+ \let`=\empty
+ \fi
+ %
+ \expandafter\ifx\csname SETtxiindexbackslashignore\endcsname\relax\else
+ \backslashdisappear
+ \fi
+ %
+ \expandafter\ifx\csname SETtxiindexhyphenignore\endcsname\relax\else
+ \def-{}%
+ \fi
+ \expandafter\ifx\csname SETtxiindexlessthanignore\endcsname\relax\else
+ \def<{}%
+ \fi
+ \expandafter\ifx\csname SETtxiindexatsignignore\endcsname\relax\else
+ \def\@{}%
+ \fi
+ }
+
+ \gdef\indexnonalnumreappear{%
+ \let-\normaldash
+ \let<\normalless
+ }
+}
+
+
+% \indexnofonts is used when outputting the strings to sort the index
+% by, and when constructing control sequence names. It eliminates all
+% control sequences and just writes whatever the best ASCII sort string
+% would be for a given command (usually its argument).
+%
+\def\indexnofonts{%
+ % Accent commands should become @asis.
+ \def\commondummyaccent##1{\let##1\asis}%
+ % We can just ignore other control letters.
+ \def\commondummyletter##1{\let##1\empty}%
+ % All control words become @asis by default; overrides below.
+ \let\commondummyword\commondummyaccent
+ \commondummiesnofonts
+ %
+ % Don't no-op \tt, since it isn't a user-level command
+ % and is used in the definitions of the active chars like <, >, |, etc.
+ % Likewise with the other plain tex font commands.
+ %\let\tt=\asis
+ %
+ \def\ { }%
+ \def\@{@}%
+ \def\_{\normalunderscore}%
+ \def\-{}% @- shouldn't affect sorting
+ %
+ \uccode`\1=`\{ \uppercase{\def\{{1}}%
+ \uccode`\1=`\} \uppercase{\def\}{1}}%
+ \let\lbracechar\{%
+ \let\rbracechar\}%
+ %
+ % Non-English letters.
+ \def\AA{AA}%
+ \def\AE{AE}%
+ \def\DH{DZZ}%
+ \def\L{L}%
+ \def\OE{OE}%
+ \def\O{O}%
+ \def\TH{TH}%
+ \def\aa{aa}%
+ \def\ae{ae}%
+ \def\dh{dzz}%
+ \def\exclamdown{!}%
+ \def\l{l}%
+ \def\oe{oe}%
+ \def\ordf{a}%
+ \def\ordm{o}%
+ \def\o{o}%
+ \def\questiondown{?}%
+ \def\ss{ss}%
+ \def\th{th}%
+ %
+ \let\do\indexnofontsdef
+ %
+ \do\LaTeX{LaTeX}%
+ \do\TeX{TeX}%
+ %
+ % Assorted special characters.
+ \do\atchar{@}%
+ \do\arrow{->}%
+ \do\bullet{bullet}%
+ \do\comma{,}%
+ \do\copyright{copyright}%
+ \do\dots{...}%
+ \do\enddots{...}%
+ \do\equiv{==}%
+ \do\error{error}%
+ \do\euro{euro}%
+ \do\expansion{==>}%
+ \do\geq{>=}%
+ \do\guillemetleft{<<}%
+ \do\guillemetright{>>}%
+ \do\guilsinglleft{<}%
+ \do\guilsinglright{>}%
+ \do\leq{<=}%
+ \do\lbracechar{\{}%
+ \do\minus{-}%
+ \do\point{.}%
+ \do\pounds{pounds}%
+ \do\print{-|}%
+ \do\quotedblbase{"}%
+ \do\quotedblleft{"}%
+ \do\quotedblright{"}%
+ \do\quoteleft{`}%
+ \do\quoteright{'}%
+ \do\quotesinglbase{,}%
+ \do\rbracechar{\}}%
+ \do\registeredsymbol{R}%
+ \do\result{=>}%
+ \do\textdegree{o}%
+ %
+ % We need to get rid of all macros, leaving only the arguments (if present).
+ % Of course this is not nearly correct, but it is the best we can do for now.
+ % makeinfo does not expand macros in the argument to @deffn, which ends up
+ % writing an index entry, and texindex isn't prepared for an index sort entry
+ % that starts with \.
+ %
+ % Since macro invocations are followed by braces, we can just redefine them
+ % to take a single TeX argument. The case of a macro invocation that
+ % goes to end-of-line is not handled.
+ %
+ \macrolist
+ \let\value\indexnofontsvalue
+}
+
+% Give the control sequence a definition that removes the {} that follows
+% its use, e.g. @AA{} -> AA
+\def\indexnofontsdef#1#2{\def#1##1{#2}}%
+
+
+
+
+% #1 is the index name, #2 is the entry text.
+\def\doind#1#2{%
+ \iflinks
+ {%
+ %
+ \requireopenindexfile{#1}%
+ \edef\writeto{\csname#1indfile\endcsname}%
+ %
+ \def\indextext{#2}%
+ \safewhatsit\doindwrite
+ }%
+ \fi
+}
+
+% Same as \doind, but for code indices
+\def\docind#1#2{%
+ \iflinks
+ {%
+ %
+ \requireopenindexfile{#1}%
+ \edef\writeto{\csname#1indfile\endcsname}%
+ %
+ \def\indextext{#2}%
+ \safewhatsit\docindwrite
+ }%
+ \fi
+}
+
+% Check if an index file has been opened, and if not, open it.
+\def\requireopenindexfile#1{%
+\ifnum\csname #1indfile\endcsname=0
+ \expandafter\newwrite \csname#1indfile\endcsname
+ \edef\suffix{#1}%
+ % A .fls suffix would conflict with the file extension for the output
+ % of -recorder, so use .f1s instead.
+ \ifx\suffix\indexisfl\def\suffix{f1}\fi
+ % Open the file
+ \immediate\openout\csname#1indfile\endcsname \jobname.\suffix
+ % Using \immediate above here prevents an object entering into the current
+ % box, which could confound checks such as those in \safewhatsit for
+ % preceding skips.
+ \typeout{Writing index file \jobname.\suffix}%
+\fi}
+\def\indexisfl{fl}
+
+% Definition for writing index entry sort key.
+{
+\catcode`\-=13
+\gdef\indexwritesortas{%
+ \begingroup
+ \indexnonalnumreappear
+ \indexwritesortasxxx}
+\gdef\indexwritesortasxxx#1{%
+ \xdef\indexsortkey{#1}\endgroup}
+}
+
+\def\indexwriteseealso#1{
+ \gdef\pagenumbertext{\string\seealso{#1}}%
+}
+\def\indexwriteseeentry#1{
+ \gdef\pagenumbertext{\string\seeentry{#1}}%
+}
+
+% The default definitions
+\def\sortas#1{}%
+\def\seealso#1{\i{\putwordSeeAlso}\ #1}% for sorted index file only
+\def\putwordSeeAlso{See also}
+\def\seeentry#1{\i{\putwordSee}\ #1}% for sorted index file only
+
+
+% Given index entry text like "aaa @subentry bbb @sortas{ZZZ}":
+% * Set \bracedtext to "{aaa}{bbb}"
+% * Set \fullindexsortkey to "aaa @subentry ZZZ"
+% * If @seealso occurs, set \pagenumbertext
+%
+\def\splitindexentry#1{%
+ \gdef\fullindexsortkey{}%
+ \xdef\bracedtext{}%
+ \def\sep{}%
+ \def\seealso##1{}%
+ \def\seeentry##1{}%
+ \expandafter\doindexsegment#1\subentry\finish\subentry
+}
+
+% append the results from the next segment
+\def\doindexsegment#1\subentry{%
+ \def\segment{#1}%
+ \ifx\segment\isfinish
+ \else
+ %
+ % Fully expand the segment, throwing away any @sortas directives, and
+ % trim spaces.
+ \edef\trimmed{\segment}%
+ \edef\trimmed{\expandafter\eatspaces\expandafter{\trimmed}}%
+ \ifincodeindex
+ \edef\trimmed{\noexpand\code{\trimmed}}%
+ \fi
+ %
+ \xdef\bracedtext{\bracedtext{\trimmed}}%
+ %
+ % Get the string to sort by. Process the segment with all
+ % font commands turned off.
+ \bgroup
+ \let\sortas\indexwritesortas
+ \let\seealso\indexwriteseealso
+ \let\seeentry\indexwriteseeentry
+ \indexnofonts
+ % The braces around the commands are recognized by texindex.
+ \def\lbracechar{{\string\indexlbrace}}%
+ \def\rbracechar{{\string\indexrbrace}}%
+ \let\{=\lbracechar
+ \let\}=\rbracechar
+ \def\@{{\string\indexatchar}}%
+ \def\atchar##1{\@}%
+ \def\backslashchar{{\string\indexbackslash}}%
+ \uccode`\~=`\\ \uppercase{\let~\backslashchar}%
+ %
+ \let\indexsortkey\empty
+ \global\let\pagenumbertext\empty
+ % Execute the segment and throw away the typeset output. This executes
+ % any @sortas or @seealso commands in this segment.
+ \setbox\dummybox = \hbox{\segment}%
+ \ifx\indexsortkey\empty{%
+ \indexnonalnumdisappear
+ \xdef\trimmed{\segment}%
+ \xdef\trimmed{\expandafter\eatspaces\expandafter{\trimmed}}%
+ \xdef\indexsortkey{\trimmed}%
+ \ifx\indexsortkey\empty\xdef\indexsortkey{ }\fi
+ }\fi
+ %
+ % Append to \fullindexsortkey.
+ \edef\tmp{\gdef\noexpand\fullindexsortkey{%
+ \fullindexsortkey\sep\indexsortkey}}%
+ \tmp
+ \egroup
+ \def\sep{\subentry}%
+ %
+ \expandafter\doindexsegment
+ \fi
+}
+\def\isfinish{\finish}%
+\newbox\dummybox % used above
+
+\let\subentry\relax
+
+% Use \ instead of @ in index files. To support old texi2dvi and texindex.
+% This works without changing the escape character used in the toc or aux
+% files because the index entries are fully expanded here, and \string uses
+% the current value of \escapechar.
+\def\escapeisbackslash{\escapechar=`\\}
+
+% Use \ in index files by default. texi2dvi didn't support @ as the escape
+% character (as it checked for "\entry" in the files, and not "@entry"). When
+% the new version of texi2dvi has had a chance to become more prevalent, then
+% the escape character can change back to @ again. This should be an easy
+% change to make now because both @ and \ are only used as escape characters in
+% index files, never standing for themselves.
+%
+\set txiindexescapeisbackslash
+
+% Write the entry in \indextext to the index file.
+%
+
+\newif\ifincodeindex
+\def\doindwrite{\incodeindexfalse\doindwritex}
+\def\docindwrite{\incodeindextrue\doindwritex}
+
+\def\doindwritex{%
+ \maybemarginindex
+ %
+ \atdummies
+ %
+ \expandafter\ifx\csname SETtxiindexescapeisbackslash\endcsname\relax\else
+ \escapeisbackslash
+ \fi
+ %
+ % For texindex which always views { and } as separators.
+ \def\{{\lbracechar{}}%
+ \def\}{\rbracechar{}}%
+ \uccode`\~=`\\ \uppercase{\def~{\backslashchar{}}}%
+ %
+ % Split the entry into primary entry and any subentries, and get the index
+ % sort key.
+ \splitindexentry\indextext
+ %
+ % Set up the complete index entry, with both the sort key and
+ % the original text, including any font commands. We write
+ % three arguments to \entry to the .?? file (four in the
+ % subentry case), texindex reduces to two when writing the .??s
+ % sorted result.
+ %
+ \edef\temp{%
+ \write\writeto{%
+ \string\entry{\fullindexsortkey}%
+ {\ifx\pagenumbertext\empty\noexpand\folio\else\pagenumbertext\fi}%
+ \bracedtext}%
+ }%
+ \temp
+}
+
+% Put the index entry in the margin if desired (undocumented).
+\def\maybemarginindex{%
+ \ifx\SETmarginindex\relax\else
+ \insert\margin{\hbox{\vrule height8pt depth3pt width0pt \relax\indextext}}%
+ \fi
+}
+\let\SETmarginindex=\relax
+
+
+% Take care of unwanted page breaks/skips around a whatsit:
+%
+% If a skip is the last thing on the list now, preserve it
+% by backing up by \lastskip, doing the \write, then inserting
+% the skip again. Otherwise, the whatsit generated by the
+% \write or \pdfdest will make \lastskip zero. The result is that
+% sequences like this:
+% @end defun
+% @tindex whatever
+% @defun ...
+% will have extra space inserted, because the \medbreak in the
+% start of the @defun won't see the skip inserted by the @end of
+% the previous defun.
+%
+% But don't do any of this if we're not in vertical mode. We
+% don't want to do a \vskip and prematurely end a paragraph.
+%
+% Avoid page breaks due to these extra skips, too.
+%
+% But wait, there is a catch there:
+% We'll have to check whether \lastskip is zero skip. \ifdim is not
+% sufficient for this purpose, as it ignores stretch and shrink parts
+% of the skip. The only way seems to be to check the textual
+% representation of the skip.
+%
+% The following is almost like \def\zeroskipmacro{0.0pt} except that
+% the ``p'' and ``t'' characters have catcode \other, not 11 (letter).
+%
+\edef\zeroskipmacro{\expandafter\the\csname z@skip\endcsname}
+%
+\newskip\whatsitskip
+\newcount\whatsitpenalty
+%
+% ..., ready, GO:
+%
+\def\safewhatsit#1{\ifhmode
+ #1%
+ \else
+ % \lastskip and \lastpenalty cannot both be nonzero simultaneously.
+ \whatsitskip = \lastskip
+ \edef\lastskipmacro{\the\lastskip}%
+ \whatsitpenalty = \lastpenalty
+ %
+ % If \lastskip is nonzero, that means the last item was a
+ % skip. And since a skip is discardable, that means this
+ % -\whatsitskip glue we're inserting is preceded by a
+ % non-discardable item, therefore it is not a potential
+ % breakpoint, therefore no \nobreak needed.
+ \ifx\lastskipmacro\zeroskipmacro
+ \else
+ \vskip-\whatsitskip
+ \fi
+ %
+ #1%
+ %
+ \ifx\lastskipmacro\zeroskipmacro
+ % If \lastskip was zero, perhaps the last item was a penalty, and
+ % perhaps it was >=10000, e.g., a \nobreak. In that case, we want
+ % to re-insert the same penalty (values >10000 are used for various
+ % signals); since we just inserted a non-discardable item, any
+ % following glue (such as a \parskip) would be a breakpoint. For example:
+ % @deffn deffn-whatever
+ % @vindex index-whatever
+ % Description.
+ % would allow a break between the index-whatever whatsit
+ % and the "Description." paragraph.
+ \ifnum\whatsitpenalty>9999 \penalty\whatsitpenalty \fi
+ \else
+ % On the other hand, if we had a nonzero \lastskip,
+ % this make-up glue would be preceded by a non-discardable item
+ % (the whatsit from the \write), so we must insert a \nobreak.
+ \nobreak\vskip\whatsitskip
+ \fi
+\fi}
+
+% The index entry written in the file actually looks like
+% \entry {sortstring}{page}{topic}
+% or
+% \entry {sortstring}{page}{topic}{subtopic}
+% The texindex program reads in these files and writes files
+% containing these kinds of lines:
+% \initial {c}
+% before the first topic whose initial is c
+% \entry {topic}{pagelist}
+% for a topic that is used without subtopics
+% \primary {topic}
+% \entry {topic}{}
+% for the beginning of a topic that is used with subtopics
+% \secondary {subtopic}{pagelist}
+% for each subtopic.
+% \secondary {subtopic}{}
+% for a subtopic with sub-subtopics
+% \tertiary {subtopic}{subsubtopic}{pagelist}
+% for each sub-subtopic.
+
+% Define the user-accessible indexing commands
+% @findex, @vindex, @kindex, @cindex.
+
+\def\findex {\fnindex}
+\def\kindex {\kyindex}
+\def\cindex {\cpindex}
+\def\vindex {\vrindex}
+\def\tindex {\tpindex}
+\def\pindex {\pgindex}
+
+% Define the macros used in formatting output of the sorted index material.
+
+% @printindex causes a particular index (the ??s file) to get printed.
+% It does not print any chapter heading (usually an @unnumbered).
+%
+\parseargdef\printindex{\begingroup
+ \dobreak \chapheadingskip{10000}%
+ %
+ \smallfonts \rm
+ \tolerance = 9500
+ \plainfrenchspacing
+ \everypar = {}% don't want the \kern\-parindent from indentation suppression.
+ %
+ % See comment in \requireopenindexfile.
+ \def\indexname{#1}\ifx\indexname\indexisfl\def\indexname{f1}\fi
+ %
+ % See if the index file exists and is nonempty.
+ \openin 1 \jobname.\indexname s
+ \ifeof 1
+ % \enddoublecolumns gets confused if there is no text in the index,
+ % and it loses the chapter title and the aux file entries for the
+ % index. The easiest way to prevent this problem is to make sure
+ % there is some text.
+ \putwordIndexNonexistent
+ \typeout{No file \jobname.\indexname s.}%
+ \else
+ % If the index file exists but is empty, then \openin leaves \ifeof
+ % false. We have to make TeX try to read something from the file, so
+ % it can discover if there is anything in it.
+ \read 1 to \thisline
+ \ifeof 1
+ \putwordIndexIsEmpty
+ \else
+ \expandafter\printindexzz\thisline\relax\relax\finish%
+ \fi
+ \fi
+ \closein 1
+\endgroup}
+
+% If the index file starts with a backslash, forgo reading the index
+% file altogether. If somebody upgrades texinfo.tex they may still have
+% old index files using \ as the escape character. Reading this would
+% at best lead to typesetting garbage, at worst a TeX syntax error.
+\def\printindexzz#1#2\finish{%
+ \expandafter\ifx\csname SETtxiindexescapeisbackslash\endcsname\relax
+ \uccode`\~=`\\ \uppercase{\if\noexpand~}\noexpand#1
+ \expandafter\ifx\csname SETtxiskipindexfileswithbackslash\endcsname\relax
+\errmessage{%
+ERROR: A sorted index file in an obsolete format was skipped.
+To fix this problem, please upgrade your version of 'texi2dvi'
+or 'texi2pdf' to that at <https://ftp.gnu.org/gnu/texinfo>.
+If you are using an old version of 'texindex' (part of the Texinfo
+distribution), you may also need to upgrade to a newer version (at least 6.0).
+You may be able to typeset the index if you run
+'texindex \jobname.\indexname' yourself.
+You could also try setting the 'txiindexescapeisbackslash' flag by
+running a command like
+'texi2dvi -t "@set txiindexescapeisbackslash" \jobname.texi'. If you do
+this, Texinfo will try to use index files in the old format.
+If you continue to have problems, deleting the index files and starting again
+might help (with 'rm \jobname.?? \jobname.??s')%
+}%
+ \else
+ (Skipped sorted index file in obsolete format)
+ \fi
+ \else
+ \begindoublecolumns
+ \input \jobname.\indexname s
+ \enddoublecolumns
+ \fi
+ \else
+ \begindoublecolumns
+ \catcode`\\=0\relax
+ %
+ % Make @ an escape character to give macros a chance to work. This
+ % should work because we (hopefully) don't otherwise use @ in index files.
+ %\catcode`\@=12\relax
+ \catcode`\@=0\relax
+ \input \jobname.\indexname s
+ \enddoublecolumns
+ \fi
+}
+
+% These macros are used by the sorted index file itself.
+% Change them to control the appearance of the index.
+
+{\catcode`\/=13 \catcode`\-=13 \catcode`\^=13 \catcode`\~=13 \catcode`\_=13
+\catcode`\|=13 \catcode`\<=13 \catcode`\>=13 \catcode`\+=13 \catcode`\"=13
+\catcode`\$=3
+\gdef\initialglyphs{%
+ % special control sequences used in the index sort key
+ \let\indexlbrace\{%
+ \let\indexrbrace\}%
+ \let\indexatchar\@%
+ \def\indexbackslash{\math{\backslash}}%
+ %
+ % Some changes for non-alphabetic characters. Using the glyphs from the
+ % math fonts looks more consistent than the typewriter font used elsewhere
+ % for these characters.
+ \uccode`\~=`\\ \uppercase{\def~{\math{\backslash}}}
+ %
+ % In case @\ is used for backslash
+ \uppercase{\let\\=~}
+ % Can't get bold backslash so don't use bold forward slash
+ \catcode`\/=13
+ \def/{{\secrmnotbold \normalslash}}%
+ \def-{{\normaldash\normaldash}}% en dash `--'
+ \def^{{\chapbf \normalcaret}}%
+ \def~{{\chapbf \normaltilde}}%
+ \def\_{%
+ \leavevmode \kern.07em \vbox{\hrule width.3em height.1ex}\kern .07em }%
+ \def|{$\vert$}%
+ \def<{$\less$}%
+ \def>{$\gtr$}%
+ \def+{$\normalplus$}%
+}}
+
+\def\initial{%
+ \bgroup
+ \initialglyphs
+ \initialx
+}
+
+\def\initialx#1{%
+ % Remove any glue we may have, we'll be inserting our own.
+ \removelastskip
+ %
+ % We like breaks before the index initials, so insert a bonus.
+ % The glue before the bonus allows a little bit of space at the
+ % bottom of a column to reduce an increase in inter-line spacing.
+ \nobreak
+ \vskip 0pt plus 5\baselineskip
+ \penalty -300
+ \vskip 0pt plus -5\baselineskip
+ %
+ % Typeset the initial. Making this add up to a whole number of
+ % baselineskips increases the chance of the dots lining up from column
+ % to column. It still won't often be perfect, because of the stretch
+ % we need before each entry, but it's better.
+ %
+ % No shrink because it confuses \balancecolumns.
+ \vskip 1.67\baselineskip plus 1\baselineskip
+ \leftline{\secfonts \kern-0.05em \secbf #1}%
+ % \secfonts is inside the argument of \leftline so that the change of
+ % \baselineskip will not affect any glue inserted before the vbox that
+ % \leftline creates.
+ % Do our best not to break after the initial.
+ \nobreak
+ \vskip .33\baselineskip plus .1\baselineskip
+ \egroup % \initialglyphs
+}
+
+\newdimen\entryrightmargin
+\entryrightmargin=0pt
+
+% \entry typesets a paragraph consisting of the text (#1), dot leaders, and
+% then page number (#2) flushed to the right margin. It is used for index
+% and table of contents entries. The paragraph is indented by \leftskip.
+%
+\def\entry{%
+ \begingroup
+ %
+ % Start a new paragraph if necessary, so our assignments below can't
+ % affect previous text.
+ \par
+ %
+ % No extra space above this paragraph.
+ \parskip = 0in
+ %
+ % When reading the text of entry, convert explicit line breaks
+ % from @* into spaces. The user might give these in long section
+ % titles, for instance.
+ \def\*{\unskip\space\ignorespaces}%
+ \def\entrybreak{\hfil\break}% An undocumented command
+ %
+ % Swallow the left brace of the text (first parameter):
+ \afterassignment\doentry
+ \let\temp =
+}
+\def\entrybreak{\unskip\space\ignorespaces}%
+\def\doentry{%
+ % Save the text of the entry
+ \global\setbox\boxA=\hbox\bgroup
+ \bgroup % Instead of the swallowed brace.
+ \noindent
+ \aftergroup\finishentry
+ % And now comes the text of the entry.
+ % Not absorbing as a macro argument reduces the chance of problems
+ % with catcodes occurring.
+}
+{\catcode`\@=11
+\gdef\finishentry#1{%
+ \egroup % end box A
+ \dimen@ = \wd\boxA % Length of text of entry
+ \global\setbox\boxA=\hbox\bgroup
+ \unhbox\boxA
+ % #1 is the page number.
+ %
+ % Get the width of the page numbers, and only use
+ % leaders if they are present.
+ \global\setbox\boxB = \hbox{#1}%
+ \ifdim\wd\boxB = 0pt
+ \null\nobreak\hfill\ %
+ \else
+ %
+ \null\nobreak\indexdotfill % Have leaders before the page number.
+ %
+ \ifpdforxetex
+ \pdfgettoks#1.%
+ \hskip\skip\thinshrinkable\the\toksA
+ \else
+ \hskip\skip\thinshrinkable #1%
+ \fi
+ \fi
+ \egroup % end \boxA
+ \ifdim\wd\boxB = 0pt
+ \noindent\unhbox\boxA\par
+ \nobreak
+ \else\bgroup
+ % We want the text of the entries to be aligned to the left, and the
+ % page numbers to be aligned to the right.
+ %
+ \parindent = 0pt
+ \advance\leftskip by 0pt plus 1fil
+ \advance\leftskip by 0pt plus -1fill
+ \rightskip = 0pt plus -1fil
+ \advance\rightskip by 0pt plus 1fill
+ % Cause last line, which could consist of page numbers on their own
+ % if the list of page numbers is long, to be aligned to the right.
+ \parfillskip=0pt plus -1fill
+ %
+ \advance\rightskip by \entryrightmargin
+ % Determine how far we can stretch into the margin.
+ % This allows, e.g., "Appendix H GNU Free Documentation License" to
+ % fit on one line in @letterpaper format.
+ \ifdim\entryrightmargin>2.1em
+ \dimen@i=2.1em
+ \else
+ \dimen@i=0em
+ \fi
+ \advance \parfillskip by 0pt minus 1\dimen@i
+ %
+ \dimen@ii = \hsize
+ \advance\dimen@ii by -1\leftskip
+ \advance\dimen@ii by -1\entryrightmargin
+ \advance\dimen@ii by 1\dimen@i
+ \ifdim\wd\boxA > \dimen@ii % If the entry doesn't fit in one line
+ \ifdim\dimen@ > 0.8\dimen@ii % due to long index text
+ % Try to split the text roughly evenly. \dimen@ will be the length of
+ % the first line.
+ \dimen@ = 0.7\dimen@
+ \dimen@ii = \hsize
+ \ifnum\dimen@>\dimen@ii
+ % If the entry is too long (for example, if it needs more than
+ % two lines), use all the space in the first line.
+ \dimen@ = \dimen@ii
+ \fi
+ \advance\leftskip by 0pt plus 1fill % ragged right
+ \advance \dimen@ by 1\rightskip
+ \parshape = 2 0pt \dimen@ 0em \dimen@ii
+ % Ideally we'd add a finite glue at the end of the first line only,
+ % instead of using \parshape with explicit line lengths, but TeX
+ % doesn't seem to provide a way to do such a thing.
+ %
+ % Indent all lines but the first one.
+ \advance\leftskip by 1em
+ \advance\parindent by -1em
+ \fi\fi
+ \indent % start paragraph
+ \unhbox\boxA
+ %
+ % Do not prefer a separate line ending with a hyphen to fewer lines.
+ \finalhyphendemerits = 0
+ %
+ % Word spacing - no stretch
+ \spaceskip=\fontdimen2\font minus \fontdimen4\font
+ %
+ \linepenalty=1000 % Discourage line breaks.
+ \hyphenpenalty=5000 % Discourage hyphenation.
+ %
+ \par % format the paragraph
+ \egroup % The \vbox
+ \fi
+ \endgroup
+}}
+
+\newskip\thinshrinkable
+\skip\thinshrinkable=.15em minus .15em
+
+% Like plain.tex's \dotfill, except uses up at least 1 em.
+% The filll stretch here overpowers both the fil and fill stretch to push
+% the page number to the right.
+\def\indexdotfill{\cleaders
+ \hbox{$\mathsurround=0pt \mkern1.5mu.\mkern1.5mu$}\hskip 1em plus 1filll}
+
+
+\def\primary #1{\line{#1\hfil}}
+
+\def\secondary{\indententry{0.5cm}}
+\def\tertiary{\indententry{1cm}}
+
+\def\indententry#1#2#3{%
+ \bgroup
+ \leftskip=#1
+ \entry{#2}{#3}%
+ \egroup
+}
+
+% Define two-column mode, which we use to typeset indexes.
+% Adapted from the TeXbook, page 416, which is to say,
+% the manmac.tex format used to print the TeXbook itself.
+\catcode`\@=11 % private names
+
+\newbox\partialpage
+\newdimen\doublecolumnhsize
+
+\def\begindoublecolumns{\begingroup % ended by \enddoublecolumns
+ % If not much space left on page, start a new page.
+ \ifdim\pagetotal>0.8\vsize\vfill\eject\fi
+ %
+ % Grab any single-column material above us.
+ \output = {%
+ \savetopmark
+ %
+ \global\setbox\partialpage = \vbox{%
+ % Unvbox the main output page.
+ \unvbox\PAGE
+ \kern-\topskip \kern\baselineskip
+ }%
+ }%
+ \eject % run that output routine to set \partialpage
+ %
+ % Use the double-column output routine for subsequent pages.
+ \output = {\doublecolumnout}%
+ %
+ % Change the page size parameters. We could do this once outside this
+ % routine, in each of @smallbook, @afourpaper, and the default 8.5x11
+ % format, but then we repeat the same computation. Repeating a couple
+ % of assignments once per index is clearly meaningless for the
+ % execution time, so we may as well do it in one place.
+ %
+ % First we halve the line length, less a little for the gutter between
+ % the columns. We compute the gutter based on the line length, so it
+ % changes automatically with the paper format. The magic constant
+ % below is chosen so that the gutter has the same value (well, +-<1pt)
+ % as it did when we hard-coded it.
+ %
+ % We put the result in a separate register, \doublecolumhsize, so we
+ % can restore it in \pagesofar, after \hsize itself has (potentially)
+ % been clobbered.
+ %
+ \doublecolumnhsize = \hsize
+ \advance\doublecolumnhsize by -.04154\hsize
+ \divide\doublecolumnhsize by 2
+ \hsize = \doublecolumnhsize
+ %
+ % Get the available space for the double columns -- the normal
+ % (undoubled) page height minus any material left over from the
+ % previous page.
+ \advance\vsize by -\ht\partialpage
+ \vsize = 2\vsize
+ %
+ % For the benefit of balancing columns
+ \advance\baselineskip by 0pt plus 0.5pt
+}
+
+% The double-column output routine for all double-column pages except
+% the last, which is done by \balancecolumns.
+%
+\def\doublecolumnout{%
+ %
+ \savetopmark
+ \splittopskip=\topskip \splitmaxdepth=\maxdepth
+ \dimen@ = \vsize
+ \divide\dimen@ by 2
+ %
+ % box0 will be the left-hand column, box2 the right.
+ \setbox0=\vsplit\PAGE to\dimen@ \setbox2=\vsplit\PAGE to\dimen@
+ \global\advance\vsize by 2\ht\partialpage
+ \onepageout\pagesofar % empty except for the first time we are called
+ \unvbox\PAGE
+ \penalty\outputpenalty
+}
+%
+% Re-output the contents of the output page -- any previous material,
+% followed by the two boxes we just split, in box0 and box2.
+\def\pagesofar{%
+ \unvbox\partialpage
+ %
+ \hsize = \doublecolumnhsize
+ \wd0=\hsize \wd2=\hsize
+ \hbox to\txipagewidth{\box0\hfil\box2}%
+}
+
+
+% Finished with double columns.
+\def\enddoublecolumns{%
+ % The following penalty ensures that the page builder is exercised
+ % _before_ we change the output routine. This is necessary in the
+ % following situation:
+ %
+ % The last section of the index consists only of a single entry.
+ % Before this section, \pagetotal is less than \pagegoal, so no
+ % break occurs before the last section starts. However, the last
+ % section, consisting of \initial and the single \entry, does not
+ % fit on the page and has to be broken off. Without the following
+ % penalty the page builder will not be exercised until \eject
+ % below, and by that time we'll already have changed the output
+ % routine to the \balancecolumns version, so the next-to-last
+ % double-column page will be processed with \balancecolumns, which
+ % is wrong: The two columns will go to the main vertical list, with
+ % the broken-off section in the recent contributions. As soon as
+ % the output routine finishes, TeX starts reconsidering the page
+ % break. The two columns and the broken-off section both fit on the
+ % page, because the two columns now take up only half of the page
+ % goal. When TeX sees \eject from below which follows the final
+ % section, it invokes the new output routine that we've set after
+ % \balancecolumns below; \onepageout will try to fit the two columns
+ % and the final section into the vbox of \txipageheight (see
+ % \pagebody), causing an overfull box.
+ %
+ % Note that glue won't work here, because glue does not exercise the
+ % page builder, unlike penalties (see The TeXbook, pp. 280-281).
+ \penalty0
+ %
+ \output = {%
+ % Split the last of the double-column material.
+ \savetopmark
+ \balancecolumns
+ }%
+ \eject % call the \output just set
+ \ifdim\pagetotal=0pt
+ % Having called \balancecolumns once, we do not
+ % want to call it again. Therefore, reset \output to its normal
+ % definition right away.
+ \global\output=\expandafter{\the\defaultoutput}
+ %
+ \endgroup % started in \begindoublecolumns
+ % Leave the double-column material on the current page, no automatic
+ % page break.
+ \box\balancedcolumns
+ %
+ % \pagegoal was set to the doubled \vsize above, since we restarted
+ % the current page. We're now back to normal single-column
+ % typesetting, so reset \pagegoal to the normal \vsize.
+ \global\vsize = \txipageheight %
+ \pagegoal = \txipageheight %
+ \else
+ % We had some left-over material. This might happen when \doublecolumnout
+ % is called in \balancecolumns. Try again.
+ \expandafter\enddoublecolumns
+ \fi
+}
+\newbox\balancedcolumns
+\setbox\balancedcolumns=\vbox{shouldnt see this}%
+%
+% Only called for the last of the double column material. \doublecolumnout
+% does the others.
+\def\balancecolumns{%
+ \setbox0 = \vbox{\unvbox\PAGE}% like \box255 but more efficient, see p.120.
+ \dimen@ = \ht0
+ \ifdim\dimen@<7\baselineskip
+ % Don't split a short final column in two.
+ \setbox2=\vbox{}%
+ \global\setbox\balancedcolumns=\vbox{\pagesofar}%
+ \else
+ % double the leading vertical space
+ \advance\dimen@ by \topskip
+ \advance\dimen@ by-\baselineskip
+ \divide\dimen@ by 2 % target to split to
+ \dimen@ii = \dimen@
+ \splittopskip = \topskip
+ % Loop until left column is at least as high as the right column.
+ {%
+ \vbadness = 10000
+ \loop
+ \global\setbox3 = \copy0
+ \global\setbox1 = \vsplit3 to \dimen@
+ \ifdim\ht1<\ht3
+ \global\advance\dimen@ by 1pt
+ \repeat
+ }%
+ % Now the left column is in box 1, and the right column in box 3.
+ %
+ % Check whether the left column has come out higher than the page itself.
+ % (Note that we have doubled \vsize for the double columns, so
+ % the actual height of the page is 0.5\vsize).
+ \ifdim2\ht1>\vsize
+ % It appears that we have been called upon to balance too much material.
+ % Output some of it with \doublecolumnout, leaving the rest on the page.
+ \setbox\PAGE=\box0
+ \doublecolumnout
+ \else
+ % Compare the heights of the two columns.
+ \ifdim4\ht1>5\ht3
+ % Column heights are too different, so don't make their bottoms
+ % flush with each other.
+ \setbox2=\vbox to \ht1 {\unvbox3\vfill}%
+ \setbox0=\vbox to \ht1 {\unvbox1\vfill}%
+ \else
+ % Make column bottoms flush with each other.
+ \setbox2=\vbox to\ht1{\unvbox3\unskip}%
+ \setbox0=\vbox to\ht1{\unvbox1\unskip}%
+ \fi
+ \global\setbox\balancedcolumns=\vbox{\pagesofar}%
+ \fi
+ \fi
+ %
+}
+\catcode`\@ = \other
+
+
+\message{sectioning,}
+% Chapters, sections, etc.
+
+% Let's start with @part.
+\outer\parseargdef\part{\partzzz{#1}}
+\def\partzzz#1{%
+ \chapoddpage
+ \null
+ \vskip.3\vsize % move it down on the page a bit
+ \begingroup
+ \noindent \titlefonts\rm #1\par % the text
+ \let\lastnode=\empty % no node to associate with
+ \writetocentry{part}{#1}{}% but put it in the toc
+ \headingsoff % no headline or footline on the part page
+ % This outputs a mark at the end of the page that clears \thischapter
+ % and \thissection, as is done in \startcontents.
+ \let\pchapsepmacro\relax
+ \chapmacro{}{Yomitfromtoc}{}%
+ \chapoddpage
+ \endgroup
+}
+
+% \unnumberedno is an oxymoron. But we count the unnumbered
+% sections so that we can refer to them unambiguously in the pdf
+% outlines by their "section number". We avoid collisions with chapter
+% numbers by starting them at 10000. (If a document ever has 10000
+% chapters, we're in trouble anyway, I'm sure.)
+\newcount\unnumberedno \unnumberedno = 10000
+\newcount\chapno
+\newcount\secno \secno=0
+\newcount\subsecno \subsecno=0
+\newcount\subsubsecno \subsubsecno=0
+
+% This counter is funny since it counts through charcodes of letters A, B, ...
+\newcount\appendixno \appendixno = `\@
+%
+% \def\appendixletter{\char\the\appendixno}
+% We do the following ugly conditional instead of the above simple
+% construct for the sake of pdftex, which needs the actual
+% letter in the expansion, not just typeset.
+%
+\def\appendixletter{%
+ \ifnum\appendixno=`A A%
+ \else\ifnum\appendixno=`B B%
+ \else\ifnum\appendixno=`C C%
+ \else\ifnum\appendixno=`D D%
+ \else\ifnum\appendixno=`E E%
+ \else\ifnum\appendixno=`F F%
+ \else\ifnum\appendixno=`G G%
+ \else\ifnum\appendixno=`H H%
+ \else\ifnum\appendixno=`I I%
+ \else\ifnum\appendixno=`J J%
+ \else\ifnum\appendixno=`K K%
+ \else\ifnum\appendixno=`L L%
+ \else\ifnum\appendixno=`M M%
+ \else\ifnum\appendixno=`N N%
+ \else\ifnum\appendixno=`O O%
+ \else\ifnum\appendixno=`P P%
+ \else\ifnum\appendixno=`Q Q%
+ \else\ifnum\appendixno=`R R%
+ \else\ifnum\appendixno=`S S%
+ \else\ifnum\appendixno=`T T%
+ \else\ifnum\appendixno=`U U%
+ \else\ifnum\appendixno=`V V%
+ \else\ifnum\appendixno=`W W%
+ \else\ifnum\appendixno=`X X%
+ \else\ifnum\appendixno=`Y Y%
+ \else\ifnum\appendixno=`Z Z%
+ % The \the is necessary, despite appearances, because \appendixletter is
+ % expanded while writing the .toc file. \char\appendixno is not
+ % expandable, thus it is written literally, thus all appendixes come out
+ % with the same letter (or @) in the toc without it.
+ \else\char\the\appendixno
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}
+
+% Each @chapter defines these (using marks) as the number+name, number
+% and name of the chapter. Page headings and footings can use
+% these. @section does likewise.
+\def\thischapter{}
+\def\thischapternum{}
+\def\thischaptername{}
+\def\thissection{}
+\def\thissectionnum{}
+\def\thissectionname{}
+
+\newcount\absseclevel % used to calculate proper heading level
+\newcount\secbase\secbase=0 % @raisesections/@lowersections modify this count
+
+% @raisesections: treat @section as chapter, @subsection as section, etc.
+\def\raisesections{\global\advance\secbase by -1}
+
+% @lowersections: treat @chapter as section, @section as subsection, etc.
+\def\lowersections{\global\advance\secbase by 1}
+
+% we only have subsub.
+\chardef\maxseclevel = 3
+%
+% A numbered section within an unnumbered changes to unnumbered too.
+% To achieve this, remember the "biggest" unnum. sec. we are currently in:
+\chardef\unnlevel = \maxseclevel
+%
+% Trace whether the current chapter is an appendix or not:
+% \chapheadtype is "N" or "A", unnumbered chapters are ignored.
+\def\chapheadtype{N}
+
+% Choose a heading macro
+% #1 is heading type
+% #2 is heading level
+% #3 is text for heading
+\def\genhead#1#2#3{%
+ % Compute the abs. sec. level:
+ \absseclevel=#2
+ \advance\absseclevel by \secbase
+ % Make sure \absseclevel doesn't fall outside the range:
+ \ifnum \absseclevel < 0
+ \absseclevel = 0
+ \else
+ \ifnum \absseclevel > 3
+ \absseclevel = 3
+ \fi
+ \fi
+ % The heading type:
+ \def\headtype{#1}%
+ \if \headtype U%
+ \ifnum \absseclevel < \unnlevel
+ \chardef\unnlevel = \absseclevel
+ \fi
+ \else
+ % Check for appendix sections:
+ \ifnum \absseclevel = 0
+ \edef\chapheadtype{\headtype}%
+ \else
+ \if \headtype A\if \chapheadtype N%
+ \errmessage{@appendix... within a non-appendix chapter}%
+ \fi\fi
+ \fi
+ % Check for numbered within unnumbered:
+ \ifnum \absseclevel > \unnlevel
+ \def\headtype{U}%
+ \else
+ \chardef\unnlevel = 3
+ \fi
+ \fi
+ % Now print the heading:
+ \if \headtype U%
+ \ifcase\absseclevel
+ \unnumberedzzz{#3}%
+ \or \unnumberedseczzz{#3}%
+ \or \unnumberedsubseczzz{#3}%
+ \or \unnumberedsubsubseczzz{#3}%
+ \fi
+ \else
+ \if \headtype A%
+ \ifcase\absseclevel
+ \appendixzzz{#3}%
+ \or \appendixsectionzzz{#3}%
+ \or \appendixsubseczzz{#3}%
+ \or \appendixsubsubseczzz{#3}%
+ \fi
+ \else
+ \ifcase\absseclevel
+ \chapterzzz{#3}%
+ \or \seczzz{#3}%
+ \or \numberedsubseczzz{#3}%
+ \or \numberedsubsubseczzz{#3}%
+ \fi
+ \fi
+ \fi
+ \suppressfirstparagraphindent
+}
+
+% an interface:
+\def\numhead{\genhead N}
+\def\apphead{\genhead A}
+\def\unnmhead{\genhead U}
+
+% @chapter, @appendix, @unnumbered. Increment top-level counter, reset
+% all lower-level sectioning counters to zero.
+%
+% Also set \chaplevelprefix, which we prepend to @float sequence numbers
+% (e.g., figures), q.v. By default (before any chapter), that is empty.
+\let\chaplevelprefix = \empty
+%
+\outer\parseargdef\chapter{\numhead0{#1}} % normally numhead0 calls chapterzzz
+\def\chapterzzz#1{%
+ % section resetting is \global in case the chapter is in a group, such
+ % as an @include file.
+ \global\secno=0 \global\subsecno=0 \global\subsubsecno=0
+ \global\advance\chapno by 1
+ %
+ % Used for \float.
+ \gdef\chaplevelprefix{\the\chapno.}%
+ \resetallfloatnos
+ %
+ % \putwordChapter can contain complex things in translations.
+ \toks0=\expandafter{\putwordChapter}%
+ \message{\the\toks0 \space \the\chapno}%
+ %
+ % Write the actual heading.
+ \chapmacro{#1}{Ynumbered}{\the\chapno}%
+ %
+ % So @section and the like are numbered underneath this chapter.
+ \global\let\section = \numberedsec
+ \global\let\subsection = \numberedsubsec
+ \global\let\subsubsection = \numberedsubsubsec
+}
+
+\outer\parseargdef\appendix{\apphead0{#1}} % normally calls appendixzzz
+%
+\def\appendixzzz#1{%
+ \global\secno=0 \global\subsecno=0 \global\subsubsecno=0
+ \global\advance\appendixno by 1
+ \gdef\chaplevelprefix{\appendixletter.}%
+ \resetallfloatnos
+ %
+ % \putwordAppendix can contain complex things in translations.
+ \toks0=\expandafter{\putwordAppendix}%
+ \message{\the\toks0 \space \appendixletter}%
+ %
+ \chapmacro{#1}{Yappendix}{\appendixletter}%
+ %
+ \global\let\section = \appendixsec
+ \global\let\subsection = \appendixsubsec
+ \global\let\subsubsection = \appendixsubsubsec
+}
+
+% normally unnmhead0 calls unnumberedzzz:
+\outer\parseargdef\unnumbered{\unnmhead0{#1}}
+\def\unnumberedzzz#1{%
+ \global\secno=0 \global\subsecno=0 \global\subsubsecno=0
+ \global\advance\unnumberedno by 1
+ %
+ % Since an unnumbered has no number, no prefix for figures.
+ \global\let\chaplevelprefix = \empty
+ \resetallfloatnos
+ %
+ % This used to be simply \message{#1}, but TeX fully expands the
+ % argument to \message. Therefore, if #1 contained @-commands, TeX
+ % expanded them. For example, in `@unnumbered The @cite{Book}', TeX
+ % expanded @cite (which turns out to cause errors because \cite is meant
+ % to be executed, not expanded).
+ %
+ % Anyway, we don't want the fully-expanded definition of @cite to appear
+ % as a result of the \message, we just want `@cite' itself. We use
+ % \the<toks register> to achieve this: TeX expands \the<toks> only once,
+ % simply yielding the contents of <toks register>. (We also do this for
+ % the toc entries.)
+ \toks0 = {#1}%
+ \message{(\the\toks0)}%
+ %
+ \chapmacro{#1}{Ynothing}{\the\unnumberedno}%
+ %
+ \global\let\section = \unnumberedsec
+ \global\let\subsection = \unnumberedsubsec
+ \global\let\subsubsection = \unnumberedsubsubsec
+}
+
+% @centerchap is like @unnumbered, but the heading is centered.
+\outer\parseargdef\centerchap{%
+ \let\centerparametersmaybe = \centerparameters
+ \unnmhead0{#1}%
+ \let\centerparametersmaybe = \relax
+}
+
+% @top is like @unnumbered.
+\let\top\unnumbered
+
+% Sections.
+%
+\outer\parseargdef\numberedsec{\numhead1{#1}} % normally calls seczzz
+\def\seczzz#1{%
+ \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1
+ \sectionheading{#1}{sec}{Ynumbered}{\the\chapno.\the\secno}%
+}
+
+% normally calls appendixsectionzzz:
+\outer\parseargdef\appendixsection{\apphead1{#1}}
+\def\appendixsectionzzz#1{%
+ \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1
+ \sectionheading{#1}{sec}{Yappendix}{\appendixletter.\the\secno}%
+}
+\let\appendixsec\appendixsection
+
+% normally calls unnumberedseczzz:
+\outer\parseargdef\unnumberedsec{\unnmhead1{#1}}
+\def\unnumberedseczzz#1{%
+ \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1
+ \sectionheading{#1}{sec}{Ynothing}{\the\unnumberedno.\the\secno}%
+}
+
+% Subsections.
+%
+% normally calls numberedsubseczzz:
+\outer\parseargdef\numberedsubsec{\numhead2{#1}}
+\def\numberedsubseczzz#1{%
+ \global\subsubsecno=0 \global\advance\subsecno by 1
+ \sectionheading{#1}{subsec}{Ynumbered}{\the\chapno.\the\secno.\the\subsecno}%
+}
+
+% normally calls appendixsubseczzz:
+\outer\parseargdef\appendixsubsec{\apphead2{#1}}
+\def\appendixsubseczzz#1{%
+ \global\subsubsecno=0 \global\advance\subsecno by 1
+ \sectionheading{#1}{subsec}{Yappendix}%
+ {\appendixletter.\the\secno.\the\subsecno}%
+}
+
+% normally calls unnumberedsubseczzz:
+\outer\parseargdef\unnumberedsubsec{\unnmhead2{#1}}
+\def\unnumberedsubseczzz#1{%
+ \global\subsubsecno=0 \global\advance\subsecno by 1
+ \sectionheading{#1}{subsec}{Ynothing}%
+ {\the\unnumberedno.\the\secno.\the\subsecno}%
+}
+
+% Subsubsections.
+%
+% normally numberedsubsubseczzz:
+\outer\parseargdef\numberedsubsubsec{\numhead3{#1}}
+\def\numberedsubsubseczzz#1{%
+ \global\advance\subsubsecno by 1
+ \sectionheading{#1}{subsubsec}{Ynumbered}%
+ {\the\chapno.\the\secno.\the\subsecno.\the\subsubsecno}%
+}
+
+% normally appendixsubsubseczzz:
+\outer\parseargdef\appendixsubsubsec{\apphead3{#1}}
+\def\appendixsubsubseczzz#1{%
+ \global\advance\subsubsecno by 1
+ \sectionheading{#1}{subsubsec}{Yappendix}%
+ {\appendixletter.\the\secno.\the\subsecno.\the\subsubsecno}%
+}
+
+% normally unnumberedsubsubseczzz:
+\outer\parseargdef\unnumberedsubsubsec{\unnmhead3{#1}}
+\def\unnumberedsubsubseczzz#1{%
+ \global\advance\subsubsecno by 1
+ \sectionheading{#1}{subsubsec}{Ynothing}%
+ {\the\unnumberedno.\the\secno.\the\subsecno.\the\subsubsecno}%
+}
+
+% These macros control what the section commands do, according
+% to what kind of chapter we are in (ordinary, appendix, or unnumbered).
+% Define them by default for a numbered chapter.
+\let\section = \numberedsec
+\let\subsection = \numberedsubsec
+\let\subsubsection = \numberedsubsubsec
+
+% Define @majorheading, @heading and @subheading
+
+\def\majorheading{%
+ {\advance\chapheadingskip by 10pt \chapbreak }%
+ \parsearg\chapheadingzzz
+}
+
+\def\chapheading{\chapbreak \parsearg\chapheadingzzz}
+\def\chapheadingzzz#1{%
+ \vbox{\chapfonts \raggedtitlesettings #1\par}%
+ \nobreak\bigskip \nobreak
+ \suppressfirstparagraphindent
+}
+
+% @heading, @subheading, @subsubheading.
+\parseargdef\heading{\sectionheading{#1}{sec}{Yomitfromtoc}{}
+ \suppressfirstparagraphindent}
+\parseargdef\subheading{\sectionheading{#1}{subsec}{Yomitfromtoc}{}
+ \suppressfirstparagraphindent}
+\parseargdef\subsubheading{\sectionheading{#1}{subsubsec}{Yomitfromtoc}{}
+ \suppressfirstparagraphindent}
+
+% These macros generate a chapter, section, etc. heading only
+% (including whitespace, linebreaking, etc. around it),
+% given all the information in convenient, parsed form.
+
+% Args are the skip and penalty (usually negative)
+\def\dobreak#1#2{\par\ifdim\lastskip<#1\removelastskip\penalty#2\vskip#1\fi}
+
+% Parameter controlling skip before chapter headings (if needed)
+\newskip\chapheadingskip
+
+% Define plain chapter starts, and page on/off switching for it.
+\def\chapbreak{\dobreak \chapheadingskip {-4000}}
+
+% Start a new page
+\def\chappager{\par\vfill\supereject}
+
+% \chapoddpage - start on an odd page for a new chapter
+% Because \domark is called before \chapoddpage, the filler page will
+% get the headings for the next chapter, which is wrong. But we don't
+% care -- we just disable all headings on the filler page.
+\def\chapoddpage{%
+ \chappager
+ \ifodd\pageno \else
+ \begingroup
+ \headingsoff
+ \null
+ \chappager
+ \endgroup
+ \fi
+}
+
+\parseargdef\setchapternewpage{\csname CHAPPAG#1\endcsname}
+
+\def\CHAPPAGoff{%
+\global\let\contentsalignmacro = \chappager
+\global\let\pchapsepmacro=\chapbreak
+\global\def\HEADINGSon{\HEADINGSsinglechapoff}}
+
+\def\CHAPPAGon{%
+\global\let\contentsalignmacro = \chappager
+\global\let\pchapsepmacro=\chappager
+\global\def\HEADINGSon{\HEADINGSsingle}}
+
+\def\CHAPPAGodd{%
+\global\let\contentsalignmacro = \chapoddpage
+\global\let\pchapsepmacro=\chapoddpage
+\global\def\HEADINGSon{\HEADINGSdouble}}
+
+\CHAPPAGon
+
+% \chapmacro - Chapter opening.
+%
+% #1 is the text, #2 is the section type (Ynumbered, Ynothing,
+% Yappendix, Yomitfromtoc), #3 the chapter number.
+% Not used for @heading series.
+%
+% To test against our argument.
+\def\Ynothingkeyword{Ynothing}
+\def\Yappendixkeyword{Yappendix}
+\def\Yomitfromtockeyword{Yomitfromtoc}
+%
+\def\chapmacro#1#2#3{%
+ \expandafter\ifx\thisenv\titlepage\else
+ \checkenv{}% chapters, etc., should not start inside an environment.
+ \fi
+ % Insert the first mark before the heading break (see notes for \domark).
+ \let\prevchapterdefs=\currentchapterdefs
+ \let\prevsectiondefs=\currentsectiondefs
+ \gdef\currentsectiondefs{\gdef\thissectionname{}\gdef\thissectionnum{}%
+ \gdef\thissection{}}%
+ %
+ \def\temptype{#2}%
+ \ifx\temptype\Ynothingkeyword
+ \gdef\currentchapterdefs{\gdef\thischaptername{#1}\gdef\thischapternum{}%
+ \gdef\thischapter{\thischaptername}}%
+ \else\ifx\temptype\Yomitfromtockeyword
+ \gdef\currentchapterdefs{\gdef\thischaptername{#1}\gdef\thischapternum{}%
+ \gdef\thischapter{}}%
+ \else\ifx\temptype\Yappendixkeyword
+ \toks0={#1}%
+ \xdef\currentchapterdefs{%
+ \gdef\noexpand\thischaptername{\the\toks0}%
+ \gdef\noexpand\thischapternum{\appendixletter}%
+ % \noexpand\putwordAppendix avoids expanding indigestible
+ % commands in some of the translations.
+ \gdef\noexpand\thischapter{\noexpand\putwordAppendix{}
+ \noexpand\thischapternum:
+ \noexpand\thischaptername}%
+ }%
+ \else
+ \toks0={#1}%
+ \xdef\currentchapterdefs{%
+ \gdef\noexpand\thischaptername{\the\toks0}%
+ \gdef\noexpand\thischapternum{\the\chapno}%
+ % \noexpand\putwordChapter avoids expanding indigestible
+ % commands in some of the translations.
+ \gdef\noexpand\thischapter{\noexpand\putwordChapter{}
+ \noexpand\thischapternum:
+ \noexpand\thischaptername}%
+ }%
+ \fi\fi\fi
+ %
+ % Output the mark. Pass it through \safewhatsit, to take care of
+ % the preceding space.
+ \safewhatsit\domark
+ %
+ % Insert the chapter heading break.
+ \pchapsepmacro
+ %
+ % Now the second mark, after the heading break. No break points
+ % between here and the heading.
+ \let\prevchapterdefs=\currentchapterdefs
+ \let\prevsectiondefs=\currentsectiondefs
+ \domark
+ %
+ {%
+ \chapfonts \rm
+ \let\footnote=\errfootnoteheading % give better error message
+ %
+ % Have to define \currentsection before calling \donoderef, because the
+ % xref code eventually uses it. On the other hand, it has to be called
+ % after \pchapsepmacro, or the headline will change too soon.
+ \gdef\currentsection{#1}%
+ %
+ % Only insert the separating space if we have a chapter/appendix
+ % number, and don't print the unnumbered ``number''.
+ \ifx\temptype\Ynothingkeyword
+ \setbox0 = \hbox{}%
+ \def\toctype{unnchap}%
+ \else\ifx\temptype\Yomitfromtockeyword
+ \setbox0 = \hbox{}% contents like unnumbered, but no toc entry
+ \def\toctype{omit}%
+ \else\ifx\temptype\Yappendixkeyword
+ \setbox0 = \hbox{\putwordAppendix{} #3\enspace}%
+ \def\toctype{app}%
+ \else
+ \setbox0 = \hbox{#3\enspace}%
+ \def\toctype{numchap}%
+ \fi\fi\fi
+ %
+ % Write the toc entry for this chapter. Must come before the
+ % \donoderef, because we include the current node name in the toc
+ % entry, and \donoderef resets it to empty.
+ \writetocentry{\toctype}{#1}{#3}%
+ %
+ % For pdftex, we have to write out the node definition (aka, make
+ % the pdfdest) after any page break, but before the actual text has
+ % been typeset. If the destination for the pdf outline is after the
+ % text, then jumping from the outline may wind up with the text not
+ % being visible, for instance under high magnification.
+ \donoderef{#2}%
+ %
+ % Typeset the actual heading.
+ \nobreak % Avoid page breaks at the interline glue.
+ \vbox{\raggedtitlesettings \hangindent=\wd0 \centerparametersmaybe
+ \unhbox0 #1\par}%
+ }%
+ \nobreak\bigskip % no page break after a chapter title
+ \nobreak
+}
+
+% @centerchap -- centered and unnumbered.
+\let\centerparametersmaybe = \relax
+\def\centerparameters{%
+ \advance\rightskip by 3\rightskip
+ \leftskip = \rightskip
+ \parfillskip = 0pt
+}
+
+
+% Section titles. These macros combine the section number parts and
+% call the generic \sectionheading to do the printing.
+%
+\newskip\secheadingskip
+\def\secheadingbreak{\dobreak \secheadingskip{-1000}}
+
+% Subsection titles.
+\newskip\subsecheadingskip
+\def\subsecheadingbreak{\dobreak \subsecheadingskip{-500}}
+
+% Subsubsection titles.
+\def\subsubsecheadingskip{\subsecheadingskip}
+\def\subsubsecheadingbreak{\subsecheadingbreak}
+
+
+% Print any size, any type, section title.
+%
+% #1 is the text of the title,
+% #2 is the section level (sec/subsec/subsubsec),
+% #3 is the section type (Ynumbered, Ynothing, Yappendix, Yomitfromtoc),
+% #4 is the section number.
+%
+\def\seckeyword{sec}
+%
+\def\sectionheading#1#2#3#4{%
+ {%
+ \def\sectionlevel{#2}%
+ \def\temptype{#3}%
+ %
+ % It is ok for the @heading series commands to appear inside an
+ % environment (it's been historically allowed, though the logic is
+ % dubious), but not the others.
+ \ifx\temptype\Yomitfromtockeyword\else
+ \checkenv{}% non-@*heading should not be in an environment.
+ \fi
+ \let\footnote=\errfootnoteheading
+ %
+ % Switch to the right set of fonts.
+ \csname #2fonts\endcsname \rm
+ %
+ % Insert first mark before the heading break (see notes for \domark).
+ \let\prevsectiondefs=\currentsectiondefs
+ \ifx\temptype\Ynothingkeyword
+ \ifx\sectionlevel\seckeyword
+ \gdef\currentsectiondefs{\gdef\thissectionname{#1}\gdef\thissectionnum{}%
+ \gdef\thissection{\thissectionname}}%
+ \fi
+ \else\ifx\temptype\Yomitfromtockeyword
+ % Don't redefine \thissection.
+ \else\ifx\temptype\Yappendixkeyword
+ \ifx\sectionlevel\seckeyword
+ \toks0={#1}%
+ \xdef\currentsectiondefs{%
+ \gdef\noexpand\thissectionname{\the\toks0}%
+ \gdef\noexpand\thissectionnum{#4}%
+ % \noexpand\putwordSection avoids expanding indigestible
+ % commands in some of the translations.
+ \gdef\noexpand\thissection{\noexpand\putwordSection{}
+ \noexpand\thissectionnum:
+ \noexpand\thissectionname}%
+ }%
+ \fi
+ \else
+ \ifx\sectionlevel\seckeyword
+ \toks0={#1}%
+ \xdef\currentsectiondefs{%
+ \gdef\noexpand\thissectionname{\the\toks0}%
+ \gdef\noexpand\thissectionnum{#4}%
+ % \noexpand\putwordSection avoids expanding indigestible
+ % commands in some of the translations.
+ \gdef\noexpand\thissection{\noexpand\putwordSection{}
+ \noexpand\thissectionnum:
+ \noexpand\thissectionname}%
+ }%
+ \fi
+ \fi\fi\fi
+ %
+ % Go into vertical mode. Usually we'll already be there, but we
+ % don't want the following whatsit to end up in a preceding paragraph
+ % if the document didn't happen to have a blank line.
+ \par
+ %
+ % Output the mark. Pass it through \safewhatsit, to take care of
+ % the preceding space.
+ \safewhatsit\domark
+ %
+ % Insert space above the heading.
+ \csname #2headingbreak\endcsname
+ %
+ % Now the second mark, after the heading break. No break points
+ % between here and the heading.
+ \global\let\prevsectiondefs=\currentsectiondefs
+ \domark
+ %
+ % Only insert the space after the number if we have a section number.
+ \ifx\temptype\Ynothingkeyword
+ \setbox0 = \hbox{}%
+ \def\toctype{unn}%
+ \gdef\currentsection{#1}%
+ \else\ifx\temptype\Yomitfromtockeyword
+ % for @headings -- no section number, don't include in toc,
+ % and don't redefine \currentsection.
+ \setbox0 = \hbox{}%
+ \def\toctype{omit}%
+ \let\sectionlevel=\empty
+ \else\ifx\temptype\Yappendixkeyword
+ \setbox0 = \hbox{#4\enspace}%
+ \def\toctype{app}%
+ \gdef\currentsection{#1}%
+ \else
+ \setbox0 = \hbox{#4\enspace}%
+ \def\toctype{num}%
+ \gdef\currentsection{#1}%
+ \fi\fi\fi
+ %
+ % Write the toc entry (before \donoderef). See comments in \chapmacro.
+ \writetocentry{\toctype\sectionlevel}{#1}{#4}%
+ %
+ % Write the node reference (= pdf destination for pdftex).
+ % Again, see comments in \chapmacro.
+ \donoderef{#3}%
+ %
+ % Interline glue will be inserted when the vbox is completed.
+ % That glue will be a valid breakpoint for the page, since it'll be
+ % preceded by a whatsit (usually from the \donoderef, or from the
+ % \writetocentry if there was no node). We don't want to allow that
+ % break, since then the whatsits could end up on page n while the
+ % section is on page n+1, thus toc/etc. are wrong. Debian bug 276000.
+ \nobreak
+ %
+ % Output the actual section heading.
+ \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \ptexraggedright
+ \hangindent=\wd0 % zero if no section number
+ \unhbox0 #1}%
+ }%
+ % Add extra space after the heading -- half of whatever came above it.
+ % Don't allow stretch, though.
+ \kern .5 \csname #2headingskip\endcsname
+ %
+ % Do not let the kern be a potential breakpoint, as it would be if it
+ % was followed by glue.
+ \nobreak
+ %
+ % We'll almost certainly start a paragraph next, so don't let that
+ % glue accumulate. (Not a breakpoint because it's preceded by a
+ % discardable item.) However, when a paragraph is not started next
+ % (\startdefun, \cartouche, \center, etc.), this needs to be wiped out
+ % or the negative glue will cause weirdly wrong output, typically
+ % obscuring the section heading with something else.
+ \vskip-\parskip
+ %
+ % This is so the last item on the main vertical list is a known
+ % \penalty > 10000, so \startdefun, etc., can recognize the situation
+ % and do the needful.
+ \penalty 10001
+}
+
+
+\message{toc,}
+% Table of contents.
+\newwrite\tocfile
+
+% Write an entry to the toc file, opening it if necessary.
+% Called from @chapter, etc.
+%
+% Example usage: \writetocentry{sec}{Section Name}{\the\chapno.\the\secno}
+% We append the current node name (if any) and page number as additional
+% arguments for the \{chap,sec,...}entry macros which will eventually
+% read this. The node name is used in the pdf outlines as the
+% destination to jump to.
+%
+% We open the .toc file for writing here instead of at @setfilename (or
+% any other fixed time) so that @contents can be anywhere in the document.
+% But if #1 is `omit', then we don't do anything. This is used for the
+% table of contents chapter openings themselves.
+%
+\newif\iftocfileopened
+\def\omitkeyword{omit}%
+%
+\def\writetocentry#1#2#3{%
+ \edef\writetoctype{#1}%
+ \ifx\writetoctype\omitkeyword \else
+ \iftocfileopened\else
+ \immediate\openout\tocfile = \jobname.toc
+ \global\tocfileopenedtrue
+ \fi
+ %
+ \iflinks
+ {\atdummies
+ \edef\temp{%
+ \write\tocfile{@#1entry{#2}{#3}{\lastnode}{\noexpand\folio}}}%
+ \temp
+ }%
+ \fi
+ \fi
+ %
+ % Tell \shipout to create a pdf destination on each page, if we're
+ % writing pdf. These are used in the table of contents. We can't
+ % just write one on every page because the title pages are numbered
+ % 1 and 2 (the page numbers aren't printed), and so are the first
+ % two pages of the document. Thus, we'd have two destinations named
+ % `1', and two named `2'.
+ \ifpdforxetex
+ \global\pdfmakepagedesttrue
+ \fi
+}
+
+
+% These characters do not print properly in the Computer Modern roman
+% fonts, so we must take special care. This is more or less redundant
+% with the Texinfo input format setup at the end of this file.
+%
+\def\activecatcodes{%
+ \catcode`\"=\active
+ \catcode`\$=\active
+ \catcode`\<=\active
+ \catcode`\>=\active
+ \catcode`\\=\active
+ \catcode`\^=\active
+ \catcode`\_=\active
+ \catcode`\|=\active
+ \catcode`\~=\active
+}
+
+
+% Read the toc file, which is essentially Texinfo input.
+\def\readtocfile{%
+ \setupdatafile
+ \activecatcodes
+ \input \tocreadfilename
+}
+
+\newskip\contentsrightmargin \contentsrightmargin=1in
+\newcount\savepageno
+\newcount\lastnegativepageno \lastnegativepageno = -1
+
+% Prepare to read what we've written to \tocfile.
+%
+\def\startcontents#1{%
+ % If @setchapternewpage on, and @headings double, the contents should
+ % start on an odd page, unlike chapters.
+ \contentsalignmacro
+ \immediate\closeout\tocfile
+ %
+ % Don't need to put `Contents' or `Short Contents' in the headline.
+ % It is abundantly clear what they are.
+ \chapmacro{#1}{Yomitfromtoc}{}%
+ %
+ \savepageno = \pageno
+ \begingroup % Set up to handle contents files properly.
+ \raggedbottom % Worry more about breakpoints than the bottom.
+ \entryrightmargin=\contentsrightmargin % Don't use the full line length.
+ %
+ % Roman numerals for page numbers.
+ \ifnum \pageno>0 \global\pageno = \lastnegativepageno \fi
+ \def\thistitle{}% no title in double-sided headings
+ % Record where the Roman numerals started.
+ \ifnum\romancount=0 \global\romancount=\pagecount \fi
+}
+
+% redefined for the two-volume lispref. We always output on
+% \jobname.toc even if this is redefined.
+%
+\def\tocreadfilename{\jobname.toc}
+
+% Normal (long) toc.
+%
+\def\contents{%
+ \startcontents{\putwordTOC}%
+ \openin 1 \tocreadfilename\space
+ \ifeof 1 \else
+ \readtocfile
+ \fi
+ \vfill \eject
+ \contentsalignmacro % in case @setchapternewpage odd is in effect
+ \ifeof 1 \else
+ \pdfmakeoutlines
+ \fi
+ \closein 1
+ \endgroup
+ \contentsendroman
+}
+
+% And just the chapters.
+\def\summarycontents{%
+ \startcontents{\putwordShortTOC}%
+ %
+ \let\partentry = \shortpartentry
+ \let\numchapentry = \shortchapentry
+ \let\appentry = \shortchapentry
+ \let\unnchapentry = \shortunnchapentry
+ % We want a true roman here for the page numbers.
+ \secfonts
+ \let\rm=\shortcontrm \let\bf=\shortcontbf
+ \let\sl=\shortcontsl \let\tt=\shortconttt
+ \rm
+ \hyphenpenalty = 10000
+ \advance\baselineskip by 1pt % Open it up a little.
+ \def\numsecentry##1##2##3##4{}
+ \let\appsecentry = \numsecentry
+ \let\unnsecentry = \numsecentry
+ \let\numsubsecentry = \numsecentry
+ \let\appsubsecentry = \numsecentry
+ \let\unnsubsecentry = \numsecentry
+ \let\numsubsubsecentry = \numsecentry
+ \let\appsubsubsecentry = \numsecentry
+ \let\unnsubsubsecentry = \numsecentry
+ \openin 1 \tocreadfilename\space
+ \ifeof 1 \else
+ \readtocfile
+ \fi
+ \closein 1
+ \vfill \eject
+ \contentsalignmacro % in case @setchapternewpage odd is in effect
+ \endgroup
+ \contentsendroman
+}
+\let\shortcontents = \summarycontents
+
+% Get ready to use Arabic numerals again
+\def\contentsendroman{%
+ \lastnegativepageno = \pageno
+ \global\pageno = \savepageno
+ %
+ % If \romancount > \arabiccount, the contents are at the end of the
+ % document. Otherwise, advance where the Arabic numerals start for
+ % the page numbers.
+ \ifnum\romancount>\arabiccount\else\global\arabiccount=\pagecount\fi
+}
+
+% Typeset the label for a chapter or appendix for the short contents.
+% The arg is, e.g., `A' for an appendix, or `3' for a chapter.
+%
+\def\shortchaplabel#1{%
+ % This space should be enough, since a single number is .5em, and the
+ % widest letter (M) is 1em, at least in the Computer Modern fonts.
+ % But use \hss just in case.
+ % (This space doesn't include the extra space that gets added after
+ % the label; that gets put in by \shortchapentry above.)
+ %
+ % We'd like to right-justify chapter numbers, but that looks strange
+ % with appendix letters. And right-justifying numbers and
+ % left-justifying letters looks strange when there is less than 10
+ % chapters. Have to read the whole toc once to know how many chapters
+ % there are before deciding ...
+ \hbox to 1em{#1\hss}%
+}
+
+% These macros generate individual entries in the table of contents.
+% The first argument is the chapter or section name.
+% The last argument is the page number.
+% The arguments in between are the chapter number, section number, ...
+
+% Parts, in the main contents. Replace the part number, which doesn't
+% exist, with an empty box. Let's hope all the numbers have the same width.
+% Also ignore the page number, which is conventionally not printed.
+\def\numeralbox{\setbox0=\hbox{8}\hbox to \wd0{\hfil}}
+\def\partentry#1#2#3#4{%
+ % Add stretch and a bonus for breaking the page before the part heading.
+ % This reduces the chance of the page being broken immediately after the
+ % part heading, before a following chapter heading.
+ \vskip 0pt plus 5\baselineskip
+ \penalty-300
+ \vskip 0pt plus -5\baselineskip
+ \dochapentry{\numeralbox\labelspace#1}{}%
+}
+%
+% Parts, in the short toc.
+\def\shortpartentry#1#2#3#4{%
+ \penalty-300
+ \vskip.5\baselineskip plus.15\baselineskip minus.1\baselineskip
+ \shortchapentry{{\bf #1}}{\numeralbox}{}{}%
+}
+
+% Chapters, in the main contents.
+\def\numchapentry#1#2#3#4{\dochapentry{#2\labelspace#1}{#4}}
+
+% Chapters, in the short toc.
+% See comments in \dochapentry re vbox and related settings.
+\def\shortchapentry#1#2#3#4{%
+ \tocentry{\shortchaplabel{#2}\labelspace #1}{\doshortpageno\bgroup#4\egroup}%
+}
+
+% Appendices, in the main contents.
+% Need the word Appendix, and a fixed-size box.
+%
+\def\appendixbox#1{%
+ % We use M since it's probably the widest letter.
+ \setbox0 = \hbox{\putwordAppendix{} M}%
+ \hbox to \wd0{\putwordAppendix{} #1\hss}}
+%
+\def\appentry#1#2#3#4{\dochapentry{\appendixbox{#2}\hskip.7em#1}{#4}}
+
+% Unnumbered chapters.
+\def\unnchapentry#1#2#3#4{\dochapentry{#1}{#4}}
+\def\shortunnchapentry#1#2#3#4{\tocentry{#1}{\doshortpageno\bgroup#4\egroup}}
+
+% Sections.
+\def\numsecentry#1#2#3#4{\dosecentry{#2\labelspace#1}{#4}}
+\let\appsecentry=\numsecentry
+\def\unnsecentry#1#2#3#4{\dosecentry{#1}{#4}}
+
+% Subsections.
+\def\numsubsecentry#1#2#3#4{\dosubsecentry{#2\labelspace#1}{#4}}
+\let\appsubsecentry=\numsubsecentry
+\def\unnsubsecentry#1#2#3#4{\dosubsecentry{#1}{#4}}
+
+% And subsubsections.
+\def\numsubsubsecentry#1#2#3#4{\dosubsubsecentry{#2\labelspace#1}{#4}}
+\let\appsubsubsecentry=\numsubsubsecentry
+\def\unnsubsubsecentry#1#2#3#4{\dosubsubsecentry{#1}{#4}}
+
+% This parameter controls the indentation of the various levels.
+% Same as \defaultparindent.
+\newdimen\tocindent \tocindent = 15pt
+
+% Now for the actual typesetting. In all these, #1 is the text and #2 is the
+% page number.
+%
+% If the toc has to be broken over pages, we want it to be at chapters
+% if at all possible; hence the \penalty.
+\def\dochapentry#1#2{%
+ \penalty-300 \vskip1\baselineskip plus.33\baselineskip minus.25\baselineskip
+ \begingroup
+ % Move the page numbers slightly to the right
+ \advance\entryrightmargin by -0.05em
+ \chapentryfonts
+ \tocentry{#1}{\dopageno\bgroup#2\egroup}%
+ \endgroup
+ \nobreak\vskip .25\baselineskip plus.1\baselineskip
+}
+
+\def\dosecentry#1#2{\begingroup
+ \secentryfonts \leftskip=\tocindent
+ \tocentry{#1}{\dopageno\bgroup#2\egroup}%
+\endgroup}
+
+\def\dosubsecentry#1#2{\begingroup
+ \subsecentryfonts \leftskip=2\tocindent
+ \tocentry{#1}{\dopageno\bgroup#2\egroup}%
+\endgroup}
+
+\def\dosubsubsecentry#1#2{\begingroup
+ \subsubsecentryfonts \leftskip=3\tocindent
+ \tocentry{#1}{\dopageno\bgroup#2\egroup}%
+\endgroup}
+
+% We use the same \entry macro as for the index entries.
+\let\tocentry = \entry
+
+% Space between chapter (or whatever) number and the title.
+\def\labelspace{\hskip1em \relax}
+
+\def\dopageno#1{{\rm #1}}
+\def\doshortpageno#1{{\rm #1}}
+
+\def\chapentryfonts{\secfonts \rm}
+\def\secentryfonts{\textfonts}
+\def\subsecentryfonts{\textfonts}
+\def\subsubsecentryfonts{\textfonts}
+
+
+\message{environments,}
+% @foo ... @end foo.
+
+% @tex ... @end tex escapes into raw TeX temporarily.
+% One exception: @ is still an escape character, so that @end tex works.
+% But \@ or @@ will get a plain @ character.
+
+\envdef\tex{%
+ \setregularquotes
+ \catcode `\\=0 \catcode `\{=1 \catcode `\}=2
+ \catcode `\$=3 \catcode `\&=4 \catcode `\#=6
+ \catcode `\^=7 \catcode `\_=8 \catcode `\~=\active \let~=\tie
+ \catcode `\%=14
+ \catcode `\+=\other
+ \catcode `\"=\other
+ \catcode `\|=\other
+ \catcode `\<=\other
+ \catcode `\>=\other
+ \catcode `\`=\other
+ \catcode `\'=\other
+ %
+ % ' is active in math mode (mathcode"8000). So reset it, and all our
+ % other math active characters (just in case), to plain's definitions.
+ \mathactive
+ %
+ % Inverse of the list at the beginning of the file.
+ \let\b=\ptexb
+ \let\bullet=\ptexbullet
+ \let\c=\ptexc
+ \let\,=\ptexcomma
+ \let\.=\ptexdot
+ \let\dots=\ptexdots
+ \let\equiv=\ptexequiv
+ \let\!=\ptexexclam
+ \let\i=\ptexi
+ \let\indent=\ptexindent
+ \let\noindent=\ptexnoindent
+ \let\{=\ptexlbrace
+ \let\+=\tabalign
+ \let\}=\ptexrbrace
+ \let\/=\ptexslash
+ \let\sp=\ptexsp
+ \let\*=\ptexstar
+ %\let\sup=\ptexsup % do not redefine, we want @sup to work in math mode
+ \let\t=\ptext
+ \expandafter \let\csname top\endcsname=\ptextop % we've made it outer
+ \let\frenchspacing=\plainfrenchspacing
+ %
+ \def\endldots{\mathinner{\ldots\ldots\ldots\ldots}}%
+ \def\enddots{\relax\ifmmode\endldots\else$\mathsurround=0pt \endldots\,$\fi}%
+ \def\@{@}%
+}
+% There is no need to define \Etex.
+
+% Define @lisp ... @end lisp.
+% @lisp environment forms a group so it can rebind things,
+% including the definition of @end lisp (which normally is erroneous).
+
+% Amount to narrow the margins by for @lisp.
+\newskip\lispnarrowing \lispnarrowing=0.4in
+
+% This is the definition that ^^M gets inside @lisp, @example, and other
+% such environments. \null is better than a space, since it doesn't
+% have any width.
+\def\lisppar{\null\endgraf}
+
+% This space is always present above and below environments.
+\newskip\envskipamount \envskipamount = 0pt
+
+% Make spacing and below environment symmetrical. We use \parskip here
+% to help in doing that, since in @example-like environments \parskip
+% is reset to zero; thus the \afterenvbreak inserts no space -- but the
+% start of the next paragraph will insert \parskip.
+%
+\def\aboveenvbreak{{%
+ % =10000 instead of <10000 because of a special case in \itemzzz and
+ % \sectionheading, q.v.
+ \ifnum \lastpenalty=10000 \else
+ \advance\envskipamount by \parskip
+ \endgraf
+ \ifdim\lastskip<\envskipamount
+ \removelastskip
+ \ifnum\lastpenalty<10000
+ % Penalize breaking before the environment, because preceding text
+ % often leads into it.
+ \penalty100
+ \fi
+ \vskip\envskipamount
+ \fi
+ \fi
+}}
+
+\def\afterenvbreak{{%
+ % =10000 instead of <10000 because of a special case in \itemzzz and
+ % \sectionheading, q.v.
+ \ifnum \lastpenalty=10000 \else
+ \advance\envskipamount by \parskip
+ \endgraf
+ \ifdim\lastskip<\envskipamount
+ \removelastskip
+ % it's not a good place to break if the last penalty was \nobreak
+ % or better ...
+ \ifnum\lastpenalty<10000 \penalty-50 \fi
+ \vskip\envskipamount
+ \fi
+ \fi
+}}
+
+% \nonarrowing is a flag. If "set", @lisp etc don't narrow margins; it will
+% also clear it, so that its embedded environments do the narrowing again.
+\let\nonarrowing=\relax
+
+% @cartouche ... @end cartouche: draw rectangle w/rounded corners around
+% environment contents.
+
+%
+\def\ctl{{\circle\char'013\hskip -6pt}}% 6pt from pl file: 1/2charwidth
+\def\ctr{{\hskip 6pt\circle\char'010}}
+\def\cbl{{\circle\char'012\hskip -6pt}}
+\def\cbr{{\hskip 6pt\circle\char'011}}
+\def\carttop{\hbox to \cartouter{\hskip\lskip
+ \ctl\leaders\hrule height\circthick\hfil\ctr
+ \hskip\rskip}}
+\def\cartbot{\hbox to \cartouter{\hskip\lskip
+ \cbl\leaders\hrule height\circthick\hfil\cbr
+ \hskip\rskip}}
+%
+\newskip\lskip\newskip\rskip
+
+% only require the font if @cartouche is actually used
+\def\cartouchefontdefs{%
+ \font\circle=lcircle10\relax
+ \circthick=\fontdimen8\circle
+}
+\newdimen\circthick
+\newdimen\cartouter\newdimen\cartinner
+\newskip\normbskip\newskip\normpskip\newskip\normlskip
+
+
+\envdef\cartouche{%
+ \cartouchefontdefs
+ \ifhmode\par\fi % can't be in the midst of a paragraph.
+ \startsavinginserts
+ \lskip=\leftskip \rskip=\rightskip
+ \leftskip=0pt\rightskip=0pt % we want these *outside*.
+ \cartinner=\hsize \advance\cartinner by-\lskip
+ \advance\cartinner by-\rskip
+ \cartouter=\hsize
+ \advance\cartouter by 18.4pt % allow for 3pt kerns on either
+ % side, and for 6pt waste from
+ % each corner char, and rule thickness
+ \normbskip=\baselineskip \normpskip=\parskip \normlskip=\lineskip
+ %
+ % If this cartouche directly follows a sectioning command, we need the
+ % \parskip glue (backspaced over by default) or the cartouche can
+ % collide with the section heading.
+ \ifnum\lastpenalty>10000 \vskip\parskip \penalty\lastpenalty \fi
+ %
+ \setbox\groupbox=\vbox\bgroup
+ \baselineskip=0pt\parskip=0pt\lineskip=0pt
+ \carttop
+ \hbox\bgroup
+ \hskip\lskip
+ \vrule\kern3pt
+ \vbox\bgroup
+ \kern3pt
+ \hsize=\cartinner
+ \baselineskip=\normbskip
+ \lineskip=\normlskip
+ \parskip=\normpskip
+ \vskip -\parskip
+ \comment % For explanation, see the end of def\group.
+}
+\def\Ecartouche{%
+ \ifhmode\par\fi
+ \kern3pt
+ \egroup
+ \kern3pt\vrule
+ \hskip\rskip
+ \egroup
+ \cartbot
+ \egroup
+ \addgroupbox
+ \checkinserts
+}
+
+
+% This macro is called at the beginning of all the @example variants,
+% inside a group.
+\newdimen\nonfillparindent
+\def\nonfillstart{%
+ \aboveenvbreak
+ \ifdim\hfuzz < 12pt \hfuzz = 12pt \fi % Don't be fussy
+ \sepspaces % Make spaces be word-separators rather than space tokens.
+ \let\par = \lisppar % don't ignore blank lines
+ \obeylines % each line of input is a line of output
+ \parskip = 0pt
+ % Turn off paragraph indentation but redefine \indent to emulate
+ % the normal \indent.
+ \nonfillparindent=\parindent
+ \parindent = 0pt
+ \let\indent\nonfillindent
+ %
+ \emergencystretch = 0pt % don't try to avoid overfull boxes
+ \ifx\nonarrowing\relax
+ \advance \leftskip by \lispnarrowing
+ \exdentamount=\lispnarrowing
+ \else
+ \let\nonarrowing = \relax
+ \fi
+ \let\exdent=\nofillexdent
+}
+
+\begingroup
+\obeyspaces
+% We want to swallow spaces (but not other tokens) after the fake
+% @indent in our nonfill-environments, where spaces are normally
+% active and set to @tie, resulting in them not being ignored after
+% @indent.
+\gdef\nonfillindent{\futurelet\temp\nonfillindentcheck}%
+\gdef\nonfillindentcheck{%
+\ifx\temp %
+\expandafter\nonfillindentgobble%
+\else%
+\leavevmode\nonfillindentbox%
+\fi%
+}%
+\endgroup
+\def\nonfillindentgobble#1{\nonfillindent}
+\def\nonfillindentbox{\hbox to \nonfillparindent{\hss}}
+
+% If you want all examples etc. small: @set dispenvsize small.
+% If you want even small examples the full size: @set dispenvsize nosmall.
+% This affects the following displayed environments:
+% @example, @display, @format, @lisp, @verbatim
+%
+\def\smallword{small}
+\def\nosmallword{nosmall}
+\let\SETdispenvsize\relax
+\def\setnormaldispenv{%
+ \ifx\SETdispenvsize\smallword
+ % end paragraph for sake of leading, in case document has no blank
+ % line. This is redundant with what happens in \aboveenvbreak, but
+ % we need to do it before changing the fonts, and it's inconvenient
+ % to change the fonts afterward.
+ \ifnum \lastpenalty=10000 \else \endgraf \fi
+ \smallexamplefonts \rm
+ \fi
+}
+\def\setsmalldispenv{%
+ \ifx\SETdispenvsize\nosmallword
+ \else
+ \ifnum \lastpenalty=10000 \else \endgraf \fi
+ \smallexamplefonts \rm
+ \fi
+}
+
+% We often define two environments, @foo and @smallfoo.
+% Let's do it in one command. #1 is the env name, #2 the definition.
+\def\makedispenvdef#1#2{%
+ \expandafter\envdef\csname#1\endcsname {\setnormaldispenv #2}%
+ \expandafter\envdef\csname small#1\endcsname {\setsmalldispenv #2}%
+ \expandafter\let\csname E#1\endcsname \afterenvbreak
+ \expandafter\let\csname Esmall#1\endcsname \afterenvbreak
+}
+
+% Define two environment synonyms (#1 and #2) for an environment.
+\def\maketwodispenvdef#1#2#3{%
+ \makedispenvdef{#1}{#3}%
+ \makedispenvdef{#2}{#3}%
+}
+%
+% @lisp: indented, narrowed, typewriter font;
+% @example: same as @lisp.
+%
+% @smallexample and @smalllisp: use smaller fonts.
+% Originally contributed by Pavel@xerox.
+%
+\maketwodispenvdef{lisp}{example}{%
+ \nonfillstart
+ \tt\setcodequotes
+ \let\kbdfont = \kbdexamplefont % Allow @kbd to do something special.
+ \parsearg\gobble
+}
+% @display/@smalldisplay: same as @lisp except keep current font.
+%
+\makedispenvdef{display}{%
+ \nonfillstart
+ \gobble
+}
+
+% @format/@smallformat: same as @display except don't narrow margins.
+%
+\makedispenvdef{format}{%
+ \let\nonarrowing = t%
+ \nonfillstart
+ \gobble
+}
+
+% @flushleft: same as @format, but doesn't obey \SETdispenvsize.
+\envdef\flushleft{%
+ \let\nonarrowing = t%
+ \nonfillstart
+ \gobble
+}
+\let\Eflushleft = \afterenvbreak
+
+% @flushright.
+%
+\envdef\flushright{%
+ \let\nonarrowing = t%
+ \nonfillstart
+ \advance\leftskip by 0pt plus 1fill\relax
+ \gobble
+}
+\let\Eflushright = \afterenvbreak
+
+
+% @raggedright does more-or-less normal line breaking but no right
+% justification. From plain.tex.
+\envdef\raggedright{%
+ \rightskip0pt plus2.4em \spaceskip.3333em \xspaceskip.5em\relax
+}
+\let\Eraggedright\par
+
+\envdef\raggedleft{%
+ \parindent=0pt \leftskip0pt plus2em
+ \spaceskip.3333em \xspaceskip.5em \parfillskip=0pt
+ \hbadness=10000 % Last line will usually be underfull, so turn off
+ % badness reporting.
+}
+\let\Eraggedleft\par
+
+\envdef\raggedcenter{%
+ \parindent=0pt \rightskip0pt plus1em \leftskip0pt plus1em
+ \spaceskip.3333em \xspaceskip.5em \parfillskip=0pt
+ \hbadness=10000 % Last line will usually be underfull, so turn off
+ % badness reporting.
+}
+\let\Eraggedcenter\par
+
+
+% @quotation does normal linebreaking (hence we can't use \nonfillstart)
+% and narrows the margins. We keep \parskip nonzero in general, since
+% we're doing normal filling. So, when using \aboveenvbreak and
+% \afterenvbreak, temporarily make \parskip 0.
+%
+\makedispenvdef{quotation}{\quotationstart}
+%
+\def\quotationstart{%
+ \indentedblockstart % same as \indentedblock, but increase right margin too.
+ \ifx\nonarrowing\relax
+ \advance\rightskip by \lispnarrowing
+ \fi
+ \parsearg\quotationlabel
+}
+
+% We have retained a nonzero parskip for the environment, since we're
+% doing normal filling.
+%
+\def\Equotation{%
+ \par
+ \ifx\quotationauthor\thisisundefined\else
+ % indent a bit.
+ \leftline{\kern 2\leftskip \sl ---\quotationauthor}%
+ \fi
+ {\parskip=0pt \afterenvbreak}%
+}
+\def\Esmallquotation{\Equotation}
+
+% If we're given an argument, typeset it in bold with a colon after.
+\def\quotationlabel#1{%
+ \def\temp{#1}%
+ \ifx\temp\empty \else
+ {\bf #1: }%
+ \fi
+}
+
+% @indentedblock is like @quotation, but indents only on the left and
+% has no optional argument.
+%
+\makedispenvdef{indentedblock}{\indentedblockstart}
+%
+\def\indentedblockstart{%
+ {\parskip=0pt \aboveenvbreak}% because \aboveenvbreak inserts \parskip
+ \parindent=0pt
+ %
+ % @cartouche defines \nonarrowing to inhibit narrowing at next level down.
+ \ifx\nonarrowing\relax
+ \advance\leftskip by \lispnarrowing
+ \exdentamount = \lispnarrowing
+ \else
+ \let\nonarrowing = \relax
+ \fi
+}
+
+% Keep a nonzero parskip for the environment, since we're doing normal filling.
+%
+\def\Eindentedblock{%
+ \par
+ {\parskip=0pt \afterenvbreak}%
+}
+\def\Esmallindentedblock{\Eindentedblock}
+
+
+% LaTeX-like @verbatim...@end verbatim and @verb{<char>...<char>}
+% If we want to allow any <char> as delimiter,
+% we need the curly braces so that makeinfo sees the @verb command, eg:
+% `@verbx...x' would look like the '@verbx' command. --janneke@gnu.org
+%
+% [Knuth]: Donald Ervin Knuth, 1996. The TeXbook.
+%
+% [Knuth] p.344; only we need to do the other characters Texinfo sets
+% active too. Otherwise, they get lost as the first character on a
+% verbatim line.
+\def\dospecials{%
+ \do\ \do\\\do\{\do\}\do\$\do\&%
+ \do\#\do\^\do\^^K\do\_\do\^^A\do\%\do\~%
+ \do\<\do\>\do\|\do\@\do+\do\"%
+ % Don't do the quotes -- if we do, @set txicodequoteundirected and
+ % @set txicodequotebacktick will not have effect on @verb and
+ % @verbatim, and ?` and !` ligatures won't get disabled.
+ %\do\`\do\'%
+}
+%
+% [Knuth] p. 380
+\def\uncatcodespecials{%
+ \def\do##1{\catcode`##1=\other}\dospecials}
+%
+% Setup for the @verb command.
+%
+% Eight spaces for a tab
+\begingroup
+ \catcode`\^^I=\active
+ \gdef\tabeightspaces{\catcode`\^^I=\active\def^^I{\ \ \ \ \ \ \ \ }}
+\endgroup
+%
+\def\setupverb{%
+ \tt % easiest (and conventionally used) font for verbatim
+ \def\par{\leavevmode\endgraf}%
+ \setcodequotes
+ \tabeightspaces
+ % Respect line breaks,
+ % print special symbols as themselves, and
+ % make each space count
+ % must do in this order:
+ \obeylines \uncatcodespecials \sepspaces
+}
+
+% Setup for the @verbatim environment
+%
+% Real tab expansion.
+\newdimen\tabw \setbox0=\hbox{\tt\space} \tabw=8\wd0 % tab amount
+%
+% We typeset each line of the verbatim in an \hbox, so we can handle
+% tabs.
+\newbox\verbbox
+\def\starttabbox{\setbox\verbbox=\hbox\bgroup}
+%
+\begingroup
+ \catcode`\^^I=\active
+ \gdef\tabexpand{%
+ \catcode`\^^I=\active
+ \def^^I{\leavevmode\egroup
+ \dimen\verbbox=\wd\verbbox % the width so far, or since the previous tab
+ \divide\dimen\verbbox by\tabw
+ \multiply\dimen\verbbox by\tabw % compute previous multiple of \tabw
+ \advance\dimen\verbbox by\tabw % advance to next multiple of \tabw
+ \wd\verbbox=\dimen\verbbox
+ \leavevmode\box\verbbox \starttabbox
+ }%
+ }
+\endgroup
+
+% start the verbatim environment.
+\def\setupverbatim{%
+ \let\nonarrowing = t%
+ \nonfillstart
+ \tt % easiest (and conventionally used) font for verbatim
+ \def\par{\egroup\leavevmode\box\verbbox\endgraf\starttabbox}%
+ \tabexpand
+ \setcodequotes
+ % Respect line breaks,
+ % print special symbols as themselves, and
+ % make each space count.
+ % Must do in this order:
+ \obeylines \uncatcodespecials \sepspaces
+}
+
+% Do the @verb magic: verbatim text is quoted by unique
+% delimiter characters. Before first delimiter expect a
+% right brace, after last delimiter expect closing brace:
+%
+% \def\doverb'{'<char>#1<char>'}'{#1}
+%
+% [Knuth] p. 382; only eat outer {}
+\begingroup
+ \catcode`[=1\catcode`]=2\catcode`\{=\other\catcode`\}=\other
+ \gdef\doverb{#1[\def\next##1#1}[##1\endgroup]\next]
+\endgroup
+%
+\def\verb{\begingroup\setupverb\doverb}
+%
+%
+% Do the @verbatim magic: define the macro \doverbatim so that
+% the (first) argument ends when '@end verbatim' is reached, ie:
+%
+% \def\doverbatim#1@end verbatim{#1}
+%
+% For Texinfo it's a lot easier than for LaTeX,
+% because texinfo's \verbatim doesn't stop at '\end{verbatim}':
+% we need not redefine '\', '{' and '}'.
+%
+% Inspired by LaTeX's verbatim command set [latex.ltx]
+%
+\begingroup
+ \catcode`\ =\active
+ \obeylines %
+ % ignore everything up to the first ^^M, that's the newline at the end
+ % of the @verbatim input line itself. Otherwise we get an extra blank
+ % line in the output.
+ \xdef\doverbatim#1^^M#2@end verbatim{%
+ \starttabbox#2\egroup\noexpand\end\gobble verbatim}%
+ % We really want {...\end verbatim} in the body of the macro, but
+ % without the active space; thus we have to use \xdef and \gobble.
+ % The \egroup ends the \verbbox started at the end of the last line in
+ % the block.
+\endgroup
+%
+\envdef\verbatim{%
+ \setnormaldispenv\setupverbatim\doverbatim
+}
+\let\Everbatim = \afterenvbreak
+
+
+% @verbatiminclude FILE - insert text of file in verbatim environment.
+%
+\def\verbatiminclude{\parseargusing\filenamecatcodes\doverbatiminclude}
+%
+\def\doverbatiminclude#1{%
+ {%
+ \makevalueexpandable
+ \setupverbatim
+ {%
+ \indexnofonts % Allow `@@' and other weird things in file names.
+ \wlog{texinfo.tex: doing @verbatiminclude of #1^^J}%
+ \edef\tmp{\noexpand\input #1 }
+ \expandafter
+ }\expandafter\starttabbox\tmp\egroup
+ \afterenvbreak
+ }%
+}
+
+% @copying ... @end copying.
+% Save the text away for @insertcopying later.
+%
+% We save the uninterpreted tokens, rather than creating a box.
+% Saving the text in a box would be much easier, but then all the
+% typesetting commands (@smallbook, font changes, etc.) have to be done
+% beforehand -- and a) we want @copying to be done first in the source
+% file; b) letting users define the frontmatter in as flexible order as
+% possible is desirable.
+%
+\def\copying{\checkenv{}\begingroup\scanargctxt\docopying}
+\def\docopying#1@end copying{\endgroup\def\copyingtext{#1}}
+%
+\def\insertcopying{%
+ \begingroup
+ \parindent = 0pt % paragraph indentation looks wrong on title page
+ \scanexp\copyingtext
+ \endgroup
+}
+
+
+\message{defuns,}
+% @defun etc.
+
+\newskip\defbodyindent \defbodyindent=.4in
+\newskip\defargsindent \defargsindent=50pt
+\newskip\deflastargmargin \deflastargmargin=18pt
+\newcount\defunpenalty
+
+% Start the processing of @deffn:
+\def\startdefun{%
+ \ifnum\lastpenalty<10000
+ \medbreak
+ \defunpenalty=10003 % Will keep this @deffn together with the
+ % following @def command, see below.
+ \else
+ % If there are two @def commands in a row, we'll have a \nobreak,
+ % which is there to keep the function description together with its
+ % header. But if there's nothing but headers, we need to allow a
+ % break somewhere. Check specifically for penalty 10002, inserted
+ % by \printdefunline, instead of 10000, since the sectioning
+ % commands also insert a nobreak penalty, and we don't want to allow
+ % a break between a section heading and a defun.
+ %
+ % As a further refinement, we avoid "club" headers by signalling
+ % with penalty of 10003 after the very first @deffn in the
+ % sequence (see above), and penalty of 10002 after any following
+ % @def command.
+ \ifnum\lastpenalty=10002 \penalty2000 \else \defunpenalty=10002 \fi
+ %
+ % Similarly, after a section heading, do not allow a break.
+ % But do insert the glue.
+ \medskip % preceded by discardable penalty, so not a breakpoint
+ \fi
+ %
+ \parindent=0in
+ \advance\leftskip by \defbodyindent
+ \exdentamount=\defbodyindent
+}
+
+\def\dodefunx#1{%
+ % First, check whether we are in the right environment:
+ \checkenv#1%
+ %
+ % As above, allow line break if we have multiple x headers in a row.
+ % It's not a great place, though.
+ \ifnum\lastpenalty=10002 \penalty3000 \else \defunpenalty=10002 \fi
+ %
+ % And now, it's time to reuse the body of the original defun:
+ \expandafter\gobbledefun#1%
+}
+\def\gobbledefun#1\startdefun{}
+
+% \printdefunline \deffnheader{text}
+%
+\def\printdefunline#1#2{%
+ \begingroup
+ % call \deffnheader:
+ #1#2 \endheader
+ % common ending:
+ \interlinepenalty = 10000
+ \advance\rightskip by 0pt plus 1fil\relax
+ \endgraf
+ \nobreak\vskip -\parskip
+ \penalty\defunpenalty % signal to \startdefun and \dodefunx
+ % Some of the @defun-type tags do not enable magic parentheses,
+ % rendering the following check redundant. But we don't optimize.
+ \checkparencounts
+ \endgroup
+}
+
+\def\Edefun{\endgraf\medbreak}
+
+% \makedefun{deffn} creates \deffn, \deffnx and \Edeffn;
+% the only thing remaining is to define \deffnheader.
+%
+\def\makedefun#1{%
+ \expandafter\let\csname E#1\endcsname = \Edefun
+ \edef\temp{\noexpand\domakedefun
+ \makecsname{#1}\makecsname{#1x}\makecsname{#1header}}%
+ \temp
+}
+
+% \domakedefun \deffn \deffnx \deffnheader { (defn. of \deffnheader) }
+%
+% Define \deffn and \deffnx, without parameters.
+% \deffnheader has to be defined explicitly.
+%
+\def\domakedefun#1#2#3{%
+ \envdef#1{%
+ \startdefun
+ \doingtypefnfalse % distinguish typed functions from all else
+ \parseargusing\activeparens{\printdefunline#3}%
+ }%
+ \def#2{\dodefunx#1}%
+ \def#3%
+}
+
+\newif\ifdoingtypefn % doing typed function?
+\newif\ifrettypeownline % typeset return type on its own line?
+
+% @deftypefnnewline on|off says whether the return type of typed functions
+% are printed on their own line. This affects @deftypefn, @deftypefun,
+% @deftypeop, and @deftypemethod.
+%
+\parseargdef\deftypefnnewline{%
+ \def\temp{#1}%
+ \ifx\temp\onword
+ \expandafter\let\csname SETtxideftypefnnl\endcsname
+ = \empty
+ \else\ifx\temp\offword
+ \expandafter\let\csname SETtxideftypefnnl\endcsname
+ = \relax
+ \else
+ \errhelp = \EMsimple
+ \errmessage{Unknown @txideftypefnnl value `\temp',
+ must be on|off}%
+ \fi\fi
+}
+
+% \dosubind {index}{topic}{subtopic}
+%
+% If SUBTOPIC is present, precede it with a space, and call \doind.
+% (At some time during the 20th century, this made a two-level entry in an
+% index such as the operation index. Nobody seemed to notice the change in
+% behaviour though.)
+\def\dosubind#1#2#3{%
+ \def\thirdarg{#3}%
+ \ifx\thirdarg\empty
+ \doind{#1}{#2}%
+ \else
+ \doind{#1}{#2\space#3}%
+ \fi
+}
+
+% Untyped functions:
+
+% @deffn category name args
+\makedefun{deffn}{\deffngeneral{}}
+
+% @deffn category class name args
+\makedefun{defop}#1 {\defopon{#1\ \putwordon}}
+
+% \defopon {category on}class name args
+\def\defopon#1#2 {\deffngeneral{\putwordon\ \code{#2}}{#1\ \code{#2}} }
+
+% \deffngeneral {subind}category name args
+%
+\def\deffngeneral#1#2 #3 #4\endheader{%
+ \dosubind{fn}{\code{#3}}{#1}%
+ \defname{#2}{}{#3}\magicamp\defunargs{#4\unskip}%
+}
+
+% Typed functions:
+
+% @deftypefn category type name args
+\makedefun{deftypefn}{\deftypefngeneral{}}
+
+% @deftypeop category class type name args
+\makedefun{deftypeop}#1 {\deftypeopon{#1\ \putwordon}}
+
+% \deftypeopon {category on}class type name args
+\def\deftypeopon#1#2 {\deftypefngeneral{\putwordon\ \code{#2}}{#1\ \code{#2}} }
+
+% \deftypefngeneral {subind}category type name args
+%
+\def\deftypefngeneral#1#2 #3 #4 #5\endheader{%
+ \dosubind{fn}{\code{#4}}{#1}%
+ \doingtypefntrue
+ \defname{#2}{#3}{#4}\defunargs{#5\unskip}%
+}
+
+% Typed variables:
+
+% @deftypevr category type var args
+\makedefun{deftypevr}{\deftypecvgeneral{}}
+
+% @deftypecv category class type var args
+\makedefun{deftypecv}#1 {\deftypecvof{#1\ \putwordof}}
+
+% \deftypecvof {category of}class type var args
+\def\deftypecvof#1#2 {\deftypecvgeneral{\putwordof\ \code{#2}}{#1\ \code{#2}} }
+
+% \deftypecvgeneral {subind}category type var args
+%
+\def\deftypecvgeneral#1#2 #3 #4 #5\endheader{%
+ \dosubind{vr}{\code{#4}}{#1}%
+ \defname{#2}{#3}{#4}\defunargs{#5\unskip}%
+}
+
+% Untyped variables:
+
+% @defvr category var args
+\makedefun{defvr}#1 {\deftypevrheader{#1} {} }
+
+% @defcv category class var args
+\makedefun{defcv}#1 {\defcvof{#1\ \putwordof}}
+
+% \defcvof {category of}class var args
+\def\defcvof#1#2 {\deftypecvof{#1}#2 {} }
+
+% Types:
+
+% @deftp category name args
+\makedefun{deftp}#1 #2 #3\endheader{%
+ \doind{tp}{\code{#2}}%
+ \defname{#1}{}{#2}\defunargs{#3\unskip}%
+}
+
+% Remaining @defun-like shortcuts:
+\makedefun{defun}{\deffnheader{\putwordDeffunc} }
+\makedefun{defmac}{\deffnheader{\putwordDefmac} }
+\makedefun{defspec}{\deffnheader{\putwordDefspec} }
+\makedefun{deftypefun}{\deftypefnheader{\putwordDeffunc} }
+\makedefun{defvar}{\defvrheader{\putwordDefvar} }
+\makedefun{defopt}{\defvrheader{\putwordDefopt} }
+\makedefun{deftypevar}{\deftypevrheader{\putwordDefvar} }
+\makedefun{defmethod}{\defopon\putwordMethodon}
+\makedefun{deftypemethod}{\deftypeopon\putwordMethodon}
+\makedefun{defivar}{\defcvof\putwordInstanceVariableof}
+\makedefun{deftypeivar}{\deftypecvof\putwordInstanceVariableof}
+
+% \defname, which formats the name of the @def (not the args).
+% #1 is the category, such as "Function".
+% #2 is the return type, if any.
+% #3 is the function name.
+%
+% We are followed by (but not passed) the arguments, if any.
+%
+\def\defname#1#2#3{%
+ \par
+ % Get the values of \leftskip and \rightskip as they were outside the @def...
+ \advance\leftskip by -\defbodyindent
+ %
+ % Determine if we are typesetting the return type of a typed function
+ % on a line by itself.
+ \rettypeownlinefalse
+ \ifdoingtypefn % doing a typed function specifically?
+ % then check user option for putting return type on its own line:
+ \expandafter\ifx\csname SETtxideftypefnnl\endcsname\relax \else
+ \rettypeownlinetrue
+ \fi
+ \fi
+ %
+ % How we'll format the category name. Putting it in brackets helps
+ % distinguish it from the body text that may end up on the next line
+ % just below it.
+ \def\temp{#1}%
+ \setbox0=\hbox{\kern\deflastargmargin \ifx\temp\empty\else [\rm\temp]\fi}
+ %
+ % Figure out line sizes for the paragraph shape. We'll always have at
+ % least two.
+ \tempnum = 2
+ %
+ % The first line needs space for \box0; but if \rightskip is nonzero,
+ % we need only space for the part of \box0 which exceeds it:
+ \dimen0=\hsize \advance\dimen0 by -\wd0 \advance\dimen0 by \rightskip
+ %
+ % If doing a return type on its own line, we'll have another line.
+ \ifrettypeownline
+ \advance\tempnum by 1
+ \def\maybeshapeline{0in \hsize}%
+ \else
+ \def\maybeshapeline{}%
+ \fi
+ %
+ % The continuations:
+ \dimen2=\hsize \advance\dimen2 by -\defargsindent
+ %
+ % The final paragraph shape:
+ \parshape \tempnum 0in \dimen0 \maybeshapeline \defargsindent \dimen2
+ %
+ % Put the category name at the right margin.
+ \noindent
+ \hbox to 0pt{%
+ \hfil\box0 \kern-\hsize
+ % \hsize has to be shortened this way:
+ \kern\leftskip
+ % Intentionally do not respect \rightskip, since we need the space.
+ }%
+ %
+ % Allow all lines to be underfull without complaint:
+ \tolerance=10000 \hbadness=10000
+ \exdentamount=\defbodyindent
+ {%
+ % defun fonts. We use typewriter by default (used to be bold) because:
+ % . we're printing identifiers, they should be in tt in principle.
+ % . in languages with many accents, such as Czech or French, it's
+ % common to leave accents off identifiers. The result looks ok in
+ % tt, but exceedingly strange in rm.
+ % . we don't want -- and --- to be treated as ligatures.
+ % . this still does not fix the ?` and !` ligatures, but so far no
+ % one has made identifiers using them :).
+ \df \tt
+ \def\temp{#2}% text of the return type
+ \ifx\temp\empty\else
+ \tclose{\temp}% typeset the return type
+ \ifrettypeownline
+ % put return type on its own line; prohibit line break following:
+ \hfil\vadjust{\nobreak}\break
+ \else
+ \space % type on same line, so just followed by a space
+ \fi
+ \fi % no return type
+ #3% output function name
+ }%
+ {\rm\enskip}% hskip 0.5 em of \rmfont
+ %
+ \boldbrax
+ % arguments will be output next, if any.
+}
+
+% Print arguments in slanted roman (not ttsl), inconsistently with using
+% tt for the name. This is because literal text is sometimes needed in
+% the argument list (groff manual), and ttsl and tt are not very
+% distinguishable. Prevent hyphenation at `-' chars.
+%
+\def\defunargs#1{%
+ % use sl by default (not ttsl),
+ % tt for the names.
+ \df \sl \hyphenchar\font=0
+ %
+ % On the other hand, if an argument has two dashes (for instance), we
+ % want a way to get ttsl. We used to recommend @var for that, so
+ % leave the code in, but it's strange for @var to lead to typewriter.
+ % Nowadays we recommend @code, since the difference between a ttsl hyphen
+ % and a tt hyphen is pretty tiny. @code also disables ?` !`.
+ \def\var##1{{\setregularquotes\ttslanted{##1}}}%
+ #1%
+ \sl\hyphenchar\font=45
+}
+
+% We want ()&[] to print specially on the defun line.
+%
+\def\activeparens{%
+ \catcode`\(=\active \catcode`\)=\active
+ \catcode`\[=\active \catcode`\]=\active
+ \catcode`\&=\active
+}
+
+% Make control sequences which act like normal parenthesis chars.
+\let\lparen = ( \let\rparen = )
+
+% Be sure that we always have a definition for `(', etc. For example,
+% if the fn name has parens in it, \boldbrax will not be in effect yet,
+% so TeX would otherwise complain about undefined control sequence.
+{
+ \activeparens
+ \global\let(=\lparen \global\let)=\rparen
+ \global\let[=\lbrack \global\let]=\rbrack
+ \global\let& = \&
+
+ \gdef\boldbrax{\let(=\opnr\let)=\clnr\let[=\lbrb\let]=\rbrb}
+ \gdef\magicamp{\let&=\amprm}
+}
+\let\ampchar\&
+
+\newcount\parencount
+
+% If we encounter &foo, then turn on ()-hacking afterwards
+\newif\ifampseen
+\def\amprm#1 {\ampseentrue{\bf\ }}
+
+\def\parenfont{%
+ \ifampseen
+ % At the first level, print parens in roman,
+ % otherwise use the default font.
+ \ifnum \parencount=1 \rm \fi
+ \else
+ % The \sf parens (in \boldbrax) actually are a little bolder than
+ % the contained text. This is especially needed for [ and ] .
+ \sf
+ \fi
+}
+\def\infirstlevel#1{%
+ \ifampseen
+ \ifnum\parencount=1
+ #1%
+ \fi
+ \fi
+}
+\def\bfafterword#1 {#1 \bf}
+
+\def\opnr{%
+ \global\advance\parencount by 1
+ {\parenfont(}%
+ \infirstlevel \bfafterword
+}
+\def\clnr{%
+ {\parenfont)}%
+ \infirstlevel \sl
+ \global\advance\parencount by -1
+}
+
+\newcount\brackcount
+\def\lbrb{%
+ \global\advance\brackcount by 1
+ {\bf[}%
+}
+\def\rbrb{%
+ {\bf]}%
+ \global\advance\brackcount by -1
+}
+
+\def\checkparencounts{%
+ \ifnum\parencount=0 \else \badparencount \fi
+ \ifnum\brackcount=0 \else \badbrackcount \fi
+}
+% these should not use \errmessage; the glibc manual, at least, actually
+% has such constructs (when documenting function pointers).
+\def\badparencount{%
+ \message{Warning: unbalanced parentheses in @def...}%
+ \global\parencount=0
+}
+\def\badbrackcount{%
+ \message{Warning: unbalanced square brackets in @def...}%
+ \global\brackcount=0
+}
+
+
+\message{macros,}
+% @macro.
+
+% To do this right we need a feature of e-TeX, \scantokens,
+% which we arrange to emulate with a temporary file in ordinary TeX.
+\ifx\eTeXversion\thisisundefined
+ \newwrite\macscribble
+ \def\scantokens#1{%
+ \toks0={#1}%
+ \immediate\openout\macscribble=\jobname.tmp
+ \immediate\write\macscribble{\the\toks0}%
+ \immediate\closeout\macscribble
+ \input \jobname.tmp
+ }
+\fi
+
+\let\E=\expandafter
+
+% Used at the time of macro expansion.
+% Argument is macro body with arguments substituted
+\def\scanmacro#1{%
+ \newlinechar`\^^M
+ % expand the expansion of \eatleadingcr twice to maybe remove a leading
+ % newline (and \else and \fi tokens), then call \eatspaces on the result.
+ \def\xeatspaces##1{%
+ \E\E\E\E\E\E\E\eatspaces\E\E\E\E\E\E\E{\eatleadingcr##1%
+ }}%
+ \def\xempty##1{}%
+ %
+ % Process the macro body under the current catcode regime.
+ \scantokens{#1@comment}%
+ %
+ % The \comment is to remove the \newlinechar added by \scantokens, and
+ % can be noticed by \parsearg. Note \c isn't used because this means cedilla
+ % in math mode.
+}
+
+% Used for copying and captions
+\def\scanexp#1{%
+ \expandafter\scanmacro\expandafter{#1}%
+}
+
+\newcount\paramno % Count of parameters
+\newtoks\macname % Macro name
+\newif\ifrecursive % Is it recursive?
+
+% List of all defined macros in the form
+% \commondummyword\macro1\commondummyword\macro2...
+% Currently is also contains all @aliases; the list can be split
+% if there is a need.
+\def\macrolist{}
+
+% Add the macro to \macrolist
+\def\addtomacrolist#1{\expandafter \addtomacrolistxxx \csname#1\endcsname}
+\def\addtomacrolistxxx#1{%
+ \toks0 = \expandafter{\macrolist\commondummyword#1}%
+ \xdef\macrolist{\the\toks0}%
+}
+
+% Utility routines.
+% This does \let #1 = #2, with \csnames; that is,
+% \let \csname#1\endcsname = \csname#2\endcsname
+% (except of course we have to play expansion games).
+%
+\def\cslet#1#2{%
+ \expandafter\let
+ \csname#1\expandafter\endcsname
+ \csname#2\endcsname
+}
+
+% Trim leading and trailing spaces off a string.
+% Concepts from aro-bend problem 15 (see CTAN).
+{\catcode`\@=11
+\gdef\eatspaces #1{\expandafter\trim@\expandafter{#1 }}
+\gdef\trim@ #1{\trim@@ @#1 @ #1 @ @@}
+\gdef\trim@@ #1@ #2@ #3@@{\trim@@@\empty #2 @}
+\def\unbrace#1{#1}
+\unbrace{\gdef\trim@@@ #1 } #2@{#1}
+}
+
+{\catcode`\^^M=\other%
+\gdef\eatleadingcr#1{\if\noexpand#1\noexpand^^M\else\E#1\fi}}%
+% Warning: this won't work for a delimited argument
+% or for an empty argument
+
+% Trim a single trailing ^^M off a string.
+{\catcode`\^^M=\other \catcode`\Q=3%
+\gdef\eatcr #1{\eatcra #1Q^^MQ}%
+\gdef\eatcra#1^^MQ{\eatcrb#1Q}%
+\gdef\eatcrb#1Q#2Q{#1}%
+}
+
+% Macro bodies are absorbed as an argument in a context where
+% all characters are catcode 10, 11 or 12, except \ which is active
+% (as in normal texinfo). It is necessary to change the definition of \
+% to recognize macro arguments; this is the job of \mbodybackslash.
+%
+% Non-ASCII encodings make 8-bit characters active, so un-activate
+% them to avoid their expansion. Must do this non-globally, to
+% confine the change to the current group.
+%
+% It's necessary to have hard CRs when the macro is executed. This is
+% done by making ^^M (\endlinechar) catcode 12 when reading the macro
+% body, and then making it the \newlinechar in \scanmacro.
+%
+\def\scanctxt{% used as subroutine
+ \catcode`\"=\other
+ \catcode`\+=\other
+ \catcode`\<=\other
+ \catcode`\>=\other
+ \catcode`\^=\other
+ \catcode`\_=\other
+ \catcode`\|=\other
+ \catcode`\~=\other
+ \passthroughcharstrue
+}
+
+\def\scanargctxt{% used for copying and captions, not macros.
+ \scanctxt
+ \catcode`\@=\other
+ \catcode`\\=\other
+ \catcode`\^^M=\other
+}
+
+\def\macrobodyctxt{% used for @macro definitions
+ \scanctxt
+ \catcode`\ =\other
+ \catcode`\@=\other
+ \catcode`\{=\other
+ \catcode`\}=\other
+ \catcode`\^^M=\other
+ \usembodybackslash
+}
+
+% Used when scanning braced macro arguments. Note, however, that catcode
+% changes here are ineffectual if the macro invocation was nested inside
+% an argument to another Texinfo command.
+\def\macroargctxt{%
+ \scanctxt
+ \catcode`\ =\active
+ \catcode`\@=\other
+ \catcode`\^^M=\other
+ \catcode`\\=\active
+}
+
+\def\macrolineargctxt{% used for whole-line arguments without braces
+ \scanctxt
+ \catcode`\@=\other
+ \catcode`\{=\other
+ \catcode`\}=\other
+}
+
+% \mbodybackslash is the definition of \ in @macro bodies.
+% It maps \foo\ => \csname macarg.foo\endcsname => #N
+% where N is the macro parameter number.
+% We define \csname macarg.\endcsname to be \realbackslash, so
+% \\ in macro replacement text gets you a backslash.
+%
+{\catcode`@=0 @catcode`@\=@active
+ @gdef@usembodybackslash{@let\=@mbodybackslash}
+ @gdef@mbodybackslash#1\{@csname macarg.#1@endcsname}
+}
+\expandafter\def\csname macarg.\endcsname{\realbackslash}
+
+\def\margbackslash#1{\char`\#1 }
+
+\def\macro{\recursivefalse\parsearg\macroxxx}
+\def\rmacro{\recursivetrue\parsearg\macroxxx}
+
+\def\macroxxx#1{%
+ \getargs{#1}% now \macname is the macname and \argl the arglist
+ \ifx\argl\empty % no arguments
+ \paramno=0\relax
+ \else
+ \expandafter\parsemargdef \argl;%
+ \if\paramno>256\relax
+ \ifx\eTeXversion\thisisundefined
+ \errhelp = \EMsimple
+ \errmessage{You need eTeX to compile a file with macros with more than 256 arguments}
+ \fi
+ \fi
+ \fi
+ \if1\csname ismacro.\the\macname\endcsname
+ \message{Warning: redefining \the\macname}%
+ \else
+ \expandafter\ifx\csname \the\macname\endcsname \relax
+ \else \errmessage{Macro name \the\macname\space already defined}\fi
+ \global\cslet{macsave.\the\macname}{\the\macname}%
+ \global\expandafter\let\csname ismacro.\the\macname\endcsname=1%
+ \addtomacrolist{\the\macname}%
+ \fi
+ \begingroup \macrobodyctxt
+ \ifrecursive \expandafter\parsermacbody
+ \else \expandafter\parsemacbody
+ \fi}
+
+\parseargdef\unmacro{%
+ \if1\csname ismacro.#1\endcsname
+ \global\cslet{#1}{macsave.#1}%
+ \global\expandafter\let \csname ismacro.#1\endcsname=0%
+ % Remove the macro name from \macrolist:
+ \begingroup
+ \expandafter\let\csname#1\endcsname \relax
+ \let\commondummyword\unmacrodo
+ \xdef\macrolist{\macrolist}%
+ \endgroup
+ \else
+ \errmessage{Macro #1 not defined}%
+ \fi
+}
+
+% Called by \do from \dounmacro on each macro. The idea is to omit any
+% macro definitions that have been changed to \relax.
+%
+\def\unmacrodo#1{%
+ \ifx #1\relax
+ % remove this
+ \else
+ \noexpand\commondummyword \noexpand#1%
+ \fi
+}
+
+% \getargs -- Parse the arguments to a @macro line. Set \macname to
+% the name of the macro, and \argl to the braced argument list.
+\def\getargs#1{\getargsxxx#1{}}
+\def\getargsxxx#1#{\getmacname #1 \relax\getmacargs}
+\def\getmacname#1 #2\relax{\macname={#1}}
+\def\getmacargs#1{\def\argl{#1}}
+% This made use of the feature that if the last token of a
+% <parameter list> is #, then the preceding argument is delimited by
+% an opening brace, and that opening brace is not consumed.
+
+% Parse the optional {params} list to @macro or @rmacro.
+% Set \paramno to the number of arguments,
+% and \paramlist to a parameter text for the macro (e.g. #1,#2,#3 for a
+% three-param macro.) Define \macarg.BLAH for each BLAH in the params
+% list to some hook where the argument is to be expanded. If there are
+% less than 10 arguments that hook is to be replaced by ##N where N
+% is the position in that list, that is to say the macro arguments are to be
+% defined `a la TeX in the macro body.
+%
+% That gets used by \mbodybackslash (above).
+%
+% If there are 10 or more arguments, a different technique is used: see
+% \parsemmanyargdef.
+%
+\def\parsemargdef#1;{%
+ \paramno=0\def\paramlist{}%
+ \let\hash\relax
+ % \hash is redefined to `#' later to get it into definitions
+ \let\xeatspaces\relax
+ \let\xempty\relax
+ \parsemargdefxxx#1,;,%
+ \ifnum\paramno<10\relax\else
+ \paramno0\relax
+ \parsemmanyargdef@@#1,;,% 10 or more arguments
+ \fi
+}
+\def\parsemargdefxxx#1,{%
+ \if#1;\let\next=\relax
+ \else \let\next=\parsemargdefxxx
+ \advance\paramno by 1
+ \expandafter\edef\csname macarg.\eatspaces{#1}\endcsname
+ {\xeatspaces{\hash\the\paramno\noexpand\xempty{}}}%
+ \edef\paramlist{\paramlist\hash\the\paramno,}%
+ \fi\next}
+% the \xempty{} is to give \eatleadingcr an argument in the case of an
+% empty macro argument.
+
+% \parsemacbody, \parsermacbody
+%
+% Read recursive and nonrecursive macro bodies. (They're different since
+% rec and nonrec macros end differently.)
+%
+% We are in \macrobodyctxt, and the \xdef causes backslashshes in the macro
+% body to be transformed.
+% Set \macrobody to the body of the macro, and call \defmacro.
+%
+{\catcode`\ =\other\long\gdef\parsemacbody#1@end macro{%
+\xdef\macrobody{\eatcr{#1}}\endgroup\defmacro}}%
+{\catcode`\ =\other\long\gdef\parsermacbody#1@end rmacro{%
+\xdef\macrobody{\eatcr{#1}}\endgroup\defmacro}}%
+
+% Make @ a letter, so that we can make private-to-Texinfo macro names.
+\edef\texiatcatcode{\the\catcode`\@}
+\catcode `@=11\relax
+
+%%%%%%%%%%%%%% Code for > 10 arguments only %%%%%%%%%%%%%%%%%%
+
+% If there are 10 or more arguments, a different technique is used, where the
+% hook remains in the body, and when macro is to be expanded the body is
+% processed again to replace the arguments.
+%
+% In that case, the hook is \the\toks N-1, and we simply set \toks N-1 to the
+% argument N value and then \edef the body (nothing else will expand because of
+% the catcode regime under which the body was input).
+%
+% If you compile with TeX (not eTeX), and you have macros with 10 or more
+% arguments, no macro can have more than 256 arguments (else error).
+%
+% In case that there are 10 or more arguments we parse again the arguments
+% list to set new definitions for the \macarg.BLAH macros corresponding to
+% each BLAH argument. It was anyhow needed to parse already once this list
+% in order to count the arguments, and as macros with at most 9 arguments
+% are by far more frequent than macro with 10 or more arguments, defining
+% twice the \macarg.BLAH macros does not cost too much processing power.
+\def\parsemmanyargdef@@#1,{%
+ \if#1;\let\next=\relax
+ \else
+ \let\next=\parsemmanyargdef@@
+ \edef\tempb{\eatspaces{#1}}%
+ \expandafter\def\expandafter\tempa
+ \expandafter{\csname macarg.\tempb\endcsname}%
+ % Note that we need some extra \noexpand\noexpand, this is because we
+ % don't want \the to be expanded in the \parsermacbody as it uses an
+ % \xdef .
+ \expandafter\edef\tempa
+ {\noexpand\noexpand\noexpand\the\toks\the\paramno}%
+ \advance\paramno by 1\relax
+ \fi\next}
+
+
+\let\endargs@\relax
+\let\nil@\relax
+\def\nilm@{\nil@}%
+\long\def\nillm@{\nil@}%
+
+% This macro is expanded during the Texinfo macro expansion, not during its
+% definition. It gets all the arguments' values and assigns them to macros
+% macarg.ARGNAME
+%
+% #1 is the macro name
+% #2 is the list of argument names
+% #3 is the list of argument values
+\def\getargvals@#1#2#3{%
+ \def\macargdeflist@{}%
+ \def\saveparamlist@{#2}% Need to keep a copy for parameter expansion.
+ \def\paramlist{#2,\nil@}%
+ \def\macroname{#1}%
+ \begingroup
+ \macroargctxt
+ \def\argvaluelist{#3,\nil@}%
+ \def\@tempa{#3}%
+ \ifx\@tempa\empty
+ \setemptyargvalues@
+ \else
+ \getargvals@@
+ \fi
+}
+\def\getargvals@@{%
+ \ifx\paramlist\nilm@
+ % Some sanity check needed here that \argvaluelist is also empty.
+ \ifx\argvaluelist\nillm@
+ \else
+ \errhelp = \EMsimple
+ \errmessage{Too many arguments in macro `\macroname'!}%
+ \fi
+ \let\next\macargexpandinbody@
+ \else
+ \ifx\argvaluelist\nillm@
+ % No more arguments values passed to macro. Set remaining named-arg
+ % macros to empty.
+ \let\next\setemptyargvalues@
+ \else
+ % pop current arg name into \@tempb
+ \def\@tempa##1{\pop@{\@tempb}{\paramlist}##1\endargs@}%
+ \expandafter\@tempa\expandafter{\paramlist}%
+ % pop current argument value into \@tempc
+ \def\@tempa##1{\longpop@{\@tempc}{\argvaluelist}##1\endargs@}%
+ \expandafter\@tempa\expandafter{\argvaluelist}%
+ % Here \@tempb is the current arg name and \@tempc is the current arg value.
+ % First place the new argument macro definition into \@tempd
+ \expandafter\macname\expandafter{\@tempc}%
+ \expandafter\let\csname macarg.\@tempb\endcsname\relax
+ \expandafter\def\expandafter\@tempe\expandafter{%
+ \csname macarg.\@tempb\endcsname}%
+ \edef\@tempd{\long\def\@tempe{\the\macname}}%
+ \push@\@tempd\macargdeflist@
+ \let\next\getargvals@@
+ \fi
+ \fi
+ \next
+}
+
+\def\push@#1#2{%
+ \expandafter\expandafter\expandafter\def
+ \expandafter\expandafter\expandafter#2%
+ \expandafter\expandafter\expandafter{%
+ \expandafter#1#2}%
+}
+
+% Replace arguments by their values in the macro body, and place the result
+% in macro \@tempa.
+%
+\def\macvalstoargs@{%
+ % To do this we use the property that token registers that are \the'ed
+ % within an \edef expand only once. So we are going to place all argument
+ % values into respective token registers.
+ %
+ % First we save the token context, and initialize argument numbering.
+ \begingroup
+ \paramno0\relax
+ % Then, for each argument number #N, we place the corresponding argument
+ % value into a new token list register \toks#N
+ \expandafter\putargsintokens@\saveparamlist@,;,%
+ % Then, we expand the body so that argument are replaced by their
+ % values. The trick for values not to be expanded themselves is that they
+ % are within tokens and that tokens expand only once in an \edef .
+ \edef\@tempc{\csname mac.\macroname .body\endcsname}%
+ % Now we restore the token stack pointer to free the token list registers
+ % which we have used, but we make sure that expanded body is saved after
+ % group.
+ \expandafter
+ \endgroup
+ \expandafter\def\expandafter\@tempa\expandafter{\@tempc}%
+ }
+
+% Define the named-macro outside of this group and then close this group.
+%
+\def\macargexpandinbody@{%
+ \expandafter
+ \endgroup
+ \macargdeflist@
+ % First the replace in body the macro arguments by their values, the result
+ % is in \@tempa .
+ \macvalstoargs@
+ % Then we point at the \norecurse or \gobble (for recursive) macro value
+ % with \@tempb .
+ \expandafter\let\expandafter\@tempb\csname mac.\macroname .recurse\endcsname
+ % Depending on whether it is recursive or not, we need some tailing
+ % \egroup .
+ \ifx\@tempb\gobble
+ \let\@tempc\relax
+ \else
+ \let\@tempc\egroup
+ \fi
+ % And now we do the real job:
+ \edef\@tempd{\noexpand\@tempb{\macroname}\noexpand\scanmacro{\@tempa}\@tempc}%
+ \@tempd
+}
+
+\def\putargsintokens@#1,{%
+ \if#1;\let\next\relax
+ \else
+ \let\next\putargsintokens@
+ % First we allocate the new token list register, and give it a temporary
+ % alias \@tempb .
+ \toksdef\@tempb\the\paramno
+ % Then we place the argument value into that token list register.
+ \expandafter\let\expandafter\@tempa\csname macarg.#1\endcsname
+ \expandafter\@tempb\expandafter{\@tempa}%
+ \advance\paramno by 1\relax
+ \fi
+ \next
+}
+
+% Trailing missing arguments are set to empty.
+%
+\def\setemptyargvalues@{%
+ \ifx\paramlist\nilm@
+ \let\next\macargexpandinbody@
+ \else
+ \expandafter\setemptyargvaluesparser@\paramlist\endargs@
+ \let\next\setemptyargvalues@
+ \fi
+ \next
+}
+
+\def\setemptyargvaluesparser@#1,#2\endargs@{%
+ \expandafter\def\expandafter\@tempa\expandafter{%
+ \expandafter\def\csname macarg.#1\endcsname{}}%
+ \push@\@tempa\macargdeflist@
+ \def\paramlist{#2}%
+}
+
+% #1 is the element target macro
+% #2 is the list macro
+% #3,#4\endargs@ is the list value
+\def\pop@#1#2#3,#4\endargs@{%
+ \def#1{#3}%
+ \def#2{#4}%
+}
+\long\def\longpop@#1#2#3,#4\endargs@{%
+ \long\def#1{#3}%
+ \long\def#2{#4}%
+}
+
+
+%%%%%%%%%%%%%% End of code for > 10 arguments %%%%%%%%%%%%%%%%%%
+
+
+% This defines a Texinfo @macro or @rmacro, called by \parsemacbody.
+% \macrobody has the body of the macro in it, with placeholders for
+% its parameters, looking like "\xeatspaces{\hash 1}".
+% \paramno is the number of parameters
+% \paramlist is a TeX parameter text, e.g. "#1,#2,#3,"
+% There are four cases: macros of zero, one, up to nine, and many arguments.
+% \xdef is used so that macro definitions will survive the file
+% they're defined in: @include reads the file inside a group.
+%
+\def\defmacro{%
+ \let\hash=##% convert placeholders to macro parameter chars
+ \ifnum\paramno=1
+ \def\xeatspaces##1{##1}%
+ % This removes the pair of braces around the argument. We don't
+ % use \eatspaces, because this can cause ends of lines to be lost
+ % when the argument to \eatspaces is read, leading to line-based
+ % commands like "@itemize" not being read correctly.
+ \else
+ \let\xeatspaces\relax % suppress expansion
+ \fi
+ \ifcase\paramno
+ % 0
+ \expandafter\xdef\csname\the\macname\endcsname{%
+ \bgroup
+ \noexpand\spaceisspace
+ \noexpand\endlineisspace
+ \noexpand\expandafter % skip any whitespace after the macro name.
+ \expandafter\noexpand\csname\the\macname @@@\endcsname}%
+ \expandafter\xdef\csname\the\macname @@@\endcsname{%
+ \egroup
+ \noexpand\scanmacro{\macrobody}}%
+ \or % 1
+ \expandafter\xdef\csname\the\macname\endcsname{%
+ \bgroup
+ \noexpand\braceorline
+ \expandafter\noexpand\csname\the\macname @@@\endcsname}%
+ \expandafter\xdef\csname\the\macname @@@\endcsname##1{%
+ \egroup
+ \noexpand\scanmacro{\macrobody}%
+ }%
+ \else % at most 9
+ \ifnum\paramno<10\relax
+ % @MACNAME sets the context for reading the macro argument
+ % @MACNAME@@ gets the argument, processes backslashes and appends a
+ % comma.
+ % @MACNAME@@@ removes braces surrounding the argument list.
+ % @MACNAME@@@@ scans the macro body with arguments substituted.
+ \expandafter\xdef\csname\the\macname\endcsname{%
+ \bgroup
+ \noexpand\expandafter % This \expandafter skip any spaces after the
+ \noexpand\macroargctxt % macro before we change the catcode of space.
+ \noexpand\expandafter
+ \expandafter\noexpand\csname\the\macname @@\endcsname}%
+ \expandafter\xdef\csname\the\macname @@\endcsname##1{%
+ \noexpand\passargtomacro
+ \expandafter\noexpand\csname\the\macname @@@\endcsname{##1,}}%
+ \expandafter\xdef\csname\the\macname @@@\endcsname##1{%
+ \expandafter\noexpand\csname\the\macname @@@@\endcsname ##1}%
+ \expandafter\expandafter
+ \expandafter\xdef
+ \expandafter\expandafter
+ \csname\the\macname @@@@\endcsname\paramlist{%
+ \egroup\noexpand\scanmacro{\macrobody}}%
+ \else % 10 or more:
+ \expandafter\xdef\csname\the\macname\endcsname{%
+ \noexpand\getargvals@{\the\macname}{\argl}%
+ }%
+ \global\expandafter\let\csname mac.\the\macname .body\endcsname\macrobody
+ \global\expandafter\let\csname mac.\the\macname .recurse\endcsname\gobble
+ \fi
+ \fi}
+
+\catcode `\@\texiatcatcode\relax % end private-to-Texinfo catcodes
+
+\def\norecurse#1{\bgroup\cslet{#1}{macsave.#1}}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+{\catcode`\@=0 \catcode`\\=13 % We need to manipulate \ so use @ as escape
+@catcode`@_=11 % private names
+@catcode`@!=11 % used as argument separator
+
+% \passargtomacro#1#2 -
+% Call #1 with a list of tokens #2, with any doubled backslashes in #2
+% compressed to one.
+%
+% This implementation works by expansion, and not execution (so we cannot use
+% \def or similar). This reduces the risk of this failing in contexts where
+% complete expansion is done with no execution (for example, in writing out to
+% an auxiliary file for an index entry).
+%
+% State is kept in the input stream: the argument passed to
+% @look_ahead, @gobble_and_check_finish and @add_segment is
+%
+% THE_MACRO ARG_RESULT ! {PENDING_BS} NEXT_TOKEN (... rest of input)
+%
+% where:
+% THE_MACRO - name of the macro we want to call
+% ARG_RESULT - argument list we build to pass to that macro
+% PENDING_BS - either a backslash or nothing
+% NEXT_TOKEN - used to look ahead in the input stream to see what's coming next
+
+@gdef@passargtomacro#1#2{%
+ @add_segment #1!{}@relax#2\@_finish\%
+}
+@gdef@_finish{@_finishx} @global@let@_finishx@relax
+
+% #1 - THE_MACRO ARG_RESULT
+% #2 - PENDING_BS
+% #3 - NEXT_TOKEN
+% #4 used to look ahead
+%
+% If the next token is not a backslash, process the rest of the argument;
+% otherwise, remove the next token.
+@gdef@look_ahead#1!#2#3#4{%
+ @ifx#4\%
+ @expandafter@gobble_and_check_finish
+ @else
+ @expandafter@add_segment
+ @fi#1!{#2}#4#4%
+}
+
+% #1 - THE_MACRO ARG_RESULT
+% #2 - PENDING_BS
+% #3 - NEXT_TOKEN
+% #4 should be a backslash, which is gobbled.
+% #5 looks ahead
+%
+% Double backslash found. Add a single backslash, and look ahead.
+@gdef@gobble_and_check_finish#1!#2#3#4#5{%
+ @add_segment#1\!{}#5#5%
+}
+
+@gdef@is_fi{@fi}
+
+% #1 - THE_MACRO ARG_RESULT
+% #2 - PENDING_BS
+% #3 - NEXT_TOKEN
+% #4 is input stream until next backslash
+%
+% Input stream is either at the start of the argument, or just after a
+% backslash sequence, either a lone backslash, or a doubled backslash.
+% NEXT_TOKEN contains the first token in the input stream: if it is \finish,
+% finish; otherwise, append to ARG_RESULT the segment of the argument up until
+% the next backslash. PENDING_BACKSLASH contains a backslash to represent
+% a backslash just before the start of the input stream that has not been
+% added to ARG_RESULT.
+@gdef@add_segment#1!#2#3#4\{%
+@ifx#3@_finish
+ @call_the_macro#1!%
+@else
+ % append the pending backslash to the result, followed by the next segment
+ @expandafter@is_fi@look_ahead#1#2#4!{\}@fi
+ % this @fi is discarded by @look_ahead.
+ % we can't get rid of it with \expandafter because we don't know how
+ % long #4 is.
+}
+
+% #1 - THE_MACRO
+% #2 - ARG_RESULT
+% #3 discards the res of the conditional in @add_segment, and @is_fi ends the
+% conditional.
+@gdef@call_the_macro#1#2!#3@fi{@is_fi #1{#2}}
+
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% \braceorline MAC is used for a one-argument macro MAC. It checks
+% whether the next non-whitespace character is a {. It sets the context
+% for reading the argument (slightly different in the two cases). Then,
+% to read the argument, in the whole-line case, it then calls the regular
+% \parsearg MAC; in the lbrace case, it calls \passargtomacro MAC.
+%
+\def\braceorline#1{\let\macnamexxx=#1\futurelet\nchar\braceorlinexxx}
+\def\braceorlinexxx{%
+ \ifx\nchar\bgroup
+ \macroargctxt
+ \expandafter\passargtomacro
+ \else
+ \macrolineargctxt\expandafter\parsearg
+ \fi \macnamexxx}
+
+
+% @alias.
+% We need some trickery to remove the optional spaces around the equal
+% sign. Make them active and then expand them all to nothing.
+%
+\def\alias{\parseargusing\obeyspaces\aliasxxx}
+\def\aliasxxx #1{\aliasyyy#1\relax}
+\def\aliasyyy #1=#2\relax{%
+ {%
+ \expandafter\let\obeyedspace=\empty
+ \addtomacrolist{#1}%
+ \xdef\next{\global\let\makecsname{#1}=\makecsname{#2}}%
+ }%
+ \next
+}
+
+
+\message{cross references,}
+
+\newwrite\auxfile
+\newif\ifhavexrefs % True if xref values are known.
+\newif\ifwarnedxrefs % True if we warned once that they aren't known.
+
+% @inforef is relatively simple.
+\def\inforef #1{\inforefzzz #1,,,,**}
+\def\inforefzzz #1,#2,#3,#4**{%
+ \putwordSee{} \putwordInfo{} \putwordfile{} \file{\ignorespaces #3{}},
+ node \samp{\ignorespaces#1{}}}
+
+% @node's only job in TeX is to define \lastnode, which is used in
+% cross-references. The @node line might or might not have commas, and
+% might or might not have spaces before the first comma, like:
+% @node foo , bar , ...
+% We don't want such trailing spaces in the node name.
+%
+\parseargdef\node{\checkenv{}\donode #1 ,\finishnodeparse}
+%
+% also remove a trailing comma, in case of something like this:
+% @node Help-Cross, , , Cross-refs
+\def\donode#1 ,#2\finishnodeparse{\dodonode #1,\finishnodeparse}
+\def\dodonode#1,#2\finishnodeparse{\gdef\lastnode{#1}\omittopnode}
+
+% Used so that the @top node doesn't have to be wrapped in an @ifnottex
+% conditional.
+% \doignore goes to more effort to skip nested conditionals but we don't need
+% that here.
+\def\omittopnode{%
+ \ifx\lastnode\wordTop
+ \expandafter\ignorenode\fi
+}
+\def\wordTop{Top}
+
+% Until the next @node or @bye command, divert output to a box that is not
+% output.
+\def\ignorenode{\setbox\dummybox\vbox\bgroup\def\node{\egroup\node}%
+\ignorenodebye
+}
+
+{\let\bye\relax
+\gdef\ignorenodebye{\let\bye\ignorenodebyedef}
+\gdef\ignorenodebyedef{\egroup(`Top' node ignored)\bye}}
+% The redefinition of \bye here is because it is declared \outer
+
+\let\lastnode=\empty
+
+% Write a cross-reference definition for the current node. #1 is the
+% type (Ynumbered, Yappendix, Ynothing).
+%
+\def\donoderef#1{%
+ \ifx\lastnode\empty\else
+ \setref{\lastnode}{#1}%
+ \global\let\lastnode=\empty
+ \fi
+}
+
+% @anchor{NAME} -- define xref target at arbitrary point.
+%
+\newcount\savesfregister
+%
+\def\savesf{\relax \ifhmode \savesfregister=\spacefactor \fi}
+\def\restoresf{\relax \ifhmode \spacefactor=\savesfregister \fi}
+\def\anchor#1{\savesf \setref{#1}{Ynothing}\restoresf \ignorespaces}
+
+% \setref{NAME}{SNT} defines a cross-reference point NAME (a node or an
+% anchor), which consists of three parts:
+% 1) NAME-title - the current sectioning name taken from \currentsection,
+% or the anchor name.
+% 2) NAME-snt - section number and type, passed as the SNT arg, or
+% empty for anchors.
+% 3) NAME-pg - the page number.
+%
+% This is called from \donoderef, \anchor, and \dofloat. In the case of
+% floats, there is an additional part, which is not written here:
+% 4) NAME-lof - the text as it should appear in a @listoffloats.
+%
+\def\setref#1#2{%
+ \pdfmkdest{#1}%
+ \iflinks
+ {%
+ \requireauxfile
+ \atdummies % preserve commands, but don't expand them
+ % match definition in \xrdef, \refx, \xrefX.
+ \def\value##1{##1}%
+ \edef\writexrdef##1##2{%
+ \write\auxfile{@xrdef{#1-% #1 of \setref, expanded by the \edef
+ ##1}{##2}}% these are parameters of \writexrdef
+ }%
+ \toks0 = \expandafter{\currentsection}%
+ \immediate \writexrdef{title}{\the\toks0 }%
+ \immediate \writexrdef{snt}{\csname #2\endcsname}% \Ynumbered etc.
+ \safewhatsit{\writexrdef{pg}{\folio}}% will be written later, at \shipout
+ }%
+ \fi
+}
+
+% @xrefautosectiontitle on|off says whether @section(ing) names are used
+% automatically in xrefs, if the third arg is not explicitly specified.
+% This was provided as a "secret" @set xref-automatic-section-title
+% variable, now it's official.
+%
+\parseargdef\xrefautomaticsectiontitle{%
+ \def\temp{#1}%
+ \ifx\temp\onword
+ \expandafter\let\csname SETxref-automatic-section-title\endcsname
+ = \empty
+ \else\ifx\temp\offword
+ \expandafter\let\csname SETxref-automatic-section-title\endcsname
+ = \relax
+ \else
+ \errhelp = \EMsimple
+ \errmessage{Unknown @xrefautomaticsectiontitle value `\temp',
+ must be on|off}%
+ \fi\fi
+}
+
+%
+% @xref, @pxref, and @ref generate cross-references. For \xrefX, #1 is
+% the node name, #2 the name of the Info cross-reference, #3 the printed
+% node name, #4 the name of the Info file, #5 the name of the printed
+% manual. All but the node name can be omitted.
+%
+\def\pxref{\putwordsee{} \xrefXX}
+\def\xref{\putwordSee{} \xrefXX}
+\def\ref{\xrefXX}
+
+\def\xrefXX#1{\def\xrefXXarg{#1}\futurelet\tokenafterxref\xrefXXX}
+\def\xrefXXX{\expandafter\xrefX\expandafter[\xrefXXarg,,,,,,,]}
+%
+\newbox\toprefbox
+\newbox\printedrefnamebox
+\newbox\infofilenamebox
+\newbox\printedmanualbox
+%
+\def\xrefX[#1,#2,#3,#4,#5,#6]{\begingroup
+ \unsepspaces
+ %
+ % Get args without leading/trailing spaces.
+ \def\printedrefname{\ignorespaces #3}%
+ \setbox\printedrefnamebox = \hbox{\printedrefname\unskip}%
+ %
+ \def\infofilename{\ignorespaces #4}%
+ \setbox\infofilenamebox = \hbox{\infofilename\unskip}%
+ %
+ \def\printedmanual{\ignorespaces #5}%
+ \setbox\printedmanualbox = \hbox{\printedmanual\unskip}%
+ %
+ % If the printed reference name (arg #3) was not explicitly given in
+ % the @xref, figure out what we want to use.
+ \ifdim \wd\printedrefnamebox = 0pt
+ % No printed node name was explicitly given.
+ \expandafter\ifx\csname SETxref-automatic-section-title\endcsname \relax
+ % Not auto section-title: use node name inside the square brackets.
+ \def\printedrefname{\ignorespaces #1}%
+ \else
+ % Auto section-title: use chapter/section title inside
+ % the square brackets if we have it.
+ \ifdim \wd\printedmanualbox > 0pt
+ % It is in another manual, so we don't have it; use node name.
+ \def\printedrefname{\ignorespaces #1}%
+ \else
+ \ifhavexrefs
+ % We (should) know the real title if we have the xref values.
+ \def\printedrefname{\refx{#1-title}}%
+ \else
+ % Otherwise just copy the Info node name.
+ \def\printedrefname{\ignorespaces #1}%
+ \fi%
+ \fi
+ \fi
+ \fi
+ %
+ % Make link in pdf output.
+ \ifpdf
+ % For pdfTeX and LuaTeX
+ {\indexnofonts
+ \makevalueexpandable
+ \turnoffactive
+ % This expands tokens, so do it after making catcode changes, so _
+ % etc. don't get their TeX definitions. This ignores all spaces in
+ % #4, including (wrongly) those in the middle of the filename.
+ \getfilename{#4}%
+ %
+ % This (wrongly) does not take account of leading or trailing
+ % spaces in #1, which should be ignored.
+ \setpdfdestname{#1}%
+ %
+ \ifx\pdfdestname\empty
+ \def\pdfdestname{Top}% no empty targets
+ \fi
+ %
+ \leavevmode
+ \startlink attr{/Border [0 0 0]}%
+ \ifnum\filenamelength>0
+ goto file{\the\filename.pdf} name{\pdfdestname}%
+ \else
+ goto name{\pdfmkpgn{\pdfdestname}}%
+ \fi
+ }%
+ \setcolor{\linkcolor}%
+ \else
+ \ifx\XeTeXrevision\thisisundefined
+ \else
+ % For XeTeX
+ {\indexnofonts
+ \makevalueexpandable
+ \turnoffactive
+ % This expands tokens, so do it after making catcode changes, so _
+ % etc. don't get their TeX definitions. This ignores all spaces in
+ % #4, including (wrongly) those in the middle of the filename.
+ \getfilename{#4}%
+ %
+ % This (wrongly) does not take account of leading or trailing
+ % spaces in #1, which should be ignored.
+ \setpdfdestname{#1}%
+ %
+ \ifx\pdfdestname\empty
+ \def\pdfdestname{Top}% no empty targets
+ \fi
+ %
+ \leavevmode
+ \ifnum\filenamelength>0
+ % With default settings,
+ % XeTeX (xdvipdfmx) replaces link destination names with integers.
+ % In this case, the replaced destination names of
+ % remote PDFs are no longer known. In order to avoid a replacement,
+ % you can use xdvipdfmx's command line option `-C 0x0010'.
+ % If you use XeTeX 0.99996+ (TeX Live 2016+),
+ % this command line option is no longer necessary
+ % because we can use the `dvipdfmx:config' special.
+ \special{pdf:bann << /Border [0 0 0] /Type /Annot /Subtype /Link /A
+ << /S /GoToR /F (\the\filename.pdf) /D (\pdfdestname) >> >>}%
+ \else
+ \special{pdf:bann << /Border [0 0 0] /Type /Annot /Subtype /Link /A
+ << /S /GoTo /D (\pdfdestname) >> >>}%
+ \fi
+ }%
+ \setcolor{\linkcolor}%
+ \fi
+ \fi
+ {%
+ % Have to otherify everything special to allow the \csname to
+ % include an _ in the xref name, etc.
+ \indexnofonts
+ \turnoffactive
+ \def\value##1{##1}%
+ \expandafter\global\expandafter\let\expandafter\Xthisreftitle
+ \csname XR#1-title\endcsname
+ }%
+ %
+ % Float references are printed completely differently: "Figure 1.2"
+ % instead of "[somenode], p.3". \iffloat distinguishes them by
+ % \Xthisreftitle being set to a magic string.
+ \iffloat\Xthisreftitle
+ % If the user specified the print name (third arg) to the ref,
+ % print it instead of our usual "Figure 1.2".
+ \ifdim\wd\printedrefnamebox = 0pt
+ \refx{#1-snt}%
+ \else
+ \printedrefname
+ \fi
+ %
+ % If the user also gave the printed manual name (fifth arg), append
+ % "in MANUALNAME".
+ \ifdim \wd\printedmanualbox > 0pt
+ \space \putwordin{} \cite{\printedmanual}%
+ \fi
+ \else
+ % node/anchor (non-float) references.
+ %
+ % If we use \unhbox to print the node names, TeX does not insert
+ % empty discretionaries after hyphens, which means that it will not
+ % find a line break at a hyphen in a node names. Since some manuals
+ % are best written with fairly long node names, containing hyphens,
+ % this is a loss. Therefore, we give the text of the node name
+ % again, so it is as if TeX is seeing it for the first time.
+ %
+ \ifdim \wd\printedmanualbox > 0pt
+ % Cross-manual reference with a printed manual name.
+ %
+ \crossmanualxref{\cite{\printedmanual\unskip}}%
+ %
+ \else\ifdim \wd\infofilenamebox > 0pt
+ % Cross-manual reference with only an info filename (arg 4), no
+ % printed manual name (arg 5). This is essentially the same as
+ % the case above; we output the filename, since we have nothing else.
+ %
+ \crossmanualxref{\code{\infofilename\unskip}}%
+ %
+ \else
+ % Reference within this manual.
+ %
+ % Only output a following space if the -snt ref is nonempty, as the ref
+ % will be empty for @unnumbered and @anchor.
+ \setbox2 = \hbox{\ignorespaces \refx{#1-snt}}%
+ \ifdim \wd2 > 0pt \refx{#1-snt}\space\fi
+ %
+ % output the `[mynode]' via the macro below so it can be overridden.
+ \xrefprintnodename\printedrefname
+ %
+ \expandafter\ifx\csname SETtxiomitxrefpg\endcsname\relax
+ % But we always want a comma and a space:
+ ,\space
+ %
+ % output the `page 3'.
+ \turnoffactive \putwordpage\tie\refx{#1-pg}%
+ % Add a , if xref followed by a space
+ \if\space\noexpand\tokenafterxref ,%
+ \else\ifx\ \tokenafterxref ,% @TAB
+ \else\ifx\*\tokenafterxref ,% @*
+ \else\ifx\ \tokenafterxref ,% @SPACE
+ \else\ifx\
+ \tokenafterxref ,% @NL
+ \else\ifx\tie\tokenafterxref ,% @tie
+ \fi\fi\fi\fi\fi\fi
+ \fi
+ \fi\fi
+ \fi
+ \endlink
+\endgroup}
+
+% Output a cross-manual xref to #1. Used just above (twice).
+%
+% Only include the text "Section ``foo'' in" if the foo is neither
+% missing or Top. Thus, @xref{,,,foo,The Foo Manual} outputs simply
+% "see The Foo Manual", the idea being to refer to the whole manual.
+%
+% But, this being TeX, we can't easily compare our node name against the
+% string "Top" while ignoring the possible spaces before and after in
+% the input. By adding the arbitrary 7sp below, we make it much less
+% likely that a real node name would have the same width as "Top" (e.g.,
+% in a monospaced font). Hopefully it will never happen in practice.
+%
+% For the same basic reason, we retypeset the "Top" at every
+% reference, since the current font is indeterminate.
+%
+\def\crossmanualxref#1{%
+ \setbox\toprefbox = \hbox{Top\kern7sp}%
+ \setbox2 = \hbox{\ignorespaces \printedrefname \unskip \kern7sp}%
+ \ifdim \wd2 > 7sp % nonempty?
+ \ifdim \wd2 = \wd\toprefbox \else % same as Top?
+ \putwordSection{} ``\printedrefname'' \putwordin{}\space
+ \fi
+ \fi
+ #1%
+}
+
+% This macro is called from \xrefX for the `[nodename]' part of xref
+% output. It's a separate macro only so it can be changed more easily,
+% since square brackets don't work well in some documents. Particularly
+% one that Bob is working on :).
+%
+\def\xrefprintnodename#1{[#1]}
+
+% Things referred to by \setref.
+%
+\def\Ynothing{}
+\def\Yomitfromtoc{}
+\def\Ynumbered{%
+ \ifnum\secno=0
+ \putwordChapter@tie \the\chapno
+ \else \ifnum\subsecno=0
+ \putwordSection@tie \the\chapno.\the\secno
+ \else \ifnum\subsubsecno=0
+ \putwordSection@tie \the\chapno.\the\secno.\the\subsecno
+ \else
+ \putwordSection@tie \the\chapno.\the\secno.\the\subsecno.\the\subsubsecno
+ \fi\fi\fi
+}
+\def\Yappendix{%
+ \ifnum\secno=0
+ \putwordAppendix@tie @char\the\appendixno{}%
+ \else \ifnum\subsecno=0
+ \putwordSection@tie @char\the\appendixno.\the\secno
+ \else \ifnum\subsubsecno=0
+ \putwordSection@tie @char\the\appendixno.\the\secno.\the\subsecno
+ \else
+ \putwordSection@tie
+ @char\the\appendixno.\the\secno.\the\subsecno.\the\subsubsecno
+ \fi\fi\fi
+}
+
+% \refx{NAME} - reference a cross-reference string named NAME.
+\def\refx#1{%
+ \requireauxfile
+ {%
+ \indexnofonts
+ \turnoffactive
+ \def\value##1{##1}%
+ \expandafter\global\expandafter\let\expandafter\thisrefX
+ \csname XR#1\endcsname
+ }%
+ \ifx\thisrefX\relax
+ % If not defined, say something at least.
+ \angleleft un\-de\-fined\angleright
+ \iflinks
+ \ifhavexrefs
+ {\toks0 = {#1}% avoid expansion of possibly-complex value
+ \message{\linenumber Undefined cross reference `\the\toks0'.}}%
+ \else
+ \ifwarnedxrefs\else
+ \global\warnedxrefstrue
+ \message{Cross reference values unknown; you must run TeX again.}%
+ \fi
+ \fi
+ \fi
+ \else
+ % It's defined, so just use it.
+ \thisrefX
+ \fi
+}
+
+% This is the macro invoked by entries in the aux file. Define a control
+% sequence for a cross-reference target (we prepend XR to the control sequence
+% name to avoid collisions). The value is the page number. If this is a float
+% type, we have more work to do.
+%
+\def\xrdef#1#2{%
+ {% Expand the node or anchor name to remove control sequences.
+ % \turnoffactive stops 8-bit characters being changed to commands
+ % like @'e. \refx does the same to retrieve the value in the definition.
+ \indexnofonts
+ \turnoffactive
+ \def\value##1{##1}%
+ \xdef\safexrefname{#1}%
+ }%
+ %
+ \bgroup
+ \expandafter\gdef\csname XR\safexrefname\endcsname{#2}%
+ \egroup
+ % We put the \gdef inside a group to avoid the definitions building up on
+ % TeX's save stack, which can cause it to run out of space for aux files with
+ % thousands of lines. \gdef doesn't use the save stack, but \csname does
+ % when it defines an unknown control sequence as \relax.
+ %
+ % Was that xref control sequence that we just defined for a float?
+ \expandafter\iffloat\csname XR\safexrefname\endcsname
+ % it was a float, and we have the (safe) float type in \iffloattype.
+ \expandafter\let\expandafter\floatlist
+ \csname floatlist\iffloattype\endcsname
+ %
+ % Is this the first time we've seen this float type?
+ \expandafter\ifx\floatlist\relax
+ \toks0 = {\do}% yes, so just \do
+ \else
+ % had it before, so preserve previous elements in list.
+ \toks0 = \expandafter{\floatlist\do}%
+ \fi
+ %
+ % Remember this xref in the control sequence \floatlistFLOATTYPE,
+ % for later use in \listoffloats.
+ \expandafter\xdef\csname floatlist\iffloattype\endcsname{\the\toks0
+ {\safexrefname}}%
+ \fi
+}
+
+% If working on a large document in chapters, it is convenient to
+% be able to disable indexing, cross-referencing, and contents, for test runs.
+% This is done with @novalidate at the beginning of the file.
+%
+\newif\iflinks \linkstrue % by default we want the aux files.
+\let\novalidate = \linksfalse
+
+% Used when writing to the aux file, or when using data from it.
+\def\requireauxfile{%
+ \iflinks
+ \tryauxfile
+ % Open the new aux file. TeX will close it automatically at exit.
+ \immediate\openout\auxfile=\jobname.aux
+ \fi
+ \global\let\requireauxfile=\relax % Only do this once.
+}
+
+% Read the last existing aux file, if any. No error if none exists.
+%
+\def\tryauxfile{%
+ \openin 1 \jobname.aux
+ \ifeof 1 \else
+ \readdatafile{aux}%
+ \global\havexrefstrue
+ \fi
+ \closein 1
+}
+
+\def\setupdatafile{%
+ \catcode`\^^@=\other
+ \catcode`\^^A=\other
+ \catcode`\^^B=\other
+ \catcode`\^^C=\other
+ \catcode`\^^D=\other
+ \catcode`\^^E=\other
+ \catcode`\^^F=\other
+ \catcode`\^^G=\other
+ \catcode`\^^H=\other
+ \catcode`\^^K=\other
+ \catcode`\^^L=\other
+ \catcode`\^^N=\other
+ \catcode`\^^P=\other
+ \catcode`\^^Q=\other
+ \catcode`\^^R=\other
+ \catcode`\^^S=\other
+ \catcode`\^^T=\other
+ \catcode`\^^U=\other
+ \catcode`\^^V=\other
+ \catcode`\^^W=\other
+ \catcode`\^^X=\other
+ \catcode`\^^Z=\other
+ \catcode`\^^[=\other
+ \catcode`\^^\=\other
+ \catcode`\^^]=\other
+ \catcode`\^^^=\other
+ \catcode`\^^_=\other
+ \catcode`\^=\other
+ %
+ % Special characters. Should be turned off anyway, but...
+ \catcode`\~=\other
+ \catcode`\[=\other
+ \catcode`\]=\other
+ \catcode`\"=\other
+ \catcode`\_=\active
+ \catcode`\|=\active
+ \catcode`\<=\active
+ \catcode`\>=\active
+ \catcode`\$=\other
+ \catcode`\#=\other
+ \catcode`\&=\other
+ \catcode`\%=\other
+ \catcode`+=\other % avoid \+ for paranoia even though we've turned it off
+ %
+ \catcode`\\=\active
+ %
+ % @ is our escape character in .aux files, and we need braces.
+ \catcode`\{=1
+ \catcode`\}=2
+ \catcode`\@=0
+}
+
+\def\readdatafile#1{%
+\begingroup
+ \setupdatafile
+ \input\jobname.#1
+\endgroup}
+
+
+\message{insertions,}
+% including footnotes.
+
+\newcount \footnoteno
+
+% The trailing space in the following definition for supereject is
+% vital for proper filling; pages come out unaligned when you do a
+% pagealignmacro call if that space before the closing brace is
+% removed. (Generally, numeric constants should always be followed by a
+% space to prevent strange expansion errors.)
+\def\supereject{\par\penalty -20000\footnoteno =0 }
+
+% @footnotestyle is meaningful for Info output only.
+\let\footnotestyle=\comment
+
+{\catcode `\@=11
+%
+% Auto-number footnotes. Otherwise like plain.
+\gdef\footnote{%
+ \global\advance\footnoteno by \@ne
+ \edef\thisfootno{$^{\the\footnoteno}$}%
+ %
+ % In case the footnote comes at the end of a sentence, preserve the
+ % extra spacing after we do the footnote number.
+ \let\@sf\empty
+ \ifhmode\edef\@sf{\spacefactor\the\spacefactor}\ptexslash\fi
+ %
+ % Remove inadvertent blank space before typesetting the footnote number.
+ \unskip
+ \thisfootno\@sf
+ \dofootnote
+}%
+
+% Don't bother with the trickery in plain.tex to not require the
+% footnote text as a parameter. Our footnotes don't need to be so general.
+%
+% Oh yes, they do; otherwise, @ifset (and anything else that uses
+% \parseargline) fails inside footnotes because the tokens are fixed when
+% the footnote is read. --karl, 16nov96.
+%
+\gdef\dofootnote{%
+ \insert\footins\bgroup
+ %
+ % Nested footnotes are not supported in TeX, that would take a lot
+ % more work. (\startsavinginserts does not suffice.)
+ \let\footnote=\errfootnotenest
+ %
+ % We want to typeset this text as a normal paragraph, even if the
+ % footnote reference occurs in (for example) a display environment.
+ % So reset some parameters.
+ \hsize=\txipagewidth
+ \interlinepenalty\interfootnotelinepenalty
+ \splittopskip\ht\strutbox % top baseline for broken footnotes
+ \splitmaxdepth\dp\strutbox
+ \floatingpenalty\@MM
+ \leftskip\z@skip
+ \rightskip\z@skip
+ \spaceskip\z@skip
+ \xspaceskip\z@skip
+ \parindent\defaultparindent
+ %
+ \smallfonts \rm
+ %
+ % Because we use hanging indentation in footnotes, a @noindent appears
+ % to exdent this text, so make it be a no-op. makeinfo does not use
+ % hanging indentation so @noindent can still be needed within footnote
+ % text after an @example or the like (not that this is good style).
+ \let\noindent = \relax
+ %
+ % Hang the footnote text off the number. Use \everypar in case the
+ % footnote extends for more than one paragraph.
+ \everypar = {\hang}%
+ \textindent{\thisfootno}%
+ %
+ % Don't crash into the line above the footnote text. Since this
+ % expands into a box, it must come within the paragraph, lest it
+ % provide a place where TeX can split the footnote.
+ \footstrut
+ %
+ % Invoke rest of plain TeX footnote routine.
+ \futurelet\next\fo@t
+}
+}%end \catcode `\@=11
+
+\def\errfootnotenest{%
+ \errhelp=\EMsimple
+ \errmessage{Nested footnotes not supported in texinfo.tex,
+ even though they work in makeinfo; sorry}
+}
+
+\def\errfootnoteheading{%
+ \errhelp=\EMsimple
+ \errmessage{Footnotes in chapters, sections, etc., are not supported}
+}
+
+% In case a @footnote appears in a vbox, save the footnote text and create
+% the real \insert just after the vbox finished. Otherwise, the insertion
+% would be lost.
+% Similarly, if a @footnote appears inside an alignment, save the footnote
+% text to a box and make the \insert when a row of the table is finished.
+% And the same can be done for other insert classes. --kasal, 16nov03.
+%
+% Replace the \insert primitive by a cheating macro.
+% Deeper inside, just make sure that the saved insertions are not spilled
+% out prematurely.
+%
+\def\startsavinginserts{%
+ \ifx \insert\ptexinsert
+ \let\insert\saveinsert
+ \else
+ \let\checkinserts\relax
+ \fi
+}
+
+% This \insert replacement works for both \insert\footins{foo} and
+% \insert\footins\bgroup foo\egroup, but it doesn't work for \insert27{foo}.
+%
+\def\saveinsert#1{%
+ \edef\next{\noexpand\savetobox \makeSAVEname#1}%
+ \afterassignment\next
+ % swallow the left brace
+ \let\temp =
+}
+\def\makeSAVEname#1{\makecsname{SAVE\expandafter\gobble\string#1}}
+\def\savetobox#1{\global\setbox#1 = \vbox\bgroup \unvbox#1}
+
+\def\checksaveins#1{\ifvoid#1\else \placesaveins#1\fi}
+
+\def\placesaveins#1{%
+ \ptexinsert \csname\expandafter\gobblesave\string#1\endcsname
+ {\box#1}%
+}
+
+% eat @SAVE -- beware, all of them have catcode \other:
+{
+ \def\dospecials{\do S\do A\do V\do E} \uncatcodespecials % ;-)
+ \gdef\gobblesave @SAVE{}
+}
+
+% initialization:
+\def\newsaveins #1{%
+ \edef\next{\noexpand\newsaveinsX \makeSAVEname#1}%
+ \next
+}
+\def\newsaveinsX #1{%
+ \csname newbox\endcsname #1%
+ \expandafter\def\expandafter\checkinserts\expandafter{\checkinserts
+ \checksaveins #1}%
+}
+
+% initialize:
+\let\checkinserts\empty
+\newsaveins\footins
+\newsaveins\margin
+
+
+% @image. We use the macros from epsf.tex to support this.
+% If epsf.tex is not installed and @image is used, we complain.
+%
+% Check for and read epsf.tex up front. If we read it only at @image
+% time, we might be inside a group, and then its definitions would get
+% undone and the next image would fail.
+\openin 1 = epsf.tex
+\ifeof 1 \else
+ % Do not bother showing banner with epsf.tex v2.7k (available in
+ % doc/epsf.tex and on ctan).
+ \def\epsfannounce{\toks0 = }%
+ \input epsf.tex
+\fi
+\closein 1
+%
+% We will only complain once about lack of epsf.tex.
+\newif\ifwarnednoepsf
+\newhelp\noepsfhelp{epsf.tex must be installed for images to
+ work. It is also included in the Texinfo distribution, or you can get
+ it from https://ctan.org/texarchive/macros/texinfo/texinfo/doc/epsf.tex.}
+%
+\def\image#1{%
+ \ifx\epsfbox\thisisundefined
+ \ifwarnednoepsf \else
+ \errhelp = \noepsfhelp
+ \errmessage{epsf.tex not found, images will be ignored}%
+ \global\warnednoepsftrue
+ \fi
+ \else
+ \imagexxx #1,,,,,\finish
+ \fi
+}
+%
+% Arguments to @image:
+% #1 is (mandatory) image filename; we tack on .eps extension.
+% #2 is (optional) width, #3 is (optional) height.
+% #4 is (ignored optional) html alt text.
+% #5 is (ignored optional) extension.
+% #6 is just the usual extra ignored arg for parsing stuff.
+\newif\ifimagevmode
+\def\imagexxx#1,#2,#3,#4,#5,#6\finish{\begingroup
+ \catcode`\^^M = 5 % in case we're inside an example
+ \normalturnoffactive % allow _ et al. in names
+ \makevalueexpandable
+ % If the image is by itself, center it.
+ \ifvmode
+ \imagevmodetrue
+ \else \ifx\centersub\centerV
+ % for @center @image, we need a vbox so we can have our vertical space
+ \imagevmodetrue
+ \vbox\bgroup % vbox has better behavior than vtop herev
+ \fi\fi
+ %
+ \ifimagevmode
+ \nobreak\medskip
+ % Usually we'll have text after the image which will insert
+ % \parskip glue, so insert it here too to equalize the space
+ % above and below.
+ \nobreak\vskip\parskip
+ \nobreak
+ \fi
+ %
+ % Leave vertical mode so that indentation from an enclosing
+ % environment such as @quotation is respected.
+ % However, if we're at the top level, we don't want the
+ % normal paragraph indentation.
+ % On the other hand, if we are in the case of @center @image, we don't
+ % want to start a paragraph, which will create a hsize-width box and
+ % eradicate the centering.
+ \ifx\centersub\centerV \else \imageindent \fi
+ %
+ % Output the image.
+ \ifpdf
+ % For pdfTeX and LuaTeX <= 0.80
+ \dopdfimage{#1}{#2}{#3}%
+ \else
+ \ifx\XeTeXrevision\thisisundefined
+ % For epsf.tex
+ % \epsfbox itself resets \epsf?size at each figure.
+ \setbox0 = \hbox{\ignorespaces #2}%
+ \ifdim\wd0 > 0pt \epsfxsize=#2\relax \fi
+ \setbox0 = \hbox{\ignorespaces #3}%
+ \ifdim\wd0 > 0pt \epsfysize=#3\relax \fi
+ \epsfbox{#1.eps}%
+ \else
+ % For XeTeX
+ \doxeteximage{#1}{#2}{#3}%
+ \fi
+ \fi
+ %
+ \ifimagevmode
+ \medskip % space after a standalone image
+ \fi
+ \ifx\centersub\centerV \egroup \fi
+\endgroup}
+
+
+% @float FLOATTYPE,LABEL,LOC ... @end float for displayed figures, tables,
+% etc. We don't actually implement floating yet, we always include the
+% float "here". But it seemed the best name for the future.
+%
+\envparseargdef\float{\eatcommaspace\eatcommaspace\dofloat#1, , ,\finish}
+
+% There may be a space before second and/or third parameter; delete it.
+\def\eatcommaspace#1, {#1,}
+
+% #1 is the optional FLOATTYPE, the text label for this float, typically
+% "Figure", "Table", "Example", etc. Can't contain commas. If omitted,
+% this float will not be numbered and cannot be referred to.
+%
+% #2 is the optional xref label. Also must be present for the float to
+% be referable.
+%
+% #3 is the optional positioning argument; for now, it is ignored. It
+% will somehow specify the positions allowed to float to (here, top, bottom).
+%
+% We keep a separate counter for each FLOATTYPE, which we reset at each
+% chapter-level command.
+\let\resetallfloatnos=\empty
+%
+\def\dofloat#1,#2,#3,#4\finish{%
+ \let\thiscaption=\empty
+ \let\thisshortcaption=\empty
+ %
+ % don't lose footnotes inside @float.
+ %
+ % BEWARE: when the floats start float, we have to issue warning whenever an
+ % insert appears inside a float which could possibly float. --kasal, 26may04
+ %
+ \startsavinginserts
+ %
+ % We can't be used inside a paragraph.
+ \par
+ %
+ \vtop\bgroup
+ \def\floattype{#1}%
+ \def\floatlabel{#2}%
+ \def\floatloc{#3}% we do nothing with this yet.
+ %
+ \ifx\floattype\empty
+ \let\safefloattype=\empty
+ \else
+ {%
+ % the floattype might have accents or other special characters,
+ % but we need to use it in a control sequence name.
+ \indexnofonts
+ \turnoffactive
+ \xdef\safefloattype{\floattype}%
+ }%
+ \fi
+ %
+ % If label is given but no type, we handle that as the empty type.
+ \ifx\floatlabel\empty \else
+ % We want each FLOATTYPE to be numbered separately (Figure 1,
+ % Table 1, Figure 2, ...). (And if no label, no number.)
+ %
+ \expandafter\getfloatno\csname\safefloattype floatno\endcsname
+ \global\advance\floatno by 1
+ %
+ {%
+ % This magic value for \currentsection is output by \setref as the
+ % XREFLABEL-title value. \xrefX uses it to distinguish float
+ % labels (which have a completely different output format) from
+ % node and anchor labels. And \xrdef uses it to construct the
+ % lists of floats.
+ %
+ \edef\currentsection{\floatmagic=\safefloattype}%
+ \setref{\floatlabel}{Yfloat}%
+ }%
+ \fi
+ %
+ % start with \parskip glue, I guess.
+ \vskip\parskip
+ %
+ % Don't suppress indentation if a float happens to start a section.
+ \restorefirstparagraphindent
+}
+
+% we have these possibilities:
+% @float Foo,lbl & @caption{Cap}: Foo 1.1: Cap
+% @float Foo,lbl & no caption: Foo 1.1
+% @float Foo & @caption{Cap}: Foo: Cap
+% @float Foo & no caption: Foo
+% @float ,lbl & Caption{Cap}: 1.1: Cap
+% @float ,lbl & no caption: 1.1
+% @float & @caption{Cap}: Cap
+% @float & no caption:
+%
+\def\Efloat{%
+ \let\floatident = \empty
+ %
+ % In all cases, if we have a float type, it comes first.
+ \ifx\floattype\empty \else \def\floatident{\floattype}\fi
+ %
+ % If we have an xref label, the number comes next.
+ \ifx\floatlabel\empty \else
+ \ifx\floattype\empty \else % if also had float type, need tie first.
+ \appendtomacro\floatident{\tie}%
+ \fi
+ % the number.
+ \appendtomacro\floatident{\chaplevelprefix\the\floatno}%
+ \fi
+ %
+ % Start the printed caption with what we've constructed in
+ % \floatident, but keep it separate; we need \floatident again.
+ \let\captionline = \floatident
+ %
+ \ifx\thiscaption\empty \else
+ \ifx\floatident\empty \else
+ \appendtomacro\captionline{: }% had ident, so need a colon between
+ \fi
+ %
+ % caption text.
+ \appendtomacro\captionline{\scanexp\thiscaption}%
+ \fi
+ %
+ % If we have anything to print, print it, with space before.
+ % Eventually this needs to become an \insert.
+ \ifx\captionline\empty \else
+ \vskip.5\parskip
+ \captionline
+ %
+ % Space below caption.
+ \vskip\parskip
+ \fi
+ %
+ % If have an xref label, write the list of floats info. Do this
+ % after the caption, to avoid chance of it being a breakpoint.
+ \ifx\floatlabel\empty \else
+ % Write the text that goes in the lof to the aux file as
+ % \floatlabel-lof. Besides \floatident, we include the short
+ % caption if specified, else the full caption if specified, else nothing.
+ {%
+ \requireauxfile
+ \atdummies
+ %
+ \ifx\thisshortcaption\empty
+ \def\gtemp{\thiscaption}%
+ \else
+ \def\gtemp{\thisshortcaption}%
+ \fi
+ \immediate\write\auxfile{@xrdef{\floatlabel-lof}{\floatident
+ \ifx\gtemp\empty \else : \gtemp \fi}}%
+ }%
+ \fi
+ \egroup % end of \vtop
+ %
+ \checkinserts
+}
+
+% Append the tokens #2 to the definition of macro #1, not expanding either.
+%
+\def\appendtomacro#1#2{%
+ \expandafter\def\expandafter#1\expandafter{#1#2}%
+}
+
+% @caption, @shortcaption
+%
+\def\caption{\docaption\thiscaption}
+\def\shortcaption{\docaption\thisshortcaption}
+\def\docaption{\checkenv\float \bgroup\scanargctxt\defcaption}
+\def\defcaption#1#2{\egroup \def#1{#2}}
+
+% The parameter is the control sequence identifying the counter we are
+% going to use. Create it if it doesn't exist and assign it to \floatno.
+\def\getfloatno#1{%
+ \ifx#1\relax
+ % Haven't seen this figure type before.
+ \csname newcount\endcsname #1%
+ %
+ % Remember to reset this floatno at the next chap.
+ \expandafter\gdef\expandafter\resetallfloatnos
+ \expandafter{\resetallfloatnos #1=0 }%
+ \fi
+ \let\floatno#1%
+}
+
+% \setref calls this to get the XREFLABEL-snt value. We want an @xref
+% to the FLOATLABEL to expand to "Figure 3.1". We call \setref when we
+% first read the @float command.
+%
+\def\Yfloat{\floattype@tie \chaplevelprefix\the\floatno}%
+
+% Magic string used for the XREFLABEL-title value, so \xrefX can
+% distinguish floats from other xref types.
+\def\floatmagic{!!float!!}
+
+% #1 is the control sequence we are passed; we expand into a conditional
+% which is true if #1 represents a float ref. That is, the magic
+% \currentsection value which we \setref above.
+%
+\def\iffloat#1{\expandafter\doiffloat#1==\finish}
+%
+% #1 is (maybe) the \floatmagic string. If so, #2 will be the
+% (safe) float type for this float. We set \iffloattype to #2.
+%
+\def\doiffloat#1=#2=#3\finish{%
+ \def\temp{#1}%
+ \def\iffloattype{#2}%
+ \ifx\temp\floatmagic
+}
+
+% @listoffloats FLOATTYPE - print a list of floats like a table of contents.
+%
+\parseargdef\listoffloats{%
+ \def\floattype{#1}% floattype
+ {%
+ % the floattype might have accents or other special characters,
+ % but we need to use it in a control sequence name.
+ \indexnofonts
+ \turnoffactive
+ \xdef\safefloattype{\floattype}%
+ }%
+ %
+ % \xrdef saves the floats as a \do-list in \floatlistSAFEFLOATTYPE.
+ \expandafter\ifx\csname floatlist\safefloattype\endcsname \relax
+ \ifhavexrefs
+ % if the user said @listoffloats foo but never @float foo.
+ \message{\linenumber No `\safefloattype' floats to list.}%
+ \fi
+ \else
+ \begingroup
+ \leftskip=\tocindent % indent these entries like a toc
+ \let\do=\listoffloatsdo
+ \csname floatlist\safefloattype\endcsname
+ \endgroup
+ \fi
+}
+
+% This is called on each entry in a list of floats. We're passed the
+% xref label, in the form LABEL-title, which is how we save it in the
+% aux file. We strip off the -title and look up \XRLABEL-lof, which
+% has the text we're supposed to typeset here.
+%
+% Figures without xref labels will not be included in the list (since
+% they won't appear in the aux file).
+%
+\def\listoffloatsdo#1{\listoffloatsdoentry#1\finish}
+\def\listoffloatsdoentry#1-title\finish{{%
+ % Can't fully expand XR#1-lof because it can contain anything. Just
+ % pass the control sequence. On the other hand, XR#1-pg is just the
+ % page number, and we want to fully expand that so we can get a link
+ % in pdf output.
+ \toksA = \expandafter{\csname XR#1-lof\endcsname}%
+ %
+ % use the same \entry macro we use to generate the TOC and index.
+ \edef\writeentry{\noexpand\entry{\the\toksA}{\csname XR#1-pg\endcsname}}%
+ \writeentry
+}}
+
+
+\message{localization,}
+
+% For single-language documents, @documentlanguage is usually given very
+% early, just after @documentencoding. Single argument is the language
+% (de) or locale (de_DE) abbreviation.
+%
+{
+ \catcode`\_ = \active
+ \globaldefs=1
+\parseargdef\documentlanguage{%
+ \tex % read txi-??.tex file in plain TeX.
+ % Read the file by the name they passed if it exists.
+ \let_ = \normalunderscore % normal _ character for filename test
+ \openin 1 txi-#1.tex
+ \ifeof 1
+ \documentlanguagetrywithoutunderscore #1_\finish
+ \else
+ \globaldefs = 1 % everything in the txi-LL files needs to persist
+ \input txi-#1.tex
+ \fi
+ \closein 1
+ \endgroup % end raw TeX
+}
+%
+% If they passed de_DE, and txi-de_DE.tex doesn't exist,
+% try txi-de.tex.
+%
+\gdef\documentlanguagetrywithoutunderscore#1_#2\finish{%
+ \openin 1 txi-#1.tex
+ \ifeof 1
+ \errhelp = \nolanghelp
+ \errmessage{Cannot read language file txi-#1.tex}%
+ \else
+ \globaldefs = 1 % everything in the txi-LL files needs to persist
+ \input txi-#1.tex
+ \fi
+ \closein 1
+}
+}% end of special _ catcode
+%
+\newhelp\nolanghelp{The given language definition file cannot be found or
+is empty. Maybe you need to install it? Putting it in the current
+directory should work if nowhere else does.}
+
+% This macro is called from txi-??.tex files; the first argument is the
+% \language name to set (without the "\lang@" prefix), the second and
+% third args are \{left,right}hyphenmin.
+%
+% The language names to pass are determined when the format is built.
+% See the etex.log file created at that time, e.g.,
+% /usr/local/texlive/2008/texmf-var/web2c/pdftex/etex.log.
+%
+% With TeX Live 2008, etex now includes hyphenation patterns for all
+% available languages. This means we can support hyphenation in
+% Texinfo, at least to some extent. (This still doesn't solve the
+% accented characters problem.)
+%
+\catcode`@=11
+\def\txisetlanguage#1#2#3{%
+ % do not set the language if the name is undefined in the current TeX.
+ \expandafter\ifx\csname lang@#1\endcsname \relax
+ \message{no patterns for #1}%
+ \else
+ \global\language = \csname lang@#1\endcsname
+ \fi
+ % but there is no harm in adjusting the hyphenmin values regardless.
+ \global\lefthyphenmin = #2\relax
+ \global\righthyphenmin = #3\relax
+}
+
+% XeTeX and LuaTeX can handle Unicode natively.
+% Their default I/O uses UTF-8 sequences instead of a byte-wise operation.
+% Other TeX engines' I/O (pdfTeX, etc.) is byte-wise.
+%
+\newif\iftxinativeunicodecapable
+\newif\iftxiusebytewiseio
+
+\ifx\XeTeXrevision\thisisundefined
+ \ifx\luatexversion\thisisundefined
+ \txinativeunicodecapablefalse
+ \txiusebytewiseiotrue
+ \else
+ \txinativeunicodecapabletrue
+ \txiusebytewiseiofalse
+ \fi
+\else
+ \txinativeunicodecapabletrue
+ \txiusebytewiseiofalse
+\fi
+
+% Set I/O by bytes instead of UTF-8 sequence for XeTeX and LuaTex
+% for non-UTF-8 (byte-wise) encodings.
+%
+\def\setbytewiseio{%
+ \ifx\XeTeXrevision\thisisundefined
+ \else
+ \XeTeXdefaultencoding "bytes" % For subsequent files to be read
+ \XeTeXinputencoding "bytes" % For document root file
+ % Unfortunately, there seems to be no corresponding XeTeX command for
+ % output encoding. This is a problem for auxiliary index and TOC files.
+ % The only solution would be perhaps to write out @U{...} sequences in
+ % place of non-ASCII characters.
+ \fi
+
+ \ifx\luatexversion\thisisundefined
+ \else
+ \directlua{
+ local utf8_char, byte, gsub = unicode.utf8.char, string.byte, string.gsub
+ local function convert_char (char)
+ return utf8_char(byte(char))
+ end
+
+ local function convert_line (line)
+ return gsub(line, ".", convert_char)
+ end
+
+ callback.register("process_input_buffer", convert_line)
+
+ local function convert_line_out (line)
+ local line_out = ""
+ for c in string.utfvalues(line) do
+ line_out = line_out .. string.char(c)
+ end
+ return line_out
+ end
+
+ callback.register("process_output_buffer", convert_line_out)
+ }
+ \fi
+
+ \txiusebytewiseiotrue
+}
+
+
+% Helpers for encodings.
+% Set the catcode of characters 128 through 255 to the specified number.
+%
+\def\setnonasciicharscatcode#1{%
+ \count255=128
+ \loop\ifnum\count255<256
+ \global\catcode\count255=#1\relax
+ \advance\count255 by 1
+ \repeat
+}
+
+\def\setnonasciicharscatcodenonglobal#1{%
+ \count255=128
+ \loop\ifnum\count255<256
+ \catcode\count255=#1\relax
+ \advance\count255 by 1
+ \repeat
+}
+
+% @documentencoding sets the definition of non-ASCII characters
+% according to the specified encoding.
+%
+\def\documentencoding{\parseargusing\filenamecatcodes\documentencodingzzz}
+\def\documentencodingzzz#1{%
+ %
+ % Encoding being declared for the document.
+ \def\declaredencoding{\csname #1.enc\endcsname}%
+ %
+ % Supported encodings: names converted to tokens in order to be able
+ % to compare them with \ifx.
+ \def\ascii{\csname US-ASCII.enc\endcsname}%
+ \def\latnine{\csname ISO-8859-15.enc\endcsname}%
+ \def\latone{\csname ISO-8859-1.enc\endcsname}%
+ \def\lattwo{\csname ISO-8859-2.enc\endcsname}%
+ \def\utfeight{\csname UTF-8.enc\endcsname}%
+ %
+ \ifx \declaredencoding \ascii
+ \asciichardefs
+ %
+ \else \ifx \declaredencoding \lattwo
+ \iftxinativeunicodecapable
+ \setbytewiseio
+ \fi
+ \setnonasciicharscatcode\active
+ \lattwochardefs
+ %
+ \else \ifx \declaredencoding \latone
+ \iftxinativeunicodecapable
+ \setbytewiseio
+ \fi
+ \setnonasciicharscatcode\active
+ \latonechardefs
+ %
+ \else \ifx \declaredencoding \latnine
+ \iftxinativeunicodecapable
+ \setbytewiseio
+ \fi
+ \setnonasciicharscatcode\active
+ \latninechardefs
+ %
+ \else \ifx \declaredencoding \utfeight
+ \iftxinativeunicodecapable
+ % For native Unicode handling (XeTeX and LuaTeX)
+ \nativeunicodechardefs
+ \else
+ % For treating UTF-8 as byte sequences (TeX, eTeX and pdfTeX)
+ \setnonasciicharscatcode\active
+ % since we already invoked \utfeightchardefs at the top level
+ % (below), do not re-invoke it, otherwise our check for duplicated
+ % definitions gets triggered. Making non-ascii chars active is
+ % sufficient.
+ \fi
+ %
+ \else
+ \message{Ignoring unknown document encoding: #1.}%
+ %
+ \fi % utfeight
+ \fi % latnine
+ \fi % latone
+ \fi % lattwo
+ \fi % ascii
+ %
+ \ifx\XeTeXrevision\thisisundefined
+ \else
+ \ifx \declaredencoding \utfeight
+ \else
+ \ifx \declaredencoding \ascii
+ \else
+ \message{Warning: XeTeX with non-UTF-8 encodings cannot handle %
+ non-ASCII characters in auxiliary files.}%
+ \fi
+ \fi
+ \fi
+}
+
+% emacs-page
+% A message to be logged when using a character that isn't available
+% the default font encoding (OT1).
+%
+\def\missingcharmsg#1{\message{Character missing, sorry: #1.}}
+
+% Take account of \c (plain) vs. \, (Texinfo) difference.
+\def\cedilla#1{\ifx\c\ptexc\c{#1}\else\,{#1}\fi}
+
+% First, make active non-ASCII characters in order for them to be
+% correctly categorized when TeX reads the replacement text of
+% macros containing the character definitions.
+\setnonasciicharscatcode\active
+%
+
+\def\gdefchar#1#2{%
+\gdef#1{%
+ \ifpassthroughchars
+ \string#1%
+ \else
+ #2%
+ \fi
+}}
+
+% Latin1 (ISO-8859-1) character definitions.
+\def\latonechardefs{%
+ \gdefchar^^a0{\tie}
+ \gdefchar^^a1{\exclamdown}
+ \gdefchar^^a2{{\tcfont \char162}} % cent
+ \gdefchar^^a3{\pounds{}}
+ \gdefchar^^a4{{\tcfont \char164}} % currency
+ \gdefchar^^a5{{\tcfont \char165}} % yen
+ \gdefchar^^a6{{\tcfont \char166}} % broken bar
+ \gdefchar^^a7{\S}
+ \gdefchar^^a8{\"{}}
+ \gdefchar^^a9{\copyright{}}
+ \gdefchar^^aa{\ordf}
+ \gdefchar^^ab{\guillemetleft{}}
+ \gdefchar^^ac{\ensuremath\lnot}
+ \gdefchar^^ad{\-}
+ \gdefchar^^ae{\registeredsymbol{}}
+ \gdefchar^^af{\={}}
+ %
+ \gdefchar^^b0{\textdegree}
+ \gdefchar^^b1{$\pm$}
+ \gdefchar^^b2{$^2$}
+ \gdefchar^^b3{$^3$}
+ \gdefchar^^b4{\'{}}
+ \gdefchar^^b5{$\mu$}
+ \gdefchar^^b6{\P}
+ \gdefchar^^b7{\ensuremath\cdot}
+ \gdefchar^^b8{\cedilla\ }
+ \gdefchar^^b9{$^1$}
+ \gdefchar^^ba{\ordm}
+ \gdefchar^^bb{\guillemetright{}}
+ \gdefchar^^bc{$1\over4$}
+ \gdefchar^^bd{$1\over2$}
+ \gdefchar^^be{$3\over4$}
+ \gdefchar^^bf{\questiondown}
+ %
+ \gdefchar^^c0{\`A}
+ \gdefchar^^c1{\'A}
+ \gdefchar^^c2{\^A}
+ \gdefchar^^c3{\~A}
+ \gdefchar^^c4{\"A}
+ \gdefchar^^c5{\ringaccent A}
+ \gdefchar^^c6{\AE}
+ \gdefchar^^c7{\cedilla C}
+ \gdefchar^^c8{\`E}
+ \gdefchar^^c9{\'E}
+ \gdefchar^^ca{\^E}
+ \gdefchar^^cb{\"E}
+ \gdefchar^^cc{\`I}
+ \gdefchar^^cd{\'I}
+ \gdefchar^^ce{\^I}
+ \gdefchar^^cf{\"I}
+ %
+ \gdefchar^^d0{\DH}
+ \gdefchar^^d1{\~N}
+ \gdefchar^^d2{\`O}
+ \gdefchar^^d3{\'O}
+ \gdefchar^^d4{\^O}
+ \gdefchar^^d5{\~O}
+ \gdefchar^^d6{\"O}
+ \gdefchar^^d7{$\times$}
+ \gdefchar^^d8{\O}
+ \gdefchar^^d9{\`U}
+ \gdefchar^^da{\'U}
+ \gdefchar^^db{\^U}
+ \gdefchar^^dc{\"U}
+ \gdefchar^^dd{\'Y}
+ \gdefchar^^de{\TH}
+ \gdefchar^^df{\ss}
+ %
+ \gdefchar^^e0{\`a}
+ \gdefchar^^e1{\'a}
+ \gdefchar^^e2{\^a}
+ \gdefchar^^e3{\~a}
+ \gdefchar^^e4{\"a}
+ \gdefchar^^e5{\ringaccent a}
+ \gdefchar^^e6{\ae}
+ \gdefchar^^e7{\cedilla c}
+ \gdefchar^^e8{\`e}
+ \gdefchar^^e9{\'e}
+ \gdefchar^^ea{\^e}
+ \gdefchar^^eb{\"e}
+ \gdefchar^^ec{\`{\dotless i}}
+ \gdefchar^^ed{\'{\dotless i}}
+ \gdefchar^^ee{\^{\dotless i}}
+ \gdefchar^^ef{\"{\dotless i}}
+ %
+ \gdefchar^^f0{\dh}
+ \gdefchar^^f1{\~n}
+ \gdefchar^^f2{\`o}
+ \gdefchar^^f3{\'o}
+ \gdefchar^^f4{\^o}
+ \gdefchar^^f5{\~o}
+ \gdefchar^^f6{\"o}
+ \gdefchar^^f7{$\div$}
+ \gdefchar^^f8{\o}
+ \gdefchar^^f9{\`u}
+ \gdefchar^^fa{\'u}
+ \gdefchar^^fb{\^u}
+ \gdefchar^^fc{\"u}
+ \gdefchar^^fd{\'y}
+ \gdefchar^^fe{\th}
+ \gdefchar^^ff{\"y}
+}
+
+% Latin9 (ISO-8859-15) encoding character definitions.
+\def\latninechardefs{%
+ % Encoding is almost identical to Latin1.
+ \latonechardefs
+ %
+ \gdefchar^^a4{\euro{}}
+ \gdefchar^^a6{\v S}
+ \gdefchar^^a8{\v s}
+ \gdefchar^^b4{\v Z}
+ \gdefchar^^b8{\v z}
+ \gdefchar^^bc{\OE}
+ \gdefchar^^bd{\oe}
+ \gdefchar^^be{\"Y}
+}
+
+% Latin2 (ISO-8859-2) character definitions.
+\def\lattwochardefs{%
+ \gdefchar^^a0{\tie}
+ \gdefchar^^a1{\ogonek{A}}
+ \gdefchar^^a2{\u{}}
+ \gdefchar^^a3{\L}
+ \gdefchar^^a4{\missingcharmsg{CURRENCY SIGN}}
+ \gdefchar^^a5{\v L}
+ \gdefchar^^a6{\'S}
+ \gdefchar^^a7{\S}
+ \gdefchar^^a8{\"{}}
+ \gdefchar^^a9{\v S}
+ \gdefchar^^aa{\cedilla S}
+ \gdefchar^^ab{\v T}
+ \gdefchar^^ac{\'Z}
+ \gdefchar^^ad{\-}
+ \gdefchar^^ae{\v Z}
+ \gdefchar^^af{\dotaccent Z}
+ %
+ \gdefchar^^b0{\textdegree{}}
+ \gdefchar^^b1{\ogonek{a}}
+ \gdefchar^^b2{\ogonek{ }}
+ \gdefchar^^b3{\l}
+ \gdefchar^^b4{\'{}}
+ \gdefchar^^b5{\v l}
+ \gdefchar^^b6{\'s}
+ \gdefchar^^b7{\v{}}
+ \gdefchar^^b8{\cedilla\ }
+ \gdefchar^^b9{\v s}
+ \gdefchar^^ba{\cedilla s}
+ \gdefchar^^bb{\v t}
+ \gdefchar^^bc{\'z}
+ \gdefchar^^bd{\H{}}
+ \gdefchar^^be{\v z}
+ \gdefchar^^bf{\dotaccent z}
+ %
+ \gdefchar^^c0{\'R}
+ \gdefchar^^c1{\'A}
+ \gdefchar^^c2{\^A}
+ \gdefchar^^c3{\u A}
+ \gdefchar^^c4{\"A}
+ \gdefchar^^c5{\'L}
+ \gdefchar^^c6{\'C}
+ \gdefchar^^c7{\cedilla C}
+ \gdefchar^^c8{\v C}
+ \gdefchar^^c9{\'E}
+ \gdefchar^^ca{\ogonek{E}}
+ \gdefchar^^cb{\"E}
+ \gdefchar^^cc{\v E}
+ \gdefchar^^cd{\'I}
+ \gdefchar^^ce{\^I}
+ \gdefchar^^cf{\v D}
+ %
+ \gdefchar^^d0{\DH}
+ \gdefchar^^d1{\'N}
+ \gdefchar^^d2{\v N}
+ \gdefchar^^d3{\'O}
+ \gdefchar^^d4{\^O}
+ \gdefchar^^d5{\H O}
+ \gdefchar^^d6{\"O}
+ \gdefchar^^d7{$\times$}
+ \gdefchar^^d8{\v R}
+ \gdefchar^^d9{\ringaccent U}
+ \gdefchar^^da{\'U}
+ \gdefchar^^db{\H U}
+ \gdefchar^^dc{\"U}
+ \gdefchar^^dd{\'Y}
+ \gdefchar^^de{\cedilla T}
+ \gdefchar^^df{\ss}
+ %
+ \gdefchar^^e0{\'r}
+ \gdefchar^^e1{\'a}
+ \gdefchar^^e2{\^a}
+ \gdefchar^^e3{\u a}
+ \gdefchar^^e4{\"a}
+ \gdefchar^^e5{\'l}
+ \gdefchar^^e6{\'c}
+ \gdefchar^^e7{\cedilla c}
+ \gdefchar^^e8{\v c}
+ \gdefchar^^e9{\'e}
+ \gdefchar^^ea{\ogonek{e}}
+ \gdefchar^^eb{\"e}
+ \gdefchar^^ec{\v e}
+ \gdefchar^^ed{\'{\dotless{i}}}
+ \gdefchar^^ee{\^{\dotless{i}}}
+ \gdefchar^^ef{\v d}
+ %
+ \gdefchar^^f0{\dh}
+ \gdefchar^^f1{\'n}
+ \gdefchar^^f2{\v n}
+ \gdefchar^^f3{\'o}
+ \gdefchar^^f4{\^o}
+ \gdefchar^^f5{\H o}
+ \gdefchar^^f6{\"o}
+ \gdefchar^^f7{$\div$}
+ \gdefchar^^f8{\v r}
+ \gdefchar^^f9{\ringaccent u}
+ \gdefchar^^fa{\'u}
+ \gdefchar^^fb{\H u}
+ \gdefchar^^fc{\"u}
+ \gdefchar^^fd{\'y}
+ \gdefchar^^fe{\cedilla t}
+ \gdefchar^^ff{\dotaccent{}}
+}
+
+% UTF-8 character definitions.
+%
+% This code to support UTF-8 is based on LaTeX's utf8.def, with some
+% changes for Texinfo conventions. It is included here under the GPL by
+% permission from Frank Mittelbach and the LaTeX team.
+%
+\newcount\countUTFx
+\newcount\countUTFy
+\newcount\countUTFz
+
+\gdef\UTFviiiTwoOctets#1#2{\expandafter
+ \UTFviiiDefined\csname u8:#1\string #2\endcsname}
+%
+\gdef\UTFviiiThreeOctets#1#2#3{\expandafter
+ \UTFviiiDefined\csname u8:#1\string #2\string #3\endcsname}
+%
+\gdef\UTFviiiFourOctets#1#2#3#4{\expandafter
+ \UTFviiiDefined\csname u8:#1\string #2\string #3\string #4\endcsname}
+
+\gdef\UTFviiiDefined#1{%
+ \ifx #1\relax
+ \message{\linenumber Unicode char \string #1 not defined for Texinfo}%
+ \else
+ \expandafter #1%
+ \fi
+}
+
+% Give non-ASCII bytes the active definitions for processing UTF-8 sequences
+\begingroup
+ \catcode`\~13
+ \catcode`\$12
+ \catcode`\"12
+
+ % Loop from \countUTFx to \countUTFy, performing \UTFviiiTmp
+ % substituting ~ and $ with a character token of that value.
+ \def\UTFviiiLoop{%
+ \global\catcode\countUTFx\active
+ \uccode`\~\countUTFx
+ \uccode`\$\countUTFx
+ \uppercase\expandafter{\UTFviiiTmp}%
+ \advance\countUTFx by 1
+ \ifnum\countUTFx < \countUTFy
+ \expandafter\UTFviiiLoop
+ \fi}
+
+ % For bytes other than the first in a UTF-8 sequence. Not expected to
+ % be expanded except when writing to auxiliary files.
+ \countUTFx = "80
+ \countUTFy = "C2
+ \def\UTFviiiTmp{%
+ \gdef~{%
+ \ifpassthroughchars $\fi}}%
+ \UTFviiiLoop
+
+ \countUTFx = "C2
+ \countUTFy = "E0
+ \def\UTFviiiTmp{%
+ \gdef~{%
+ \ifpassthroughchars $%
+ \else\expandafter\UTFviiiTwoOctets\expandafter$\fi}}%
+ \UTFviiiLoop
+
+ \countUTFx = "E0
+ \countUTFy = "F0
+ \def\UTFviiiTmp{%
+ \gdef~{%
+ \ifpassthroughchars $%
+ \else\expandafter\UTFviiiThreeOctets\expandafter$\fi}}%
+ \UTFviiiLoop
+
+ \countUTFx = "F0
+ \countUTFy = "F4
+ \def\UTFviiiTmp{%
+ \gdef~{%
+ \ifpassthroughchars $%
+ \else\expandafter\UTFviiiFourOctets\expandafter$\fi
+ }}%
+ \UTFviiiLoop
+\endgroup
+
+\def\globallet{\global\let} % save some \expandafter's below
+
+% @U{xxxx} to produce U+xxxx, if we support it.
+\def\U#1{%
+ \expandafter\ifx\csname uni:#1\endcsname \relax
+ \iftxinativeunicodecapable
+ % All Unicode characters can be used if native Unicode handling is
+ % active. However, if the font does not have the glyph,
+ % letters are missing.
+ \begingroup
+ \uccode`\.="#1\relax
+ \uppercase{.}
+ \endgroup
+ \else
+ \errhelp = \EMsimple
+ \errmessage{Unicode character U+#1 not supported, sorry}%
+ \fi
+ \else
+ \csname uni:#1\endcsname
+ \fi
+}
+
+% These macros are used here to construct the name of a control
+% sequence to be defined.
+\def\UTFviiiTwoOctetsName#1#2{%
+ \csname u8:#1\string #2\endcsname}%
+\def\UTFviiiThreeOctetsName#1#2#3{%
+ \csname u8:#1\string #2\string #3\endcsname}%
+\def\UTFviiiFourOctetsName#1#2#3#4{%
+ \csname u8:#1\string #2\string #3\string #4\endcsname}%
+
+% For UTF-8 byte sequences (TeX, e-TeX and pdfTeX),
+% provide a definition macro to replace a Unicode character;
+% this gets used by the @U command
+%
+\begingroup
+ \catcode`\"=12
+ \catcode`\<=12
+ \catcode`\.=12
+ \catcode`\,=12
+ \catcode`\;=12
+ \catcode`\!=12
+ \catcode`\~=13
+ \gdef\DeclareUnicodeCharacterUTFviii#1#2{%
+ \countUTFz = "#1\relax
+ \begingroup
+ \parseXMLCharref
+
+ % Give \u8:... its definition. The sequence of seven \expandafter's
+ % expands after the \gdef three times, e.g.
+ %
+ % 1. \UTFviiTwoOctetsName B1 B2
+ % 2. \csname u8:B1 \string B2 \endcsname
+ % 3. \u8: B1 B2 (a single control sequence token)
+ %
+ \expandafter\expandafter
+ \expandafter\expandafter
+ \expandafter\expandafter
+ \expandafter\gdef \UTFviiiTmp{#2}%
+ %
+ \expandafter\ifx\csname uni:#1\endcsname \relax \else
+ \message{Internal error, already defined: #1}%
+ \fi
+ %
+ % define an additional control sequence for this code point.
+ \expandafter\globallet\csname uni:#1\endcsname \UTFviiiTmp
+ \endgroup}
+ %
+ % Given the value in \countUTFz as a Unicode code point, set \UTFviiiTmp
+ % to the corresponding UTF-8 sequence.
+ \gdef\parseXMLCharref{%
+ \ifnum\countUTFz < "A0\relax
+ \errhelp = \EMsimple
+ \errmessage{Cannot define Unicode char value < 00A0}%
+ \else\ifnum\countUTFz < "800\relax
+ \parseUTFviiiA,%
+ \parseUTFviiiB C\UTFviiiTwoOctetsName.,%
+ \else\ifnum\countUTFz < "10000\relax
+ \parseUTFviiiA;%
+ \parseUTFviiiA,%
+ \parseUTFviiiB E\UTFviiiThreeOctetsName.{,;}%
+ \else
+ \parseUTFviiiA;%
+ \parseUTFviiiA,%
+ \parseUTFviiiA!%
+ \parseUTFviiiB F\UTFviiiFourOctetsName.{!,;}%
+ \fi\fi\fi
+ }
+
+ % Extract a byte from the end of the UTF-8 representation of \countUTFx.
+ % It must be a non-initial byte in the sequence.
+ % Change \uccode of #1 for it to be used in \parseUTFviiiB as one
+ % of the bytes.
+ \gdef\parseUTFviiiA#1{%
+ \countUTFx = \countUTFz
+ \divide\countUTFz by 64
+ \countUTFy = \countUTFz % Save to be the future value of \countUTFz.
+ \multiply\countUTFz by 64
+
+ % \countUTFz is now \countUTFx with the last 5 bits cleared. Subtract
+ % in order to get the last five bits.
+ \advance\countUTFx by -\countUTFz
+
+ % Convert this to the byte in the UTF-8 sequence.
+ \advance\countUTFx by 128
+ \uccode `#1\countUTFx
+ \countUTFz = \countUTFy}
+
+ % Used to put a UTF-8 byte sequence into \UTFviiiTmp
+ % #1 is the increment for \countUTFz to yield a the first byte of the UTF-8
+ % sequence.
+ % #2 is one of the \UTFviii*OctetsName macros.
+ % #3 is always a full stop (.)
+ % #4 is a template for the other bytes in the sequence. The values for these
+ % bytes is substituted in here with \uppercase using the \uccode's.
+ \gdef\parseUTFviiiB#1#2#3#4{%
+ \advance\countUTFz by "#10\relax
+ \uccode `#3\countUTFz
+ \uppercase{\gdef\UTFviiiTmp{#2#3#4}}}
+\endgroup
+
+% For native Unicode handling (XeTeX and LuaTeX),
+% provide a definition macro that sets a catcode to `other' non-globally
+%
+\def\DeclareUnicodeCharacterNativeOther#1#2{%
+ \catcode"#1=\other
+}
+
+% https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_M
+% U+0000..U+007F = https://en.wikipedia.org/wiki/Basic_Latin_(Unicode_block)
+% U+0080..U+00FF = https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)
+% U+0100..U+017F = https://en.wikipedia.org/wiki/Latin_Extended-A
+% U+0180..U+024F = https://en.wikipedia.org/wiki/Latin_Extended-B
+%
+% Many of our renditions are less than wonderful, and all the missing
+% characters are available somewhere. Loading the necessary fonts
+% awaits user request. We can't truly support Unicode without
+% reimplementing everything that's been done in LaTeX for many years,
+% plus probably using luatex or xetex, and who knows what else.
+% We won't be doing that here in this simple file. But we can try to at
+% least make most of the characters not bomb out.
+%
+\def\unicodechardefs{%
+ \DeclareUnicodeCharacter{00A0}{\tie}%
+ \DeclareUnicodeCharacter{00A1}{\exclamdown}%
+ \DeclareUnicodeCharacter{00A2}{{\tcfont \char162}}% 0242=cent
+ \DeclareUnicodeCharacter{00A3}{\pounds{}}%
+ \DeclareUnicodeCharacter{00A4}{{\tcfont \char164}}% 0244=currency
+ \DeclareUnicodeCharacter{00A5}{{\tcfont \char165}}% 0245=yen
+ \DeclareUnicodeCharacter{00A6}{{\tcfont \char166}}% 0246=brokenbar
+ \DeclareUnicodeCharacter{00A7}{\S}%
+ \DeclareUnicodeCharacter{00A8}{\"{ }}%
+ \DeclareUnicodeCharacter{00A9}{\copyright{}}%
+ \DeclareUnicodeCharacter{00AA}{\ordf}%
+ \DeclareUnicodeCharacter{00AB}{\guillemetleft{}}%
+ \DeclareUnicodeCharacter{00AC}{\ensuremath\lnot}%
+ \DeclareUnicodeCharacter{00AD}{\-}%
+ \DeclareUnicodeCharacter{00AE}{\registeredsymbol{}}%
+ \DeclareUnicodeCharacter{00AF}{\={ }}%
+ %
+ \DeclareUnicodeCharacter{00B0}{\ringaccent{ }}%
+ \DeclareUnicodeCharacter{00B1}{\ensuremath\pm}%
+ \DeclareUnicodeCharacter{00B2}{$^2$}%
+ \DeclareUnicodeCharacter{00B3}{$^3$}%
+ \DeclareUnicodeCharacter{00B4}{\'{ }}%
+ \DeclareUnicodeCharacter{00B5}{$\mu$}%
+ \DeclareUnicodeCharacter{00B6}{\P}%
+ \DeclareUnicodeCharacter{00B7}{\ensuremath\cdot}%
+ \DeclareUnicodeCharacter{00B8}{\cedilla{ }}%
+ \DeclareUnicodeCharacter{00B9}{$^1$}%
+ \DeclareUnicodeCharacter{00BA}{\ordm}%
+ \DeclareUnicodeCharacter{00BB}{\guillemetright{}}%
+ \DeclareUnicodeCharacter{00BC}{$1\over4$}%
+ \DeclareUnicodeCharacter{00BD}{$1\over2$}%
+ \DeclareUnicodeCharacter{00BE}{$3\over4$}%
+ \DeclareUnicodeCharacter{00BF}{\questiondown}%
+ %
+ \DeclareUnicodeCharacter{00C0}{\`A}%
+ \DeclareUnicodeCharacter{00C1}{\'A}%
+ \DeclareUnicodeCharacter{00C2}{\^A}%
+ \DeclareUnicodeCharacter{00C3}{\~A}%
+ \DeclareUnicodeCharacter{00C4}{\"A}%
+ \DeclareUnicodeCharacter{00C5}{\AA}%
+ \DeclareUnicodeCharacter{00C6}{\AE}%
+ \DeclareUnicodeCharacter{00C7}{\cedilla{C}}%
+ \DeclareUnicodeCharacter{00C8}{\`E}%
+ \DeclareUnicodeCharacter{00C9}{\'E}%
+ \DeclareUnicodeCharacter{00CA}{\^E}%
+ \DeclareUnicodeCharacter{00CB}{\"E}%
+ \DeclareUnicodeCharacter{00CC}{\`I}%
+ \DeclareUnicodeCharacter{00CD}{\'I}%
+ \DeclareUnicodeCharacter{00CE}{\^I}%
+ \DeclareUnicodeCharacter{00CF}{\"I}%
+ %
+ \DeclareUnicodeCharacter{00D0}{\DH}%
+ \DeclareUnicodeCharacter{00D1}{\~N}%
+ \DeclareUnicodeCharacter{00D2}{\`O}%
+ \DeclareUnicodeCharacter{00D3}{\'O}%
+ \DeclareUnicodeCharacter{00D4}{\^O}%
+ \DeclareUnicodeCharacter{00D5}{\~O}%
+ \DeclareUnicodeCharacter{00D6}{\"O}%
+ \DeclareUnicodeCharacter{00D7}{\ensuremath\times}%
+ \DeclareUnicodeCharacter{00D8}{\O}%
+ \DeclareUnicodeCharacter{00D9}{\`U}%
+ \DeclareUnicodeCharacter{00DA}{\'U}%
+ \DeclareUnicodeCharacter{00DB}{\^U}%
+ \DeclareUnicodeCharacter{00DC}{\"U}%
+ \DeclareUnicodeCharacter{00DD}{\'Y}%
+ \DeclareUnicodeCharacter{00DE}{\TH}%
+ \DeclareUnicodeCharacter{00DF}{\ss}%
+ %
+ \DeclareUnicodeCharacter{00E0}{\`a}%
+ \DeclareUnicodeCharacter{00E1}{\'a}%
+ \DeclareUnicodeCharacter{00E2}{\^a}%
+ \DeclareUnicodeCharacter{00E3}{\~a}%
+ \DeclareUnicodeCharacter{00E4}{\"a}%
+ \DeclareUnicodeCharacter{00E5}{\aa}%
+ \DeclareUnicodeCharacter{00E6}{\ae}%
+ \DeclareUnicodeCharacter{00E7}{\cedilla{c}}%
+ \DeclareUnicodeCharacter{00E8}{\`e}%
+ \DeclareUnicodeCharacter{00E9}{\'e}%
+ \DeclareUnicodeCharacter{00EA}{\^e}%
+ \DeclareUnicodeCharacter{00EB}{\"e}%
+ \DeclareUnicodeCharacter{00EC}{\`{\dotless{i}}}%
+ \DeclareUnicodeCharacter{00ED}{\'{\dotless{i}}}%
+ \DeclareUnicodeCharacter{00EE}{\^{\dotless{i}}}%
+ \DeclareUnicodeCharacter{00EF}{\"{\dotless{i}}}%
+ %
+ \DeclareUnicodeCharacter{00F0}{\dh}%
+ \DeclareUnicodeCharacter{00F1}{\~n}%
+ \DeclareUnicodeCharacter{00F2}{\`o}%
+ \DeclareUnicodeCharacter{00F3}{\'o}%
+ \DeclareUnicodeCharacter{00F4}{\^o}%
+ \DeclareUnicodeCharacter{00F5}{\~o}%
+ \DeclareUnicodeCharacter{00F6}{\"o}%
+ \DeclareUnicodeCharacter{00F7}{\ensuremath\div}%
+ \DeclareUnicodeCharacter{00F8}{\o}%
+ \DeclareUnicodeCharacter{00F9}{\`u}%
+ \DeclareUnicodeCharacter{00FA}{\'u}%
+ \DeclareUnicodeCharacter{00FB}{\^u}%
+ \DeclareUnicodeCharacter{00FC}{\"u}%
+ \DeclareUnicodeCharacter{00FD}{\'y}%
+ \DeclareUnicodeCharacter{00FE}{\th}%
+ \DeclareUnicodeCharacter{00FF}{\"y}%
+ %
+ \DeclareUnicodeCharacter{0100}{\=A}%
+ \DeclareUnicodeCharacter{0101}{\=a}%
+ \DeclareUnicodeCharacter{0102}{\u{A}}%
+ \DeclareUnicodeCharacter{0103}{\u{a}}%
+ \DeclareUnicodeCharacter{0104}{\ogonek{A}}%
+ \DeclareUnicodeCharacter{0105}{\ogonek{a}}%
+ \DeclareUnicodeCharacter{0106}{\'C}%
+ \DeclareUnicodeCharacter{0107}{\'c}%
+ \DeclareUnicodeCharacter{0108}{\^C}%
+ \DeclareUnicodeCharacter{0109}{\^c}%
+ \DeclareUnicodeCharacter{010A}{\dotaccent{C}}%
+ \DeclareUnicodeCharacter{010B}{\dotaccent{c}}%
+ \DeclareUnicodeCharacter{010C}{\v{C}}%
+ \DeclareUnicodeCharacter{010D}{\v{c}}%
+ \DeclareUnicodeCharacter{010E}{\v{D}}%
+ \DeclareUnicodeCharacter{010F}{d'}%
+ %
+ \DeclareUnicodeCharacter{0110}{\DH}%
+ \DeclareUnicodeCharacter{0111}{\dh}%
+ \DeclareUnicodeCharacter{0112}{\=E}%
+ \DeclareUnicodeCharacter{0113}{\=e}%
+ \DeclareUnicodeCharacter{0114}{\u{E}}%
+ \DeclareUnicodeCharacter{0115}{\u{e}}%
+ \DeclareUnicodeCharacter{0116}{\dotaccent{E}}%
+ \DeclareUnicodeCharacter{0117}{\dotaccent{e}}%
+ \DeclareUnicodeCharacter{0118}{\ogonek{E}}%
+ \DeclareUnicodeCharacter{0119}{\ogonek{e}}%
+ \DeclareUnicodeCharacter{011A}{\v{E}}%
+ \DeclareUnicodeCharacter{011B}{\v{e}}%
+ \DeclareUnicodeCharacter{011C}{\^G}%
+ \DeclareUnicodeCharacter{011D}{\^g}%
+ \DeclareUnicodeCharacter{011E}{\u{G}}%
+ \DeclareUnicodeCharacter{011F}{\u{g}}%
+ %
+ \DeclareUnicodeCharacter{0120}{\dotaccent{G}}%
+ \DeclareUnicodeCharacter{0121}{\dotaccent{g}}%
+ \DeclareUnicodeCharacter{0122}{\cedilla{G}}%
+ \DeclareUnicodeCharacter{0123}{\cedilla{g}}%
+ \DeclareUnicodeCharacter{0124}{\^H}%
+ \DeclareUnicodeCharacter{0125}{\^h}%
+ \DeclareUnicodeCharacter{0126}{\missingcharmsg{H WITH STROKE}}%
+ \DeclareUnicodeCharacter{0127}{\missingcharmsg{h WITH STROKE}}%
+ \DeclareUnicodeCharacter{0128}{\~I}%
+ \DeclareUnicodeCharacter{0129}{\~{\dotless{i}}}%
+ \DeclareUnicodeCharacter{012A}{\=I}%
+ \DeclareUnicodeCharacter{012B}{\={\dotless{i}}}%
+ \DeclareUnicodeCharacter{012C}{\u{I}}%
+ \DeclareUnicodeCharacter{012D}{\u{\dotless{i}}}%
+ \DeclareUnicodeCharacter{012E}{\ogonek{I}}%
+ \DeclareUnicodeCharacter{012F}{\ogonek{i}}%
+ %
+ \DeclareUnicodeCharacter{0130}{\dotaccent{I}}%
+ \DeclareUnicodeCharacter{0131}{\dotless{i}}%
+ \DeclareUnicodeCharacter{0132}{IJ}%
+ \DeclareUnicodeCharacter{0133}{ij}%
+ \DeclareUnicodeCharacter{0134}{\^J}%
+ \DeclareUnicodeCharacter{0135}{\^{\dotless{j}}}%
+ \DeclareUnicodeCharacter{0136}{\cedilla{K}}%
+ \DeclareUnicodeCharacter{0137}{\cedilla{k}}%
+ \DeclareUnicodeCharacter{0138}{\ensuremath\kappa}%
+ \DeclareUnicodeCharacter{0139}{\'L}%
+ \DeclareUnicodeCharacter{013A}{\'l}%
+ \DeclareUnicodeCharacter{013B}{\cedilla{L}}%
+ \DeclareUnicodeCharacter{013C}{\cedilla{l}}%
+ \DeclareUnicodeCharacter{013D}{L'}% should kern
+ \DeclareUnicodeCharacter{013E}{l'}% should kern
+ \DeclareUnicodeCharacter{013F}{L\U{00B7}}%
+ %
+ \DeclareUnicodeCharacter{0140}{l\U{00B7}}%
+ \DeclareUnicodeCharacter{0141}{\L}%
+ \DeclareUnicodeCharacter{0142}{\l}%
+ \DeclareUnicodeCharacter{0143}{\'N}%
+ \DeclareUnicodeCharacter{0144}{\'n}%
+ \DeclareUnicodeCharacter{0145}{\cedilla{N}}%
+ \DeclareUnicodeCharacter{0146}{\cedilla{n}}%
+ \DeclareUnicodeCharacter{0147}{\v{N}}%
+ \DeclareUnicodeCharacter{0148}{\v{n}}%
+ \DeclareUnicodeCharacter{0149}{'n}%
+ \DeclareUnicodeCharacter{014A}{\missingcharmsg{ENG}}%
+ \DeclareUnicodeCharacter{014B}{\missingcharmsg{eng}}%
+ \DeclareUnicodeCharacter{014C}{\=O}%
+ \DeclareUnicodeCharacter{014D}{\=o}%
+ \DeclareUnicodeCharacter{014E}{\u{O}}%
+ \DeclareUnicodeCharacter{014F}{\u{o}}%
+ %
+ \DeclareUnicodeCharacter{0150}{\H{O}}%
+ \DeclareUnicodeCharacter{0151}{\H{o}}%
+ \DeclareUnicodeCharacter{0152}{\OE}%
+ \DeclareUnicodeCharacter{0153}{\oe}%
+ \DeclareUnicodeCharacter{0154}{\'R}%
+ \DeclareUnicodeCharacter{0155}{\'r}%
+ \DeclareUnicodeCharacter{0156}{\cedilla{R}}%
+ \DeclareUnicodeCharacter{0157}{\cedilla{r}}%
+ \DeclareUnicodeCharacter{0158}{\v{R}}%
+ \DeclareUnicodeCharacter{0159}{\v{r}}%
+ \DeclareUnicodeCharacter{015A}{\'S}%
+ \DeclareUnicodeCharacter{015B}{\'s}%
+ \DeclareUnicodeCharacter{015C}{\^S}%
+ \DeclareUnicodeCharacter{015D}{\^s}%
+ \DeclareUnicodeCharacter{015E}{\cedilla{S}}%
+ \DeclareUnicodeCharacter{015F}{\cedilla{s}}%
+ %
+ \DeclareUnicodeCharacter{0160}{\v{S}}%
+ \DeclareUnicodeCharacter{0161}{\v{s}}%
+ \DeclareUnicodeCharacter{0162}{\cedilla{T}}%
+ \DeclareUnicodeCharacter{0163}{\cedilla{t}}%
+ \DeclareUnicodeCharacter{0164}{\v{T}}%
+ \DeclareUnicodeCharacter{0165}{\v{t}}%
+ \DeclareUnicodeCharacter{0166}{\missingcharmsg{H WITH STROKE}}%
+ \DeclareUnicodeCharacter{0167}{\missingcharmsg{h WITH STROKE}}%
+ \DeclareUnicodeCharacter{0168}{\~U}%
+ \DeclareUnicodeCharacter{0169}{\~u}%
+ \DeclareUnicodeCharacter{016A}{\=U}%
+ \DeclareUnicodeCharacter{016B}{\=u}%
+ \DeclareUnicodeCharacter{016C}{\u{U}}%
+ \DeclareUnicodeCharacter{016D}{\u{u}}%
+ \DeclareUnicodeCharacter{016E}{\ringaccent{U}}%
+ \DeclareUnicodeCharacter{016F}{\ringaccent{u}}%
+ %
+ \DeclareUnicodeCharacter{0170}{\H{U}}%
+ \DeclareUnicodeCharacter{0171}{\H{u}}%
+ \DeclareUnicodeCharacter{0172}{\ogonek{U}}%
+ \DeclareUnicodeCharacter{0173}{\ogonek{u}}%
+ \DeclareUnicodeCharacter{0174}{\^W}%
+ \DeclareUnicodeCharacter{0175}{\^w}%
+ \DeclareUnicodeCharacter{0176}{\^Y}%
+ \DeclareUnicodeCharacter{0177}{\^y}%
+ \DeclareUnicodeCharacter{0178}{\"Y}%
+ \DeclareUnicodeCharacter{0179}{\'Z}%
+ \DeclareUnicodeCharacter{017A}{\'z}%
+ \DeclareUnicodeCharacter{017B}{\dotaccent{Z}}%
+ \DeclareUnicodeCharacter{017C}{\dotaccent{z}}%
+ \DeclareUnicodeCharacter{017D}{\v{Z}}%
+ \DeclareUnicodeCharacter{017E}{\v{z}}%
+ \DeclareUnicodeCharacter{017F}{\missingcharmsg{LONG S}}%
+ %
+ \DeclareUnicodeCharacter{01C4}{D\v{Z}}%
+ \DeclareUnicodeCharacter{01C5}{D\v{z}}%
+ \DeclareUnicodeCharacter{01C6}{d\v{z}}%
+ \DeclareUnicodeCharacter{01C7}{LJ}%
+ \DeclareUnicodeCharacter{01C8}{Lj}%
+ \DeclareUnicodeCharacter{01C9}{lj}%
+ \DeclareUnicodeCharacter{01CA}{NJ}%
+ \DeclareUnicodeCharacter{01CB}{Nj}%
+ \DeclareUnicodeCharacter{01CC}{nj}%
+ \DeclareUnicodeCharacter{01CD}{\v{A}}%
+ \DeclareUnicodeCharacter{01CE}{\v{a}}%
+ \DeclareUnicodeCharacter{01CF}{\v{I}}%
+ %
+ \DeclareUnicodeCharacter{01D0}{\v{\dotless{i}}}%
+ \DeclareUnicodeCharacter{01D1}{\v{O}}%
+ \DeclareUnicodeCharacter{01D2}{\v{o}}%
+ \DeclareUnicodeCharacter{01D3}{\v{U}}%
+ \DeclareUnicodeCharacter{01D4}{\v{u}}%
+ %
+ \DeclareUnicodeCharacter{01E2}{\={\AE}}%
+ \DeclareUnicodeCharacter{01E3}{\={\ae}}%
+ \DeclareUnicodeCharacter{01E6}{\v{G}}%
+ \DeclareUnicodeCharacter{01E7}{\v{g}}%
+ \DeclareUnicodeCharacter{01E8}{\v{K}}%
+ \DeclareUnicodeCharacter{01E9}{\v{k}}%
+ %
+ \DeclareUnicodeCharacter{01F0}{\v{\dotless{j}}}%
+ \DeclareUnicodeCharacter{01F1}{DZ}%
+ \DeclareUnicodeCharacter{01F2}{Dz}%
+ \DeclareUnicodeCharacter{01F3}{dz}%
+ \DeclareUnicodeCharacter{01F4}{\'G}%
+ \DeclareUnicodeCharacter{01F5}{\'g}%
+ \DeclareUnicodeCharacter{01F8}{\`N}%
+ \DeclareUnicodeCharacter{01F9}{\`n}%
+ \DeclareUnicodeCharacter{01FC}{\'{\AE}}%
+ \DeclareUnicodeCharacter{01FD}{\'{\ae}}%
+ \DeclareUnicodeCharacter{01FE}{\'{\O}}%
+ \DeclareUnicodeCharacter{01FF}{\'{\o}}%
+ %
+ \DeclareUnicodeCharacter{021E}{\v{H}}%
+ \DeclareUnicodeCharacter{021F}{\v{h}}%
+ %
+ \DeclareUnicodeCharacter{0226}{\dotaccent{A}}%
+ \DeclareUnicodeCharacter{0227}{\dotaccent{a}}%
+ \DeclareUnicodeCharacter{0228}{\cedilla{E}}%
+ \DeclareUnicodeCharacter{0229}{\cedilla{e}}%
+ \DeclareUnicodeCharacter{022E}{\dotaccent{O}}%
+ \DeclareUnicodeCharacter{022F}{\dotaccent{o}}%
+ %
+ \DeclareUnicodeCharacter{0232}{\=Y}%
+ \DeclareUnicodeCharacter{0233}{\=y}%
+ \DeclareUnicodeCharacter{0237}{\dotless{j}}%
+ %
+ \DeclareUnicodeCharacter{02BC}{'}%
+ %
+ \DeclareUnicodeCharacter{02DB}{\ogonek{ }}%
+ %
+ % Greek letters upper case
+ \DeclareUnicodeCharacter{0391}{{\it A}}%
+ \DeclareUnicodeCharacter{0392}{{\it B}}%
+ \DeclareUnicodeCharacter{0393}{\ensuremath{\mit\Gamma}}%
+ \DeclareUnicodeCharacter{0394}{\ensuremath{\mit\Delta}}%
+ \DeclareUnicodeCharacter{0395}{{\it E}}%
+ \DeclareUnicodeCharacter{0396}{{\it Z}}%
+ \DeclareUnicodeCharacter{0397}{{\it H}}%
+ \DeclareUnicodeCharacter{0398}{\ensuremath{\mit\Theta}}%
+ \DeclareUnicodeCharacter{0399}{{\it I}}%
+ \DeclareUnicodeCharacter{039A}{{\it K}}%
+ \DeclareUnicodeCharacter{039B}{\ensuremath{\mit\Lambda}}%
+ \DeclareUnicodeCharacter{039C}{{\it M}}%
+ \DeclareUnicodeCharacter{039D}{{\it N}}%
+ \DeclareUnicodeCharacter{039E}{\ensuremath{\mit\Xi}}%
+ \DeclareUnicodeCharacter{039F}{{\it O}}%
+ \DeclareUnicodeCharacter{03A0}{\ensuremath{\mit\Pi}}%
+ \DeclareUnicodeCharacter{03A1}{{\it P}}%
+ %\DeclareUnicodeCharacter{03A2}{} % none - corresponds to final sigma
+ \DeclareUnicodeCharacter{03A3}{\ensuremath{\mit\Sigma}}%
+ \DeclareUnicodeCharacter{03A4}{{\it T}}%
+ \DeclareUnicodeCharacter{03A5}{\ensuremath{\mit\Upsilon}}%
+ \DeclareUnicodeCharacter{03A6}{\ensuremath{\mit\Phi}}%
+ \DeclareUnicodeCharacter{03A7}{{\it X}}%
+ \DeclareUnicodeCharacter{03A8}{\ensuremath{\mit\Psi}}%
+ \DeclareUnicodeCharacter{03A9}{\ensuremath{\mit\Omega}}%
+ %
+ % Vowels with accents
+ \DeclareUnicodeCharacter{0390}{\ensuremath{\ddot{\acute\iota}}}%
+ \DeclareUnicodeCharacter{03AC}{\ensuremath{\acute\alpha}}%
+ \DeclareUnicodeCharacter{03AD}{\ensuremath{\acute\epsilon}}%
+ \DeclareUnicodeCharacter{03AE}{\ensuremath{\acute\eta}}%
+ \DeclareUnicodeCharacter{03AF}{\ensuremath{\acute\iota}}%
+ \DeclareUnicodeCharacter{03B0}{\ensuremath{\acute{\ddot\upsilon}}}%
+ %
+ % Standalone accent
+ \DeclareUnicodeCharacter{0384}{\ensuremath{\acute{\ }}}%
+ %
+ % Greek letters lower case
+ \DeclareUnicodeCharacter{03B1}{\ensuremath\alpha}%
+ \DeclareUnicodeCharacter{03B2}{\ensuremath\beta}%
+ \DeclareUnicodeCharacter{03B3}{\ensuremath\gamma}%
+ \DeclareUnicodeCharacter{03B4}{\ensuremath\delta}%
+ \DeclareUnicodeCharacter{03B5}{\ensuremath\epsilon}%
+ \DeclareUnicodeCharacter{03B6}{\ensuremath\zeta}%
+ \DeclareUnicodeCharacter{03B7}{\ensuremath\eta}%
+ \DeclareUnicodeCharacter{03B8}{\ensuremath\theta}%
+ \DeclareUnicodeCharacter{03B9}{\ensuremath\iota}%
+ \DeclareUnicodeCharacter{03BA}{\ensuremath\kappa}%
+ \DeclareUnicodeCharacter{03BB}{\ensuremath\lambda}%
+ \DeclareUnicodeCharacter{03BC}{\ensuremath\mu}%
+ \DeclareUnicodeCharacter{03BD}{\ensuremath\nu}%
+ \DeclareUnicodeCharacter{03BE}{\ensuremath\xi}%
+ \DeclareUnicodeCharacter{03BF}{{\it o}}% omicron
+ \DeclareUnicodeCharacter{03C0}{\ensuremath\pi}%
+ \DeclareUnicodeCharacter{03C1}{\ensuremath\rho}%
+ \DeclareUnicodeCharacter{03C2}{\ensuremath\varsigma}%
+ \DeclareUnicodeCharacter{03C3}{\ensuremath\sigma}%
+ \DeclareUnicodeCharacter{03C4}{\ensuremath\tau}%
+ \DeclareUnicodeCharacter{03C5}{\ensuremath\upsilon}%
+ \DeclareUnicodeCharacter{03C6}{\ensuremath\phi}%
+ \DeclareUnicodeCharacter{03C7}{\ensuremath\chi}%
+ \DeclareUnicodeCharacter{03C8}{\ensuremath\psi}%
+ \DeclareUnicodeCharacter{03C9}{\ensuremath\omega}%
+ %
+ % More Greek vowels with accents
+ \DeclareUnicodeCharacter{03CA}{\ensuremath{\ddot\iota}}%
+ \DeclareUnicodeCharacter{03CB}{\ensuremath{\ddot\upsilon}}%
+ \DeclareUnicodeCharacter{03CC}{\ensuremath{\acute o}}%
+ \DeclareUnicodeCharacter{03CD}{\ensuremath{\acute\upsilon}}%
+ \DeclareUnicodeCharacter{03CE}{\ensuremath{\acute\omega}}%
+ %
+ % Variant Greek letters
+ \DeclareUnicodeCharacter{03D1}{\ensuremath\vartheta}%
+ \DeclareUnicodeCharacter{03D6}{\ensuremath\varpi}%
+ \DeclareUnicodeCharacter{03F1}{\ensuremath\varrho}%
+ %
+ \DeclareUnicodeCharacter{1E02}{\dotaccent{B}}%
+ \DeclareUnicodeCharacter{1E03}{\dotaccent{b}}%
+ \DeclareUnicodeCharacter{1E04}{\udotaccent{B}}%
+ \DeclareUnicodeCharacter{1E05}{\udotaccent{b}}%
+ \DeclareUnicodeCharacter{1E06}{\ubaraccent{B}}%
+ \DeclareUnicodeCharacter{1E07}{\ubaraccent{b}}%
+ \DeclareUnicodeCharacter{1E0A}{\dotaccent{D}}%
+ \DeclareUnicodeCharacter{1E0B}{\dotaccent{d}}%
+ \DeclareUnicodeCharacter{1E0C}{\udotaccent{D}}%
+ \DeclareUnicodeCharacter{1E0D}{\udotaccent{d}}%
+ \DeclareUnicodeCharacter{1E0E}{\ubaraccent{D}}%
+ \DeclareUnicodeCharacter{1E0F}{\ubaraccent{d}}%
+ %
+ \DeclareUnicodeCharacter{1E1E}{\dotaccent{F}}%
+ \DeclareUnicodeCharacter{1E1F}{\dotaccent{f}}%
+ %
+ \DeclareUnicodeCharacter{1E20}{\=G}%
+ \DeclareUnicodeCharacter{1E21}{\=g}%
+ \DeclareUnicodeCharacter{1E22}{\dotaccent{H}}%
+ \DeclareUnicodeCharacter{1E23}{\dotaccent{h}}%
+ \DeclareUnicodeCharacter{1E24}{\udotaccent{H}}%
+ \DeclareUnicodeCharacter{1E25}{\udotaccent{h}}%
+ \DeclareUnicodeCharacter{1E26}{\"H}%
+ \DeclareUnicodeCharacter{1E27}{\"h}%
+ %
+ \DeclareUnicodeCharacter{1E30}{\'K}%
+ \DeclareUnicodeCharacter{1E31}{\'k}%
+ \DeclareUnicodeCharacter{1E32}{\udotaccent{K}}%
+ \DeclareUnicodeCharacter{1E33}{\udotaccent{k}}%
+ \DeclareUnicodeCharacter{1E34}{\ubaraccent{K}}%
+ \DeclareUnicodeCharacter{1E35}{\ubaraccent{k}}%
+ \DeclareUnicodeCharacter{1E36}{\udotaccent{L}}%
+ \DeclareUnicodeCharacter{1E37}{\udotaccent{l}}%
+ \DeclareUnicodeCharacter{1E3A}{\ubaraccent{L}}%
+ \DeclareUnicodeCharacter{1E3B}{\ubaraccent{l}}%
+ \DeclareUnicodeCharacter{1E3E}{\'M}%
+ \DeclareUnicodeCharacter{1E3F}{\'m}%
+ %
+ \DeclareUnicodeCharacter{1E40}{\dotaccent{M}}%
+ \DeclareUnicodeCharacter{1E41}{\dotaccent{m}}%
+ \DeclareUnicodeCharacter{1E42}{\udotaccent{M}}%
+ \DeclareUnicodeCharacter{1E43}{\udotaccent{m}}%
+ \DeclareUnicodeCharacter{1E44}{\dotaccent{N}}%
+ \DeclareUnicodeCharacter{1E45}{\dotaccent{n}}%
+ \DeclareUnicodeCharacter{1E46}{\udotaccent{N}}%
+ \DeclareUnicodeCharacter{1E47}{\udotaccent{n}}%
+ \DeclareUnicodeCharacter{1E48}{\ubaraccent{N}}%
+ \DeclareUnicodeCharacter{1E49}{\ubaraccent{n}}%
+ %
+ \DeclareUnicodeCharacter{1E54}{\'P}%
+ \DeclareUnicodeCharacter{1E55}{\'p}%
+ \DeclareUnicodeCharacter{1E56}{\dotaccent{P}}%
+ \DeclareUnicodeCharacter{1E57}{\dotaccent{p}}%
+ \DeclareUnicodeCharacter{1E58}{\dotaccent{R}}%
+ \DeclareUnicodeCharacter{1E59}{\dotaccent{r}}%
+ \DeclareUnicodeCharacter{1E5A}{\udotaccent{R}}%
+ \DeclareUnicodeCharacter{1E5B}{\udotaccent{r}}%
+ \DeclareUnicodeCharacter{1E5E}{\ubaraccent{R}}%
+ \DeclareUnicodeCharacter{1E5F}{\ubaraccent{r}}%
+ %
+ \DeclareUnicodeCharacter{1E60}{\dotaccent{S}}%
+ \DeclareUnicodeCharacter{1E61}{\dotaccent{s}}%
+ \DeclareUnicodeCharacter{1E62}{\udotaccent{S}}%
+ \DeclareUnicodeCharacter{1E63}{\udotaccent{s}}%
+ \DeclareUnicodeCharacter{1E6A}{\dotaccent{T}}%
+ \DeclareUnicodeCharacter{1E6B}{\dotaccent{t}}%
+ \DeclareUnicodeCharacter{1E6C}{\udotaccent{T}}%
+ \DeclareUnicodeCharacter{1E6D}{\udotaccent{t}}%
+ \DeclareUnicodeCharacter{1E6E}{\ubaraccent{T}}%
+ \DeclareUnicodeCharacter{1E6F}{\ubaraccent{t}}%
+ %
+ \DeclareUnicodeCharacter{1E7C}{\~V}%
+ \DeclareUnicodeCharacter{1E7D}{\~v}%
+ \DeclareUnicodeCharacter{1E7E}{\udotaccent{V}}%
+ \DeclareUnicodeCharacter{1E7F}{\udotaccent{v}}%
+ %
+ \DeclareUnicodeCharacter{1E80}{\`W}%
+ \DeclareUnicodeCharacter{1E81}{\`w}%
+ \DeclareUnicodeCharacter{1E82}{\'W}%
+ \DeclareUnicodeCharacter{1E83}{\'w}%
+ \DeclareUnicodeCharacter{1E84}{\"W}%
+ \DeclareUnicodeCharacter{1E85}{\"w}%
+ \DeclareUnicodeCharacter{1E86}{\dotaccent{W}}%
+ \DeclareUnicodeCharacter{1E87}{\dotaccent{w}}%
+ \DeclareUnicodeCharacter{1E88}{\udotaccent{W}}%
+ \DeclareUnicodeCharacter{1E89}{\udotaccent{w}}%
+ \DeclareUnicodeCharacter{1E8A}{\dotaccent{X}}%
+ \DeclareUnicodeCharacter{1E8B}{\dotaccent{x}}%
+ \DeclareUnicodeCharacter{1E8C}{\"X}%
+ \DeclareUnicodeCharacter{1E8D}{\"x}%
+ \DeclareUnicodeCharacter{1E8E}{\dotaccent{Y}}%
+ \DeclareUnicodeCharacter{1E8F}{\dotaccent{y}}%
+ %
+ \DeclareUnicodeCharacter{1E90}{\^Z}%
+ \DeclareUnicodeCharacter{1E91}{\^z}%
+ \DeclareUnicodeCharacter{1E92}{\udotaccent{Z}}%
+ \DeclareUnicodeCharacter{1E93}{\udotaccent{z}}%
+ \DeclareUnicodeCharacter{1E94}{\ubaraccent{Z}}%
+ \DeclareUnicodeCharacter{1E95}{\ubaraccent{z}}%
+ \DeclareUnicodeCharacter{1E96}{\ubaraccent{h}}%
+ \DeclareUnicodeCharacter{1E97}{\"t}%
+ \DeclareUnicodeCharacter{1E98}{\ringaccent{w}}%
+ \DeclareUnicodeCharacter{1E99}{\ringaccent{y}}%
+ %
+ \DeclareUnicodeCharacter{1EA0}{\udotaccent{A}}%
+ \DeclareUnicodeCharacter{1EA1}{\udotaccent{a}}%
+ %
+ \DeclareUnicodeCharacter{1EB8}{\udotaccent{E}}%
+ \DeclareUnicodeCharacter{1EB9}{\udotaccent{e}}%
+ \DeclareUnicodeCharacter{1EBC}{\~E}%
+ \DeclareUnicodeCharacter{1EBD}{\~e}%
+ %
+ \DeclareUnicodeCharacter{1ECA}{\udotaccent{I}}%
+ \DeclareUnicodeCharacter{1ECB}{\udotaccent{i}}%
+ \DeclareUnicodeCharacter{1ECC}{\udotaccent{O}}%
+ \DeclareUnicodeCharacter{1ECD}{\udotaccent{o}}%
+ %
+ \DeclareUnicodeCharacter{1EE4}{\udotaccent{U}}%
+ \DeclareUnicodeCharacter{1EE5}{\udotaccent{u}}%
+ %
+ \DeclareUnicodeCharacter{1EF2}{\`Y}%
+ \DeclareUnicodeCharacter{1EF3}{\`y}%
+ \DeclareUnicodeCharacter{1EF4}{\udotaccent{Y}}%
+ %
+ \DeclareUnicodeCharacter{1EF8}{\~Y}%
+ \DeclareUnicodeCharacter{1EF9}{\~y}%
+ %
+ % Punctuation
+ \DeclareUnicodeCharacter{2013}{--}%
+ \DeclareUnicodeCharacter{2014}{---}%
+ \DeclareUnicodeCharacter{2018}{\quoteleft{}}%
+ \DeclareUnicodeCharacter{2019}{\quoteright{}}%
+ \DeclareUnicodeCharacter{201A}{\quotesinglbase{}}%
+ \DeclareUnicodeCharacter{201C}{\quotedblleft{}}%
+ \DeclareUnicodeCharacter{201D}{\quotedblright{}}%
+ \DeclareUnicodeCharacter{201E}{\quotedblbase{}}%
+ \DeclareUnicodeCharacter{2020}{\ensuremath\dagger}%
+ \DeclareUnicodeCharacter{2021}{\ensuremath\ddagger}%
+ \DeclareUnicodeCharacter{2022}{\bullet{}}%
+ \DeclareUnicodeCharacter{202F}{\thinspace}%
+ \DeclareUnicodeCharacter{2026}{\dots{}}%
+ \DeclareUnicodeCharacter{2039}{\guilsinglleft{}}%
+ \DeclareUnicodeCharacter{203A}{\guilsinglright{}}%
+ %
+ \DeclareUnicodeCharacter{20AC}{\euro{}}%
+ %
+ \DeclareUnicodeCharacter{2192}{\expansion{}}%
+ \DeclareUnicodeCharacter{21D2}{\result{}}%
+ %
+ % Mathematical symbols
+ \DeclareUnicodeCharacter{2200}{\ensuremath\forall}%
+ \DeclareUnicodeCharacter{2203}{\ensuremath\exists}%
+ \DeclareUnicodeCharacter{2208}{\ensuremath\in}%
+ \DeclareUnicodeCharacter{2212}{\minus{}}%
+ \DeclareUnicodeCharacter{2217}{\ast}%
+ \DeclareUnicodeCharacter{221E}{\ensuremath\infty}%
+ \DeclareUnicodeCharacter{2225}{\ensuremath\parallel}%
+ \DeclareUnicodeCharacter{2227}{\ensuremath\wedge}%
+ \DeclareUnicodeCharacter{2229}{\ensuremath\cap}%
+ \DeclareUnicodeCharacter{2261}{\equiv{}}%
+ \DeclareUnicodeCharacter{2264}{\ensuremath\leq}%
+ \DeclareUnicodeCharacter{2265}{\ensuremath\geq}%
+ \DeclareUnicodeCharacter{2282}{\ensuremath\subset}%
+ \DeclareUnicodeCharacter{2287}{\ensuremath\supseteq}%
+ %
+ \DeclareUnicodeCharacter{2016}{\ensuremath\Vert}%
+ \DeclareUnicodeCharacter{2032}{\ensuremath\prime}%
+ \DeclareUnicodeCharacter{210F}{\ensuremath\hbar}%
+ \DeclareUnicodeCharacter{2111}{\ensuremath\Im}%
+ \DeclareUnicodeCharacter{2113}{\ensuremath\ell}%
+ \DeclareUnicodeCharacter{2118}{\ensuremath\wp}%
+ \DeclareUnicodeCharacter{211C}{\ensuremath\Re}%
+ \DeclareUnicodeCharacter{2135}{\ensuremath\aleph}%
+ \DeclareUnicodeCharacter{2190}{\ensuremath\leftarrow}%
+ \DeclareUnicodeCharacter{2191}{\ensuremath\uparrow}%
+ \DeclareUnicodeCharacter{2193}{\ensuremath\downarrow}%
+ \DeclareUnicodeCharacter{2194}{\ensuremath\leftrightarrow}%
+ \DeclareUnicodeCharacter{2195}{\ensuremath\updownarrow}%
+ \DeclareUnicodeCharacter{2196}{\ensuremath\nwarrow}%
+ \DeclareUnicodeCharacter{2197}{\ensuremath\nearrow}%
+ \DeclareUnicodeCharacter{2198}{\ensuremath\searrow}%
+ \DeclareUnicodeCharacter{2199}{\ensuremath\swarrow}%
+ \DeclareUnicodeCharacter{21A6}{\ensuremath\mapsto}%
+ \DeclareUnicodeCharacter{21A9}{\ensuremath\hookleftarrow}%
+ \DeclareUnicodeCharacter{21AA}{\ensuremath\hookrightarrow}%
+ \DeclareUnicodeCharacter{21BC}{\ensuremath\leftharpoonup}%
+ \DeclareUnicodeCharacter{21BD}{\ensuremath\leftharpoondown}%
+ \DeclareUnicodeCharacter{21C0}{\ensuremath\rightharpoonup}%
+ \DeclareUnicodeCharacter{21C1}{\ensuremath\rightharpoondown}%
+ \DeclareUnicodeCharacter{21CC}{\ensuremath\rightleftharpoons}%
+ \DeclareUnicodeCharacter{21D0}{\ensuremath\Leftarrow}%
+ \DeclareUnicodeCharacter{21D1}{\ensuremath\Uparrow}%
+ \DeclareUnicodeCharacter{21D3}{\ensuremath\Downarrow}%
+ \DeclareUnicodeCharacter{21D4}{\ensuremath\Leftrightarrow}%
+ \DeclareUnicodeCharacter{21D5}{\ensuremath\Updownarrow}%
+ \DeclareUnicodeCharacter{2202}{\ensuremath\partial}%
+ \DeclareUnicodeCharacter{2205}{\ensuremath\emptyset}%
+ \DeclareUnicodeCharacter{2207}{\ensuremath\nabla}%
+ \DeclareUnicodeCharacter{2209}{\ensuremath\notin}%
+ \DeclareUnicodeCharacter{220B}{\ensuremath\owns}%
+ \DeclareUnicodeCharacter{220F}{\ensuremath\prod}%
+ \DeclareUnicodeCharacter{2210}{\ensuremath\coprod}%
+ \DeclareUnicodeCharacter{2211}{\ensuremath\sum}%
+ \DeclareUnicodeCharacter{2213}{\ensuremath\mp}%
+ \DeclareUnicodeCharacter{2218}{\ensuremath\circ}%
+ \DeclareUnicodeCharacter{221A}{\ensuremath\surd}%
+ \DeclareUnicodeCharacter{221D}{\ensuremath\propto}%
+ \DeclareUnicodeCharacter{2220}{\ensuremath\angle}%
+ \DeclareUnicodeCharacter{2223}{\ensuremath\mid}%
+ \DeclareUnicodeCharacter{2228}{\ensuremath\vee}%
+ \DeclareUnicodeCharacter{222A}{\ensuremath\cup}%
+ \DeclareUnicodeCharacter{222B}{\ensuremath\smallint}%
+ \DeclareUnicodeCharacter{222E}{\ensuremath\oint}%
+ \DeclareUnicodeCharacter{223C}{\ensuremath\sim}%
+ \DeclareUnicodeCharacter{2240}{\ensuremath\wr}%
+ \DeclareUnicodeCharacter{2243}{\ensuremath\simeq}%
+ \DeclareUnicodeCharacter{2245}{\ensuremath\cong}%
+ \DeclareUnicodeCharacter{2248}{\ensuremath\approx}%
+ \DeclareUnicodeCharacter{224D}{\ensuremath\asymp}%
+ \DeclareUnicodeCharacter{2250}{\ensuremath\doteq}%
+ \DeclareUnicodeCharacter{2260}{\ensuremath\neq}%
+ \DeclareUnicodeCharacter{226A}{\ensuremath\ll}%
+ \DeclareUnicodeCharacter{226B}{\ensuremath\gg}%
+ \DeclareUnicodeCharacter{227A}{\ensuremath\prec}%
+ \DeclareUnicodeCharacter{227B}{\ensuremath\succ}%
+ \DeclareUnicodeCharacter{2283}{\ensuremath\supset}%
+ \DeclareUnicodeCharacter{2286}{\ensuremath\subseteq}%
+ \DeclareUnicodeCharacter{228E}{\ensuremath\uplus}%
+ \DeclareUnicodeCharacter{2291}{\ensuremath\sqsubseteq}%
+ \DeclareUnicodeCharacter{2292}{\ensuremath\sqsupseteq}%
+ \DeclareUnicodeCharacter{2293}{\ensuremath\sqcap}%
+ \DeclareUnicodeCharacter{2294}{\ensuremath\sqcup}%
+ \DeclareUnicodeCharacter{2295}{\ensuremath\oplus}%
+ \DeclareUnicodeCharacter{2296}{\ensuremath\ominus}%
+ \DeclareUnicodeCharacter{2297}{\ensuremath\otimes}%
+ \DeclareUnicodeCharacter{2298}{\ensuremath\oslash}%
+ \DeclareUnicodeCharacter{2299}{\ensuremath\odot}%
+ \DeclareUnicodeCharacter{22A2}{\ensuremath\vdash}%
+ \DeclareUnicodeCharacter{22A3}{\ensuremath\dashv}%
+ \DeclareUnicodeCharacter{22A4}{\ensuremath\ptextop}%
+ \DeclareUnicodeCharacter{22A5}{\ensuremath\bot}%
+ \DeclareUnicodeCharacter{22A8}{\ensuremath\models}%
+ \DeclareUnicodeCharacter{22C0}{\ensuremath\bigwedge}%
+ \DeclareUnicodeCharacter{22C1}{\ensuremath\bigvee}%
+ \DeclareUnicodeCharacter{22C2}{\ensuremath\bigcap}%
+ \DeclareUnicodeCharacter{22C3}{\ensuremath\bigcup}%
+ \DeclareUnicodeCharacter{22C4}{\ensuremath\diamond}%
+ \DeclareUnicodeCharacter{22C5}{\ensuremath\cdot}%
+ \DeclareUnicodeCharacter{22C6}{\ensuremath\star}%
+ \DeclareUnicodeCharacter{22C8}{\ensuremath\bowtie}%
+ \DeclareUnicodeCharacter{2308}{\ensuremath\lceil}%
+ \DeclareUnicodeCharacter{2309}{\ensuremath\rceil}%
+ \DeclareUnicodeCharacter{230A}{\ensuremath\lfloor}%
+ \DeclareUnicodeCharacter{230B}{\ensuremath\rfloor}%
+ \DeclareUnicodeCharacter{2322}{\ensuremath\frown}%
+ \DeclareUnicodeCharacter{2323}{\ensuremath\smile}%
+ %
+ \DeclareUnicodeCharacter{25B3}{\ensuremath\triangle}%
+ \DeclareUnicodeCharacter{25B7}{\ensuremath\triangleright}%
+ \DeclareUnicodeCharacter{25BD}{\ensuremath\bigtriangledown}%
+ \DeclareUnicodeCharacter{25C1}{\ensuremath\triangleleft}%
+ \DeclareUnicodeCharacter{25C7}{\ensuremath\diamond}%
+ \DeclareUnicodeCharacter{2660}{\ensuremath\spadesuit}%
+ \DeclareUnicodeCharacter{2661}{\ensuremath\heartsuit}%
+ \DeclareUnicodeCharacter{2662}{\ensuremath\diamondsuit}%
+ \DeclareUnicodeCharacter{2663}{\ensuremath\clubsuit}%
+ \DeclareUnicodeCharacter{266D}{\ensuremath\flat}%
+ \DeclareUnicodeCharacter{266E}{\ensuremath\natural}%
+ \DeclareUnicodeCharacter{266F}{\ensuremath\sharp}%
+ \DeclareUnicodeCharacter{26AA}{\ensuremath\bigcirc}%
+ \DeclareUnicodeCharacter{27B9}{\ensuremath\rangle}%
+ \DeclareUnicodeCharacter{27C2}{\ensuremath\perp}%
+ \DeclareUnicodeCharacter{27E8}{\ensuremath\langle}%
+ \DeclareUnicodeCharacter{27F5}{\ensuremath\longleftarrow}%
+ \DeclareUnicodeCharacter{27F6}{\ensuremath\longrightarrow}%
+ \DeclareUnicodeCharacter{27F7}{\ensuremath\longleftrightarrow}%
+ \DeclareUnicodeCharacter{27FC}{\ensuremath\longmapsto}%
+ \DeclareUnicodeCharacter{29F5}{\ensuremath\setminus}%
+ \DeclareUnicodeCharacter{2A00}{\ensuremath\bigodot}%
+ \DeclareUnicodeCharacter{2A01}{\ensuremath\bigoplus}%
+ \DeclareUnicodeCharacter{2A02}{\ensuremath\bigotimes}%
+ \DeclareUnicodeCharacter{2A04}{\ensuremath\biguplus}%
+ \DeclareUnicodeCharacter{2A06}{\ensuremath\bigsqcup}%
+ \DeclareUnicodeCharacter{2A3F}{\ensuremath\amalg}%
+ \DeclareUnicodeCharacter{2AAF}{\ensuremath\preceq}%
+ \DeclareUnicodeCharacter{2AB0}{\ensuremath\succeq}%
+ %
+ \global\mathchardef\checkmark="1370% actually the square root sign
+ \DeclareUnicodeCharacter{2713}{\ensuremath\checkmark}%
+}% end of \unicodechardefs
+
+% UTF-8 byte sequence (pdfTeX) definitions (replacing and @U command)
+% It makes the setting that replace UTF-8 byte sequence.
+\def\utfeightchardefs{%
+ \let\DeclareUnicodeCharacter\DeclareUnicodeCharacterUTFviii
+ \unicodechardefs
+}
+
+% Whether the active definitions of non-ASCII characters expand to
+% non-active tokens with the same character code. This is used to
+% write characters literally, instead of using active definitions for
+% printing the correct glyphs.
+\newif\ifpassthroughchars
+\passthroughcharsfalse
+
+% For native Unicode handling (XeTeX and LuaTeX),
+% provide a definition macro to replace/pass-through a Unicode character
+%
+\def\DeclareUnicodeCharacterNative#1#2{%
+ \catcode"#1=\active
+ \def\dodeclareunicodecharacternative##1##2##3{%
+ \begingroup
+ \uccode`\~="##2\relax
+ \uppercase{\gdef~}{%
+ \ifpassthroughchars
+ ##1%
+ \else
+ ##3%
+ \fi
+ }
+ \endgroup
+ }
+ \begingroup
+ \uccode`\.="#1\relax
+ \uppercase{\def\UTFNativeTmp{.}}%
+ \expandafter\dodeclareunicodecharacternative\UTFNativeTmp{#1}{#2}%
+ \endgroup
+}
+
+% Native Unicode handling (XeTeX and LuaTeX) character replacing definition.
+% It activates the setting that replaces Unicode characters.
+\def\nativeunicodechardefs{%
+ \let\DeclareUnicodeCharacter\DeclareUnicodeCharacterNative
+ \unicodechardefs
+}
+
+% For native Unicode handling (XeTeX and LuaTeX),
+% make the character token expand
+% to the sequences given in \unicodechardefs for printing.
+\def\DeclareUnicodeCharacterNativeAtU#1#2{%
+ \def\UTFAtUTmp{#2}
+ \expandafter\globallet\csname uni:#1\endcsname \UTFAtUTmp
+}
+
+% @U command definitions for native Unicode handling (XeTeX and LuaTeX).
+\def\nativeunicodechardefsatu{%
+ \let\DeclareUnicodeCharacter\DeclareUnicodeCharacterNativeAtU
+ \unicodechardefs
+}
+
+% US-ASCII character definitions.
+\def\asciichardefs{% nothing need be done
+ \relax
+}
+
+% Define all Unicode characters we know about. This makes UTF-8 the default
+% input encoding and allows @U to work.
+\iftxinativeunicodecapable
+ \nativeunicodechardefsatu
+\else
+ \utfeightchardefs
+\fi
+
+\message{formatting,}
+
+\newdimen\defaultparindent \defaultparindent = 15pt
+
+\chapheadingskip = 15pt plus 4pt minus 2pt
+\secheadingskip = 12pt plus 3pt minus 2pt
+\subsecheadingskip = 9pt plus 2pt minus 2pt
+
+% Prevent underfull vbox error messages.
+\vbadness = 10000
+
+% Don't be very finicky about underfull hboxes, either.
+\hbadness = 6666
+
+% Following George Bush, get rid of widows and orphans.
+\widowpenalty=10000
+\clubpenalty=10000
+
+% Use TeX 3.0's \emergencystretch to help line breaking, but if we're
+% using an old version of TeX, don't do anything. We want the amount of
+% stretch added to depend on the line length, hence the dependence on
+% \hsize. We call this whenever the paper size is set.
+%
+\def\setemergencystretch{%
+ \ifx\emergencystretch\thisisundefined
+ % Allow us to assign to \emergencystretch anyway.
+ \def\emergencystretch{\dimen0}%
+ \else
+ \emergencystretch = .15\hsize
+ \fi
+}
+
+% Parameters in order: 1) textheight; 2) textwidth;
+% 3) voffset; 4) hoffset; 5) binding offset; 6) topskip;
+% 7) physical page height; 8) physical page width.
+%
+% We also call \setleading{\textleading}, so the caller should define
+% \textleading. The caller should also set \parskip.
+%
+\def\internalpagesizes#1#2#3#4#5#6#7#8{%
+ \voffset = #3\relax
+ \topskip = #6\relax
+ \splittopskip = \topskip
+ %
+ \vsize = #1\relax
+ \advance\vsize by \topskip
+ \outervsize = \vsize
+ \advance\outervsize by 2\topandbottommargin
+ \txipageheight = \vsize
+ %
+ \hsize = #2\relax
+ \outerhsize = \hsize
+ \advance\outerhsize by 0.5in
+ \txipagewidth = \hsize
+ %
+ \normaloffset = #4\relax
+ \bindingoffset = #5\relax
+ %
+ \ifpdf
+ \pdfpageheight #7\relax
+ \pdfpagewidth #8\relax
+ % if we don't reset these, they will remain at "1 true in" of
+ % whatever layout pdftex was dumped with.
+ \pdfhorigin = 1 true in
+ \pdfvorigin = 1 true in
+ \else
+ \ifx\XeTeXrevision\thisisundefined
+ \special{papersize=#8,#7}%
+ \else
+ \pdfpageheight #7\relax
+ \pdfpagewidth #8\relax
+ % XeTeX does not have \pdfhorigin and \pdfvorigin.
+ \fi
+ \fi
+ %
+ \setleading{\textleading}
+ %
+ \parindent = \defaultparindent
+ \setemergencystretch
+}
+
+% @letterpaper (the default).
+\def\letterpaper{{\globaldefs = 1
+ \parskip = 3pt plus 2pt minus 1pt
+ \textleading = 13.2pt
+ %
+ % If page is nothing but text, make it come out even.
+ \internalpagesizes{607.2pt}{6in}% that's 46 lines
+ {\voffset}{.25in}%
+ {\bindingoffset}{36pt}%
+ {11in}{8.5in}%
+}}
+
+% Use @smallbook to reset parameters for 7x9.25 trim size.
+\def\smallbook{{\globaldefs = 1
+ \parskip = 2pt plus 1pt
+ \textleading = 12pt
+ %
+ \internalpagesizes{7.5in}{5in}%
+ {-.2in}{0in}%
+ {\bindingoffset}{16pt}%
+ {9.25in}{7in}%
+ %
+ \lispnarrowing = 0.3in
+ \tolerance = 700
+ \contentsrightmargin = 0pt
+ \defbodyindent = .5cm
+}}
+
+% Use @smallerbook to reset parameters for 6x9 trim size.
+% (Just testing, parameters still in flux.)
+\def\smallerbook{{\globaldefs = 1
+ \parskip = 1.5pt plus 1pt
+ \textleading = 12pt
+ %
+ \internalpagesizes{7.4in}{4.8in}%
+ {-.2in}{-.4in}%
+ {0pt}{14pt}%
+ {9in}{6in}%
+ %
+ \lispnarrowing = 0.25in
+ \tolerance = 700
+ \contentsrightmargin = 0pt
+ \defbodyindent = .4cm
+}}
+
+% Use @afourpaper to print on European A4 paper.
+\def\afourpaper{{\globaldefs = 1
+ \parskip = 3pt plus 2pt minus 1pt
+ \textleading = 13.2pt
+ %
+ % Double-side printing via postscript on Laserjet 4050
+ % prints double-sided nicely when \bindingoffset=10mm and \hoffset=-6mm.
+ % To change the settings for a different printer or situation, adjust
+ % \normaloffset until the front-side and back-side texts align. Then
+ % do the same for \bindingoffset. You can set these for testing in
+ % your texinfo source file like this:
+ % @tex
+ % \global\normaloffset = -6mm
+ % \global\bindingoffset = 10mm
+ % @end tex
+ \internalpagesizes{673.2pt}{160mm}% that's 51 lines
+ {\voffset}{\hoffset}%
+ {\bindingoffset}{44pt}%
+ {297mm}{210mm}%
+ %
+ \tolerance = 700
+ \contentsrightmargin = 0pt
+ \defbodyindent = 5mm
+}}
+
+% Use @afivepaper to print on European A5 paper.
+% From romildo@urano.iceb.ufop.br, 2 July 2000.
+% He also recommends making @example and @lisp be small.
+\def\afivepaper{{\globaldefs = 1
+ \parskip = 2pt plus 1pt minus 0.1pt
+ \textleading = 12.5pt
+ %
+ \internalpagesizes{160mm}{120mm}%
+ {\voffset}{\hoffset}%
+ {\bindingoffset}{8pt}%
+ {210mm}{148mm}%
+ %
+ \lispnarrowing = 0.2in
+ \tolerance = 800
+ \contentsrightmargin = 0pt
+ \defbodyindent = 2mm
+ \tableindent = 12mm
+}}
+
+% A specific text layout, 24x15cm overall, intended for A4 paper.
+\def\afourlatex{{\globaldefs = 1
+ \afourpaper
+ \internalpagesizes{237mm}{150mm}%
+ {\voffset}{4.6mm}%
+ {\bindingoffset}{7mm}%
+ {297mm}{210mm}%
+ %
+ % Must explicitly reset to 0 because we call \afourpaper.
+ \globaldefs = 0
+}}
+
+% Use @afourwide to print on A4 paper in landscape format.
+\def\afourwide{{\globaldefs = 1
+ \afourpaper
+ \internalpagesizes{241mm}{165mm}%
+ {\voffset}{-2.95mm}%
+ {\bindingoffset}{7mm}%
+ {297mm}{210mm}%
+ \globaldefs = 0
+}}
+
+\def\bsixpaper{{\globaldefs = 1
+ \afourpaper
+ \internalpagesizes{140mm}{100mm}%
+ {-6.35mm}{-12.7mm}%
+ {\bindingoffset}{14pt}%
+ {176mm}{125mm}%
+ \let\SETdispenvsize=\smallword
+ \lispnarrowing = 0.2in
+ \globaldefs = 0
+}}
+
+
+% @pagesizes TEXTHEIGHT[,TEXTWIDTH]
+% Perhaps we should allow setting the margins, \topskip, \parskip,
+% and/or leading, also. Or perhaps we should compute them somehow.
+%
+\parseargdef\pagesizes{\pagesizesyyy #1,,\finish}
+\def\pagesizesyyy#1,#2,#3\finish{{%
+ \setbox0 = \hbox{\ignorespaces #2}\ifdim\wd0 > 0pt \hsize=#2\relax \fi
+ \globaldefs = 1
+ %
+ \parskip = 3pt plus 2pt minus 1pt
+ \setleading{\textleading}%
+ %
+ \dimen0 = #1\relax
+ \advance\dimen0 by 2.5in % default 1in margin above heading line
+ % and 1.5in to include heading, footing and
+ % bottom margin
+ %
+ \dimen2 = \hsize
+ \advance\dimen2 by 2in % default to 1 inch margin on each side
+ %
+ \internalpagesizes{#1}{\hsize}%
+ {\voffset}{\normaloffset}%
+ {\bindingoffset}{44pt}%
+ {\dimen0}{\dimen2}%
+}}
+
+% Set default to letter.
+%
+\letterpaper
+
+% Default value of \hfuzz, for suppressing warnings about overfull hboxes.
+\hfuzz = 1pt
+
+
+\message{and turning on texinfo input format.}
+
+\def^^L{\par} % remove \outer, so ^L can appear in an @comment
+
+% DEL is a comment character, in case @c does not suffice.
+\catcode`\^^? = 14
+
+% Define macros to output various characters with catcode for normal text.
+\catcode`\"=\other \def\normaldoublequote{"}
+\catcode`\$=\other \def\normaldollar{$}%$ font-lock fix
+\catcode`\+=\other \def\normalplus{+}
+\catcode`\<=\other \def\normalless{<}
+\catcode`\>=\other \def\normalgreater{>}
+\catcode`\^=\other \def\normalcaret{^}
+\catcode`\_=\other \def\normalunderscore{_}
+\catcode`\|=\other \def\normalverticalbar{|}
+\catcode`\~=\other \def\normaltilde{~}
+
+% This macro is used to make a character print one way in \tt
+% (where it can probably be output as-is), and another way in other fonts,
+% where something hairier probably needs to be done.
+%
+% #1 is what to print if we are indeed using \tt; #2 is what to print
+% otherwise. Since all the Computer Modern typewriter fonts have zero
+% interword stretch (and shrink), and it is reasonable to expect all
+% typewriter fonts to have this, we can check that font parameter.
+%
+\def\ifusingtt#1#2{\ifdim \fontdimen3\font=0pt #1\else #2\fi}
+
+% Same as above, but check for italic font. Actually this also catches
+% non-italic slanted fonts since it is impossible to distinguish them from
+% italic fonts. But since this is only used by $ and it uses \sl anyway
+% this is not a problem.
+\def\ifusingit#1#2{\ifdim \fontdimen1\font>0pt #1\else #2\fi}
+
+% Set catcodes for Texinfo file
+
+% Active characters for printing the wanted glyph.
+% Most of these we simply print from the \tt font, but for some, we can
+% use math or other variants that look better in normal text.
+%
+\catcode`\"=\active
+\def\activedoublequote{{\tt\char34}}
+\let"=\activedoublequote
+\catcode`\~=\active \def\activetilde{{\tt\char126}} \let~ = \activetilde
+\chardef\hatchar=`\^
+\catcode`\^=\active \def\activehat{{\tt \hatchar}} \let^ = \activehat
+
+\catcode`\_=\active
+\def_{\ifusingtt\normalunderscore\_}
+\def\_{\leavevmode \kern.07em \vbox{\hrule width.3em height.1ex}\kern .07em }
+\let\realunder=_
+
+\catcode`\|=\active \def|{{\tt\char124}}
+
+\chardef \less=`\<
+\catcode`\<=\active \def\activeless{{\tt \less}}\let< = \activeless
+\chardef \gtr=`\>
+\catcode`\>=\active \def\activegtr{{\tt \gtr}}\let> = \activegtr
+\catcode`\+=\active \def+{{\tt \char 43}}
+\catcode`\$=\active \def${\ifusingit{{\sl\$}}\normaldollar}%$ font-lock fix
+\catcode`\-=\active \let-=\normaldash
+
+
+% used for headline/footline in the output routine, in case the page
+% breaks in the middle of an @tex block.
+\def\texinfochars{%
+ \let< = \activeless
+ \let> = \activegtr
+ \let~ = \activetilde
+ \let^ = \activehat
+ \setregularquotes
+ \let\b = \strong
+ \let\i = \smartitalic
+ % in principle, all other definitions in \tex have to be undone too.
+}
+
+% Used sometimes to turn off (effectively) the active characters even after
+% parsing them.
+\def\turnoffactive{%
+ \normalturnoffactive
+ \otherbackslash
+}
+
+\catcode`\@=0
+
+% \backslashcurfont outputs one backslash character in current font,
+% as in \char`\\.
+\global\chardef\backslashcurfont=`\\
+
+% \realbackslash is an actual character `\' with catcode other.
+{\catcode`\\=\other @gdef@realbackslash{\}}
+
+% In Texinfo, backslash is an active character; it prints the backslash
+% in fixed width font.
+\catcode`\\=\active % @ for escape char from now on.
+
+% Print a typewriter backslash. For math mode, we can't simply use
+% \backslashcurfont: the story here is that in math mode, the \char
+% of \backslashcurfont ends up printing the roman \ from the math symbol
+% font (because \char in math mode uses the \mathcode, and plain.tex
+% sets \mathcode`\\="026E). Hence we use an explicit \mathchar,
+% which is the decimal equivalent of "715c (class 7, e.g., use \fam;
+% ignored family value; char position "5C). We can't use " for the
+% usual hex value because it has already been made active.
+
+@def@ttbackslash{{@tt @ifmmode @mathchar29020 @else @backslashcurfont @fi}}
+@let@backslashchar = @ttbackslash % @backslashchar{} is for user documents.
+
+% \otherbackslash defines an active \ to be a literal `\' character with
+% catcode other.
+@gdef@otherbackslash{@let\=@realbackslash}
+
+% Same as @turnoffactive except outputs \ as {\tt\char`\\} instead of
+% the literal character `\'.
+%
+{@catcode`- = @active
+ @gdef@normalturnoffactive{%
+ @passthroughcharstrue
+ @let-=@normaldash
+ @let"=@normaldoublequote
+ @let$=@normaldollar %$ font-lock fix
+ @let+=@normalplus
+ @let<=@normalless
+ @let>=@normalgreater
+ @let^=@normalcaret
+ @let_=@normalunderscore
+ @let|=@normalverticalbar
+ @let~=@normaltilde
+ @let\=@ttbackslash
+ @setregularquotes
+ @unsepspaces
+ }
+}
+
+% If a .fmt file is being used, characters that might appear in a file
+% name cannot be active until we have parsed the command line.
+% So turn them off again, and have @fixbackslash turn them back on.
+@catcode`+=@other @catcode`@_=@other
+
+% \enablebackslashhack - allow file to begin `\input texinfo'
+%
+% If a .fmt file is being used, we don't want the `\input texinfo' to show up.
+% That is what \eatinput is for; after that, the `\' should revert to printing
+% a backslash.
+% If the file did not have a `\input texinfo', then it is turned off after
+% the first line; otherwise the first `\' in the file would cause an error.
+% This is used on the very last line of this file, texinfo.tex.
+% We also use @c to call @fixbackslash, in case ends of lines are hidden.
+{
+@catcode`@^=7
+@catcode`@^^M=13@gdef@enablebackslashhack{%
+ @global@let\ = @eatinput%
+ @catcode`@^^M=13%
+ @def@c{@fixbackslash@c}%
+ % Definition for the newline at the end of this file.
+ @def ^^M{@let^^M@secondlinenl}%
+ % Definition for a newline in the main Texinfo file.
+ @gdef @secondlinenl{@fixbackslash}%
+ % In case the first line has a whole-line command on it
+ @let@originalparsearg@parsearg
+ @def@parsearg{@fixbackslash@originalparsearg}
+}}
+
+{@catcode`@^=7 @catcode`@^^M=13%
+@gdef@eatinput input texinfo#1^^M{@fixbackslash}}
+
+% Emergency active definition of newline, in case an active newline token
+% appears by mistake.
+{@catcode`@^=7 @catcode13=13%
+@gdef@enableemergencynewline{%
+ @gdef^^M{%
+ @par%
+ %<warning: active newline>@par%
+}}}
+
+
+@gdef@fixbackslash{%
+ @ifx\@eatinput @let\ = @ttbackslash @fi
+ @catcode13=5 % regular end of line
+ @enableemergencynewline
+ @let@c=@comment
+ @let@parsearg@originalparsearg
+ % Also turn back on active characters that might appear in the input
+ % file name, in case not using a pre-dumped format.
+ @catcode`+=@active
+ @catcode`@_=@active
+ %
+ % If texinfo.cnf is present on the system, read it.
+ % Useful for site-wide @afourpaper, etc. This macro, @fixbackslash, gets
+ % called at the beginning of every Texinfo file. Not opening texinfo.cnf
+ % directly in this file, texinfo.tex, makes it possible to make a format
+ % file for Texinfo.
+ %
+ @openin 1 texinfo.cnf
+ @ifeof 1 @else @input texinfo.cnf @fi
+ @closein 1
+}
+
+
+% Say @foo, not \foo, in error messages.
+@escapechar = `@@
+
+% These (along with & and #) are made active for url-breaking, so need
+% active definitions as the normal characters.
+@def@normaldot{.}
+@def@normalquest{?}
+@def@normalslash{/}
+
+% These look ok in all fonts, so just make them not special.
+% @hashchar{} gets its own user-level command, because of #line.
+@catcode`@& = @other @def@normalamp{&}
+@catcode`@# = @other @def@normalhash{#}
+@catcode`@% = @other @def@normalpercent{%}
+
+@let @hashchar = @normalhash
+
+@c Finally, make ` and ' active, so that txicodequoteundirected and
+@c txicodequotebacktick work right in, e.g., @w{@code{`foo'}}. If we
+@c don't make ` and ' active, @code will not get them as active chars.
+@c Do this last of all since we use ` in the previous @catcode assignments.
+@catcode`@'=@active
+@catcode`@`=@active
+@setregularquotes
+
+@c Local variables:
+@c eval: (add-hook 'before-save-hook 'time-stamp)
+@c page-delimiter: "^\\\\message\\|emacs-page"
+@c time-stamp-start: "def\\\\texinfoversion{"
+@c time-stamp-format: "%:y-%02m-%02d.%02H"
+@c time-stamp-end: "}"
+@c End:
+
+@c vim:sw=2:
+
+@enablebackslashhack
+
+++ /dev/null
-# autoconf-archive/cfg.mk
-
-# settings required by the maintainer-makefile module
-
-gnu_rel_host := ftp.gnu.org
-old_NEWS_hash := edc31429dff8e5b05456cc40c5b04f76
-gpg_key_ID := 99089D72
-today := $(date "+%Y-%m-%d")
-TAR_OPTIONS += --mtime=$(today)
-manual_title := GNU Autoconf Archive Web Site
-news-check-lines-spec := 11
-
-# maintainer targets
-
-PYTHON := python
-
-M4DIR := $(srcdir)/m4
-STAGEDIR := $(srcdir)/stage
-DOCDIR := $(srcdir)/doc
-
-M4_FILES := $(sort $(wildcard $(M4DIR)/*.m4))
-MACROS := $(patsubst $(M4DIR)/%.m4,%, $(M4_FILES))
-TEXI_FILES := $(patsubst %,$(DOCDIR)/%.texi,$(MACROS))
-
-.PHONY: maintainer-all
-.PRECIOUS: $(patsubst %,$(STAGEDIR)/%.m4,$(MACROS))
-maintainer-all: $(TEXI_FILES) $(DOCDIR)/all-macros.texi $(srcdir)/README
-
-$(STAGEDIR)/manifest:
- @$(MKDIR_P) $(STAGEDIR)
- @rm -f "$@"
- @for n in $(basename $(notdir $(M4_FILES))); do echo "$$n" >>"$@"; done
-
-$(STAGEDIR)/%.m4 : $(M4DIR)/%.m4 $(STAGEDIR)/manifest $(srcdir)/macro.py $(srcdir)/macro2m4.py
- $(PYTHON) $(srcdir)/macro2m4.py "$<" "$@"
- @diff -u "$<" "$@" || (touch -d "1970-01-01 01:00:00" "$@"; false)
-
-$(DOCDIR)/%.texi : $(STAGEDIR)/%.m4 $(srcdir)/macro2texi.py $(srcdir)/macro.py
- $(PYTHON) $(srcdir)/macro2texi.py "$<" "$@"
-
-$(DOCDIR)/all-macros.texi: $(srcdir)/configure
- @echo generating $@
- @$(MKDIR_P) $(DOCDIR)
- @rm -f "$@"
- @echo '@menu' >>"$@"
- @for n in $(MACROS); do echo "* $$n::" >>"$@"; done
- @echo '@end menu' >>"$@"
- @echo '' >>"$@"
- @for n in $(MACROS); do echo "@include $$n.texi" >>"$@"; done
-
-$(srcdir)/README : $(srcdir)/README.md
- @cp -f $< $@
- @chmod -w $@
--- /dev/null
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by GNU Autoconf 2.71 for GNU Autoconf Archive 2022.02.11.
+#
+# Report bugs to <autoconf-archive-maintainers@gnu.org>.
+#
+#
+# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
+# Inc.
+#
+#
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+as_nop=:
+if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
+then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else $as_nop
+ case `(set -o) 2>/dev/null` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+
+
+
+# Reset variables that may have inherited troublesome values from
+# the environment.
+
+# IFS needs to be set, to space, tab, and newline, in precisely that order.
+# (If _AS_PATH_WALK were called with IFS unset, it would have the
+# side effect of setting IFS to empty, thus disabling word splitting.)
+# Quoting is to prevent editors from complaining about space-tab.
+as_nl='
+'
+export as_nl
+IFS=" "" $as_nl"
+
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# Ensure predictable behavior from utilities with locale-dependent output.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# We cannot yet rely on "unset" to work, but we need these variables
+# to be unset--not just set to an empty or harmless value--now, to
+# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
+# also avoids known problems related to "unset" and subshell syntax
+# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
+for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
+do eval test \${$as_var+y} \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+
+# Ensure that fds 0, 1, and 2 are open.
+if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
+if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
+if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
+
+# The user is always right.
+if ${PATH_SEPARATOR+false} :; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ case $as_dir in #(((
+ '') as_dir=./ ;;
+ */) ;;
+ *) as_dir=$as_dir/ ;;
+ esac
+ test -r "$as_dir$0" && as_myself=$as_dir$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+
+# Use a proper internal environment variable to ensure we don't fall
+ # into an infinite loop, continuously re-executing ourselves.
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+ _as_can_reexec=no; export _as_can_reexec;
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
+ fi
+ # We don't want this to propagate to other subprocesses.
+ { _as_can_reexec=; unset _as_can_reexec;}
+if test "x$CONFIG_SHELL" = x; then
+ as_bourne_compatible="as_nop=:
+if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
+then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
+ setopt NO_GLOB_SUBST
+else \$as_nop
+ case \`(set -o) 2>/dev/null\` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+"
+ as_required="as_fn_return () { (exit \$1); }
+as_fn_success () { as_fn_return 0; }
+as_fn_failure () { as_fn_return 1; }
+as_fn_ret_success () { return 0; }
+as_fn_ret_failure () { return 1; }
+
+exitcode=0
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
+if ( set x; as_fn_ret_success y && test x = \"\$1\" )
+then :
+
+else \$as_nop
+ exitcode=1; echo positional parameters were not saved.
+fi
+test x\$exitcode = x0 || exit 1
+blah=\$(echo \$(echo blah))
+test x\"\$blah\" = xblah || exit 1
+test -x / || exit 1"
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
+test \$(( 1 + 1 )) = 2 || exit 1"
+ if (eval "$as_required") 2>/dev/null
+then :
+ as_have_required=yes
+else $as_nop
+ as_have_required=no
+fi
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
+then :
+
+else $as_nop
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_found=false
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+ IFS=$as_save_IFS
+ case $as_dir in #(((
+ '') as_dir=./ ;;
+ */) ;;
+ *) as_dir=$as_dir/ ;;
+ esac
+ as_found=:
+ case $as_dir in #(
+ /*)
+ for as_base in sh bash ksh sh5; do
+ # Try only shells that exist, to save several forks.
+ as_shell=$as_dir$as_base
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+ as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
+then :
+ CONFIG_SHELL=$as_shell as_have_required=yes
+ if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
+then :
+ break 2
+fi
+fi
+ done;;
+ esac
+ as_found=false
+done
+IFS=$as_save_IFS
+if $as_found
+then :
+
+else $as_nop
+ if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+ as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
+then :
+ CONFIG_SHELL=$SHELL as_have_required=yes
+fi
+fi
+
+
+ if test "x$CONFIG_SHELL" != x
+then :
+ export CONFIG_SHELL
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
+fi
+
+ if test x$as_have_required = xno
+then :
+ printf "%s\n" "$0: This script requires a shell more modern than all"
+ printf "%s\n" "$0: the shells that I found on your system."
+ if test ${ZSH_VERSION+y} ; then
+ printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
+ printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
+ else
+ printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
+$0: autoconf-archive-maintainers@gnu.org about your system,
+$0: including any error possibly output before this
+$0: message. Then install a modern shell, or manually run
+$0: the script under such a shell if you do have one."
+ fi
+ exit 1
+fi
+fi
+fi
+SHELL=${CONFIG_SHELL-/bin/sh}
+export SHELL
+# Unset more variables known to interfere with behavior of common tools.
+CLICOLOR_FORCE= GREP_OPTIONS=
+unset CLICOLOR_FORCE GREP_OPTIONS
+
+## --------------------- ##
+## M4sh Shell Functions. ##
+## --------------------- ##
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} # as_fn_exit
+# as_fn_nop
+# ---------
+# Do nothing but, unlike ":", preserve the value of $?.
+as_fn_nop ()
+{
+ return $?
+}
+as_nop=as_fn_nop
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+printf "%s\n" X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
+then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else $as_nop
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
+then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else $as_nop
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+# as_fn_nop
+# ---------
+# Do nothing but, unlike ":", preserve the value of $?.
+as_fn_nop ()
+{
+ return $?
+}
+as_nop=as_fn_nop
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ printf "%s\n" "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} # as_fn_error
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+printf "%s\n" X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+ ' <$as_myself |
+ sed '
+ s/[$]LINENO.*/&-/
+ t lineno
+ b
+ :lineno
+ N
+ :loop
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+ t loop
+ s/-\n.*//
+ ' >$as_me.lineno &&
+ chmod +x "$as_me.lineno" ||
+ { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+ # already done that, so ensure we don't try to do so again and fall
+ # in an infinite loop. This has already happened in practice.
+ _as_can_reexec=no; export _as_can_reexec
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
+ . "./$as_me.lineno"
+ # Exit status is that of the last command.
+ exit
+}
+
+
+# Determine whether it's possible to make 'echo' print without a newline.
+# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
+# for compatibility with existing Makefiles.
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+# For backward compatibility with old third-party macros, we provide
+# the shell variables $as_echo and $as_echo_n. New code should use
+# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
+as_echo='printf %s\n'
+as_echo_n='printf %s'
+
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
+
+# Name of the host.
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+#
+# Initializations.
+#
+ac_default_prefix=/usr/local
+ac_clean_files=
+ac_config_libobj_dir=.
+LIBOBJS=
+cross_compiling=no
+subdirs=
+MFLAGS=
+MAKEFLAGS=
+
+# Identity of this package.
+PACKAGE_NAME='GNU Autoconf Archive'
+PACKAGE_TARNAME='autoconf-archive'
+PACKAGE_VERSION='2022.02.11'
+PACKAGE_STRING='GNU Autoconf Archive 2022.02.11'
+PACKAGE_BUGREPORT='autoconf-archive-maintainers@gnu.org'
+PACKAGE_URL='https://www.gnu.org/software/autoconf-archive/'
+
+ac_unique_file="doc/autoconf-archive.texi"
+ac_subst_vars='LTLIBOBJS
+LIBOBJS
+TEXIFILES
+M4FILES
+SED
+AM_BACKSLASH
+AM_DEFAULT_VERBOSITY
+AM_DEFAULT_V
+AM_V
+CSCOPE
+ETAGS
+CTAGS
+am__untar
+am__tar
+AMTAR
+am__leading_dot
+SET_MAKE
+AWK
+mkdir_p
+MKDIR_P
+INSTALL_STRIP_PROGRAM
+STRIP
+install_sh
+MAKEINFO
+AUTOHEADER
+AUTOMAKE
+AUTOCONF
+ACLOCAL
+VERSION
+PACKAGE
+CYGPATH_W
+am__isrc
+INSTALL_DATA
+INSTALL_SCRIPT
+INSTALL_PROGRAM
+target_alias
+host_alias
+build_alias
+LIBS
+ECHO_T
+ECHO_N
+ECHO_C
+DEFS
+mandir
+localedir
+libdir
+psdir
+pdfdir
+dvidir
+htmldir
+infodir
+docdir
+oldincludedir
+includedir
+runstatedir
+localstatedir
+sharedstatedir
+sysconfdir
+datadir
+datarootdir
+libexecdir
+sbindir
+bindir
+program_transform_name
+prefix
+exec_prefix
+PACKAGE_URL
+PACKAGE_BUGREPORT
+PACKAGE_STRING
+PACKAGE_VERSION
+PACKAGE_TARNAME
+PACKAGE_NAME
+PATH_SEPARATOR
+SHELL'
+ac_subst_files=''
+ac_user_opts='
+enable_option_checking
+enable_silent_rules
+'
+ ac_precious_vars='build_alias
+host_alias
+target_alias'
+
+
+# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
+ac_unrecognized_opts=
+ac_unrecognized_sep=
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+cache_file=/dev/null
+exec_prefix=NONE
+no_create=
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+verbose=
+x_includes=NONE
+x_libraries=NONE
+
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
+# (The list follows the same order as the GNU Coding Standards.)
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datarootdir='${prefix}/share'
+datadir='${datarootdir}'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+runstatedir='${localstatedir}/run'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+infodir='${datarootdir}/info'
+htmldir='${docdir}'
+dvidir='${docdir}'
+pdfdir='${docdir}'
+psdir='${docdir}'
+libdir='${exec_prefix}/lib'
+localedir='${datarootdir}/locale'
+mandir='${datarootdir}/man'
+
+ac_prev=
+ac_dashdash=
+for ac_option
+do
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval $ac_prev=\$ac_option
+ ac_prev=
+ continue
+ fi
+
+ case $ac_option in
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+ *=) ac_optarg= ;;
+ *) ac_optarg=yes ;;
+ esac
+
+ case $ac_dashdash$ac_option in
+ --)
+ ac_dashdash=yes ;;
+
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+ bindir=$ac_optarg ;;
+
+ -build | --build | --buil | --bui | --bu)
+ ac_prev=build_alias ;;
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+ build_alias=$ac_optarg ;;
+
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+ cache_file=$ac_optarg ;;
+
+ --config-cache | -C)
+ cache_file=config.cache ;;
+
+ -datadir | --datadir | --datadi | --datad)
+ ac_prev=datadir ;;
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
+ datadir=$ac_optarg ;;
+
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
+ | --dataroo | --dataro | --datar)
+ ac_prev=datarootdir ;;
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
+ datarootdir=$ac_optarg ;;
+
+ -disable-* | --disable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: \`$ac_useropt'"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=no ;;
+
+ -docdir | --docdir | --docdi | --doc | --do)
+ ac_prev=docdir ;;
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
+ docdir=$ac_optarg ;;
+
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
+ ac_prev=dvidir ;;
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
+ dvidir=$ac_optarg ;;
+
+ -enable-* | --enable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: \`$ac_useropt'"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=\$ac_optarg ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+ | --exec | --exe | --ex)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ exec_prefix=$ac_optarg ;;
+
+ -gas | --gas | --ga | --g)
+ # Obsolete; use --with-gas.
+ with_gas=yes ;;
+
+ -help | --help | --hel | --he | -h)
+ ac_init_help=long ;;
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+ ac_init_help=recursive ;;
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+ ac_init_help=short ;;
+
+ -host | --host | --hos | --ho)
+ ac_prev=host_alias ;;
+ -host=* | --host=* | --hos=* | --ho=*)
+ host_alias=$ac_optarg ;;
+
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
+ ac_prev=htmldir ;;
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
+ | --ht=*)
+ htmldir=$ac_optarg ;;
+
+ -includedir | --includedir | --includedi | --included | --include \
+ | --includ | --inclu | --incl | --inc)
+ ac_prev=includedir ;;
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
+ includedir=$ac_optarg ;;
+
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
+ ac_prev=infodir ;;
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+ infodir=$ac_optarg ;;
+
+ -libdir | --libdir | --libdi | --libd)
+ ac_prev=libdir ;;
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
+ libdir=$ac_optarg ;;
+
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+ | --libexe | --libex | --libe)
+ ac_prev=libexecdir ;;
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+ | --libexe=* | --libex=* | --libe=*)
+ libexecdir=$ac_optarg ;;
+
+ -localedir | --localedir | --localedi | --localed | --locale)
+ ac_prev=localedir ;;
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
+ localedir=$ac_optarg ;;
+
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
+ | --localstate | --localstat | --localsta | --localst | --locals)
+ ac_prev=localstatedir ;;
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
+ localstatedir=$ac_optarg ;;
+
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+ ac_prev=mandir ;;
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+ mandir=$ac_optarg ;;
+
+ -nfp | --nfp | --nf)
+ # Obsolete; use --without-fp.
+ with_fp=no ;;
+
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c | -n)
+ no_create=yes ;;
+
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+ no_recursion=yes ;;
+
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+ | --oldin | --oldi | --old | --ol | --o)
+ ac_prev=oldincludedir ;;
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+ oldincludedir=$ac_optarg ;;
+
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix=$ac_optarg ;;
+
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
+ | --program-pre | --program-pr | --program-p)
+ ac_prev=program_prefix ;;
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+ program_prefix=$ac_optarg ;;
+
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
+ | --program-suf | --program-su | --program-s)
+ ac_prev=program_suffix ;;
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+ program_suffix=$ac_optarg ;;
+
+ -program-transform-name | --program-transform-name \
+ | --program-transform-nam | --program-transform-na \
+ | --program-transform-n | --program-transform- \
+ | --program-transform | --program-transfor \
+ | --program-transfo | --program-transf \
+ | --program-trans | --program-tran \
+ | --progr-tra | --program-tr | --program-t)
+ ac_prev=program_transform_name ;;
+ -program-transform-name=* | --program-transform-name=* \
+ | --program-transform-nam=* | --program-transform-na=* \
+ | --program-transform-n=* | --program-transform-=* \
+ | --program-transform=* | --program-transfor=* \
+ | --program-transfo=* | --program-transf=* \
+ | --program-trans=* | --program-tran=* \
+ | --progr-tra=* | --program-tr=* | --program-t=*)
+ program_transform_name=$ac_optarg ;;
+
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
+ ac_prev=pdfdir ;;
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
+ pdfdir=$ac_optarg ;;
+
+ -psdir | --psdir | --psdi | --psd | --ps)
+ ac_prev=psdir ;;
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
+ psdir=$ac_optarg ;;
+
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+ -runstatedir | --runstatedir | --runstatedi | --runstated \
+ | --runstate | --runstat | --runsta | --runst | --runs \
+ | --run | --ru | --r)
+ ac_prev=runstatedir ;;
+ -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
+ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
+ | --run=* | --ru=* | --r=*)
+ runstatedir=$ac_optarg ;;
+
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+ | --sbi=* | --sb=*)
+ sbindir=$ac_optarg ;;
+
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+ | --sharedst | --shareds | --shared | --share | --shar \
+ | --sha | --sh)
+ ac_prev=sharedstatedir ;;
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+ | --sha=* | --sh=*)
+ sharedstatedir=$ac_optarg ;;
+
+ -site | --site | --sit)
+ ac_prev=site ;;
+ -site=* | --site=* | --sit=*)
+ site=$ac_optarg ;;
+
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ srcdir=$ac_optarg ;;
+
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir=$ac_optarg ;;
+
+ -target | --target | --targe | --targ | --tar | --ta | --t)
+ ac_prev=target_alias ;;
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+ target_alias=$ac_optarg ;;
+
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
+ verbose=yes ;;
+
+ -version | --version | --versio | --versi | --vers | -V)
+ ac_init_version=: ;;
+
+ -with-* | --with-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: \`$ac_useropt'"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=\$ac_optarg ;;
+
+ -without-* | --without-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: \`$ac_useropt'"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=no ;;
+
+ --x)
+ # Obsolete; use --with-x.
+ with_x=yes ;;
+
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
+ | --x-incl | --x-inc | --x-in | --x-i)
+ ac_prev=x_includes ;;
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+ x_includes=$ac_optarg ;;
+
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+ ac_prev=x_libraries ;;
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries=$ac_optarg ;;
+
+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
+Try \`$0 --help' for more information"
+ ;;
+
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+ case $ac_envvar in #(
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
+ esac
+ eval $ac_envvar=\$ac_optarg
+ export $ac_envvar ;;
+
+ *)
+ # FIXME: should be removed in autoconf 3.0.
+ printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
+ ;;
+
+ esac
+done
+
+if test -n "$ac_prev"; then
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+ as_fn_error $? "missing argument to $ac_option"
+fi
+
+if test -n "$ac_unrecognized_opts"; then
+ case $enable_option_checking in
+ no) ;;
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
+ *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
+ esac
+fi
+
+# Check all directory arguments for consistency.
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
+ datadir sysconfdir sharedstatedir localstatedir includedir \
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
+ libdir localedir mandir runstatedir
+do
+ eval ac_val=\$$ac_var
+ # Remove trailing slashes.
+ case $ac_val in
+ */ )
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
+ eval $ac_var=\$ac_val;;
+ esac
+ # Be sure to have absolute directory names.
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* ) continue;;
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
+ esac
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
+done
+
+# There might be people who depend on the old broken behavior: `$host'
+# used to hold the argument of --host etc.
+# FIXME: To remove some day.
+build=$build_alias
+host=$host_alias
+target=$target_alias
+
+# FIXME: To remove some day.
+if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+ fi
+fi
+
+ac_tool_prefix=
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+test "$silent" = yes && exec 6>/dev/null
+
+
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
+ac_ls_di=`ls -di .` &&
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
+ as_fn_error $? "working directory cannot be determined"
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
+ as_fn_error $? "pwd does not report name of working directory"
+
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+ ac_srcdir_defaulted=yes
+ # Try the directory containing this script, then the parent directory.
+ ac_confdir=`$as_dirname -- "$as_myself" ||
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_myself" : 'X\(//\)[^/]' \| \
+ X"$as_myself" : 'X\(//\)$' \| \
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
+printf "%s\n" X"$as_myself" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ srcdir=$ac_confdir
+ if test ! -r "$srcdir/$ac_unique_file"; then
+ srcdir=..
+ fi
+else
+ ac_srcdir_defaulted=no
+fi
+if test ! -r "$srcdir/$ac_unique_file"; then
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
+fi
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+ac_abs_confdir=`(
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
+ pwd)`
+# When building in place, set srcdir=.
+if test "$ac_abs_confdir" = "$ac_pwd"; then
+ srcdir=.
+fi
+# Remove unnecessary trailing slashes from srcdir.
+# Double slashes in file names in object file debugging info
+# mess up M-x gdb in Emacs.
+case $srcdir in
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
+esac
+for ac_var in $ac_precious_vars; do
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_env_${ac_var}_value=\$${ac_var}
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
+done
+
+#
+# Report the --help message.
+#
+if test "$ac_init_help" = "long"; then
+ # Omit some internal or obsolete options to make the list less imposing.
+ # This message is too long to be a string in the A/UX 3.1 sh.
+ cat <<_ACEOF
+\`configure' configures GNU Autoconf Archive 2022.02.11 to adapt to many kinds of systems.
+
+Usage: $0 [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE. See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+ -h, --help display this help and exit
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+ -q, --quiet, --silent do not print \`checking ...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for \`--cache-file=config.cache'
+ -n, --no-create do not create output files
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
+
+Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ [$ac_default_prefix]
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ [PREFIX]
+
+By default, \`make install' will install all the files in
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+for instance \`--prefix=\$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+ --bindir=DIR user executables [EPREFIX/bin]
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
+ --libexecdir=DIR program executables [EPREFIX/libexec]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
+ --infodir=DIR info documentation [DATAROOTDIR/info]
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
+ --mandir=DIR man documentation [DATAROOTDIR/man]
+ --docdir=DIR documentation root
+ [DATAROOTDIR/doc/autoconf-archive]
+ --htmldir=DIR html documentation [DOCDIR]
+ --dvidir=DIR dvi documentation [DOCDIR]
+ --pdfdir=DIR pdf documentation [DOCDIR]
+ --psdir=DIR ps documentation [DOCDIR]
+_ACEOF
+
+ cat <<\_ACEOF
+
+Program names:
+ --program-prefix=PREFIX prepend PREFIX to installed program names
+ --program-suffix=SUFFIX append SUFFIX to installed program names
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
+_ACEOF
+fi
+
+if test -n "$ac_init_help"; then
+ case $ac_init_help in
+ short | recursive ) echo "Configuration of GNU Autoconf Archive 2022.02.11:";;
+ esac
+ cat <<\_ACEOF
+
+Optional Features:
+ --disable-option-checking ignore unrecognized --enable/--with options
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --enable-silent-rules less verbose build output (undo: "make V=1")
+ --disable-silent-rules verbose build output (undo: "make V=0")
+
+Report bugs to <autoconf-archive-maintainers@gnu.org>.
+GNU Autoconf Archive home page: <https://www.gnu.org/software/autoconf-archive/>.
+General help using GNU software: <https://www.gnu.org/gethelp/>.
+_ACEOF
+ac_status=$?
+fi
+
+if test "$ac_init_help" = "recursive"; then
+ # If there are subdirs, report their specific --help.
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+ test -d "$ac_dir" ||
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
+ continue
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ cd "$ac_dir" || { ac_status=$?; continue; }
+ # Check for configure.gnu first; this name is used for a wrapper for
+ # Metaconfig's "Configure" on case-insensitive file systems.
+ if test -f "$ac_srcdir/configure.gnu"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
+ elif test -f "$ac_srcdir/configure"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure" --help=recursive
+ else
+ printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+ fi || ac_status=$?
+ cd "$ac_pwd" || { ac_status=$?; break; }
+ done
+fi
+
+test -n "$ac_init_help" && exit $ac_status
+if $ac_init_version; then
+ cat <<\_ACEOF
+GNU Autoconf Archive configure 2022.02.11
+generated by GNU Autoconf 2.71
+
+Copyright (C) 2021 Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+_ACEOF
+ exit
+fi
+
+## ------------------------ ##
+## Autoconf initialization. ##
+## ------------------------ ##
+ac_configure_args_raw=
+for ac_arg
+do
+ case $ac_arg in
+ *\'*)
+ ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ as_fn_append ac_configure_args_raw " '$ac_arg'"
+done
+
+case $ac_configure_args_raw in
+ *$as_nl*)
+ ac_safe_unquote= ;;
+ *)
+ ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
+ ac_unsafe_a="$ac_unsafe_z#~"
+ ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
+ ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
+esac
+
+cat >config.log <<_ACEOF
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by GNU Autoconf Archive $as_me 2022.02.11, which was
+generated by GNU Autoconf 2.71. Invocation command line was
+
+ $ $0$ac_configure_args_raw
+
+_ACEOF
+exec 5>>config.log
+{
+cat <<_ASUNAME
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
+
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
+
+_ASUNAME
+
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ case $as_dir in #(((
+ '') as_dir=./ ;;
+ */) ;;
+ *) as_dir=$as_dir/ ;;
+ esac
+ printf "%s\n" "PATH: $as_dir"
+ done
+IFS=$as_save_IFS
+
+} >&5
+
+cat >&5 <<_ACEOF
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+_ACEOF
+
+
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Strip out --silent because we don't want to record it for future runs.
+# Also quote any args containing shell meta-characters.
+# Make two passes to allow for proper duplicate-argument suppression.
+ac_configure_args=
+ac_configure_args0=
+ac_configure_args1=
+ac_must_keep_next=false
+for ac_pass in 1 2
+do
+ for ac_arg
+ do
+ case $ac_arg in
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ continue ;;
+ *\'*)
+ ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ case $ac_pass in
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
+ 2)
+ as_fn_append ac_configure_args1 " '$ac_arg'"
+ if test $ac_must_keep_next = true; then
+ ac_must_keep_next=false # Got value, back to normal.
+ else
+ case $ac_arg in
+ *=* | --config-cache | -C | -disable-* | --disable-* \
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
+ | -with-* | --with-* | -without-* | --without-* | --x)
+ case "$ac_configure_args0 " in
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
+ esac
+ ;;
+ -* ) ac_must_keep_next=true ;;
+ esac
+ fi
+ as_fn_append ac_configure_args " '$ac_arg'"
+ ;;
+ esac
+ done
+done
+{ ac_configure_args0=; unset ac_configure_args0;}
+{ ac_configure_args1=; unset ac_configure_args1;}
+
+# When interrupted or exit'd, cleanup temporary files, and complete
+# config.log. We remove comments because anyway the quotes in there
+# would cause problems or look ugly.
+# WARNING: Use '\'' to represent an apostrophe within the trap.
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
+trap 'exit_status=$?
+ # Sanitize IFS.
+ IFS=" "" $as_nl"
+ # Save into config.log some information that might help in debugging.
+ {
+ echo
+
+ printf "%s\n" "## ---------------- ##
+## Cache variables. ##
+## ---------------- ##"
+ echo
+ # The following way of writing the cache mishandles newlines in values,
+(
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+ (set) 2>&1 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ sed -n \
+ "s/'\''/'\''\\\\'\'''\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
+ ;; #(
+ *)
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+)
+ echo
+
+ printf "%s\n" "## ----------------- ##
+## Output variables. ##
+## ----------------- ##"
+ echo
+ for ac_var in $ac_subst_vars
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ printf "%s\n" "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+
+ if test -n "$ac_subst_files"; then
+ printf "%s\n" "## ------------------- ##
+## File substitutions. ##
+## ------------------- ##"
+ echo
+ for ac_var in $ac_subst_files
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ printf "%s\n" "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+ fi
+
+ if test -s confdefs.h; then
+ printf "%s\n" "## ----------- ##
+## confdefs.h. ##
+## ----------- ##"
+ echo
+ cat confdefs.h
+ echo
+ fi
+ test "$ac_signal" != 0 &&
+ printf "%s\n" "$as_me: caught signal $ac_signal"
+ printf "%s\n" "$as_me: exit $exit_status"
+ } >&5
+ rm -f core *.core core.conftest.* &&
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
+ exit $exit_status
+' 0
+for ac_signal in 1 2 13 15; do
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
+done
+ac_signal=0
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -f -r conftest* confdefs.h
+
+printf "%s\n" "/* confdefs.h */" > confdefs.h
+
+# Predefined preprocessor variables.
+
+printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
+
+printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
+
+printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
+
+printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
+
+printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
+
+printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
+
+
+# Let the site file select an alternate cache file if it wants to.
+# Prefer an explicitly selected file to automatically selected ones.
+if test -n "$CONFIG_SITE"; then
+ ac_site_files="$CONFIG_SITE"
+elif test "x$prefix" != xNONE; then
+ ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
+else
+ ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
+fi
+
+for ac_site_file in $ac_site_files
+do
+ case $ac_site_file in #(
+ */*) :
+ ;; #(
+ *) :
+ ac_site_file=./$ac_site_file ;;
+esac
+ if test -f "$ac_site_file" && test -r "$ac_site_file"; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
+printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
+ sed 's/^/| /' "$ac_site_file" >&5
+ . "$ac_site_file" \
+ || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "failed to load site script $ac_site_file
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+done
+
+if test -r "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special files
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
+printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
+else
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
+printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+
+# Auxiliary files required by this configure script.
+ac_aux_files="missing install-sh"
+
+# Locations in which to look for auxiliary files.
+ac_aux_dir_candidates="${srcdir}/build-aux"
+
+# Search for a directory containing all of the required auxiliary files,
+# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
+# If we don't find one directory that contains all the files we need,
+# we report the set of missing files from the *first* directory in
+# $ac_aux_dir_candidates and give up.
+ac_missing_aux_files=""
+ac_first_candidate=:
+printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_found=false
+for as_dir in $ac_aux_dir_candidates
+do
+ IFS=$as_save_IFS
+ case $as_dir in #(((
+ '') as_dir=./ ;;
+ */) ;;
+ *) as_dir=$as_dir/ ;;
+ esac
+ as_found=:
+
+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
+ ac_aux_dir_found=yes
+ ac_install_sh=
+ for ac_aux in $ac_aux_files
+ do
+ # As a special case, if "install-sh" is required, that requirement
+ # can be satisfied by any of "install-sh", "install.sh", or "shtool",
+ # and $ac_install_sh is set appropriately for whichever one is found.
+ if test x"$ac_aux" = x"install-sh"
+ then
+ if test -f "${as_dir}install-sh"; then
+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
+ ac_install_sh="${as_dir}install-sh -c"
+ elif test -f "${as_dir}install.sh"; then
+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
+ ac_install_sh="${as_dir}install.sh -c"
+ elif test -f "${as_dir}shtool"; then
+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
+ ac_install_sh="${as_dir}shtool install -c"
+ else
+ ac_aux_dir_found=no
+ if $ac_first_candidate; then
+ ac_missing_aux_files="${ac_missing_aux_files} install-sh"
+ else
+ break
+ fi
+ fi
+ else
+ if test -f "${as_dir}${ac_aux}"; then
+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
+ else
+ ac_aux_dir_found=no
+ if $ac_first_candidate; then
+ ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
+ else
+ break
+ fi
+ fi
+ fi
+ done
+ if test "$ac_aux_dir_found" = yes; then
+ ac_aux_dir="$as_dir"
+ break
+ fi
+ ac_first_candidate=false
+
+ as_found=false
+done
+IFS=$as_save_IFS
+if $as_found
+then :
+
+else $as_nop
+ as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
+fi
+
+
+# These three variables are undocumented and unsupported,
+# and are intended to be withdrawn in a future Autoconf release.
+# They can cause serious problems if a builder's source tree is in a directory
+# whose full name contains unusual characters.
+if test -f "${ac_aux_dir}config.guess"; then
+ ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
+fi
+if test -f "${ac_aux_dir}config.sub"; then
+ ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
+fi
+if test -f "$ac_aux_dir/configure"; then
+ ac_configure="$SHELL ${ac_aux_dir}configure"
+fi
+
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in $ac_precious_vars; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
+ eval ac_new_val=\$ac_env_${ac_var}_value
+ case $ac_old_set,$ac_new_set in
+ set,)
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
+printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+ # differences in whitespace do not lead to failure.
+ ac_old_val_w=`echo x $ac_old_val`
+ ac_new_val_w=`echo x $ac_new_val`
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
+printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ ac_cache_corrupted=:
+ else
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
+printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
+ eval $ac_var=\$ac_old_val
+ fi
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
+printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
+printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
+ fi;;
+ esac
+ # Pass precious variables to config.status.
+ if test "$ac_new_set" = set; then
+ case $ac_new_val in
+ *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *) ac_arg=$ac_var=$ac_new_val ;;
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
+ esac
+ fi
+done
+if $ac_cache_corrupted; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
+printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
+ as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
+ and start over" "$LINENO" 5
+fi
+## -------------------- ##
+## Main body of script. ##
+## -------------------- ##
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+am__api_version='1.16'
+
+
+
+ # Find a good install program. We prefer a C program (faster),
+# so one script is as good as another. But avoid the broken or
+# incompatible versions:
+# SysV /etc/install, /usr/sbin/install
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AmigaOS /C/install, which installs bootblocks on floppy discs
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# OS/2's system install, which has a completely different semantic
+# ./install, which can be erroneously created by make from ./install.sh.
+# Reject install programs that cannot install multiple files.
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
+printf %s "checking for a BSD-compatible install... " >&6; }
+if test -z "$INSTALL"; then
+if test ${ac_cv_path_install+y}
+then :
+ printf %s "(cached) " >&6
+else $as_nop
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ case $as_dir in #(((
+ '') as_dir=./ ;;
+ */) ;;
+ *) as_dir=$as_dir/ ;;
+ esac
+ # Account for fact that we put trailing slashes in our PATH walk.
+case $as_dir in #((
+ ./ | /[cC]/* | \
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
+ /usr/ucb/* ) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+ # Don't use installbsd from OSF since it installs stuff as root
+ # by default.
+ for ac_prog in ginstall scoinst install; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
+ if test $ac_prog = install &&
+ grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # AIX install. It has an incompatible calling convention.
+ :
+ elif test $ac_prog = install &&
+ grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # program-specific install script used by HP pwplus--don't use.
+ :
+ else
+ rm -rf conftest.one conftest.two conftest.dir
+ echo one > conftest.one
+ echo two > conftest.two
+ mkdir conftest.dir
+ if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
+ test -s conftest.one && test -s conftest.two &&
+ test -s conftest.dir/conftest.one &&
+ test -s conftest.dir/conftest.two
+ then
+ ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
+ break 3
+ fi
+ fi
+ fi
+ done
+ done
+ ;;
+esac
+
+ done
+IFS=$as_save_IFS
+
+rm -rf conftest.one conftest.two conftest.dir
+
+fi
+ if test ${ac_cv_path_install+y}; then
+ INSTALL=$ac_cv_path_install
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for INSTALL within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ INSTALL=$ac_install_sh
+ fi
+fi
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
+printf "%s\n" "$INSTALL" >&6; }
+
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
+printf %s "checking whether build environment is sane... " >&6; }
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[\\\"\#\$\&\'\`$am_lf]*)
+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
+esac
+case $srcdir in
+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
+ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$*" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$*" != "X $srcdir/configure conftest.file" \
+ && test "$*" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
+ alias in your environment" "$LINENO" 5
+ fi
+ if test "$2" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
+ test "$2" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ as_fn_error $? "newly created file is older than distributed files!
+Check your system clock" "$LINENO" 5
+fi
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+printf "%s\n" "yes" >&6; }
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+
+rm -f conftest.file
+
+test "$program_prefix" != NONE &&
+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
+# Use a double $ so make ignores it.
+test "$program_suffix" != NONE &&
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
+# Double any \ or $.
+# By default was `s,x,x', remove it if useless.
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
+program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
+
+
+# Expand $ac_aux_dir to an absolute path.
+am_aux_dir=`cd "$ac_aux_dir" && pwd`
+
+
+ if test x"${MISSING+set}" != xset; then
+ MISSING="\${SHELL} '$am_aux_dir/missing'"
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
+else
+ am_missing_run=
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
+printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
+fi
+
+if test x"${install_sh+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+if test "$cross_compiling" != no; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+printf %s "checking for $ac_word... " >&6; }
+if test ${ac_cv_prog_STRIP+y}
+then :
+ printf %s "(cached) " >&6
+else $as_nop
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ case $as_dir in #(((
+ '') as_dir=./ ;;
+ */) ;;
+ *) as_dir=$as_dir/ ;;
+ esac
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+printf "%s\n" "$STRIP" >&6; }
+else
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+printf "%s\n" "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+printf %s "checking for $ac_word... " >&6; }
+if test ${ac_cv_prog_ac_ct_STRIP+y}
+then :
+ printf %s "(cached) " >&6
+else $as_nop
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ case $as_dir in #(((
+ '') as_dir=./ ;;
+ */) ;;
+ *) as_dir=$as_dir/ ;;
+ esac
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
+printf "%s\n" "$ac_ct_STRIP" >&6; }
+else
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+printf "%s\n" "no" >&6; }
+fi
+
+ if test "x$ac_ct_STRIP" = x; then
+ STRIP=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ STRIP=$ac_ct_STRIP
+ fi
+else
+ STRIP="$ac_cv_prog_STRIP"
+fi
+
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+
+
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
+printf %s "checking for a race-free mkdir -p... " >&6; }
+if test -z "$MKDIR_P"; then
+ if test ${ac_cv_path_mkdir+y}
+then :
+ printf %s "(cached) " >&6
+else $as_nop
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
+do
+ IFS=$as_save_IFS
+ case $as_dir in #(((
+ '') as_dir=./ ;;
+ */) ;;
+ *) as_dir=$as_dir/ ;;
+ esac
+ for ac_prog in mkdir gmkdir; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
+ case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
+ 'mkdir ('*'coreutils) '* | \
+ 'BusyBox '* | \
+ 'mkdir (fileutils) '4.1*)
+ ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
+ break 3;;
+ esac
+ done
+ done
+ done
+IFS=$as_save_IFS
+
+fi
+
+ test -d ./--version && rmdir ./--version
+ if test ${ac_cv_path_mkdir+y}; then
+ MKDIR_P="$ac_cv_path_mkdir -p"
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for MKDIR_P within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ MKDIR_P="$ac_install_sh -d"
+ fi
+fi
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
+printf "%s\n" "$MKDIR_P" >&6; }
+
+for ac_prog in gawk mawk nawk awk
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+printf %s "checking for $ac_word... " >&6; }
+if test ${ac_cv_prog_AWK+y}
+then :
+ printf %s "(cached) " >&6
+else $as_nop
+ if test -n "$AWK"; then
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ case $as_dir in #(((
+ '') as_dir=./ ;;
+ */) ;;
+ *) as_dir=$as_dir/ ;;
+ esac
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AWK="$ac_prog"
+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+printf "%s\n" "$AWK" >&6; }
+else
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+printf "%s\n" "no" >&6; }
+fi
+
+
+ test -n "$AWK" && break
+done
+
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
+set x ${MAKE-make}
+ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
+if eval test \${ac_cv_prog_make_${ac_make}_set+y}
+then :
+ printf %s "(cached) " >&6
+else $as_nop
+ cat >conftest.make <<\_ACEOF
+SHELL = /bin/sh
+all:
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
+_ACEOF
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
+ *@@@%%%=?*=@@@%%%*)
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
+ *)
+ eval ac_cv_prog_make_${ac_make}_set=no;;
+esac
+rm -f conftest.make
+fi
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+printf "%s\n" "yes" >&6; }
+ SET_MAKE=
+else
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+printf "%s\n" "no" >&6; }
+ SET_MAKE="MAKE=${MAKE-make}"
+fi
+
+rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+
+# Check whether --enable-silent-rules was given.
+if test ${enable_silent_rules+y}
+then :
+ enableval=$enable_silent_rules;
+fi
+
+case $enable_silent_rules in # (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=1;;
+esac
+am_make=${MAKE-make}
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
+printf %s "checking whether $am_make supports nested variables... " >&6; }
+if test ${am_cv_make_support_nested_variables+y}
+then :
+ printf %s "(cached) " >&6
+else $as_nop
+ if printf "%s\n" 'TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi
+fi
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
+printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
+if test $am_cv_make_support_nested_variables = yes; then
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AM_BACKSLASH='\'
+
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ am__isrc=' -I$(srcdir)'
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+
+
+# Define the identity of the package.
+ PACKAGE='autoconf-archive'
+ VERSION='2022.02.11'
+
+
+printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
+
+
+printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
+
+# Some tools Automake needs.
+
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
+
+
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
+
+
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
+
+
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
+
+
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+mkdir_p='$(MKDIR_P)'
+
+# We need awk for the "check" target (and possibly the TAP driver). The
+# system "awk" is bad on some platforms.
+# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AMTAR='$${TAR-tar}'
+
+
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar pax cpio none'
+
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
+
+
+
+
+
+# Variables for tags utilities; see am/tags.am
+if test -z "$CTAGS"; then
+ CTAGS=ctags
+fi
+
+if test -z "$ETAGS"; then
+ ETAGS=etags
+fi
+
+if test -z "$CSCOPE"; then
+ CSCOPE=cscope
+fi
+
+
+
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes. So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+ cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present. This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake@gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message. This
+can help us improve future automake versions.
+
+END
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+ echo 'Configuration will proceed anyway, since you have set the' >&2
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+ echo >&2
+ else
+ cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <https://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+ as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
+ fi
+fi
+
+
+
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $PACKAGE_STRING" >&5
+printf "%s\n" "$as_me: $PACKAGE_STRING" >&6;}
+
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
+printf %s "checking for a sed that does not truncate output... " >&6; }
+if test ${ac_cv_path_SED+y}
+then :
+ printf %s "(cached) " >&6
+else $as_nop
+ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
+ for ac_i in 1 2 3 4 5 6 7; do
+ ac_script="$ac_script$as_nl$ac_script"
+ done
+ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
+ { ac_script=; unset ac_script;}
+ if test -z "$SED"; then
+ ac_path_SED_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ case $as_dir in #(((
+ '') as_dir=./ ;;
+ */) ;;
+ *) as_dir=$as_dir/ ;;
+ esac
+ for ac_prog in sed gsed
+ do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_SED" || continue
+# Check for GNU ac_path_SED and select it if it is found.
+ # Check for GNU $ac_path_SED
+case `"$ac_path_SED" --version 2>&1` in
+*GNU*)
+ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
+*)
+ ac_count=0
+ printf %s 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ printf "%s\n" '' >> "conftest.nl"
+ "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_SED_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_SED="$ac_path_SED"
+ ac_path_SED_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_SED_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_SED"; then
+ as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
+ fi
+else
+ ac_cv_path_SED=$SED
+fi
+
+fi
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
+printf "%s\n" "$ac_cv_path_SED" >&6; }
+ SED="$ac_cv_path_SED"
+ rm -f conftest.sed
+
+
+M4FILES="m4/ax_absolute_header.m4 m4/ax_ac_append_to_file.m4 m4/ax_ac_print_to_file.m4 m4/ax_add_am_macro.m4 m4/ax_add_am_macro_static.m4 m4/ax_add_am_trilinos_makefile_export.m4 m4/ax_add_fortify_source.m4 m4/ax_add_recursive_am_macro.m4 m4/ax_add_recursive_am_macro_static.m4 m4/ax_afs.m4 m4/ax_am_jobserver.m4 m4/ax_am_macros.m4 m4/ax_am_macros_static.m4 m4/ax_am_override_var.m4 m4/ax_append_compile_flags.m4 m4/ax_append_flag.m4 m4/ax_append_link_flags.m4 m4/ax_append_to_file.m4 m4/ax_arg_with_path_style.m4 m4/ax_asm_inline.m4 m4/ax_at_check_pattern.m4 m4/ax_auto_include_headers.m4 m4/ax_berkeley_db.m4 m4/ax_berkeley_db_cxx.m4 m4/ax_blas.m4 m4/ax_blas_f77_func.m4 m4/ax_boost_asio.m4 m4/ax_boost_atomic.m4 m4/ax_boost_base.m4 m4/ax_boost_chrono.m4 m4/ax_boost_context.m4 m4/ax_boost_coroutine.m4 m4/ax_boost_date_time.m4 m4/ax_boost_filesystem.m4 m4/ax_boost_iostreams.m4 m4/ax_boost_locale.m4 m4/ax_boost_log.m4 m4/ax_boost_log_setup.m4 m4/ax_boost_process.m4 m4/ax_boost_program_options.m4 m4/ax_boost_python.m4 m4/ax_boost_random.m4 m4/ax_boost_regex.m4 m4/ax_boost_serialization.m4 m4/ax_boost_signals.m4 m4/ax_boost_system.m4 m4/ax_boost_test_exec_monitor.m4 m4/ax_boost_thread.m4 m4/ax_boost_unit_test_framework.m4 m4/ax_boost_wave.m4 m4/ax_boost_wserialization.m4 m4/ax_build_date_epoch.m4 m4/ax_c99_inline.m4 m4/ax_c___attribute__.m4 m4/ax_c_arithmetic_rshift.m4 m4/ax_c_compile_value.m4 m4/ax_c_declare_block.m4 m4/ax_c_float_words_bigendian.m4 m4/ax_c_long_long.m4 m4/ax_c_referenceable_passed_va_list.m4 m4/ax_c_var_func.m4 m4/ax_cache_size.m4 m4/ax_caolan_check_package.m4 m4/ax_caolan_search_package.m4 m4/ax_cc_for_build.m4 m4/ax_cc_maxopt.m4 m4/ax_cf_ebcdic.m4 m4/ax_cflags_aix_option.m4 m4/ax_cflags_force_c89.m4 m4/ax_cflags_hpux_option.m4 m4/ax_cflags_irix_option.m4 m4/ax_cflags_no_writable_strings.m4 m4/ax_cflags_strict_prototypes.m4 m4/ax_cflags_sun_option.m4 m4/ax_cflags_warn_all.m4 m4/ax_check_aligned_access_required.m4 m4/ax_check_allocated_ctime.m4 m4/ax_check_awk__v.m4 m4/ax_check_awk__x_escapes.m4 m4/ax_check_awk_and.m4 m4/ax_check_awk_argind.m4 m4/ax_check_awk_array_delete.m4 m4/ax_check_awk_array_delete_elem.m4 m4/ax_check_awk_array_in.m4 m4/ax_check_awk_asort.m4 m4/ax_check_awk_asorti.m4 m4/ax_check_awk_associative_array.m4 m4/ax_check_awk_atan2.m4 m4/ax_check_awk_compl.m4 m4/ax_check_awk_conditional_expression.m4 m4/ax_check_awk_cos.m4 m4/ax_check_awk_environ.m4 m4/ax_check_awk_errno.m4 m4/ax_check_awk_exit.m4 m4/ax_check_awk_exp.m4 m4/ax_check_awk_gensub.m4 m4/ax_check_awk_getline.m4 m4/ax_check_awk_gsub.m4 m4/ax_check_awk_ignorecase.m4 m4/ax_check_awk_index.m4 m4/ax_check_awk_int.m4 m4/ax_check_awk_length.m4 m4/ax_check_awk_log.m4 m4/ax_check_awk_lshift.m4 m4/ax_check_awk_match_2parms.m4 m4/ax_check_awk_match_3parms.m4 m4/ax_check_awk_operator_multiply_multiply.m4 m4/ax_check_awk_operator_square.m4 m4/ax_check_awk_or.m4 m4/ax_check_awk_printf.m4 m4/ax_check_awk_rand.m4 m4/ax_check_awk_rshift.m4 m4/ax_check_awk_sin.m4 m4/ax_check_awk_split.m4 m4/ax_check_awk_sprintf.m4 m4/ax_check_awk_sqrt.m4 m4/ax_check_awk_srand.m4 m4/ax_check_awk_strftime.m4 m4/ax_check_awk_strtonum.m4 m4/ax_check_awk_sub.m4 m4/ax_check_awk_substr.m4 m4/ax_check_awk_system.m4 m4/ax_check_awk_systime.m4 m4/ax_check_awk_tolower.m4 m4/ax_check_awk_toupper.m4 m4/ax_check_awk_user_defined_functions.m4 m4/ax_check_awk_var_regexp.m4 m4/ax_check_awk_variable_value_pairs.m4 m4/ax_check_awk_xor.m4 m4/ax_check_class.m4 m4/ax_check_classpath.m4 m4/ax_check_compile_flag.m4 m4/ax_check_define.m4 m4/ax_check_docbook_dtd.m4 m4/ax_check_docbook_xslt.m4 m4/ax_check_docbook_xslt_min.m4 m4/ax_check_dos_filesys.m4 m4/ax_check_enable_debug.m4 m4/ax_check_func_in.m4 m4/ax_check_gd.m4 m4/ax_check_gir_symbols_gjs.m4 m4/ax_check_girs_gjs.m4 m4/ax_check_gl.m4 m4/ax_check_glu.m4 m4/ax_check_glut.m4 m4/ax_check_glx.m4 m4/ax_check_gnu_make.m4 m4/ax_check_icu.m4 m4/ax_check_java_home.m4 m4/ax_check_java_plugin.m4 m4/ax_check_junit.m4 m4/ax_check_library.m4 m4/ax_check_link_flag.m4 m4/ax_check_mysql.m4 m4/ax_check_mysql_db.m4 m4/ax_check_mysqlr.m4 m4/ax_check_off64_t.m4 m4/ax_check_openssl.m4 m4/ax_check_page_aligned_malloc.m4 m4/ax_check_pathfind.m4 m4/ax_check_pathname_style.m4 m4/ax_check_pcre2.m4 m4/ax_check_pgsql_db.m4 m4/ax_check_posix_regcomp.m4 m4/ax_check_posix_sysinfo.m4 m4/ax_check_postgres_db.m4 m4/ax_check_preproc_flag.m4 m4/ax_check_rqrd_class.m4 m4/ax_check_sign.m4 m4/ax_check_strcspn.m4 m4/ax_check_strftime.m4 m4/ax_check_struct_for.m4 m4/ax_check_symbol.m4 m4/ax_check_sys_siglist.m4 m4/ax_check_typedef.m4 m4/ax_check_uname_syscall.m4 m4/ax_check_user.m4 m4/ax_check_vscript.m4 m4/ax_check_x86_features.m4 m4/ax_check_zlib.m4 m4/ax_code_coverage.m4 m4/ax_compare_version.m4 m4/ax_compile_check_sizeof.m4 m4/ax_compiler_flags.m4 m4/ax_compiler_flags_cflags.m4 m4/ax_compiler_flags_cxxflags.m4 m4/ax_compiler_flags_gir.m4 m4/ax_compiler_flags_ldflags.m4 m4/ax_compiler_vendor.m4 m4/ax_compiler_version.m4 m4/ax_compute_relative_paths.m4 m4/ax_compute_standard_relative_paths.m4 m4/ax_cond_with_level.m4 m4/ax_config_feature.m4 m4/ax_configure_args.m4 m4/ax_count_cpus.m4 m4/ax_cpu_freq.m4 m4/ax_cpu_vendor.m4 m4/ax_create_generic_config.m4 m4/ax_create_pkgconfig_info.m4 m4/ax_create_stdint_h.m4 m4/ax_create_target_h.m4 m4/ax_cvs.m4 m4/ax_cxx_bool.m4 m4/ax_cxx_compile_stdcxx.m4 m4/ax_cxx_compile_stdcxx_0x.m4 m4/ax_cxx_compile_stdcxx_11.m4 m4/ax_cxx_compile_stdcxx_14.m4 m4/ax_cxx_compile_stdcxx_17.m4 m4/ax_cxx_complex_math_in_namespace_std.m4 m4/ax_cxx_const_cast.m4 m4/ax_cxx_cppflags_std_lang.m4 m4/ax_cxx_cxxflags_std_lang.m4 m4/ax_cxx_default_template_parameters.m4 m4/ax_cxx_delete_method.m4 m4/ax_cxx_dtor_after_atexit.m4 m4/ax_cxx_dynamic_cast.m4 m4/ax_cxx_enum_computations.m4 m4/ax_cxx_enum_computations_with_cast.m4 m4/ax_cxx_erase_iterator_type.m4 m4/ax_cxx_exceptions.m4 m4/ax_cxx_explicit.m4 m4/ax_cxx_explicit_instantiations.m4 m4/ax_cxx_explicit_template_function_qualification.m4 m4/ax_cxx_extern_template.m4 m4/ax_cxx_full_specialization_syntax.m4 m4/ax_cxx_function_nontype_parameters.m4 m4/ax_cxx_function_try_blocks.m4 m4/ax_cxx_gcc_abi_demangle.m4 m4/ax_cxx_gnucxx_hashmap.m4 m4/ax_cxx_have_bad_function_call.m4 m4/ax_cxx_have_bind.m4 m4/ax_cxx_have_bit_and.m4 m4/ax_cxx_have_bit_or.m4 m4/ax_cxx_have_bit_xor.m4 m4/ax_cxx_have_complex.m4 m4/ax_cxx_have_complex_math1.m4 m4/ax_cxx_have_complex_math2.m4 m4/ax_cxx_have_cref.m4 m4/ax_cxx_have_empty_iostream.m4 m4/ax_cxx_have_ext_hash_map.m4 m4/ax_cxx_have_ext_hash_set.m4 m4/ax_cxx_have_ext_slist.m4 m4/ax_cxx_have_freeze_sstream.m4 m4/ax_cxx_have_function.m4 m4/ax_cxx_have_hash.m4 m4/ax_cxx_have_ieee_math.m4 m4/ax_cxx_have_is_bind_expression.m4 m4/ax_cxx_have_is_placeholder.m4 m4/ax_cxx_have_koenig_lookup.m4 m4/ax_cxx_have_long_long_for_iostream.m4 m4/ax_cxx_have_mem_fn.m4 m4/ax_cxx_have_numeric_limits.m4 m4/ax_cxx_have_placeholders.m4 m4/ax_cxx_have_ref.m4 m4/ax_cxx_have_reference_wrapper.m4 m4/ax_cxx_have_sstream.m4 m4/ax_cxx_have_std.m4 m4/ax_cxx_have_stl.m4 m4/ax_cxx_have_string_push_back.m4 m4/ax_cxx_have_system_v_math.m4 m4/ax_cxx_have_valarray.m4 m4/ax_cxx_have_vector_at.m4 m4/ax_cxx_header_pre_stdcxx.m4 m4/ax_cxx_header_stdcxx_0x.m4 m4/ax_cxx_header_stdcxx_98.m4 m4/ax_cxx_header_stdcxx_tr1.m4 m4/ax_cxx_header_tr1_unordered_map.m4 m4/ax_cxx_header_tr1_unordered_set.m4 m4/ax_cxx_header_unordered_map.m4 m4/ax_cxx_header_unordered_set.m4 m4/ax_cxx_ldflags_std_lang.m4 m4/ax_cxx_member_constants.m4 m4/ax_cxx_member_templates.m4 m4/ax_cxx_member_templates_outside_class.m4 m4/ax_cxx_mutable.m4 m4/ax_cxx_namespace_std.m4 m4/ax_cxx_namespaces.m4 m4/ax_cxx_new_for_scoping.m4 m4/ax_cxx_old_for_scoping.m4 m4/ax_cxx_partial_ordering.m4 m4/ax_cxx_partial_specialization.m4 m4/ax_cxx_reinterpret_cast.m4 m4/ax_cxx_restrict_this.m4 m4/ax_cxx_rtti.m4 m4/ax_cxx_rvalue_references.m4 m4/ax_cxx_static_cast.m4 m4/ax_cxx_stlport_hashmap.m4 m4/ax_cxx_template_keyword_qualifier.m4 m4/ax_cxx_template_qualified_base_class.m4 m4/ax_cxx_template_qualified_return_type.m4 m4/ax_cxx_template_scoped_argument_matching.m4 m4/ax_cxx_templates.m4 m4/ax_cxx_templates_as_template_arguments.m4 m4/ax_cxx_typename.m4 m4/ax_cxx_use_numtrait.m4 m4/ax_cxx_var_prettyfunc.m4 m4/ax_cxx_verbose_terminate_handler.m4 m4/ax_czmq.m4 m4/ax_decl_wchar_max.m4 m4/ax_define_integer_bits.m4 m4/ax_define_sub_path.m4 m4/ax_dirname.m4 m4/ax_dist_msi.m4 m4/ax_dist_rpm.m4 m4/ax_dll_string.m4 m4/ax_elisp.m4 m4/ax_enable_builddir.m4 m4/ax_execinfo.m4 m4/ax_expand_prefix.m4 m4/ax_ext.m4 m4/ax_ext_check_header.m4 m4/ax_ext_have_lib.m4 m4/ax_extend_srcdir.m4 m4/ax_extra_dist.m4 m4/ax_f77_cmain_fflags.m4 m4/ax_f90_header.m4 m4/ax_f90_internal_headmod.m4 m4/ax_f90_library.m4 m4/ax_f90_library_setup.m4 m4/ax_f90_module.m4 m4/ax_f90_module_extension.m4 m4/ax_f90_module_flag.m4 m4/ax_fc_check_define.m4 m4/ax_file_escapes.m4 m4/ax_find_hamcrest.m4 m4/ax_find_junit.m4 m4/ax_find_scala_stdlib.m4 m4/ax_forceinline.m4 m4/ax_func_accept_argtypes.m4 m4/ax_func_getopt_long.m4 m4/ax_func_memmove.m4 m4/ax_func_mkdir.m4 m4/ax_func_posix_memalign.m4 m4/ax_func_snprintf.m4 m4/ax_func_which_gethostbyname_r.m4 m4/ax_func_which_getservbyname_r.m4 m4/ax_gcc_archflag.m4 m4/ax_gcc_builtin.m4 m4/ax_gcc_const_call.m4 m4/ax_gcc_func_attribute.m4 m4/ax_gcc_lib.m4 m4/ax_gcc_libgcc_eh.m4 m4/ax_gcc_libsupcxx.m4 m4/ax_gcc_malloc_call.m4 m4/ax_gcc_var_attribute.m4 m4/ax_gcc_warn_unused_result.m4 m4/ax_gcc_x86_avx_xgetbv.m4 m4/ax_gcc_x86_cpu_supports.m4 m4/ax_gcc_x86_cpuid.m4 m4/ax_generate_changelog.m4 m4/ax_gnu_autotest.m4 m4/ax_have_adns.m4 m4/ax_have_epoll.m4 m4/ax_have_poll.m4 m4/ax_have_qt.m4 m4/ax_have_select.m4 m4/ax_include_strcasecmp.m4 m4/ax_install_files.m4 m4/ax_int128.m4 m4/ax_is_release.m4 m4/ax_java_check_class.m4 m4/ax_java_options.m4 m4/ax_jni_include_dir.m4 m4/ax_lapack.m4 m4/ax_lib_beecrypt.m4 m4/ax_lib_cgal_core.m4 m4/ax_lib_crypto.m4 m4/ax_lib_curl.m4 m4/ax_lib_ev.m4 m4/ax_lib_expat.m4 m4/ax_lib_firebird.m4 m4/ax_lib_gcrypt.m4 m4/ax_lib_gdal.m4 m4/ax_lib_hdf5.m4 m4/ax_lib_id3.m4 m4/ax_lib_libkml.m4 m4/ax_lib_metis.m4 m4/ax_lib_mysql.m4 m4/ax_lib_mysqlcppconn.m4 m4/ax_lib_netcdf4.m4 m4/ax_lib_nettle.m4 m4/ax_lib_nokalva.m4 m4/ax_lib_oracle_occi.m4 m4/ax_lib_oracle_oci.m4 m4/ax_lib_orbit2.m4 m4/ax_lib_postgresql.m4 m4/ax_lib_readline.m4 m4/ax_lib_samtools.m4 m4/ax_lib_socket_nsl.m4 m4/ax_lib_sqlite3.m4 m4/ax_lib_tabix.m4 m4/ax_lib_taglib.m4 m4/ax_lib_trace.m4 m4/ax_lib_upnp.m4 m4/ax_lib_wad.m4 m4/ax_lib_xalan.m4 m4/ax_lib_xerces.m4 m4/ax_lib_xml_security.m4 m4/ax_libgcj_jar.m4 m4/ax_libtoolize_cflags.m4 m4/ax_llvm.m4 m4/ax_lua.m4 m4/ax_luarocks_rock.m4 m4/ax_maintainer_mode_auto_silent.m4 m4/ax_missing_prog.m4 m4/ax_mpi.m4 m4/ax_mpip.m4 m4/ax_ms_cpprest.m4 m4/ax_need_awk.m4 m4/ax_normalize_path.m4 m4/ax_not_enable_frame_pointer.m4 m4/ax_numeric_namedlevel.m4 m4/ax_open62541_check_h.m4 m4/ax_open62541_check_lib.m4 m4/ax_open62541_path.m4 m4/ax_openmp.m4 m4/ax_patch_libtool_changing_cmds_ifs.m4 m4/ax_path_bdb.m4 m4/ax_path_generic.m4 m4/ax_path_lib_pcre.m4 m4/ax_path_milter.m4 m4/ax_path_missing.m4 m4/ax_perl_ext.m4 m4/ax_perl_ext_flags.m4 m4/ax_perl_module_version.m4 m4/ax_pgsql_priv_root.m4 m4/ax_pkg_check_modules.m4 m4/ax_pkg_mico.m4 m4/ax_pkg_swig.m4 m4/ax_prefix_config_h.m4 m4/ax_prepend_flag.m4 m4/ax_print_to_file.m4 m4/ax_printf_size_t.m4 m4/ax_prog_apache.m4 m4/ax_prog_bison.m4 m4/ax_prog_bison_version.m4 m4/ax_prog_cc_char_subscripts.m4 m4/ax_prog_cc_for_build.m4 m4/ax_prog_cc_mpi.m4 m4/ax_prog_cp_s.m4 m4/ax_prog_crontab.m4 m4/ax_prog_cxx_for_build.m4 m4/ax_prog_cxx_mpi.m4 m4/ax_prog_date.m4 m4/ax_prog_dotnetcore_version.m4 m4/ax_prog_doxygen.m4 m4/ax_prog_emacs.m4 m4/ax_prog_f77_mpi.m4 m4/ax_prog_fasm.m4 m4/ax_prog_fasm_opt.m4 m4/ax_prog_fc_mpi.m4 m4/ax_prog_fig2dev.m4 m4/ax_prog_flex.m4 m4/ax_prog_flex_version.m4 m4/ax_prog_gjs.m4 m4/ax_prog_guile_version.m4 m4/ax_prog_haxe_version.m4 m4/ax_prog_help2man.m4 m4/ax_prog_hla.m4 m4/ax_prog_hla_opt.m4 m4/ax_prog_httpd.m4 m4/ax_prog_jar.m4 m4/ax_prog_java.m4 m4/ax_prog_java_cc.m4 m4/ax_prog_java_works.m4 m4/ax_prog_javac.m4 m4/ax_prog_javac_works.m4 m4/ax_prog_javadoc.m4 m4/ax_prog_javah.m4 m4/ax_prog_masm.m4 m4/ax_prog_masm_opt.m4 m4/ax_prog_md5sum.m4 m4/ax_prog_modprobe.m4 m4/ax_prog_mysql.m4 m4/ax_prog_mysqladmin.m4 m4/ax_prog_mysqld.m4 m4/ax_prog_mysqlimport.m4 m4/ax_prog_mysqlshow.m4 m4/ax_prog_nasm.m4 m4/ax_prog_nasm_opt.m4 m4/ax_prog_perl_modules.m4 m4/ax_prog_perl_version.m4 m4/ax_prog_pgclient.m4 m4/ax_prog_python_version.m4 m4/ax_prog_robot.m4 m4/ax_prog_ruby_version.m4 m4/ax_prog_scala.m4 m4/ax_prog_scalac.m4 m4/ax_prog_scp.m4 m4/ax_prog_splint.m4 m4/ax_prog_ssh.m4 m4/ax_prog_tasm.m4 m4/ax_prog_tasm_opt.m4 m4/ax_prog_tcl.m4 m4/ax_prog_xsltproc.m4 m4/ax_prog_yasm.m4 m4/ax_prog_yasm_opt.m4 m4/ax_prototype.m4 m4/ax_prototype_accept.m4 m4/ax_prototype_getsockname.m4 m4/ax_prototype_setsockopt.m4 m4/ax_pthread.m4 m4/ax_python.m4 m4/ax_python_config_var.m4 m4/ax_python_devel.m4 m4/ax_python_embed.m4 m4/ax_python_module.m4 m4/ax_python_module_version.m4 m4/ax_r_package.m4 m4/ax_recursive_eval.m4 m4/ax_require_defined.m4 m4/ax_require_one_func.m4 m4/ax_restore_flags.m4 m4/ax_restore_flags_with_prefix.m4 m4/ax_rpm_init.m4 m4/ax_ruby_devel.m4 m4/ax_ruby_ext.m4 m4/ax_save_flags.m4 m4/ax_save_flags_with_prefix.m4 m4/ax_set_default_paths_system.m4 m4/ax_short_sleep.m4 m4/ax_silent_mode.m4 m4/ax_sip_devel.m4 m4/ax_spec_file.m4 m4/ax_spec_package_version.m4 m4/ax_split_version.m4 m4/ax_string_strcasecmp.m4 m4/ax_strings_strcasecmp.m4 m4/ax_struct_semun.m4 m4/ax_subdir_files.m4 m4/ax_subdirs_configure.m4 m4/ax_subst_with.m4 m4/ax_swig_enable_cxx.m4 m4/ax_swig_multi_module_support.m4 m4/ax_swig_python.m4 m4/ax_switch_flags.m4 m4/ax_sys_dev_poll.m4 m4/ax_sys_largefile_sensitive.m4 m4/ax_sys_perlsharpbang.m4 m4/ax_sys_weak_alias.m4 m4/ax_sysv_ipc.m4 m4/ax_tls.m4 m4/ax_trilinos_amesos.m4 m4/ax_trilinos_base.m4 m4/ax_trilinos_epetra.m4 m4/ax_trilinos_epetraext.m4 m4/ax_trilinos_epetraext_hdf5.m4 m4/ax_trilinos_rtop.m4 m4/ax_trilinos_rythmos.m4 m4/ax_trilinos_teuchos.m4 m4/ax_trilinos_thyra.m4 m4/ax_trilinos_thyra_epetra.m4 m4/ax_trilinos_thyra_epetraext.m4 m4/ax_try_awk_anyout.m4 m4/ax_try_awk_expout.m4 m4/ax_try_compile_java.m4 m4/ax_try_run_java.m4 m4/ax_type_socklen_t.m4 m4/ax_upload.m4 m4/ax_valgrind_check.m4 m4/ax_var_pop.m4 m4/ax_var_push.m4 m4/ax_var_timezone_externals.m4 m4/ax_very_nice.m4 m4/ax_warning_default_aclocaldir.m4 m4/ax_warning_default_pkgconfig.m4 m4/ax_wint_t.m4 m4/ax_with_apxs.m4 m4/ax_with_build_path.m4 m4/ax_with_curses.m4 m4/ax_with_curses_extra.m4 m4/ax_with_dmalloc.m4 m4/ax_with_mpatrol.m4 m4/ax_with_prog.m4 m4/ax_xercesc.m4 m4/ax_xsdcxx.m4 m4/ax_xtra_classpath.m4 m4/ax_zmq.m4 m4/ax_zoneinfo.m4"
+
+
+TEXIFILES="ax_absolute_header.texi ax_ac_append_to_file.texi ax_ac_print_to_file.texi ax_add_am_macro.texi ax_add_am_macro_static.texi ax_add_am_trilinos_makefile_export.texi ax_add_fortify_source.texi ax_add_recursive_am_macro.texi ax_add_recursive_am_macro_static.texi ax_afs.texi ax_am_jobserver.texi ax_am_macros.texi ax_am_macros_static.texi ax_am_override_var.texi ax_append_compile_flags.texi ax_append_flag.texi ax_append_link_flags.texi ax_append_to_file.texi ax_arg_with_path_style.texi ax_asm_inline.texi ax_at_check_pattern.texi ax_auto_include_headers.texi ax_berkeley_db.texi ax_berkeley_db_cxx.texi ax_blas.texi ax_blas_f77_func.texi ax_boost_asio.texi ax_boost_atomic.texi ax_boost_base.texi ax_boost_chrono.texi ax_boost_context.texi ax_boost_coroutine.texi ax_boost_date_time.texi ax_boost_filesystem.texi ax_boost_iostreams.texi ax_boost_locale.texi ax_boost_log.texi ax_boost_log_setup.texi ax_boost_process.texi ax_boost_program_options.texi ax_boost_python.texi ax_boost_random.texi ax_boost_regex.texi ax_boost_serialization.texi ax_boost_signals.texi ax_boost_system.texi ax_boost_test_exec_monitor.texi ax_boost_thread.texi ax_boost_unit_test_framework.texi ax_boost_wave.texi ax_boost_wserialization.texi ax_build_date_epoch.texi ax_c99_inline.texi ax_c___attribute__.texi ax_c_arithmetic_rshift.texi ax_c_compile_value.texi ax_c_declare_block.texi ax_c_float_words_bigendian.texi ax_c_long_long.texi ax_c_referenceable_passed_va_list.texi ax_c_var_func.texi ax_cache_size.texi ax_caolan_check_package.texi ax_caolan_search_package.texi ax_cc_for_build.texi ax_cc_maxopt.texi ax_cf_ebcdic.texi ax_cflags_aix_option.texi ax_cflags_force_c89.texi ax_cflags_hpux_option.texi ax_cflags_irix_option.texi ax_cflags_no_writable_strings.texi ax_cflags_strict_prototypes.texi ax_cflags_sun_option.texi ax_cflags_warn_all.texi ax_check_aligned_access_required.texi ax_check_allocated_ctime.texi ax_check_awk__v.texi ax_check_awk__x_escapes.texi ax_check_awk_and.texi ax_check_awk_argind.texi ax_check_awk_array_delete.texi ax_check_awk_array_delete_elem.texi ax_check_awk_array_in.texi ax_check_awk_asort.texi ax_check_awk_asorti.texi ax_check_awk_associative_array.texi ax_check_awk_atan2.texi ax_check_awk_compl.texi ax_check_awk_conditional_expression.texi ax_check_awk_cos.texi ax_check_awk_environ.texi ax_check_awk_errno.texi ax_check_awk_exit.texi ax_check_awk_exp.texi ax_check_awk_gensub.texi ax_check_awk_getline.texi ax_check_awk_gsub.texi ax_check_awk_ignorecase.texi ax_check_awk_index.texi ax_check_awk_int.texi ax_check_awk_length.texi ax_check_awk_log.texi ax_check_awk_lshift.texi ax_check_awk_match_2parms.texi ax_check_awk_match_3parms.texi ax_check_awk_operator_multiply_multiply.texi ax_check_awk_operator_square.texi ax_check_awk_or.texi ax_check_awk_printf.texi ax_check_awk_rand.texi ax_check_awk_rshift.texi ax_check_awk_sin.texi ax_check_awk_split.texi ax_check_awk_sprintf.texi ax_check_awk_sqrt.texi ax_check_awk_srand.texi ax_check_awk_strftime.texi ax_check_awk_strtonum.texi ax_check_awk_sub.texi ax_check_awk_substr.texi ax_check_awk_system.texi ax_check_awk_systime.texi ax_check_awk_tolower.texi ax_check_awk_toupper.texi ax_check_awk_user_defined_functions.texi ax_check_awk_var_regexp.texi ax_check_awk_variable_value_pairs.texi ax_check_awk_xor.texi ax_check_class.texi ax_check_classpath.texi ax_check_compile_flag.texi ax_check_define.texi ax_check_docbook_dtd.texi ax_check_docbook_xslt.texi ax_check_docbook_xslt_min.texi ax_check_dos_filesys.texi ax_check_enable_debug.texi ax_check_func_in.texi ax_check_gd.texi ax_check_gir_symbols_gjs.texi ax_check_girs_gjs.texi ax_check_gl.texi ax_check_glu.texi ax_check_glut.texi ax_check_glx.texi ax_check_gnu_make.texi ax_check_icu.texi ax_check_java_home.texi ax_check_java_plugin.texi ax_check_junit.texi ax_check_library.texi ax_check_link_flag.texi ax_check_mysql.texi ax_check_mysql_db.texi ax_check_mysqlr.texi ax_check_off64_t.texi ax_check_openssl.texi ax_check_page_aligned_malloc.texi ax_check_pathfind.texi ax_check_pathname_style.texi ax_check_pcre2.texi ax_check_pgsql_db.texi ax_check_posix_regcomp.texi ax_check_posix_sysinfo.texi ax_check_postgres_db.texi ax_check_preproc_flag.texi ax_check_rqrd_class.texi ax_check_sign.texi ax_check_strcspn.texi ax_check_strftime.texi ax_check_struct_for.texi ax_check_symbol.texi ax_check_sys_siglist.texi ax_check_typedef.texi ax_check_uname_syscall.texi ax_check_user.texi ax_check_vscript.texi ax_check_x86_features.texi ax_check_zlib.texi ax_code_coverage.texi ax_compare_version.texi ax_compile_check_sizeof.texi ax_compiler_flags.texi ax_compiler_flags_cflags.texi ax_compiler_flags_cxxflags.texi ax_compiler_flags_gir.texi ax_compiler_flags_ldflags.texi ax_compiler_vendor.texi ax_compiler_version.texi ax_compute_relative_paths.texi ax_compute_standard_relative_paths.texi ax_cond_with_level.texi ax_config_feature.texi ax_configure_args.texi ax_count_cpus.texi ax_cpu_freq.texi ax_cpu_vendor.texi ax_create_generic_config.texi ax_create_pkgconfig_info.texi ax_create_stdint_h.texi ax_create_target_h.texi ax_cvs.texi ax_cxx_bool.texi ax_cxx_compile_stdcxx.texi ax_cxx_compile_stdcxx_0x.texi ax_cxx_compile_stdcxx_11.texi ax_cxx_compile_stdcxx_14.texi ax_cxx_compile_stdcxx_17.texi ax_cxx_complex_math_in_namespace_std.texi ax_cxx_const_cast.texi ax_cxx_cppflags_std_lang.texi ax_cxx_cxxflags_std_lang.texi ax_cxx_default_template_parameters.texi ax_cxx_delete_method.texi ax_cxx_dtor_after_atexit.texi ax_cxx_dynamic_cast.texi ax_cxx_enum_computations.texi ax_cxx_enum_computations_with_cast.texi ax_cxx_erase_iterator_type.texi ax_cxx_exceptions.texi ax_cxx_explicit.texi ax_cxx_explicit_instantiations.texi ax_cxx_explicit_template_function_qualification.texi ax_cxx_extern_template.texi ax_cxx_full_specialization_syntax.texi ax_cxx_function_nontype_parameters.texi ax_cxx_function_try_blocks.texi ax_cxx_gcc_abi_demangle.texi ax_cxx_gnucxx_hashmap.texi ax_cxx_have_bad_function_call.texi ax_cxx_have_bind.texi ax_cxx_have_bit_and.texi ax_cxx_have_bit_or.texi ax_cxx_have_bit_xor.texi ax_cxx_have_complex.texi ax_cxx_have_complex_math1.texi ax_cxx_have_complex_math2.texi ax_cxx_have_cref.texi ax_cxx_have_empty_iostream.texi ax_cxx_have_ext_hash_map.texi ax_cxx_have_ext_hash_set.texi ax_cxx_have_ext_slist.texi ax_cxx_have_freeze_sstream.texi ax_cxx_have_function.texi ax_cxx_have_hash.texi ax_cxx_have_ieee_math.texi ax_cxx_have_is_bind_expression.texi ax_cxx_have_is_placeholder.texi ax_cxx_have_koenig_lookup.texi ax_cxx_have_long_long_for_iostream.texi ax_cxx_have_mem_fn.texi ax_cxx_have_numeric_limits.texi ax_cxx_have_placeholders.texi ax_cxx_have_ref.texi ax_cxx_have_reference_wrapper.texi ax_cxx_have_sstream.texi ax_cxx_have_std.texi ax_cxx_have_stl.texi ax_cxx_have_string_push_back.texi ax_cxx_have_system_v_math.texi ax_cxx_have_valarray.texi ax_cxx_have_vector_at.texi ax_cxx_header_pre_stdcxx.texi ax_cxx_header_stdcxx_0x.texi ax_cxx_header_stdcxx_98.texi ax_cxx_header_stdcxx_tr1.texi ax_cxx_header_tr1_unordered_map.texi ax_cxx_header_tr1_unordered_set.texi ax_cxx_header_unordered_map.texi ax_cxx_header_unordered_set.texi ax_cxx_ldflags_std_lang.texi ax_cxx_member_constants.texi ax_cxx_member_templates.texi ax_cxx_member_templates_outside_class.texi ax_cxx_mutable.texi ax_cxx_namespace_std.texi ax_cxx_namespaces.texi ax_cxx_new_for_scoping.texi ax_cxx_old_for_scoping.texi ax_cxx_partial_ordering.texi ax_cxx_partial_specialization.texi ax_cxx_reinterpret_cast.texi ax_cxx_restrict_this.texi ax_cxx_rtti.texi ax_cxx_rvalue_references.texi ax_cxx_static_cast.texi ax_cxx_stlport_hashmap.texi ax_cxx_template_keyword_qualifier.texi ax_cxx_template_qualified_base_class.texi ax_cxx_template_qualified_return_type.texi ax_cxx_template_scoped_argument_matching.texi ax_cxx_templates.texi ax_cxx_templates_as_template_arguments.texi ax_cxx_typename.texi ax_cxx_use_numtrait.texi ax_cxx_var_prettyfunc.texi ax_cxx_verbose_terminate_handler.texi ax_czmq.texi ax_decl_wchar_max.texi ax_define_integer_bits.texi ax_define_sub_path.texi ax_dirname.texi ax_dist_msi.texi ax_dist_rpm.texi ax_dll_string.texi ax_elisp.texi ax_enable_builddir.texi ax_execinfo.texi ax_expand_prefix.texi ax_ext.texi ax_ext_check_header.texi ax_ext_have_lib.texi ax_extend_srcdir.texi ax_extra_dist.texi ax_f77_cmain_fflags.texi ax_f90_header.texi ax_f90_internal_headmod.texi ax_f90_library.texi ax_f90_library_setup.texi ax_f90_module.texi ax_f90_module_extension.texi ax_f90_module_flag.texi ax_fc_check_define.texi ax_file_escapes.texi ax_find_hamcrest.texi ax_find_junit.texi ax_find_scala_stdlib.texi ax_forceinline.texi ax_func_accept_argtypes.texi ax_func_getopt_long.texi ax_func_memmove.texi ax_func_mkdir.texi ax_func_posix_memalign.texi ax_func_snprintf.texi ax_func_which_gethostbyname_r.texi ax_func_which_getservbyname_r.texi ax_gcc_archflag.texi ax_gcc_builtin.texi ax_gcc_const_call.texi ax_gcc_func_attribute.texi ax_gcc_lib.texi ax_gcc_libgcc_eh.texi ax_gcc_libsupcxx.texi ax_gcc_malloc_call.texi ax_gcc_var_attribute.texi ax_gcc_warn_unused_result.texi ax_gcc_x86_avx_xgetbv.texi ax_gcc_x86_cpu_supports.texi ax_gcc_x86_cpuid.texi ax_generate_changelog.texi ax_gnu_autotest.texi ax_have_adns.texi ax_have_epoll.texi ax_have_poll.texi ax_have_qt.texi ax_have_select.texi ax_include_strcasecmp.texi ax_install_files.texi ax_int128.texi ax_is_release.texi ax_java_check_class.texi ax_java_options.texi ax_jni_include_dir.texi ax_lapack.texi ax_lib_beecrypt.texi ax_lib_cgal_core.texi ax_lib_crypto.texi ax_lib_curl.texi ax_lib_ev.texi ax_lib_expat.texi ax_lib_firebird.texi ax_lib_gcrypt.texi ax_lib_gdal.texi ax_lib_hdf5.texi ax_lib_id3.texi ax_lib_libkml.texi ax_lib_metis.texi ax_lib_mysql.texi ax_lib_mysqlcppconn.texi ax_lib_netcdf4.texi ax_lib_nettle.texi ax_lib_nokalva.texi ax_lib_oracle_occi.texi ax_lib_oracle_oci.texi ax_lib_orbit2.texi ax_lib_postgresql.texi ax_lib_readline.texi ax_lib_samtools.texi ax_lib_socket_nsl.texi ax_lib_sqlite3.texi ax_lib_tabix.texi ax_lib_taglib.texi ax_lib_trace.texi ax_lib_upnp.texi ax_lib_wad.texi ax_lib_xalan.texi ax_lib_xerces.texi ax_lib_xml_security.texi ax_libgcj_jar.texi ax_libtoolize_cflags.texi ax_llvm.texi ax_lua.texi ax_luarocks_rock.texi ax_maintainer_mode_auto_silent.texi ax_missing_prog.texi ax_mpi.texi ax_mpip.texi ax_ms_cpprest.texi ax_need_awk.texi ax_normalize_path.texi ax_not_enable_frame_pointer.texi ax_numeric_namedlevel.texi ax_open62541_check_h.texi ax_open62541_check_lib.texi ax_open62541_path.texi ax_openmp.texi ax_patch_libtool_changing_cmds_ifs.texi ax_path_bdb.texi ax_path_generic.texi ax_path_lib_pcre.texi ax_path_milter.texi ax_path_missing.texi ax_perl_ext.texi ax_perl_ext_flags.texi ax_perl_module_version.texi ax_pgsql_priv_root.texi ax_pkg_check_modules.texi ax_pkg_mico.texi ax_pkg_swig.texi ax_prefix_config_h.texi ax_prepend_flag.texi ax_print_to_file.texi ax_printf_size_t.texi ax_prog_apache.texi ax_prog_bison.texi ax_prog_bison_version.texi ax_prog_cc_char_subscripts.texi ax_prog_cc_for_build.texi ax_prog_cc_mpi.texi ax_prog_cp_s.texi ax_prog_crontab.texi ax_prog_cxx_for_build.texi ax_prog_cxx_mpi.texi ax_prog_date.texi ax_prog_dotnetcore_version.texi ax_prog_doxygen.texi ax_prog_emacs.texi ax_prog_f77_mpi.texi ax_prog_fasm.texi ax_prog_fasm_opt.texi ax_prog_fc_mpi.texi ax_prog_fig2dev.texi ax_prog_flex.texi ax_prog_flex_version.texi ax_prog_gjs.texi ax_prog_guile_version.texi ax_prog_haxe_version.texi ax_prog_help2man.texi ax_prog_hla.texi ax_prog_hla_opt.texi ax_prog_httpd.texi ax_prog_jar.texi ax_prog_java.texi ax_prog_java_cc.texi ax_prog_java_works.texi ax_prog_javac.texi ax_prog_javac_works.texi ax_prog_javadoc.texi ax_prog_javah.texi ax_prog_masm.texi ax_prog_masm_opt.texi ax_prog_md5sum.texi ax_prog_modprobe.texi ax_prog_mysql.texi ax_prog_mysqladmin.texi ax_prog_mysqld.texi ax_prog_mysqlimport.texi ax_prog_mysqlshow.texi ax_prog_nasm.texi ax_prog_nasm_opt.texi ax_prog_perl_modules.texi ax_prog_perl_version.texi ax_prog_pgclient.texi ax_prog_python_version.texi ax_prog_robot.texi ax_prog_ruby_version.texi ax_prog_scala.texi ax_prog_scalac.texi ax_prog_scp.texi ax_prog_splint.texi ax_prog_ssh.texi ax_prog_tasm.texi ax_prog_tasm_opt.texi ax_prog_tcl.texi ax_prog_xsltproc.texi ax_prog_yasm.texi ax_prog_yasm_opt.texi ax_prototype.texi ax_prototype_accept.texi ax_prototype_getsockname.texi ax_prototype_setsockopt.texi ax_pthread.texi ax_python.texi ax_python_config_var.texi ax_python_devel.texi ax_python_embed.texi ax_python_module.texi ax_python_module_version.texi ax_r_package.texi ax_recursive_eval.texi ax_require_defined.texi ax_require_one_func.texi ax_restore_flags.texi ax_restore_flags_with_prefix.texi ax_rpm_init.texi ax_ruby_devel.texi ax_ruby_ext.texi ax_save_flags.texi ax_save_flags_with_prefix.texi ax_set_default_paths_system.texi ax_short_sleep.texi ax_silent_mode.texi ax_sip_devel.texi ax_spec_file.texi ax_spec_package_version.texi ax_split_version.texi ax_string_strcasecmp.texi ax_strings_strcasecmp.texi ax_struct_semun.texi ax_subdir_files.texi ax_subdirs_configure.texi ax_subst_with.texi ax_swig_enable_cxx.texi ax_swig_multi_module_support.texi ax_swig_python.texi ax_switch_flags.texi ax_sys_dev_poll.texi ax_sys_largefile_sensitive.texi ax_sys_perlsharpbang.texi ax_sys_weak_alias.texi ax_sysv_ipc.texi ax_tls.texi ax_trilinos_amesos.texi ax_trilinos_base.texi ax_trilinos_epetra.texi ax_trilinos_epetraext.texi ax_trilinos_epetraext_hdf5.texi ax_trilinos_rtop.texi ax_trilinos_rythmos.texi ax_trilinos_teuchos.texi ax_trilinos_thyra.texi ax_trilinos_thyra_epetra.texi ax_trilinos_thyra_epetraext.texi ax_try_awk_anyout.texi ax_try_awk_expout.texi ax_try_compile_java.texi ax_try_run_java.texi ax_type_socklen_t.texi ax_upload.texi ax_valgrind_check.texi ax_var_pop.texi ax_var_push.texi ax_var_timezone_externals.texi ax_very_nice.texi ax_warning_default_aclocaldir.texi ax_warning_default_pkgconfig.texi ax_wint_t.texi ax_with_apxs.texi ax_with_build_path.texi ax_with_curses.texi ax_with_curses_extra.texi ax_with_dmalloc.texi ax_with_mpatrol.texi ax_with_prog.texi ax_xercesc.texi ax_xsdcxx.texi ax_xtra_classpath.texi ax_zmq.texi ax_zoneinfo.texi"
+
+
+ac_config_files="$ac_config_files Makefile doc/Makefile"
+
+cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes: double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ if test "x$cache_file" != "x/dev/null"; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
+printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
+ if test ! -f "$cache_file" || test -h "$cache_file"; then
+ cat confcache >"$cache_file"
+ else
+ case $cache_file in #(
+ */* | ?:*)
+ mv -f confcache "$cache_file"$$ &&
+ mv -f "$cache_file"$$ "$cache_file" ;; #(
+ *)
+ mv -f confcache "$cache_file" ;;
+ esac
+ fi
+ fi
+ else
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
+printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+# Let make expand exec_prefix.
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+
+# Transform confdefs.h into DEFS.
+# Protect against shell expansion while executing Makefile rules.
+# Protect against Makefile macro expansion.
+#
+# If the first sed substitution is executed (which looks for macros that
+# take arguments), then branch to the quote section. Otherwise,
+# look for a macro that doesn't take arguments.
+ac_script='
+:mline
+/\\$/{
+ N
+ s,\\\n,,
+ b mline
+}
+t clear
+:clear
+s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
+t quote
+s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
+t quote
+b any
+:quote
+s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
+s/\[/\\&/g
+s/\]/\\&/g
+s/\$/$$/g
+H
+:any
+${
+ g
+ s/^\n//
+ s/\n/ /g
+ p
+}
+'
+DEFS=`sed -n "$ac_script" confdefs.h`
+
+
+ac_libobjs=
+ac_ltlibobjs=
+U=
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
+ # 1. Remove the extension, and $U if already installed.
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
+ ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
+ # will be set to the directory where LIBOBJS objects are built.
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
+done
+LIBOBJS=$ac_libobjs
+
+LTLIBOBJS=$ac_ltlibobjs
+
+
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
+printf %s "checking that generated files are newer than configure... " >&6; }
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
+printf "%s\n" "done" >&6; }
+
+
+: "${CONFIG_STATUS=./config.status}"
+ac_write_fail=0
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
+printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
+as_write_fail=0
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+# Run this file to recreate the current configuration.
+# Compiler output produced by configure, useful for debugging
+# configure, is in config.log if it exists.
+
+debug=false
+ac_cs_recheck=false
+ac_cs_silent=false
+
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+as_nop=:
+if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
+then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else $as_nop
+ case `(set -o) 2>/dev/null` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+
+
+
+# Reset variables that may have inherited troublesome values from
+# the environment.
+
+# IFS needs to be set, to space, tab, and newline, in precisely that order.
+# (If _AS_PATH_WALK were called with IFS unset, it would have the
+# side effect of setting IFS to empty, thus disabling word splitting.)
+# Quoting is to prevent editors from complaining about space-tab.
+as_nl='
+'
+export as_nl
+IFS=" "" $as_nl"
+
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# Ensure predictable behavior from utilities with locale-dependent output.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# We cannot yet rely on "unset" to work, but we need these variables
+# to be unset--not just set to an empty or harmless value--now, to
+# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
+# also avoids known problems related to "unset" and subshell syntax
+# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
+for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
+do eval test \${$as_var+y} \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+
+# Ensure that fds 0, 1, and 2 are open.
+if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
+if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
+if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
+
+# The user is always right.
+if ${PATH_SEPARATOR+false} :; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ case $as_dir in #(((
+ '') as_dir=./ ;;
+ */) ;;
+ *) as_dir=$as_dir/ ;;
+ esac
+ test -r "$as_dir$0" && as_myself=$as_dir$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ printf "%s\n" "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} # as_fn_error
+
+
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} # as_fn_exit
+
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
+then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else $as_nop
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
+then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else $as_nop
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+printf "%s\n" X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+
+# Determine whether it's possible to make 'echo' print without a newline.
+# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
+# for compatibility with existing Makefiles.
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+# For backward compatibility with old third-party macros, we provide
+# the shell variables $as_echo and $as_echo_n. New code should use
+# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
+as_echo='printf %s\n'
+as_echo_n='printf %s'
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+printf "%s\n" X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+exec 6>&1
+## ----------------------------------- ##
+## Main body of $CONFIG_STATUS script. ##
+## ----------------------------------- ##
+_ASEOF
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# Save the log message, to keep $0 and so on meaningful, and to
+# report actual input values of CONFIG_FILES etc. instead of their
+# values after options handling.
+ac_log="
+This file was extended by GNU Autoconf Archive $as_me 2022.02.11, which was
+generated by GNU Autoconf 2.71. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ $ $0 $@
+
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
+"
+
+_ACEOF
+
+case $ac_config_files in *"
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
+esac
+
+
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+# Files that config.status was made for.
+config_files="$ac_config_files"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ac_cs_usage="\
+\`$as_me' instantiates files and other configuration actions
+from templates according to the current configuration. Unless the files
+and actions are specified as TAGs, all are instantiated by default.
+
+Usage: $0 [OPTION]... [TAG]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number and configuration settings, then exit
+ --config print configuration, then exit
+ -q, --quiet, --silent
+ do not print progress messages
+ -d, --debug don't remove temporary files
+ --recheck update $as_me by reconfiguring in the same conditions
+ --file=FILE[:TEMPLATE]
+ instantiate the configuration file FILE
+
+Configuration files:
+$config_files
+
+Report bugs to <autoconf-archive-maintainers@gnu.org>.
+GNU Autoconf Archive home page: <https://www.gnu.org/software/autoconf-archive/>.
+General help using GNU software: <https://www.gnu.org/gethelp/>."
+
+_ACEOF
+ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
+ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_cs_config='$ac_cs_config_escaped'
+ac_cs_version="\\
+GNU Autoconf Archive config.status 2022.02.11
+configured by $0, generated by GNU Autoconf 2.71,
+ with options \\"\$ac_cs_config\\"
+
+Copyright (C) 2021 Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+
+ac_pwd='$ac_pwd'
+srcdir='$srcdir'
+INSTALL='$INSTALL'
+MKDIR_P='$MKDIR_P'
+AWK='$AWK'
+test -n "\$AWK" || AWK=awk
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# The default lists apply if the user does not specify any file.
+ac_need_defaults=:
+while test $# != 0
+do
+ case $1 in
+ --*=?*)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
+ ac_shift=:
+ ;;
+ --*=)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=
+ ac_shift=:
+ ;;
+ *)
+ ac_option=$1
+ ac_optarg=$2
+ ac_shift=shift
+ ;;
+ esac
+
+ case $ac_option in
+ # Handling of the options.
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ ac_cs_recheck=: ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+ printf "%s\n" "$ac_cs_version"; exit ;;
+ --config | --confi | --conf | --con | --co | --c )
+ printf "%s\n" "$ac_cs_config"; exit ;;
+ --debug | --debu | --deb | --de | --d | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ '') as_fn_error $? "missing file argument" ;;
+ esac
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --he | --h | --help | --hel | -h )
+ printf "%s\n" "$ac_cs_usage"; exit ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
+ ac_cs_silent=: ;;
+
+ # This is an error.
+ -*) as_fn_error $? "unrecognized option: \`$1'
+Try \`$0 --help' for more information." ;;
+
+ *) as_fn_append ac_config_targets " $1"
+ ac_need_defaults=false ;;
+
+ esac
+ shift
+done
+
+ac_configure_extra_args=
+
+if $ac_cs_silent; then
+ exec 6>/dev/null
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+if \$ac_cs_recheck; then
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+ shift
+ \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
+ CONFIG_SHELL='$SHELL'
+ export CONFIG_SHELL
+ exec "\$@"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+exec 5>>config.log
+{
+ echo
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
+## Running $as_me. ##
+_ASBOX
+ printf "%s\n" "$ac_log"
+} >&5
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+
+# Handling of arguments.
+for ac_config_target in $ac_config_targets
+do
+ case $ac_config_target in
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
+
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+ esac
+done
+
+
+# If the user did not use the arguments to specify the items to instantiate,
+# then the envvar interface is used. Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+ test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
+fi
+
+# Have a temporary directory for convenience. Make it in the build tree
+# simply because there is no reason against having it here, and in addition,
+# creating and moving files from /tmp can sometimes cause problems.
+# Hook for its removal unless debugging.
+# Note that there is a small window in which the directory will not be cleaned:
+# after its creation but before its name has been assigned to `$tmp'.
+$debug ||
+{
+ tmp= ac_tmp=
+ trap 'exit_status=$?
+ : "${ac_tmp:=$tmp}"
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
+' 0
+ trap 'as_fn_exit 1' 1 2 13 15
+}
+# Create a (secure) tmp directory for tmp files.
+
+{
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
+ test -d "$tmp"
+} ||
+{
+ tmp=./conf$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+ac_tmp=$tmp
+
+# Set up the scripts for CONFIG_FILES section.
+# No need to generate them if there are no CONFIG_FILES.
+# This happens for instance with `./config.status config.h'.
+if test -n "$CONFIG_FILES"; then
+
+
+ac_cr=`echo X | tr X '\015'`
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
+# But we know of no other shell where ac_cr would be empty at this
+# point, so we can use a bashism as a fallback.
+if test "x$ac_cr" = x; then
+ eval ac_cr=\$\'\\r\'
+fi
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
+ ac_cs_awk_cr='\\r'
+else
+ ac_cs_awk_cr=$ac_cr
+fi
+
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
+_ACEOF
+
+
+{
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
+ echo "_ACEOF"
+} >conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
+ac_delim='%!_!# '
+for ac_last_try in false false false false false :; do
+ . ./conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
+ if test $ac_delim_n = $ac_delim_num; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+rm -f conf$$subs.sh
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
+_ACEOF
+sed -n '
+h
+s/^/S["/; s/!.*/"]=/
+p
+g
+s/^[^!]*!//
+:repl
+t repl
+s/'"$ac_delim"'$//
+t delim
+:nl
+h
+s/\(.\{148\}\)..*/\1/
+t more1
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
+p
+n
+b repl
+:more1
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t nl
+:delim
+h
+s/\(.\{148\}\)..*/\1/
+t more2
+s/["\\]/\\&/g; s/^/"/; s/$/"/
+p
+b
+:more2
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t delim
+' <conf$$subs.awk | sed '
+/^[^""]/{
+ N
+ s/\n//
+}
+' >>$CONFIG_STATUS || ac_write_fail=1
+rm -f conf$$subs.awk
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+_ACAWK
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
+ for (key in S) S_is_set[key] = 1
+ FS = "\a"
+
+}
+{
+ line = $ 0
+ nfields = split(line, field, "@")
+ substed = 0
+ len = length(field[1])
+ for (i = 2; i < nfields; i++) {
+ key = field[i]
+ keylen = length(key)
+ if (S_is_set[key]) {
+ value = S[key]
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
+ len += length(value) + length(field[++i])
+ substed = 1
+ } else
+ len += 1 + keylen
+ }
+
+ print line
+}
+
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
+else
+ cat
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
+_ACEOF
+
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
+# trailing colons and then remove the whole line if VPATH becomes empty
+# (actually we leave an empty line to preserve line numbers).
+if test "x$srcdir" = x.; then
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
+h
+s///
+s/^/:/
+s/[ ]*$/:/
+s/:\$(srcdir):/:/g
+s/:\${srcdir}:/:/g
+s/:@srcdir@:/:/g
+s/^:*//
+s/:*$//
+x
+s/\(=[ ]*\).*/\1/
+G
+s/\n//
+s/^[^=]*=[ ]*$//
+}'
+fi
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+fi # test -n "$CONFIG_FILES"
+
+
+eval set X " :F $CONFIG_FILES "
+shift
+for ac_tag
+do
+ case $ac_tag in
+ :[FHLC]) ac_mode=$ac_tag; continue;;
+ esac
+ case $ac_mode$ac_tag in
+ :[FHL]*:*);;
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
+ :[FH]-) ac_tag=-:-;;
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
+ esac
+ ac_save_IFS=$IFS
+ IFS=:
+ set x $ac_tag
+ IFS=$ac_save_IFS
+ shift
+ ac_file=$1
+ shift
+
+ case $ac_mode in
+ :L) ac_source=$1;;
+ :[FH])
+ ac_file_inputs=
+ for ac_f
+ do
+ case $ac_f in
+ -) ac_f="$ac_tmp/stdin";;
+ *) # Look for the file first in the build tree, then in the source tree
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
+ # because $ac_f cannot contain `:'.
+ test -f "$ac_f" ||
+ case $ac_f in
+ [\\/$]*) false;;
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
+ esac ||
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+ esac
+ case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
+ as_fn_append ac_file_inputs " '$ac_f'"
+ done
+
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+ configure_input='Generated from '`
+ printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
+ `' by configure.'
+ if test x"$ac_file" != x-; then
+ configure_input="$ac_file. $configure_input"
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
+printf "%s\n" "$as_me: creating $ac_file" >&6;}
+ fi
+ # Neutralize special characters interpreted by sed in replacement strings.
+ case $configure_input in #(
+ *\&* | *\|* | *\\* )
+ ac_sed_conf_input=`printf "%s\n" "$configure_input" |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
+ *) ac_sed_conf_input=$configure_input;;
+ esac
+
+ case $ac_tag in
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
+ esac
+ ;;
+ esac
+
+ ac_dir=`$as_dirname -- "$ac_file" ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
+printf "%s\n" X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ case $ac_mode in
+ :F)
+ #
+ # CONFIG_FILE
+ #
+
+ case $INSTALL in
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
+ esac
+ ac_MKDIR_P=$MKDIR_P
+ case $MKDIR_P in
+ [\\/$]* | ?:[\\/]* ) ;;
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
+ esac
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# If the template does not know about datarootdir, expand it.
+# FIXME: This hack should be removed a few years after 2.60.
+ac_datarootdir_hack=; ac_datarootdir_seen=
+ac_sed_dataroot='
+/datarootdir/ {
+ p
+ q
+}
+/@datadir@/p
+/@docdir@/p
+/@infodir@/p
+/@localedir@/p
+/@mandir@/p'
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
+*datarootdir*) ac_datarootdir_seen=yes;;
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ ac_datarootdir_hack='
+ s&@datadir@&$datadir&g
+ s&@docdir@&$docdir&g
+ s&@infodir@&$infodir&g
+ s&@localedir@&$localedir&g
+ s&@mandir@&$mandir&g
+ s&\\\${datarootdir}&$datarootdir&g' ;;
+esac
+_ACEOF
+
+# Neutralize VPATH when `$srcdir' = `.'.
+# Shell code in configure.ac might set extrasub.
+# FIXME: do we really want to maintain this feature?
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_sed_extra="$ac_vpsub
+$extrasub
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+:t
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+s|@configure_input@|$ac_sed_conf_input|;t t
+s&@top_builddir@&$ac_top_builddir_sub&;t t
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
+s&@srcdir@&$ac_srcdir&;t t
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
+s&@top_srcdir@&$ac_top_srcdir&;t t
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
+s&@builddir@&$ac_builddir&;t t
+s&@abs_builddir@&$ac_abs_builddir&;t t
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
+s&@INSTALL@&$ac_INSTALL&;t t
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
+$ac_datarootdir_hack
+"
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
+ "$ac_tmp/out"`; test -z "$ac_out"; } &&
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&5
+printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&2;}
+
+ rm -f "$ac_tmp/stdin"
+ case $ac_file in
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
+ esac \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ ;;
+
+
+
+ esac
+
+done # for ac_tag
+
+
+as_fn_exit 0
+_ACEOF
+ac_clean_files=$ac_clean_files_save
+
+test $ac_write_fail = 0 ||
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
+
+
+# configure is writing to config.log, and then calls config.status.
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded. So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status. When coming back to configure, we
+# need to make the FD available again.
+if test "$no_create" != yes; then
+ ac_cs_success=:
+ ac_config_status_args=
+ test "$silent" = yes &&
+ ac_config_status_args="$ac_config_status_args --quiet"
+ exec 5>/dev/null
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || as_fn_exit 1
+fi
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
+printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+fi
+
+
+
+++ /dev/null
-# ignore generated files
-
-/Makefile
-/Makefile.in
-/all-macros.texi
-/autoconf-archive.aux
-/autoconf-archive.cp
-/autoconf-archive.fn
-/autoconf-archive.info
-/autoconf-archive.info-?
-/autoconf-archive.ky
-/autoconf-archive.log
-/autoconf-archive.pg
-/autoconf-archive.toc
-/autoconf-archive.tp
-/autoconf-archive.vr
-/ax_*.texi
-/fdl-1.3.texi
-/gendocs_template
-/gendocs_template_min
-/manual/*
-/stamp-vti
-/version.texi
--- /dev/null
+# Makefile.in generated by automake 1.16.5 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2021 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Build and install the GNU Autoconf Archive documentation.
+#
+# Copyright (c) 2022 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
+#
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free Software
+# Foundation, either version 3 of the License, or (at your option) any later
+# version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program. If not, see <https://www.gnu.org/licenses/>.
+VPATH = @srcdir@
+am__is_gnu_make = { \
+ if test -z '$(MAKELEVEL)'; then \
+ false; \
+ elif test -n '$(MAKE_HOST)'; then \
+ true; \
+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
+ true; \
+ else \
+ false; \
+ fi; \
+}
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+subdir = doc
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/version.texi \
+ $(srcdir)/stamp-vti $(am__DIST_COMMON)
+mkinstalldirs = $(install_sh) -d
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+AM_V_DVIPS = $(am__v_DVIPS_@AM_V@)
+am__v_DVIPS_ = $(am__v_DVIPS_@AM_DEFAULT_V@)
+am__v_DVIPS_0 = @echo " DVIPS " $@;
+am__v_DVIPS_1 =
+AM_V_MAKEINFO = $(am__v_MAKEINFO_@AM_V@)
+am__v_MAKEINFO_ = $(am__v_MAKEINFO_@AM_DEFAULT_V@)
+am__v_MAKEINFO_0 = @echo " MAKEINFO" $@;
+am__v_MAKEINFO_1 =
+AM_V_INFOHTML = $(am__v_INFOHTML_@AM_V@)
+am__v_INFOHTML_ = $(am__v_INFOHTML_@AM_DEFAULT_V@)
+am__v_INFOHTML_0 = @echo " INFOHTML" $@;
+am__v_INFOHTML_1 =
+AM_V_TEXI2DVI = $(am__v_TEXI2DVI_@AM_V@)
+am__v_TEXI2DVI_ = $(am__v_TEXI2DVI_@AM_DEFAULT_V@)
+am__v_TEXI2DVI_0 = @echo " TEXI2DVI" $@;
+am__v_TEXI2DVI_1 =
+AM_V_TEXI2PDF = $(am__v_TEXI2PDF_@AM_V@)
+am__v_TEXI2PDF_ = $(am__v_TEXI2PDF_@AM_DEFAULT_V@)
+am__v_TEXI2PDF_0 = @echo " TEXI2PDF" $@;
+am__v_TEXI2PDF_1 =
+AM_V_texinfo = $(am__v_texinfo_@AM_V@)
+am__v_texinfo_ = $(am__v_texinfo_@AM_DEFAULT_V@)
+am__v_texinfo_0 = -q
+am__v_texinfo_1 =
+AM_V_texidevnull = $(am__v_texidevnull_@AM_V@)
+am__v_texidevnull_ = $(am__v_texidevnull_@AM_DEFAULT_V@)
+am__v_texidevnull_0 = > /dev/null
+am__v_texidevnull_1 =
+INFO_DEPS = $(srcdir)/autoconf-archive.info
+TEXINFO_TEX = $(top_srcdir)/build-aux/texinfo.tex
+am__TEXINFO_TEX_DIR = $(top_srcdir)/build-aux
+DVIS = autoconf-archive.dvi
+PDFS = autoconf-archive.pdf
+PSS = autoconf-archive.ps
+HTMLS = autoconf-archive.html
+TEXINFOS = autoconf-archive.texi
+TEXI2DVI = texi2dvi
+TEXI2PDF = $(TEXI2DVI) --pdf --batch
+MAKEINFOHTML = $(MAKEINFO) --html
+AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
+DVIPS = dvips
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__installdirs = "$(DESTDIR)$(infodir)"
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+am__DIST_COMMON = $(srcdir)/Makefile.in \
+ $(top_srcdir)/build-aux/mdate-sh \
+ $(top_srcdir)/build-aux/texinfo.tex
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CSCOPE = @CSCOPE@
+CTAGS = @CTAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+ETAGS = @ETAGS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LTLIBOBJS = @LTLIBOBJS@
+M4FILES = @M4FILES@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+TEXIFILES = @TEXIFILES@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+am__leading_dot = @am__leading_dot@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build_alias = @build_alias@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host_alias = @host_alias@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+runstatedir = @runstatedir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+CHAPTERS = introduction.texi downloads.texi contribute.texi fdl-1.3.texi
+info_TEXINFOS = autoconf-archive.texi
+EXTRA_DIST = $(TEXIFILES) $(CHAPTERS) all-macros.texi
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .dvi .html .info .pdf .ps .texi
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu doc/Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+.texi.info:
+ $(AM_V_MAKEINFO)restore=: && backupdir="$(am__leading_dot)am$$$$" && \
+ am__cwd=`pwd` && $(am__cd) $(srcdir) && \
+ rm -rf $$backupdir && mkdir $$backupdir && \
+ if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
+ for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
+ if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
+ done; \
+ else :; fi && \
+ cd "$$am__cwd"; \
+ if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
+ -o $@ $<; \
+ then \
+ rc=0; \
+ $(am__cd) $(srcdir); \
+ else \
+ rc=$$?; \
+ $(am__cd) $(srcdir) && \
+ $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
+ fi; \
+ rm -rf $$backupdir; exit $$rc
+
+.texi.dvi:
+ $(AM_V_TEXI2DVI)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
+ MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
+ $(TEXI2DVI) $(AM_V_texinfo) --build-dir=$(@:.dvi=.t2d) -o $@ $(AM_V_texidevnull) \
+ $<
+
+.texi.pdf:
+ $(AM_V_TEXI2PDF)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
+ MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
+ $(TEXI2PDF) $(AM_V_texinfo) --build-dir=$(@:.pdf=.t2p) -o $@ $(AM_V_texidevnull) \
+ $<
+
+.texi.html:
+ $(AM_V_MAKEINFO)rm -rf $(@:.html=.htp)
+ $(AM_V_at)if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
+ -o $(@:.html=.htp) $<; \
+ then \
+ rm -rf $@ && mv $(@:.html=.htp) $@; \
+ else \
+ rm -rf $(@:.html=.htp); exit 1; \
+ fi
+$(srcdir)/autoconf-archive.info: autoconf-archive.texi $(srcdir)/version.texi
+autoconf-archive.dvi: autoconf-archive.texi $(srcdir)/version.texi
+autoconf-archive.pdf: autoconf-archive.texi $(srcdir)/version.texi
+autoconf-archive.html: autoconf-archive.texi $(srcdir)/version.texi
+$(srcdir)/version.texi: $(srcdir)/stamp-vti
+$(srcdir)/stamp-vti: autoconf-archive.texi $(top_srcdir)/configure
+ @(dir=.; test -f ./autoconf-archive.texi || dir=$(srcdir); \
+ set `$(SHELL) $(top_srcdir)/build-aux/mdate-sh $$dir/autoconf-archive.texi`; \
+ echo "@set UPDATED $$1 $$2 $$3"; \
+ echo "@set UPDATED-MONTH $$2 $$3"; \
+ echo "@set EDITION $(VERSION)"; \
+ echo "@set VERSION $(VERSION)") > vti.tmp$$$$ && \
+ (cmp -s vti.tmp$$$$ $(srcdir)/version.texi \
+ || (echo "Updating $(srcdir)/version.texi" && \
+ cp vti.tmp$$$$ $(srcdir)/version.texi.tmp$$$$ && \
+ mv $(srcdir)/version.texi.tmp$$$$ $(srcdir)/version.texi)) && \
+ rm -f vti.tmp$$$$ $(srcdir)/version.texi.$$$$
+ @cp $(srcdir)/version.texi $@
+
+mostlyclean-vti:
+ -rm -f vti.tmp* $(srcdir)/version.texi.tmp*
+
+maintainer-clean-vti:
+ -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
+.dvi.ps:
+ $(AM_V_DVIPS)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
+ $(DVIPS) $(AM_V_texinfo) -o $@ $<
+
+uninstall-dvi-am:
+ @$(NORMAL_UNINSTALL)
+ @list='$(DVIS)'; test -n "$(dvidir)" || list=; \
+ for p in $$list; do \
+ $(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(dvidir)/$$f'"; \
+ rm -f "$(DESTDIR)$(dvidir)/$$f"; \
+ done
+
+uninstall-html-am:
+ @$(NORMAL_UNINSTALL)
+ @list='$(HTMLS)'; test -n "$(htmldir)" || list=; \
+ for p in $$list; do \
+ $(am__strip_dir) \
+ echo " rm -rf '$(DESTDIR)$(htmldir)/$$f'"; \
+ rm -rf "$(DESTDIR)$(htmldir)/$$f"; \
+ done
+
+uninstall-info-am:
+ @$(PRE_UNINSTALL)
+ @if test -d '$(DESTDIR)$(infodir)' && $(am__can_run_installinfo); then \
+ list='$(INFO_DEPS)'; \
+ for file in $$list; do \
+ relfile=`echo "$$file" | sed 's|^.*/||'`; \
+ echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \
+ if install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \
+ then :; else test ! -f "$(DESTDIR)$(infodir)/$$relfile" || exit 1; fi; \
+ done; \
+ else :; fi
+ @$(NORMAL_UNINSTALL)
+ @list='$(INFO_DEPS)'; \
+ for file in $$list; do \
+ relfile=`echo "$$file" | sed 's|^.*/||'`; \
+ relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
+ (if test -d "$(DESTDIR)$(infodir)" && cd "$(DESTDIR)$(infodir)"; then \
+ echo " cd '$(DESTDIR)$(infodir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]"; \
+ rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \
+ else :; fi); \
+ done
+
+uninstall-pdf-am:
+ @$(NORMAL_UNINSTALL)
+ @list='$(PDFS)'; test -n "$(pdfdir)" || list=; \
+ for p in $$list; do \
+ $(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(pdfdir)/$$f'"; \
+ rm -f "$(DESTDIR)$(pdfdir)/$$f"; \
+ done
+
+uninstall-ps-am:
+ @$(NORMAL_UNINSTALL)
+ @list='$(PSS)'; test -n "$(psdir)" || list=; \
+ for p in $$list; do \
+ $(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(psdir)/$$f'"; \
+ rm -f "$(DESTDIR)$(psdir)/$$f"; \
+ done
+
+dist-info: $(INFO_DEPS)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ list='$(INFO_DEPS)'; \
+ for base in $$list; do \
+ case $$base in \
+ $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
+ esac; \
+ if test -f $$base; then d=.; else d=$(srcdir); fi; \
+ base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
+ for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \
+ if test -f $$file; then \
+ relfile=`expr "$$file" : "$$d/\(.*\)"`; \
+ test -f "$(distdir)/$$relfile" || \
+ cp -p $$file "$(distdir)/$$relfile"; \
+ else :; fi; \
+ done; \
+ done
+
+mostlyclean-aminfo:
+ -rm -rf autoconf-archive.t2d autoconf-archive.t2p
+
+clean-aminfo:
+ -test -z "autoconf-archive.dvi autoconf-archive.pdf autoconf-archive.ps \
+ autoconf-archive.html" \
+ || rm -rf autoconf-archive.dvi autoconf-archive.pdf autoconf-archive.ps \
+ autoconf-archive.html
+
+maintainer-clean-aminfo:
+ @list='$(INFO_DEPS)'; for i in $$list; do \
+ i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
+ echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \
+ rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \
+ done
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+distdir: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
+
+distdir-am: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$(top_distdir)" distdir="$(distdir)" \
+ dist-info
+check-am: all-am
+check: check-am
+all-am: Makefile $(INFO_DEPS)
+installdirs:
+ for dir in "$(DESTDIR)$(infodir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-aminfo clean-generic mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am: $(DVIS)
+
+html: html-am
+
+html-am: $(HTMLS)
+
+info: info-am
+
+info-am: $(INFO_DEPS)
+
+install-data-am: install-info-am
+
+install-dvi: install-dvi-am
+
+install-dvi-am: $(DVIS)
+ @$(NORMAL_INSTALL)
+ @list='$(DVIS)'; test -n "$(dvidir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(dvidir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(dvidir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(dvidir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(dvidir)" || exit $$?; \
+ done
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am: $(HTMLS)
+ @$(NORMAL_INSTALL)
+ @list='$(HTMLS)'; list2=; test -n "$(htmldir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(htmldir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p" || test -d "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ $(am__strip_dir) \
+ d2=$$d$$p; \
+ if test -d "$$d2"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)/$$f'"; \
+ $(MKDIR_P) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
+ echo " $(INSTALL_DATA) '$$d2'/* '$(DESTDIR)$(htmldir)/$$f'"; \
+ $(INSTALL_DATA) "$$d2"/* "$(DESTDIR)$(htmldir)/$$f" || exit $$?; \
+ else \
+ list2="$$list2 $$d2"; \
+ fi; \
+ done; \
+ test -z "$$list2" || { echo "$$list2" | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(htmldir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(htmldir)" || exit $$?; \
+ done; }
+install-info: install-info-am
+
+install-info-am: $(INFO_DEPS)
+ @$(NORMAL_INSTALL)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(infodir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(infodir)" || exit 1; \
+ fi; \
+ for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ esac; \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \
+ for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
+ $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \
+ if test -f $$ifile; then \
+ echo "$$ifile"; \
+ else : ; fi; \
+ done; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(infodir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(infodir)" || exit $$?; done
+ @$(POST_INSTALL)
+ @if $(am__can_run_installinfo); then \
+ list='$(INFO_DEPS)'; test -n "$(infodir)" || list=; \
+ for file in $$list; do \
+ relfile=`echo "$$file" | sed 's|^.*/||'`; \
+ echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\
+ install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\
+ done; \
+ else : ; fi
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am: $(PDFS)
+ @$(NORMAL_INSTALL)
+ @list='$(PDFS)'; test -n "$(pdfdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(pdfdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(pdfdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pdfdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(pdfdir)" || exit $$?; done
+install-ps: install-ps-am
+
+install-ps-am: $(PSS)
+ @$(NORMAL_INSTALL)
+ @list='$(PSS)'; test -n "$(psdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(psdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(psdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(psdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(psdir)" || exit $$?; done
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-aminfo \
+ maintainer-clean-generic maintainer-clean-local \
+ maintainer-clean-vti
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti
+
+pdf: pdf-am
+
+pdf-am: $(PDFS)
+
+ps: ps-am
+
+ps-am: $(PSS)
+
+uninstall-am: uninstall-dvi-am uninstall-html-am uninstall-info-am \
+ uninstall-pdf-am uninstall-ps-am
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-aminfo clean-generic \
+ cscopelist-am ctags-am dist-info distclean distclean-generic \
+ distdir dvi dvi-am html html-am info info-am install \
+ install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-aminfo \
+ maintainer-clean-generic maintainer-clean-local \
+ maintainer-clean-vti mostlyclean mostlyclean-aminfo \
+ mostlyclean-generic mostlyclean-vti pdf pdf-am ps ps-am \
+ tags-am uninstall uninstall-am uninstall-dvi-am \
+ uninstall-html-am uninstall-info-am uninstall-pdf-am \
+ uninstall-ps-am
+
+.PRECIOUS: Makefile
+
+
+autoconf-archive.info: autoconf-archive.texi all-macros.texi $(TEXIFILES) $(CHAPTERS)
+
+maintainer-clean-local:
+ @rm -f ax_*.texi all-macros.texi fdl-1.3.texi Makefile.in
+ @rm -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr
+ @rm -rf manual gendocs_template gendocs_template_min
+ @rm -f *~
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
--- /dev/null
+@menu
+* ax_absolute_header::
+* ax_ac_append_to_file::
+* ax_ac_print_to_file::
+* ax_add_am_macro::
+* ax_add_am_macro_static::
+* ax_add_am_trilinos_makefile_export::
+* ax_add_fortify_source::
+* ax_add_recursive_am_macro::
+* ax_add_recursive_am_macro_static::
+* ax_afs::
+* ax_am_jobserver::
+* ax_am_macros::
+* ax_am_macros_static::
+* ax_am_override_var::
+* ax_append_compile_flags::
+* ax_append_flag::
+* ax_append_link_flags::
+* ax_append_to_file::
+* ax_arg_with_path_style::
+* ax_asm_inline::
+* ax_at_check_pattern::
+* ax_auto_include_headers::
+* ax_berkeley_db::
+* ax_berkeley_db_cxx::
+* ax_blas::
+* ax_blas_f77_func::
+* ax_boost_asio::
+* ax_boost_atomic::
+* ax_boost_base::
+* ax_boost_chrono::
+* ax_boost_context::
+* ax_boost_coroutine::
+* ax_boost_date_time::
+* ax_boost_filesystem::
+* ax_boost_iostreams::
+* ax_boost_locale::
+* ax_boost_log::
+* ax_boost_log_setup::
+* ax_boost_process::
+* ax_boost_program_options::
+* ax_boost_python::
+* ax_boost_random::
+* ax_boost_regex::
+* ax_boost_serialization::
+* ax_boost_signals::
+* ax_boost_system::
+* ax_boost_test_exec_monitor::
+* ax_boost_thread::
+* ax_boost_unit_test_framework::
+* ax_boost_wave::
+* ax_boost_wserialization::
+* ax_build_date_epoch::
+* ax_c99_inline::
+* ax_c___attribute__::
+* ax_c_arithmetic_rshift::
+* ax_c_compile_value::
+* ax_c_declare_block::
+* ax_c_float_words_bigendian::
+* ax_c_long_long::
+* ax_c_referenceable_passed_va_list::
+* ax_c_var_func::
+* ax_cache_size::
+* ax_caolan_check_package::
+* ax_caolan_search_package::
+* ax_cc_for_build::
+* ax_cc_maxopt::
+* ax_cf_ebcdic::
+* ax_cflags_aix_option::
+* ax_cflags_force_c89::
+* ax_cflags_hpux_option::
+* ax_cflags_irix_option::
+* ax_cflags_no_writable_strings::
+* ax_cflags_strict_prototypes::
+* ax_cflags_sun_option::
+* ax_cflags_warn_all::
+* ax_check_aligned_access_required::
+* ax_check_allocated_ctime::
+* ax_check_awk__v::
+* ax_check_awk__x_escapes::
+* ax_check_awk_and::
+* ax_check_awk_argind::
+* ax_check_awk_array_delete::
+* ax_check_awk_array_delete_elem::
+* ax_check_awk_array_in::
+* ax_check_awk_asort::
+* ax_check_awk_asorti::
+* ax_check_awk_associative_array::
+* ax_check_awk_atan2::
+* ax_check_awk_compl::
+* ax_check_awk_conditional_expression::
+* ax_check_awk_cos::
+* ax_check_awk_environ::
+* ax_check_awk_errno::
+* ax_check_awk_exit::
+* ax_check_awk_exp::
+* ax_check_awk_gensub::
+* ax_check_awk_getline::
+* ax_check_awk_gsub::
+* ax_check_awk_ignorecase::
+* ax_check_awk_index::
+* ax_check_awk_int::
+* ax_check_awk_length::
+* ax_check_awk_log::
+* ax_check_awk_lshift::
+* ax_check_awk_match_2parms::
+* ax_check_awk_match_3parms::
+* ax_check_awk_operator_multiply_multiply::
+* ax_check_awk_operator_square::
+* ax_check_awk_or::
+* ax_check_awk_printf::
+* ax_check_awk_rand::
+* ax_check_awk_rshift::
+* ax_check_awk_sin::
+* ax_check_awk_split::
+* ax_check_awk_sprintf::
+* ax_check_awk_sqrt::
+* ax_check_awk_srand::
+* ax_check_awk_strftime::
+* ax_check_awk_strtonum::
+* ax_check_awk_sub::
+* ax_check_awk_substr::
+* ax_check_awk_system::
+* ax_check_awk_systime::
+* ax_check_awk_tolower::
+* ax_check_awk_toupper::
+* ax_check_awk_user_defined_functions::
+* ax_check_awk_var_regexp::
+* ax_check_awk_variable_value_pairs::
+* ax_check_awk_xor::
+* ax_check_class::
+* ax_check_classpath::
+* ax_check_compile_flag::
+* ax_check_define::
+* ax_check_docbook_dtd::
+* ax_check_docbook_xslt::
+* ax_check_docbook_xslt_min::
+* ax_check_dos_filesys::
+* ax_check_enable_debug::
+* ax_check_func_in::
+* ax_check_gd::
+* ax_check_gir_symbols_gjs::
+* ax_check_girs_gjs::
+* ax_check_gl::
+* ax_check_glu::
+* ax_check_glut::
+* ax_check_glx::
+* ax_check_gnu_make::
+* ax_check_icu::
+* ax_check_java_home::
+* ax_check_java_plugin::
+* ax_check_junit::
+* ax_check_library::
+* ax_check_link_flag::
+* ax_check_mysql::
+* ax_check_mysql_db::
+* ax_check_mysqlr::
+* ax_check_off64_t::
+* ax_check_openssl::
+* ax_check_page_aligned_malloc::
+* ax_check_pathfind::
+* ax_check_pathname_style::
+* ax_check_pcre2::
+* ax_check_pgsql_db::
+* ax_check_posix_regcomp::
+* ax_check_posix_sysinfo::
+* ax_check_postgres_db::
+* ax_check_preproc_flag::
+* ax_check_rqrd_class::
+* ax_check_sign::
+* ax_check_strcspn::
+* ax_check_strftime::
+* ax_check_struct_for::
+* ax_check_symbol::
+* ax_check_sys_siglist::
+* ax_check_typedef::
+* ax_check_uname_syscall::
+* ax_check_user::
+* ax_check_vscript::
+* ax_check_x86_features::
+* ax_check_zlib::
+* ax_code_coverage::
+* ax_compare_version::
+* ax_compile_check_sizeof::
+* ax_compiler_flags::
+* ax_compiler_flags_cflags::
+* ax_compiler_flags_cxxflags::
+* ax_compiler_flags_gir::
+* ax_compiler_flags_ldflags::
+* ax_compiler_vendor::
+* ax_compiler_version::
+* ax_compute_relative_paths::
+* ax_compute_standard_relative_paths::
+* ax_cond_with_level::
+* ax_config_feature::
+* ax_configure_args::
+* ax_count_cpus::
+* ax_cpu_freq::
+* ax_cpu_vendor::
+* ax_create_generic_config::
+* ax_create_pkgconfig_info::
+* ax_create_stdint_h::
+* ax_create_target_h::
+* ax_cvs::
+* ax_cxx_bool::
+* ax_cxx_compile_stdcxx::
+* ax_cxx_compile_stdcxx_0x::
+* ax_cxx_compile_stdcxx_11::
+* ax_cxx_compile_stdcxx_14::
+* ax_cxx_compile_stdcxx_17::
+* ax_cxx_complex_math_in_namespace_std::
+* ax_cxx_const_cast::
+* ax_cxx_cppflags_std_lang::
+* ax_cxx_cxxflags_std_lang::
+* ax_cxx_default_template_parameters::
+* ax_cxx_delete_method::
+* ax_cxx_dtor_after_atexit::
+* ax_cxx_dynamic_cast::
+* ax_cxx_enum_computations::
+* ax_cxx_enum_computations_with_cast::
+* ax_cxx_erase_iterator_type::
+* ax_cxx_exceptions::
+* ax_cxx_explicit::
+* ax_cxx_explicit_instantiations::
+* ax_cxx_explicit_template_function_qualification::
+* ax_cxx_extern_template::
+* ax_cxx_full_specialization_syntax::
+* ax_cxx_function_nontype_parameters::
+* ax_cxx_function_try_blocks::
+* ax_cxx_gcc_abi_demangle::
+* ax_cxx_gnucxx_hashmap::
+* ax_cxx_have_bad_function_call::
+* ax_cxx_have_bind::
+* ax_cxx_have_bit_and::
+* ax_cxx_have_bit_or::
+* ax_cxx_have_bit_xor::
+* ax_cxx_have_complex::
+* ax_cxx_have_complex_math1::
+* ax_cxx_have_complex_math2::
+* ax_cxx_have_cref::
+* ax_cxx_have_empty_iostream::
+* ax_cxx_have_ext_hash_map::
+* ax_cxx_have_ext_hash_set::
+* ax_cxx_have_ext_slist::
+* ax_cxx_have_freeze_sstream::
+* ax_cxx_have_function::
+* ax_cxx_have_hash::
+* ax_cxx_have_ieee_math::
+* ax_cxx_have_is_bind_expression::
+* ax_cxx_have_is_placeholder::
+* ax_cxx_have_koenig_lookup::
+* ax_cxx_have_long_long_for_iostream::
+* ax_cxx_have_mem_fn::
+* ax_cxx_have_numeric_limits::
+* ax_cxx_have_placeholders::
+* ax_cxx_have_ref::
+* ax_cxx_have_reference_wrapper::
+* ax_cxx_have_sstream::
+* ax_cxx_have_std::
+* ax_cxx_have_stl::
+* ax_cxx_have_string_push_back::
+* ax_cxx_have_system_v_math::
+* ax_cxx_have_valarray::
+* ax_cxx_have_vector_at::
+* ax_cxx_header_pre_stdcxx::
+* ax_cxx_header_stdcxx_0x::
+* ax_cxx_header_stdcxx_98::
+* ax_cxx_header_stdcxx_tr1::
+* ax_cxx_header_tr1_unordered_map::
+* ax_cxx_header_tr1_unordered_set::
+* ax_cxx_header_unordered_map::
+* ax_cxx_header_unordered_set::
+* ax_cxx_ldflags_std_lang::
+* ax_cxx_member_constants::
+* ax_cxx_member_templates::
+* ax_cxx_member_templates_outside_class::
+* ax_cxx_mutable::
+* ax_cxx_namespace_std::
+* ax_cxx_namespaces::
+* ax_cxx_new_for_scoping::
+* ax_cxx_old_for_scoping::
+* ax_cxx_partial_ordering::
+* ax_cxx_partial_specialization::
+* ax_cxx_reinterpret_cast::
+* ax_cxx_restrict_this::
+* ax_cxx_rtti::
+* ax_cxx_rvalue_references::
+* ax_cxx_static_cast::
+* ax_cxx_stlport_hashmap::
+* ax_cxx_template_keyword_qualifier::
+* ax_cxx_template_qualified_base_class::
+* ax_cxx_template_qualified_return_type::
+* ax_cxx_template_scoped_argument_matching::
+* ax_cxx_templates::
+* ax_cxx_templates_as_template_arguments::
+* ax_cxx_typename::
+* ax_cxx_use_numtrait::
+* ax_cxx_var_prettyfunc::
+* ax_cxx_verbose_terminate_handler::
+* ax_czmq::
+* ax_decl_wchar_max::
+* ax_define_integer_bits::
+* ax_define_sub_path::
+* ax_dirname::
+* ax_dist_msi::
+* ax_dist_rpm::
+* ax_dll_string::
+* ax_elisp::
+* ax_enable_builddir::
+* ax_execinfo::
+* ax_expand_prefix::
+* ax_ext::
+* ax_ext_check_header::
+* ax_ext_have_lib::
+* ax_extend_srcdir::
+* ax_extra_dist::
+* ax_f77_cmain_fflags::
+* ax_f90_header::
+* ax_f90_internal_headmod::
+* ax_f90_library::
+* ax_f90_library_setup::
+* ax_f90_module::
+* ax_f90_module_extension::
+* ax_f90_module_flag::
+* ax_fc_check_define::
+* ax_file_escapes::
+* ax_find_hamcrest::
+* ax_find_junit::
+* ax_find_scala_stdlib::
+* ax_forceinline::
+* ax_func_accept_argtypes::
+* ax_func_getopt_long::
+* ax_func_memmove::
+* ax_func_mkdir::
+* ax_func_posix_memalign::
+* ax_func_snprintf::
+* ax_func_which_gethostbyname_r::
+* ax_func_which_getservbyname_r::
+* ax_gcc_archflag::
+* ax_gcc_builtin::
+* ax_gcc_const_call::
+* ax_gcc_func_attribute::
+* ax_gcc_lib::
+* ax_gcc_libgcc_eh::
+* ax_gcc_libsupcxx::
+* ax_gcc_malloc_call::
+* ax_gcc_var_attribute::
+* ax_gcc_warn_unused_result::
+* ax_gcc_x86_avx_xgetbv::
+* ax_gcc_x86_cpu_supports::
+* ax_gcc_x86_cpuid::
+* ax_generate_changelog::
+* ax_gnu_autotest::
+* ax_have_adns::
+* ax_have_epoll::
+* ax_have_poll::
+* ax_have_qt::
+* ax_have_select::
+* ax_include_strcasecmp::
+* ax_install_files::
+* ax_int128::
+* ax_is_release::
+* ax_java_check_class::
+* ax_java_options::
+* ax_jni_include_dir::
+* ax_lapack::
+* ax_lib_beecrypt::
+* ax_lib_cgal_core::
+* ax_lib_crypto::
+* ax_lib_curl::
+* ax_lib_ev::
+* ax_lib_expat::
+* ax_lib_firebird::
+* ax_lib_gcrypt::
+* ax_lib_gdal::
+* ax_lib_hdf5::
+* ax_lib_id3::
+* ax_lib_libkml::
+* ax_lib_metis::
+* ax_lib_mysql::
+* ax_lib_mysqlcppconn::
+* ax_lib_netcdf4::
+* ax_lib_nettle::
+* ax_lib_nokalva::
+* ax_lib_oracle_occi::
+* ax_lib_oracle_oci::
+* ax_lib_orbit2::
+* ax_lib_postgresql::
+* ax_lib_readline::
+* ax_lib_samtools::
+* ax_lib_socket_nsl::
+* ax_lib_sqlite3::
+* ax_lib_tabix::
+* ax_lib_taglib::
+* ax_lib_trace::
+* ax_lib_upnp::
+* ax_lib_wad::
+* ax_lib_xalan::
+* ax_lib_xerces::
+* ax_lib_xml_security::
+* ax_libgcj_jar::
+* ax_libtoolize_cflags::
+* ax_llvm::
+* ax_lua::
+* ax_luarocks_rock::
+* ax_maintainer_mode_auto_silent::
+* ax_missing_prog::
+* ax_mpi::
+* ax_mpip::
+* ax_ms_cpprest::
+* ax_need_awk::
+* ax_normalize_path::
+* ax_not_enable_frame_pointer::
+* ax_numeric_namedlevel::
+* ax_open62541_check_h::
+* ax_open62541_check_lib::
+* ax_open62541_path::
+* ax_openmp::
+* ax_patch_libtool_changing_cmds_ifs::
+* ax_path_bdb::
+* ax_path_generic::
+* ax_path_lib_pcre::
+* ax_path_milter::
+* ax_path_missing::
+* ax_perl_ext::
+* ax_perl_ext_flags::
+* ax_perl_module_version::
+* ax_pgsql_priv_root::
+* ax_pkg_check_modules::
+* ax_pkg_mico::
+* ax_pkg_swig::
+* ax_prefix_config_h::
+* ax_prepend_flag::
+* ax_print_to_file::
+* ax_printf_size_t::
+* ax_prog_apache::
+* ax_prog_bison::
+* ax_prog_bison_version::
+* ax_prog_cc_char_subscripts::
+* ax_prog_cc_for_build::
+* ax_prog_cc_mpi::
+* ax_prog_cp_s::
+* ax_prog_crontab::
+* ax_prog_cxx_for_build::
+* ax_prog_cxx_mpi::
+* ax_prog_date::
+* ax_prog_dotnetcore_version::
+* ax_prog_doxygen::
+* ax_prog_emacs::
+* ax_prog_f77_mpi::
+* ax_prog_fasm::
+* ax_prog_fasm_opt::
+* ax_prog_fc_mpi::
+* ax_prog_fig2dev::
+* ax_prog_flex::
+* ax_prog_flex_version::
+* ax_prog_gjs::
+* ax_prog_guile_version::
+* ax_prog_haxe_version::
+* ax_prog_help2man::
+* ax_prog_hla::
+* ax_prog_hla_opt::
+* ax_prog_httpd::
+* ax_prog_jar::
+* ax_prog_java::
+* ax_prog_java_cc::
+* ax_prog_java_works::
+* ax_prog_javac::
+* ax_prog_javac_works::
+* ax_prog_javadoc::
+* ax_prog_javah::
+* ax_prog_masm::
+* ax_prog_masm_opt::
+* ax_prog_md5sum::
+* ax_prog_modprobe::
+* ax_prog_mysql::
+* ax_prog_mysqladmin::
+* ax_prog_mysqld::
+* ax_prog_mysqlimport::
+* ax_prog_mysqlshow::
+* ax_prog_nasm::
+* ax_prog_nasm_opt::
+* ax_prog_perl_modules::
+* ax_prog_perl_version::
+* ax_prog_pgclient::
+* ax_prog_python_version::
+* ax_prog_robot::
+* ax_prog_ruby_version::
+* ax_prog_scala::
+* ax_prog_scalac::
+* ax_prog_scp::
+* ax_prog_splint::
+* ax_prog_ssh::
+* ax_prog_tasm::
+* ax_prog_tasm_opt::
+* ax_prog_tcl::
+* ax_prog_xsltproc::
+* ax_prog_yasm::
+* ax_prog_yasm_opt::
+* ax_prototype::
+* ax_prototype_accept::
+* ax_prototype_getsockname::
+* ax_prototype_setsockopt::
+* ax_pthread::
+* ax_python::
+* ax_python_config_var::
+* ax_python_devel::
+* ax_python_embed::
+* ax_python_module::
+* ax_python_module_version::
+* ax_r_package::
+* ax_recursive_eval::
+* ax_require_defined::
+* ax_require_one_func::
+* ax_restore_flags::
+* ax_restore_flags_with_prefix::
+* ax_rpm_init::
+* ax_ruby_devel::
+* ax_ruby_ext::
+* ax_save_flags::
+* ax_save_flags_with_prefix::
+* ax_set_default_paths_system::
+* ax_short_sleep::
+* ax_silent_mode::
+* ax_sip_devel::
+* ax_spec_file::
+* ax_spec_package_version::
+* ax_split_version::
+* ax_string_strcasecmp::
+* ax_strings_strcasecmp::
+* ax_struct_semun::
+* ax_subdir_files::
+* ax_subdirs_configure::
+* ax_subst_with::
+* ax_swig_enable_cxx::
+* ax_swig_multi_module_support::
+* ax_swig_python::
+* ax_switch_flags::
+* ax_sys_dev_poll::
+* ax_sys_largefile_sensitive::
+* ax_sys_perlsharpbang::
+* ax_sys_weak_alias::
+* ax_sysv_ipc::
+* ax_tls::
+* ax_trilinos_amesos::
+* ax_trilinos_base::
+* ax_trilinos_epetra::
+* ax_trilinos_epetraext::
+* ax_trilinos_epetraext_hdf5::
+* ax_trilinos_rtop::
+* ax_trilinos_rythmos::
+* ax_trilinos_teuchos::
+* ax_trilinos_thyra::
+* ax_trilinos_thyra_epetra::
+* ax_trilinos_thyra_epetraext::
+* ax_try_awk_anyout::
+* ax_try_awk_expout::
+* ax_try_compile_java::
+* ax_try_run_java::
+* ax_type_socklen_t::
+* ax_upload::
+* ax_valgrind_check::
+* ax_var_pop::
+* ax_var_push::
+* ax_var_timezone_externals::
+* ax_very_nice::
+* ax_warning_default_aclocaldir::
+* ax_warning_default_pkgconfig::
+* ax_wint_t::
+* ax_with_apxs::
+* ax_with_build_path::
+* ax_with_curses::
+* ax_with_curses_extra::
+* ax_with_dmalloc::
+* ax_with_mpatrol::
+* ax_with_prog::
+* ax_xercesc::
+* ax_xsdcxx::
+* ax_xtra_classpath::
+* ax_zmq::
+* ax_zoneinfo::
+@end menu
+
+@include ax_absolute_header.texi
+@include ax_ac_append_to_file.texi
+@include ax_ac_print_to_file.texi
+@include ax_add_am_macro.texi
+@include ax_add_am_macro_static.texi
+@include ax_add_am_trilinos_makefile_export.texi
+@include ax_add_fortify_source.texi
+@include ax_add_recursive_am_macro.texi
+@include ax_add_recursive_am_macro_static.texi
+@include ax_afs.texi
+@include ax_am_jobserver.texi
+@include ax_am_macros.texi
+@include ax_am_macros_static.texi
+@include ax_am_override_var.texi
+@include ax_append_compile_flags.texi
+@include ax_append_flag.texi
+@include ax_append_link_flags.texi
+@include ax_append_to_file.texi
+@include ax_arg_with_path_style.texi
+@include ax_asm_inline.texi
+@include ax_at_check_pattern.texi
+@include ax_auto_include_headers.texi
+@include ax_berkeley_db.texi
+@include ax_berkeley_db_cxx.texi
+@include ax_blas.texi
+@include ax_blas_f77_func.texi
+@include ax_boost_asio.texi
+@include ax_boost_atomic.texi
+@include ax_boost_base.texi
+@include ax_boost_chrono.texi
+@include ax_boost_context.texi
+@include ax_boost_coroutine.texi
+@include ax_boost_date_time.texi
+@include ax_boost_filesystem.texi
+@include ax_boost_iostreams.texi
+@include ax_boost_locale.texi
+@include ax_boost_log.texi
+@include ax_boost_log_setup.texi
+@include ax_boost_process.texi
+@include ax_boost_program_options.texi
+@include ax_boost_python.texi
+@include ax_boost_random.texi
+@include ax_boost_regex.texi
+@include ax_boost_serialization.texi
+@include ax_boost_signals.texi
+@include ax_boost_system.texi
+@include ax_boost_test_exec_monitor.texi
+@include ax_boost_thread.texi
+@include ax_boost_unit_test_framework.texi
+@include ax_boost_wave.texi
+@include ax_boost_wserialization.texi
+@include ax_build_date_epoch.texi
+@include ax_c99_inline.texi
+@include ax_c___attribute__.texi
+@include ax_c_arithmetic_rshift.texi
+@include ax_c_compile_value.texi
+@include ax_c_declare_block.texi
+@include ax_c_float_words_bigendian.texi
+@include ax_c_long_long.texi
+@include ax_c_referenceable_passed_va_list.texi
+@include ax_c_var_func.texi
+@include ax_cache_size.texi
+@include ax_caolan_check_package.texi
+@include ax_caolan_search_package.texi
+@include ax_cc_for_build.texi
+@include ax_cc_maxopt.texi
+@include ax_cf_ebcdic.texi
+@include ax_cflags_aix_option.texi
+@include ax_cflags_force_c89.texi
+@include ax_cflags_hpux_option.texi
+@include ax_cflags_irix_option.texi
+@include ax_cflags_no_writable_strings.texi
+@include ax_cflags_strict_prototypes.texi
+@include ax_cflags_sun_option.texi
+@include ax_cflags_warn_all.texi
+@include ax_check_aligned_access_required.texi
+@include ax_check_allocated_ctime.texi
+@include ax_check_awk__v.texi
+@include ax_check_awk__x_escapes.texi
+@include ax_check_awk_and.texi
+@include ax_check_awk_argind.texi
+@include ax_check_awk_array_delete.texi
+@include ax_check_awk_array_delete_elem.texi
+@include ax_check_awk_array_in.texi
+@include ax_check_awk_asort.texi
+@include ax_check_awk_asorti.texi
+@include ax_check_awk_associative_array.texi
+@include ax_check_awk_atan2.texi
+@include ax_check_awk_compl.texi
+@include ax_check_awk_conditional_expression.texi
+@include ax_check_awk_cos.texi
+@include ax_check_awk_environ.texi
+@include ax_check_awk_errno.texi
+@include ax_check_awk_exit.texi
+@include ax_check_awk_exp.texi
+@include ax_check_awk_gensub.texi
+@include ax_check_awk_getline.texi
+@include ax_check_awk_gsub.texi
+@include ax_check_awk_ignorecase.texi
+@include ax_check_awk_index.texi
+@include ax_check_awk_int.texi
+@include ax_check_awk_length.texi
+@include ax_check_awk_log.texi
+@include ax_check_awk_lshift.texi
+@include ax_check_awk_match_2parms.texi
+@include ax_check_awk_match_3parms.texi
+@include ax_check_awk_operator_multiply_multiply.texi
+@include ax_check_awk_operator_square.texi
+@include ax_check_awk_or.texi
+@include ax_check_awk_printf.texi
+@include ax_check_awk_rand.texi
+@include ax_check_awk_rshift.texi
+@include ax_check_awk_sin.texi
+@include ax_check_awk_split.texi
+@include ax_check_awk_sprintf.texi
+@include ax_check_awk_sqrt.texi
+@include ax_check_awk_srand.texi
+@include ax_check_awk_strftime.texi
+@include ax_check_awk_strtonum.texi
+@include ax_check_awk_sub.texi
+@include ax_check_awk_substr.texi
+@include ax_check_awk_system.texi
+@include ax_check_awk_systime.texi
+@include ax_check_awk_tolower.texi
+@include ax_check_awk_toupper.texi
+@include ax_check_awk_user_defined_functions.texi
+@include ax_check_awk_var_regexp.texi
+@include ax_check_awk_variable_value_pairs.texi
+@include ax_check_awk_xor.texi
+@include ax_check_class.texi
+@include ax_check_classpath.texi
+@include ax_check_compile_flag.texi
+@include ax_check_define.texi
+@include ax_check_docbook_dtd.texi
+@include ax_check_docbook_xslt.texi
+@include ax_check_docbook_xslt_min.texi
+@include ax_check_dos_filesys.texi
+@include ax_check_enable_debug.texi
+@include ax_check_func_in.texi
+@include ax_check_gd.texi
+@include ax_check_gir_symbols_gjs.texi
+@include ax_check_girs_gjs.texi
+@include ax_check_gl.texi
+@include ax_check_glu.texi
+@include ax_check_glut.texi
+@include ax_check_glx.texi
+@include ax_check_gnu_make.texi
+@include ax_check_icu.texi
+@include ax_check_java_home.texi
+@include ax_check_java_plugin.texi
+@include ax_check_junit.texi
+@include ax_check_library.texi
+@include ax_check_link_flag.texi
+@include ax_check_mysql.texi
+@include ax_check_mysql_db.texi
+@include ax_check_mysqlr.texi
+@include ax_check_off64_t.texi
+@include ax_check_openssl.texi
+@include ax_check_page_aligned_malloc.texi
+@include ax_check_pathfind.texi
+@include ax_check_pathname_style.texi
+@include ax_check_pcre2.texi
+@include ax_check_pgsql_db.texi
+@include ax_check_posix_regcomp.texi
+@include ax_check_posix_sysinfo.texi
+@include ax_check_postgres_db.texi
+@include ax_check_preproc_flag.texi
+@include ax_check_rqrd_class.texi
+@include ax_check_sign.texi
+@include ax_check_strcspn.texi
+@include ax_check_strftime.texi
+@include ax_check_struct_for.texi
+@include ax_check_symbol.texi
+@include ax_check_sys_siglist.texi
+@include ax_check_typedef.texi
+@include ax_check_uname_syscall.texi
+@include ax_check_user.texi
+@include ax_check_vscript.texi
+@include ax_check_x86_features.texi
+@include ax_check_zlib.texi
+@include ax_code_coverage.texi
+@include ax_compare_version.texi
+@include ax_compile_check_sizeof.texi
+@include ax_compiler_flags.texi
+@include ax_compiler_flags_cflags.texi
+@include ax_compiler_flags_cxxflags.texi
+@include ax_compiler_flags_gir.texi
+@include ax_compiler_flags_ldflags.texi
+@include ax_compiler_vendor.texi
+@include ax_compiler_version.texi
+@include ax_compute_relative_paths.texi
+@include ax_compute_standard_relative_paths.texi
+@include ax_cond_with_level.texi
+@include ax_config_feature.texi
+@include ax_configure_args.texi
+@include ax_count_cpus.texi
+@include ax_cpu_freq.texi
+@include ax_cpu_vendor.texi
+@include ax_create_generic_config.texi
+@include ax_create_pkgconfig_info.texi
+@include ax_create_stdint_h.texi
+@include ax_create_target_h.texi
+@include ax_cvs.texi
+@include ax_cxx_bool.texi
+@include ax_cxx_compile_stdcxx.texi
+@include ax_cxx_compile_stdcxx_0x.texi
+@include ax_cxx_compile_stdcxx_11.texi
+@include ax_cxx_compile_stdcxx_14.texi
+@include ax_cxx_compile_stdcxx_17.texi
+@include ax_cxx_complex_math_in_namespace_std.texi
+@include ax_cxx_const_cast.texi
+@include ax_cxx_cppflags_std_lang.texi
+@include ax_cxx_cxxflags_std_lang.texi
+@include ax_cxx_default_template_parameters.texi
+@include ax_cxx_delete_method.texi
+@include ax_cxx_dtor_after_atexit.texi
+@include ax_cxx_dynamic_cast.texi
+@include ax_cxx_enum_computations.texi
+@include ax_cxx_enum_computations_with_cast.texi
+@include ax_cxx_erase_iterator_type.texi
+@include ax_cxx_exceptions.texi
+@include ax_cxx_explicit.texi
+@include ax_cxx_explicit_instantiations.texi
+@include ax_cxx_explicit_template_function_qualification.texi
+@include ax_cxx_extern_template.texi
+@include ax_cxx_full_specialization_syntax.texi
+@include ax_cxx_function_nontype_parameters.texi
+@include ax_cxx_function_try_blocks.texi
+@include ax_cxx_gcc_abi_demangle.texi
+@include ax_cxx_gnucxx_hashmap.texi
+@include ax_cxx_have_bad_function_call.texi
+@include ax_cxx_have_bind.texi
+@include ax_cxx_have_bit_and.texi
+@include ax_cxx_have_bit_or.texi
+@include ax_cxx_have_bit_xor.texi
+@include ax_cxx_have_complex.texi
+@include ax_cxx_have_complex_math1.texi
+@include ax_cxx_have_complex_math2.texi
+@include ax_cxx_have_cref.texi
+@include ax_cxx_have_empty_iostream.texi
+@include ax_cxx_have_ext_hash_map.texi
+@include ax_cxx_have_ext_hash_set.texi
+@include ax_cxx_have_ext_slist.texi
+@include ax_cxx_have_freeze_sstream.texi
+@include ax_cxx_have_function.texi
+@include ax_cxx_have_hash.texi
+@include ax_cxx_have_ieee_math.texi
+@include ax_cxx_have_is_bind_expression.texi
+@include ax_cxx_have_is_placeholder.texi
+@include ax_cxx_have_koenig_lookup.texi
+@include ax_cxx_have_long_long_for_iostream.texi
+@include ax_cxx_have_mem_fn.texi
+@include ax_cxx_have_numeric_limits.texi
+@include ax_cxx_have_placeholders.texi
+@include ax_cxx_have_ref.texi
+@include ax_cxx_have_reference_wrapper.texi
+@include ax_cxx_have_sstream.texi
+@include ax_cxx_have_std.texi
+@include ax_cxx_have_stl.texi
+@include ax_cxx_have_string_push_back.texi
+@include ax_cxx_have_system_v_math.texi
+@include ax_cxx_have_valarray.texi
+@include ax_cxx_have_vector_at.texi
+@include ax_cxx_header_pre_stdcxx.texi
+@include ax_cxx_header_stdcxx_0x.texi
+@include ax_cxx_header_stdcxx_98.texi
+@include ax_cxx_header_stdcxx_tr1.texi
+@include ax_cxx_header_tr1_unordered_map.texi
+@include ax_cxx_header_tr1_unordered_set.texi
+@include ax_cxx_header_unordered_map.texi
+@include ax_cxx_header_unordered_set.texi
+@include ax_cxx_ldflags_std_lang.texi
+@include ax_cxx_member_constants.texi
+@include ax_cxx_member_templates.texi
+@include ax_cxx_member_templates_outside_class.texi
+@include ax_cxx_mutable.texi
+@include ax_cxx_namespace_std.texi
+@include ax_cxx_namespaces.texi
+@include ax_cxx_new_for_scoping.texi
+@include ax_cxx_old_for_scoping.texi
+@include ax_cxx_partial_ordering.texi
+@include ax_cxx_partial_specialization.texi
+@include ax_cxx_reinterpret_cast.texi
+@include ax_cxx_restrict_this.texi
+@include ax_cxx_rtti.texi
+@include ax_cxx_rvalue_references.texi
+@include ax_cxx_static_cast.texi
+@include ax_cxx_stlport_hashmap.texi
+@include ax_cxx_template_keyword_qualifier.texi
+@include ax_cxx_template_qualified_base_class.texi
+@include ax_cxx_template_qualified_return_type.texi
+@include ax_cxx_template_scoped_argument_matching.texi
+@include ax_cxx_templates.texi
+@include ax_cxx_templates_as_template_arguments.texi
+@include ax_cxx_typename.texi
+@include ax_cxx_use_numtrait.texi
+@include ax_cxx_var_prettyfunc.texi
+@include ax_cxx_verbose_terminate_handler.texi
+@include ax_czmq.texi
+@include ax_decl_wchar_max.texi
+@include ax_define_integer_bits.texi
+@include ax_define_sub_path.texi
+@include ax_dirname.texi
+@include ax_dist_msi.texi
+@include ax_dist_rpm.texi
+@include ax_dll_string.texi
+@include ax_elisp.texi
+@include ax_enable_builddir.texi
+@include ax_execinfo.texi
+@include ax_expand_prefix.texi
+@include ax_ext.texi
+@include ax_ext_check_header.texi
+@include ax_ext_have_lib.texi
+@include ax_extend_srcdir.texi
+@include ax_extra_dist.texi
+@include ax_f77_cmain_fflags.texi
+@include ax_f90_header.texi
+@include ax_f90_internal_headmod.texi
+@include ax_f90_library.texi
+@include ax_f90_library_setup.texi
+@include ax_f90_module.texi
+@include ax_f90_module_extension.texi
+@include ax_f90_module_flag.texi
+@include ax_fc_check_define.texi
+@include ax_file_escapes.texi
+@include ax_find_hamcrest.texi
+@include ax_find_junit.texi
+@include ax_find_scala_stdlib.texi
+@include ax_forceinline.texi
+@include ax_func_accept_argtypes.texi
+@include ax_func_getopt_long.texi
+@include ax_func_memmove.texi
+@include ax_func_mkdir.texi
+@include ax_func_posix_memalign.texi
+@include ax_func_snprintf.texi
+@include ax_func_which_gethostbyname_r.texi
+@include ax_func_which_getservbyname_r.texi
+@include ax_gcc_archflag.texi
+@include ax_gcc_builtin.texi
+@include ax_gcc_const_call.texi
+@include ax_gcc_func_attribute.texi
+@include ax_gcc_lib.texi
+@include ax_gcc_libgcc_eh.texi
+@include ax_gcc_libsupcxx.texi
+@include ax_gcc_malloc_call.texi
+@include ax_gcc_var_attribute.texi
+@include ax_gcc_warn_unused_result.texi
+@include ax_gcc_x86_avx_xgetbv.texi
+@include ax_gcc_x86_cpu_supports.texi
+@include ax_gcc_x86_cpuid.texi
+@include ax_generate_changelog.texi
+@include ax_gnu_autotest.texi
+@include ax_have_adns.texi
+@include ax_have_epoll.texi
+@include ax_have_poll.texi
+@include ax_have_qt.texi
+@include ax_have_select.texi
+@include ax_include_strcasecmp.texi
+@include ax_install_files.texi
+@include ax_int128.texi
+@include ax_is_release.texi
+@include ax_java_check_class.texi
+@include ax_java_options.texi
+@include ax_jni_include_dir.texi
+@include ax_lapack.texi
+@include ax_lib_beecrypt.texi
+@include ax_lib_cgal_core.texi
+@include ax_lib_crypto.texi
+@include ax_lib_curl.texi
+@include ax_lib_ev.texi
+@include ax_lib_expat.texi
+@include ax_lib_firebird.texi
+@include ax_lib_gcrypt.texi
+@include ax_lib_gdal.texi
+@include ax_lib_hdf5.texi
+@include ax_lib_id3.texi
+@include ax_lib_libkml.texi
+@include ax_lib_metis.texi
+@include ax_lib_mysql.texi
+@include ax_lib_mysqlcppconn.texi
+@include ax_lib_netcdf4.texi
+@include ax_lib_nettle.texi
+@include ax_lib_nokalva.texi
+@include ax_lib_oracle_occi.texi
+@include ax_lib_oracle_oci.texi
+@include ax_lib_orbit2.texi
+@include ax_lib_postgresql.texi
+@include ax_lib_readline.texi
+@include ax_lib_samtools.texi
+@include ax_lib_socket_nsl.texi
+@include ax_lib_sqlite3.texi
+@include ax_lib_tabix.texi
+@include ax_lib_taglib.texi
+@include ax_lib_trace.texi
+@include ax_lib_upnp.texi
+@include ax_lib_wad.texi
+@include ax_lib_xalan.texi
+@include ax_lib_xerces.texi
+@include ax_lib_xml_security.texi
+@include ax_libgcj_jar.texi
+@include ax_libtoolize_cflags.texi
+@include ax_llvm.texi
+@include ax_lua.texi
+@include ax_luarocks_rock.texi
+@include ax_maintainer_mode_auto_silent.texi
+@include ax_missing_prog.texi
+@include ax_mpi.texi
+@include ax_mpip.texi
+@include ax_ms_cpprest.texi
+@include ax_need_awk.texi
+@include ax_normalize_path.texi
+@include ax_not_enable_frame_pointer.texi
+@include ax_numeric_namedlevel.texi
+@include ax_open62541_check_h.texi
+@include ax_open62541_check_lib.texi
+@include ax_open62541_path.texi
+@include ax_openmp.texi
+@include ax_patch_libtool_changing_cmds_ifs.texi
+@include ax_path_bdb.texi
+@include ax_path_generic.texi
+@include ax_path_lib_pcre.texi
+@include ax_path_milter.texi
+@include ax_path_missing.texi
+@include ax_perl_ext.texi
+@include ax_perl_ext_flags.texi
+@include ax_perl_module_version.texi
+@include ax_pgsql_priv_root.texi
+@include ax_pkg_check_modules.texi
+@include ax_pkg_mico.texi
+@include ax_pkg_swig.texi
+@include ax_prefix_config_h.texi
+@include ax_prepend_flag.texi
+@include ax_print_to_file.texi
+@include ax_printf_size_t.texi
+@include ax_prog_apache.texi
+@include ax_prog_bison.texi
+@include ax_prog_bison_version.texi
+@include ax_prog_cc_char_subscripts.texi
+@include ax_prog_cc_for_build.texi
+@include ax_prog_cc_mpi.texi
+@include ax_prog_cp_s.texi
+@include ax_prog_crontab.texi
+@include ax_prog_cxx_for_build.texi
+@include ax_prog_cxx_mpi.texi
+@include ax_prog_date.texi
+@include ax_prog_dotnetcore_version.texi
+@include ax_prog_doxygen.texi
+@include ax_prog_emacs.texi
+@include ax_prog_f77_mpi.texi
+@include ax_prog_fasm.texi
+@include ax_prog_fasm_opt.texi
+@include ax_prog_fc_mpi.texi
+@include ax_prog_fig2dev.texi
+@include ax_prog_flex.texi
+@include ax_prog_flex_version.texi
+@include ax_prog_gjs.texi
+@include ax_prog_guile_version.texi
+@include ax_prog_haxe_version.texi
+@include ax_prog_help2man.texi
+@include ax_prog_hla.texi
+@include ax_prog_hla_opt.texi
+@include ax_prog_httpd.texi
+@include ax_prog_jar.texi
+@include ax_prog_java.texi
+@include ax_prog_java_cc.texi
+@include ax_prog_java_works.texi
+@include ax_prog_javac.texi
+@include ax_prog_javac_works.texi
+@include ax_prog_javadoc.texi
+@include ax_prog_javah.texi
+@include ax_prog_masm.texi
+@include ax_prog_masm_opt.texi
+@include ax_prog_md5sum.texi
+@include ax_prog_modprobe.texi
+@include ax_prog_mysql.texi
+@include ax_prog_mysqladmin.texi
+@include ax_prog_mysqld.texi
+@include ax_prog_mysqlimport.texi
+@include ax_prog_mysqlshow.texi
+@include ax_prog_nasm.texi
+@include ax_prog_nasm_opt.texi
+@include ax_prog_perl_modules.texi
+@include ax_prog_perl_version.texi
+@include ax_prog_pgclient.texi
+@include ax_prog_python_version.texi
+@include ax_prog_robot.texi
+@include ax_prog_ruby_version.texi
+@include ax_prog_scala.texi
+@include ax_prog_scalac.texi
+@include ax_prog_scp.texi
+@include ax_prog_splint.texi
+@include ax_prog_ssh.texi
+@include ax_prog_tasm.texi
+@include ax_prog_tasm_opt.texi
+@include ax_prog_tcl.texi
+@include ax_prog_xsltproc.texi
+@include ax_prog_yasm.texi
+@include ax_prog_yasm_opt.texi
+@include ax_prototype.texi
+@include ax_prototype_accept.texi
+@include ax_prototype_getsockname.texi
+@include ax_prototype_setsockopt.texi
+@include ax_pthread.texi
+@include ax_python.texi
+@include ax_python_config_var.texi
+@include ax_python_devel.texi
+@include ax_python_embed.texi
+@include ax_python_module.texi
+@include ax_python_module_version.texi
+@include ax_r_package.texi
+@include ax_recursive_eval.texi
+@include ax_require_defined.texi
+@include ax_require_one_func.texi
+@include ax_restore_flags.texi
+@include ax_restore_flags_with_prefix.texi
+@include ax_rpm_init.texi
+@include ax_ruby_devel.texi
+@include ax_ruby_ext.texi
+@include ax_save_flags.texi
+@include ax_save_flags_with_prefix.texi
+@include ax_set_default_paths_system.texi
+@include ax_short_sleep.texi
+@include ax_silent_mode.texi
+@include ax_sip_devel.texi
+@include ax_spec_file.texi
+@include ax_spec_package_version.texi
+@include ax_split_version.texi
+@include ax_string_strcasecmp.texi
+@include ax_strings_strcasecmp.texi
+@include ax_struct_semun.texi
+@include ax_subdir_files.texi
+@include ax_subdirs_configure.texi
+@include ax_subst_with.texi
+@include ax_swig_enable_cxx.texi
+@include ax_swig_multi_module_support.texi
+@include ax_swig_python.texi
+@include ax_switch_flags.texi
+@include ax_sys_dev_poll.texi
+@include ax_sys_largefile_sensitive.texi
+@include ax_sys_perlsharpbang.texi
+@include ax_sys_weak_alias.texi
+@include ax_sysv_ipc.texi
+@include ax_tls.texi
+@include ax_trilinos_amesos.texi
+@include ax_trilinos_base.texi
+@include ax_trilinos_epetra.texi
+@include ax_trilinos_epetraext.texi
+@include ax_trilinos_epetraext_hdf5.texi
+@include ax_trilinos_rtop.texi
+@include ax_trilinos_rythmos.texi
+@include ax_trilinos_teuchos.texi
+@include ax_trilinos_thyra.texi
+@include ax_trilinos_thyra_epetra.texi
+@include ax_trilinos_thyra_epetraext.texi
+@include ax_try_awk_anyout.texi
+@include ax_try_awk_expout.texi
+@include ax_try_compile_java.texi
+@include ax_try_run_java.texi
+@include ax_type_socklen_t.texi
+@include ax_upload.texi
+@include ax_valgrind_check.texi
+@include ax_var_pop.texi
+@include ax_var_push.texi
+@include ax_var_timezone_externals.texi
+@include ax_very_nice.texi
+@include ax_warning_default_aclocaldir.texi
+@include ax_warning_default_pkgconfig.texi
+@include ax_wint_t.texi
+@include ax_with_apxs.texi
+@include ax_with_build_path.texi
+@include ax_with_curses.texi
+@include ax_with_curses_extra.texi
+@include ax_with_dmalloc.texi
+@include ax_with_mpatrol.texi
+@include ax_with_prog.texi
+@include ax_xercesc.texi
+@include ax_xsdcxx.texi
+@include ax_xtra_classpath.texi
+@include ax_zmq.texi
+@include ax_zoneinfo.texi
--- /dev/null
+This is autoconf-archive.info, produced by makeinfo version 6.8 from
+autoconf-archive.texi.
+
+This manual is for GNU Autoconf Archive version 2022.02.11, a collection
+of freely re-usable Autoconf macros.
+
+Copyright (C) 2022 Autoconf Archive Maintainers
+<autoconf-archive-maintainers@gnu.org>
+
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3 or
+any later version published by the Free Software Foundation; with no
+Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
+copy of the license is included in the section entitled "GNU Free
+Documentation License".
+INFO-DIR-SECTION Software development
+START-INFO-DIR-ENTRY
+* Autoconf Archive: (autoconf-archive). A collection of re-usable Autoconf macros.
+END-INFO-DIR-ENTRY
+
+\1f
+File: autoconf-archive.info, Node: Top, Next: Introduction, Up: (dir)
+
+GNU Autoconf Archive
+********************
+
+This manual is for GNU Autoconf Archive version 2022.02.11, a collection
+of freely re-usable Autoconf macros.
+
+Copyright (C) 2022 Autoconf Archive Maintainers
+<autoconf-archive-maintainers@gnu.org>
+
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3 or
+any later version published by the Free Software Foundation; with no
+Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
+copy of the license is included in the section entitled "GNU Free
+Documentation License".
+
+* Menu:
+
+* Introduction:: Project Synopsis, home page links, etc.
+* Downloads:: How to find git repository and release tarballs.
+* How to contribute:: Submission Guidelines.
+* The Macros:: Alphabetic index of all macros.
+* GNU Free Documentation License:: Copying and sharing this manual.
+
+\1f
+File: autoconf-archive.info, Node: Introduction, Next: Downloads, Prev: Top, Up: Top
+
+1 Introduction
+**************
+
+The GNU Autoconf Archive is a collection of more than 500 macros for GNU
+Autoconf (https://www.gnu.org/software/autoconf) that have been
+contributed as free software by friendly supporters of the cause from
+all over the Internet. Every single one of those macros can be re-used
+without imposing any restrictions whatsoever on the licensing of the
+generated 'configure' script. In particular, it is possible to use all
+those macros in 'configure' scripts that are meant for non-free
+software. This policy is unusual for a Free Software Foundation
+project. The FSF firmly believes that software ought to be free, and
+software licenses like the GPL are specifically designed to ensure that
+derivative work based on free software must be free as well. In case of
+Autoconf, however, an exception has been made, because Autoconf is at
+such a pivotal position in the software development tool chain that the
+benefits from having this tool available as widely as possible outweigh
+the disadvantage that some authors may choose to use it, too, for
+proprietary software.
+
+This official web site of this project is located at
+<https://www.gnu.org/software/autoconf-archive/>. All available
+information concerning this project is referenced from there.
+
+If you have questions, suggestions, are any other feedback that you'd
+like to share, then please don't hesitate to contact the Archive
+maintainers at <autoconf-archive-maintainers@gnu.org>.
+
+\1f
+File: autoconf-archive.info, Node: Downloads, Next: How to contribute, Prev: Introduction, Up: Top
+
+2 Downloading the GNU Autoconf Archive
+**************************************
+
+The macros distributed by the Archive are maintained in a public Git
+repository at 'git://git.sv.gnu.org/autoconf-archive.git'. That
+repository can be cloned anonymously, which is probably the most
+convenient way to access the Archive. Gitweb offers an RSS feed
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=rss) for
+subscription that informs about changes to the repository. The same
+information is available via e-mail, too, on the commits mailing list
+(http://lists.gnu.org/mailman/listinfo/autoconf-archive-commits).
+
+For the benefit of everyone who doesn't use Git, traditional release
+archives can be downloaded from any GNU mirror, i.e.
+<http://ftpmirror.gnu.org/autoconf-archive/>. New release are always
+announced on the low-traffic announcements mailing list
+(http://lists.gnu.org/mailman/listinfo/autoconf-archive-announce).
+
+\1f
+File: autoconf-archive.info, Node: How to contribute, Next: The Macros, Prev: Downloads, Up: Top
+
+3 How to contribute to the GNU Autoconf Archive
+***********************************************
+
+3.1 Macro Format
+================
+
+Each macro in the Archive has an all-upper-case name with the prefix
+'AX_'. The macro is stored in a file with the same name, in lower case,
+and with the suffix '.m4'. Unless absolutely necessary, the file
+contents should be in ASCII. For example, use apostrophe (U+27) for
+quoting identifiers instead of Unicode quotation mark characters U+2018,
+U+2019.
+
+The file should begin with a header comment containing three named
+sections: synopsis, description, and license.
+
+The synopsis gives a summary of the macro usage and arguments. In this
+section, square brackets ('[]') are used to indicate optional
+parameters, and may be nested.
+
+The description contains a prose description of the macro. It should
+describe the function of the macro, and the meaning of any arguments
+given in the synopsis. The description should also identify:
+
+ * any default macro parameter values
+ * any new '--with' or '--enable' options, and their default values
+ * any argument variables consulted ('AC_ARG_VAR')
+ * any substituted variables ('AC_SUBST')
+ * any defined precompiler constants ('AC_DEFINE')
+
+Macros should be defined with 'AC_DEFUN', using correct quoting.
+Comments should be used liberally within the macro, with 'dnl' used for
+comments at the m4sh level and '#' used for comments at the shell level.
+
+If a macro is renamed, the 'AU_ALIAS' macro should be used to guide
+users of the old name to the new name:
+
+ AU_ALIAS([OLD_NAME], [AX_NEW_NAME])
+
+3.2 Submitting Macros
+=====================
+
+To submit updates to the Autoconf Archive, please create an issue in the
+patch tracker
+(http://savannah.gnu.org/patch/?func=additem&group=autoconf-archive) and
+attach a (preferably 'git-format-patch(1)'-formatted) patch file. Users
+of 'github.com' may prefer to create a pull request for the Autoconf
+Archive Mirror at Github
+(https://github.com/autoconf-archive/autoconf-archive). Please make
+sure your submission contains the following items:
+
+ * a synopsis that shows how the macro must be be called,
+
+ * a brief description of the macro's purpose,
+
+ * the list of authors (optionally with e-mail addresses),
+
+ * licensing terms, and
+
+ * the m4 source code.
+
+Macros can be submitted under any GPL-compatible free software license
+(https://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses).
+The Free Software Foundation, however, recommends use of the
+all-permissive license
+(https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html)
+for Autoconf macros.
+
+3.3 Writing Highly Usable Macros
+================================
+
+Autoconf macros are used in a surprising variety of ways, and a
+well-written macro should be flexible enough to suit all of these uses.
+
+See the Autotools Mythbuster
+(http://www.flameeyes.eu/autotools-mythbuster) for suggestions on how to
+write well-encapsulated, portable macros.
+
+\1f
+File: autoconf-archive.info, Node: The Macros, Next: GNU Free Documentation License, Prev: How to contribute, Up: Top
+
+4 The Macros
+************
+
+* Menu:
+
+* ax_absolute_header::
+* ax_ac_append_to_file::
+* ax_ac_print_to_file::
+* ax_add_am_macro::
+* ax_add_am_macro_static::
+* ax_add_am_trilinos_makefile_export::
+* ax_add_fortify_source::
+* ax_add_recursive_am_macro::
+* ax_add_recursive_am_macro_static::
+* ax_afs::
+* ax_am_jobserver::
+* ax_am_macros::
+* ax_am_macros_static::
+* ax_am_override_var::
+* ax_append_compile_flags::
+* ax_append_flag::
+* ax_append_link_flags::
+* ax_append_to_file::
+* ax_arg_with_path_style::
+* ax_asm_inline::
+* ax_at_check_pattern::
+* ax_auto_include_headers::
+* ax_berkeley_db::
+* ax_berkeley_db_cxx::
+* ax_blas::
+* ax_blas_f77_func::
+* ax_boost_asio::
+* ax_boost_atomic::
+* ax_boost_base::
+* ax_boost_chrono::
+* ax_boost_context::
+* ax_boost_coroutine::
+* ax_boost_date_time::
+* ax_boost_filesystem::
+* ax_boost_iostreams::
+* ax_boost_locale::
+* ax_boost_log::
+* ax_boost_log_setup::
+* ax_boost_process::
+* ax_boost_program_options::
+* ax_boost_python::
+* ax_boost_random::
+* ax_boost_regex::
+* ax_boost_serialization::
+* ax_boost_signals::
+* ax_boost_system::
+* ax_boost_test_exec_monitor::
+* ax_boost_thread::
+* ax_boost_unit_test_framework::
+* ax_boost_wave::
+* ax_boost_wserialization::
+* ax_build_date_epoch::
+* ax_c99_inline::
+* ax_c___attribute__::
+* ax_c_arithmetic_rshift::
+* ax_c_compile_value::
+* ax_c_declare_block::
+* ax_c_float_words_bigendian::
+* ax_c_long_long::
+* ax_c_referenceable_passed_va_list::
+* ax_c_var_func::
+* ax_cache_size::
+* ax_caolan_check_package::
+* ax_caolan_search_package::
+* ax_cc_for_build::
+* ax_cc_maxopt::
+* ax_cf_ebcdic::
+* ax_cflags_aix_option::
+* ax_cflags_force_c89::
+* ax_cflags_hpux_option::
+* ax_cflags_irix_option::
+* ax_cflags_no_writable_strings::
+* ax_cflags_strict_prototypes::
+* ax_cflags_sun_option::
+* ax_cflags_warn_all::
+* ax_check_aligned_access_required::
+* ax_check_allocated_ctime::
+* ax_check_awk__v::
+* ax_check_awk__x_escapes::
+* ax_check_awk_and::
+* ax_check_awk_argind::
+* ax_check_awk_array_delete::
+* ax_check_awk_array_delete_elem::
+* ax_check_awk_array_in::
+* ax_check_awk_asort::
+* ax_check_awk_asorti::
+* ax_check_awk_associative_array::
+* ax_check_awk_atan2::
+* ax_check_awk_compl::
+* ax_check_awk_conditional_expression::
+* ax_check_awk_cos::
+* ax_check_awk_environ::
+* ax_check_awk_errno::
+* ax_check_awk_exit::
+* ax_check_awk_exp::
+* ax_check_awk_gensub::
+* ax_check_awk_getline::
+* ax_check_awk_gsub::
+* ax_check_awk_ignorecase::
+* ax_check_awk_index::
+* ax_check_awk_int::
+* ax_check_awk_length::
+* ax_check_awk_log::
+* ax_check_awk_lshift::
+* ax_check_awk_match_2parms::
+* ax_check_awk_match_3parms::
+* ax_check_awk_operator_multiply_multiply::
+* ax_check_awk_operator_square::
+* ax_check_awk_or::
+* ax_check_awk_printf::
+* ax_check_awk_rand::
+* ax_check_awk_rshift::
+* ax_check_awk_sin::
+* ax_check_awk_split::
+* ax_check_awk_sprintf::
+* ax_check_awk_sqrt::
+* ax_check_awk_srand::
+* ax_check_awk_strftime::
+* ax_check_awk_strtonum::
+* ax_check_awk_sub::
+* ax_check_awk_substr::
+* ax_check_awk_system::
+* ax_check_awk_systime::
+* ax_check_awk_tolower::
+* ax_check_awk_toupper::
+* ax_check_awk_user_defined_functions::
+* ax_check_awk_var_regexp::
+* ax_check_awk_variable_value_pairs::
+* ax_check_awk_xor::
+* ax_check_class::
+* ax_check_classpath::
+* ax_check_compile_flag::
+* ax_check_define::
+* ax_check_docbook_dtd::
+* ax_check_docbook_xslt::
+* ax_check_docbook_xslt_min::
+* ax_check_dos_filesys::
+* ax_check_enable_debug::
+* ax_check_func_in::
+* ax_check_gd::
+* ax_check_gir_symbols_gjs::
+* ax_check_girs_gjs::
+* ax_check_gl::
+* ax_check_glu::
+* ax_check_glut::
+* ax_check_glx::
+* ax_check_gnu_make::
+* ax_check_icu::
+* ax_check_java_home::
+* ax_check_java_plugin::
+* ax_check_junit::
+* ax_check_library::
+* ax_check_link_flag::
+* ax_check_mysql::
+* ax_check_mysql_db::
+* ax_check_mysqlr::
+* ax_check_off64_t::
+* ax_check_openssl::
+* ax_check_page_aligned_malloc::
+* ax_check_pathfind::
+* ax_check_pathname_style::
+* ax_check_pcre2::
+* ax_check_pgsql_db::
+* ax_check_posix_regcomp::
+* ax_check_posix_sysinfo::
+* ax_check_postgres_db::
+* ax_check_preproc_flag::
+* ax_check_rqrd_class::
+* ax_check_sign::
+* ax_check_strcspn::
+* ax_check_strftime::
+* ax_check_struct_for::
+* ax_check_symbol::
+* ax_check_sys_siglist::
+* ax_check_typedef::
+* ax_check_uname_syscall::
+* ax_check_user::
+* ax_check_vscript::
+* ax_check_x86_features::
+* ax_check_zlib::
+* ax_code_coverage::
+* ax_compare_version::
+* ax_compile_check_sizeof::
+* ax_compiler_flags::
+* ax_compiler_flags_cflags::
+* ax_compiler_flags_cxxflags::
+* ax_compiler_flags_gir::
+* ax_compiler_flags_ldflags::
+* ax_compiler_vendor::
+* ax_compiler_version::
+* ax_compute_relative_paths::
+* ax_compute_standard_relative_paths::
+* ax_cond_with_level::
+* ax_config_feature::
+* ax_configure_args::
+* ax_count_cpus::
+* ax_cpu_freq::
+* ax_cpu_vendor::
+* ax_create_generic_config::
+* ax_create_pkgconfig_info::
+* ax_create_stdint_h::
+* ax_create_target_h::
+* ax_cvs::
+* ax_cxx_bool::
+* ax_cxx_compile_stdcxx::
+* ax_cxx_compile_stdcxx_0x::
+* ax_cxx_compile_stdcxx_11::
+* ax_cxx_compile_stdcxx_14::
+* ax_cxx_compile_stdcxx_17::
+* ax_cxx_complex_math_in_namespace_std::
+* ax_cxx_const_cast::
+* ax_cxx_cppflags_std_lang::
+* ax_cxx_cxxflags_std_lang::
+* ax_cxx_default_template_parameters::
+* ax_cxx_delete_method::
+* ax_cxx_dtor_after_atexit::
+* ax_cxx_dynamic_cast::
+* ax_cxx_enum_computations::
+* ax_cxx_enum_computations_with_cast::
+* ax_cxx_erase_iterator_type::
+* ax_cxx_exceptions::
+* ax_cxx_explicit::
+* ax_cxx_explicit_instantiations::
+* ax_cxx_explicit_template_function_qualification::
+* ax_cxx_extern_template::
+* ax_cxx_full_specialization_syntax::
+* ax_cxx_function_nontype_parameters::
+* ax_cxx_function_try_blocks::
+* ax_cxx_gcc_abi_demangle::
+* ax_cxx_gnucxx_hashmap::
+* ax_cxx_have_bad_function_call::
+* ax_cxx_have_bind::
+* ax_cxx_have_bit_and::
+* ax_cxx_have_bit_or::
+* ax_cxx_have_bit_xor::
+* ax_cxx_have_complex::
+* ax_cxx_have_complex_math1::
+* ax_cxx_have_complex_math2::
+* ax_cxx_have_cref::
+* ax_cxx_have_empty_iostream::
+* ax_cxx_have_ext_hash_map::
+* ax_cxx_have_ext_hash_set::
+* ax_cxx_have_ext_slist::
+* ax_cxx_have_freeze_sstream::
+* ax_cxx_have_function::
+* ax_cxx_have_hash::
+* ax_cxx_have_ieee_math::
+* ax_cxx_have_is_bind_expression::
+* ax_cxx_have_is_placeholder::
+* ax_cxx_have_koenig_lookup::
+* ax_cxx_have_long_long_for_iostream::
+* ax_cxx_have_mem_fn::
+* ax_cxx_have_numeric_limits::
+* ax_cxx_have_placeholders::
+* ax_cxx_have_ref::
+* ax_cxx_have_reference_wrapper::
+* ax_cxx_have_sstream::
+* ax_cxx_have_std::
+* ax_cxx_have_stl::
+* ax_cxx_have_string_push_back::
+* ax_cxx_have_system_v_math::
+* ax_cxx_have_valarray::
+* ax_cxx_have_vector_at::
+* ax_cxx_header_pre_stdcxx::
+* ax_cxx_header_stdcxx_0x::
+* ax_cxx_header_stdcxx_98::
+* ax_cxx_header_stdcxx_tr1::
+* ax_cxx_header_tr1_unordered_map::
+* ax_cxx_header_tr1_unordered_set::
+* ax_cxx_header_unordered_map::
+* ax_cxx_header_unordered_set::
+* ax_cxx_ldflags_std_lang::
+* ax_cxx_member_constants::
+* ax_cxx_member_templates::
+* ax_cxx_member_templates_outside_class::
+* ax_cxx_mutable::
+* ax_cxx_namespace_std::
+* ax_cxx_namespaces::
+* ax_cxx_new_for_scoping::
+* ax_cxx_old_for_scoping::
+* ax_cxx_partial_ordering::
+* ax_cxx_partial_specialization::
+* ax_cxx_reinterpret_cast::
+* ax_cxx_restrict_this::
+* ax_cxx_rtti::
+* ax_cxx_rvalue_references::
+* ax_cxx_static_cast::
+* ax_cxx_stlport_hashmap::
+* ax_cxx_template_keyword_qualifier::
+* ax_cxx_template_qualified_base_class::
+* ax_cxx_template_qualified_return_type::
+* ax_cxx_template_scoped_argument_matching::
+* ax_cxx_templates::
+* ax_cxx_templates_as_template_arguments::
+* ax_cxx_typename::
+* ax_cxx_use_numtrait::
+* ax_cxx_var_prettyfunc::
+* ax_cxx_verbose_terminate_handler::
+* ax_czmq::
+* ax_decl_wchar_max::
+* ax_define_integer_bits::
+* ax_define_sub_path::
+* ax_dirname::
+* ax_dist_msi::
+* ax_dist_rpm::
+* ax_dll_string::
+* ax_elisp::
+* ax_enable_builddir::
+* ax_execinfo::
+* ax_expand_prefix::
+* ax_ext::
+* ax_ext_check_header::
+* ax_ext_have_lib::
+* ax_extend_srcdir::
+* ax_extra_dist::
+* ax_f77_cmain_fflags::
+* ax_f90_header::
+* ax_f90_internal_headmod::
+* ax_f90_library::
+* ax_f90_library_setup::
+* ax_f90_module::
+* ax_f90_module_extension::
+* ax_f90_module_flag::
+* ax_fc_check_define::
+* ax_file_escapes::
+* ax_find_hamcrest::
+* ax_find_junit::
+* ax_find_scala_stdlib::
+* ax_forceinline::
+* ax_func_accept_argtypes::
+* ax_func_getopt_long::
+* ax_func_memmove::
+* ax_func_mkdir::
+* ax_func_posix_memalign::
+* ax_func_snprintf::
+* ax_func_which_gethostbyname_r::
+* ax_func_which_getservbyname_r::
+* ax_gcc_archflag::
+* ax_gcc_builtin::
+* ax_gcc_const_call::
+* ax_gcc_func_attribute::
+* ax_gcc_lib::
+* ax_gcc_libgcc_eh::
+* ax_gcc_libsupcxx::
+* ax_gcc_malloc_call::
+* ax_gcc_var_attribute::
+* ax_gcc_warn_unused_result::
+* ax_gcc_x86_avx_xgetbv::
+* ax_gcc_x86_cpu_supports::
+* ax_gcc_x86_cpuid::
+* ax_generate_changelog::
+* ax_gnu_autotest::
+* ax_have_adns::
+* ax_have_epoll::
+* ax_have_poll::
+* ax_have_qt::
+* ax_have_select::
+* ax_include_strcasecmp::
+* ax_install_files::
+* ax_int128::
+* ax_is_release::
+* ax_java_check_class::
+* ax_java_options::
+* ax_jni_include_dir::
+* ax_lapack::
+* ax_lib_beecrypt::
+* ax_lib_cgal_core::
+* ax_lib_crypto::
+* ax_lib_curl::
+* ax_lib_ev::
+* ax_lib_expat::
+* ax_lib_firebird::
+* ax_lib_gcrypt::
+* ax_lib_gdal::
+* ax_lib_hdf5::
+* ax_lib_id3::
+* ax_lib_libkml::
+* ax_lib_metis::
+* ax_lib_mysql::
+* ax_lib_mysqlcppconn::
+* ax_lib_netcdf4::
+* ax_lib_nettle::
+* ax_lib_nokalva::
+* ax_lib_oracle_occi::
+* ax_lib_oracle_oci::
+* ax_lib_orbit2::
+* ax_lib_postgresql::
+* ax_lib_readline::
+* ax_lib_samtools::
+* ax_lib_socket_nsl::
+* ax_lib_sqlite3::
+* ax_lib_tabix::
+* ax_lib_taglib::
+* ax_lib_trace::
+* ax_lib_upnp::
+* ax_lib_wad::
+* ax_lib_xalan::
+* ax_lib_xerces::
+* ax_lib_xml_security::
+* ax_libgcj_jar::
+* ax_libtoolize_cflags::
+* ax_llvm::
+* ax_lua::
+* ax_luarocks_rock::
+* ax_maintainer_mode_auto_silent::
+* ax_missing_prog::
+* ax_mpi::
+* ax_mpip::
+* ax_ms_cpprest::
+* ax_need_awk::
+* ax_normalize_path::
+* ax_not_enable_frame_pointer::
+* ax_numeric_namedlevel::
+* ax_open62541_check_h::
+* ax_open62541_check_lib::
+* ax_open62541_path::
+* ax_openmp::
+* ax_patch_libtool_changing_cmds_ifs::
+* ax_path_bdb::
+* ax_path_generic::
+* ax_path_lib_pcre::
+* ax_path_milter::
+* ax_path_missing::
+* ax_perl_ext::
+* ax_perl_ext_flags::
+* ax_perl_module_version::
+* ax_pgsql_priv_root::
+* ax_pkg_check_modules::
+* ax_pkg_mico::
+* ax_pkg_swig::
+* ax_prefix_config_h::
+* ax_prepend_flag::
+* ax_print_to_file::
+* ax_printf_size_t::
+* ax_prog_apache::
+* ax_prog_bison::
+* ax_prog_bison_version::
+* ax_prog_cc_char_subscripts::
+* ax_prog_cc_for_build::
+* ax_prog_cc_mpi::
+* ax_prog_cp_s::
+* ax_prog_crontab::
+* ax_prog_cxx_for_build::
+* ax_prog_cxx_mpi::
+* ax_prog_date::
+* ax_prog_dotnetcore_version::
+* ax_prog_doxygen::
+* ax_prog_emacs::
+* ax_prog_f77_mpi::
+* ax_prog_fasm::
+* ax_prog_fasm_opt::
+* ax_prog_fc_mpi::
+* ax_prog_fig2dev::
+* ax_prog_flex::
+* ax_prog_flex_version::
+* ax_prog_gjs::
+* ax_prog_guile_version::
+* ax_prog_haxe_version::
+* ax_prog_help2man::
+* ax_prog_hla::
+* ax_prog_hla_opt::
+* ax_prog_httpd::
+* ax_prog_jar::
+* ax_prog_java::
+* ax_prog_java_cc::
+* ax_prog_java_works::
+* ax_prog_javac::
+* ax_prog_javac_works::
+* ax_prog_javadoc::
+* ax_prog_javah::
+* ax_prog_masm::
+* ax_prog_masm_opt::
+* ax_prog_md5sum::
+* ax_prog_modprobe::
+* ax_prog_mysql::
+* ax_prog_mysqladmin::
+* ax_prog_mysqld::
+* ax_prog_mysqlimport::
+* ax_prog_mysqlshow::
+* ax_prog_nasm::
+* ax_prog_nasm_opt::
+* ax_prog_perl_modules::
+* ax_prog_perl_version::
+* ax_prog_pgclient::
+* ax_prog_python_version::
+* ax_prog_robot::
+* ax_prog_ruby_version::
+* ax_prog_scala::
+* ax_prog_scalac::
+* ax_prog_scp::
+* ax_prog_splint::
+* ax_prog_ssh::
+* ax_prog_tasm::
+* ax_prog_tasm_opt::
+* ax_prog_tcl::
+* ax_prog_xsltproc::
+* ax_prog_yasm::
+* ax_prog_yasm_opt::
+* ax_prototype::
+* ax_prototype_accept::
+* ax_prototype_getsockname::
+* ax_prototype_setsockopt::
+* ax_pthread::
+* ax_python::
+* ax_python_config_var::
+* ax_python_devel::
+* ax_python_embed::
+* ax_python_module::
+* ax_python_module_version::
+* ax_r_package::
+* ax_recursive_eval::
+* ax_require_defined::
+* ax_require_one_func::
+* ax_restore_flags::
+* ax_restore_flags_with_prefix::
+* ax_rpm_init::
+* ax_ruby_devel::
+* ax_ruby_ext::
+* ax_save_flags::
+* ax_save_flags_with_prefix::
+* ax_set_default_paths_system::
+* ax_short_sleep::
+* ax_silent_mode::
+* ax_sip_devel::
+* ax_spec_file::
+* ax_spec_package_version::
+* ax_split_version::
+* ax_string_strcasecmp::
+* ax_strings_strcasecmp::
+* ax_struct_semun::
+* ax_subdir_files::
+* ax_subdirs_configure::
+* ax_subst_with::
+* ax_swig_enable_cxx::
+* ax_swig_multi_module_support::
+* ax_swig_python::
+* ax_switch_flags::
+* ax_sys_dev_poll::
+* ax_sys_largefile_sensitive::
+* ax_sys_perlsharpbang::
+* ax_sys_weak_alias::
+* ax_sysv_ipc::
+* ax_tls::
+* ax_trilinos_amesos::
+* ax_trilinos_base::
+* ax_trilinos_epetra::
+* ax_trilinos_epetraext::
+* ax_trilinos_epetraext_hdf5::
+* ax_trilinos_rtop::
+* ax_trilinos_rythmos::
+* ax_trilinos_teuchos::
+* ax_trilinos_thyra::
+* ax_trilinos_thyra_epetra::
+* ax_trilinos_thyra_epetraext::
+* ax_try_awk_anyout::
+* ax_try_awk_expout::
+* ax_try_compile_java::
+* ax_try_run_java::
+* ax_type_socklen_t::
+* ax_upload::
+* ax_valgrind_check::
+* ax_var_pop::
+* ax_var_push::
+* ax_var_timezone_externals::
+* ax_very_nice::
+* ax_warning_default_aclocaldir::
+* ax_warning_default_pkgconfig::
+* ax_wint_t::
+* ax_with_apxs::
+* ax_with_build_path::
+* ax_with_curses::
+* ax_with_curses_extra::
+* ax_with_dmalloc::
+* ax_with_mpatrol::
+* ax_with_prog::
+* ax_xercesc::
+* ax_xsdcxx::
+* ax_xtra_classpath::
+* ax_zmq::
+* ax_zoneinfo::
+
+\1f
+File: autoconf-archive.info, Node: ax_absolute_header, Next: ax_ac_append_to_file, Up: The Macros
+
+ax_absolute_header
+==================
+
+Synopsis
+********
+
+ AX_ABSOLUTE_HEADER(HEADER1 HEADER2 ...)
+
+Description
+***********
+
+Find the absolute name of a header file, assuming the header exists. If
+the header were sys/inttypes.h, this macro would define
+ABSOLUTE_SYS_INTTYPES_H to the '""' quoted absolute name of
+sys/inttypes.h in config.h (e.g. '#define ABSOLUTE_SYS_INTTYPES_H
+"///usr/include/sys/inttypes.h"'). The three "///" are to pacify Sun C
+5.8, which otherwise would say "warning: #include of /usr/include/...
+may be non-portable". Use '""', not '<>', so that the /// cannot be
+confused with a C99 comment.
+
+Source Code
+***********
+
+Download the latest version of 'ax_absolute_header.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_absolute_header.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_absolute_header.m4).
+
+License
+*******
+
+Copyright (C) 2009 Derek Price
+Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_ac_append_to_file, Next: ax_ac_print_to_file, Prev: ax_absolute_header, Up: The Macros
+
+ax_ac_append_to_file
+====================
+
+Synopsis
+********
+
+ AX_AC_APPEND_TO_FILE([FILE],[DATA])
+
+Description
+***********
+
+Appends the specified data to the specified Autoconf is run. If you
+want to append to a file when configure is run use AX_APPEND_TO_FILE
+instead.
+
+Source Code
+***********
+
+Download the latest version of 'ax_ac_append_to_file.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ac_append_to_file.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ac_append_to_file.m4).
+
+License
+*******
+
+Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_ac_print_to_file, Next: ax_add_am_macro, Prev: ax_ac_append_to_file, Up: The Macros
+
+ax_ac_print_to_file
+===================
+
+Synopsis
+********
+
+ AX_AC_PRINT_TO_FILE([FILE],[DATA])
+
+Description
+***********
+
+Writes the specified data to the specified file when Autoconf is run.
+If you want to print to a file when configure is run use
+AX_PRINT_TO_FILE instead.
+
+Source Code
+***********
+
+Download the latest version of 'ax_ac_print_to_file.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ac_print_to_file.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ac_print_to_file.m4).
+
+License
+*******
+
+Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_add_am_macro, Next: ax_add_am_macro_static, Prev: ax_ac_print_to_file, Up: The Macros
+
+ax_add_am_macro
+===============
+
+Synopsis
+********
+
+ AX_ADD_AM_MACRO([RULE])
+
+Description
+***********
+
+Adds the specified rule to $AMINCLUDE. This macro will only work
+properly with implementations of Make which allow include statements.
+See also AX_ADD_AM_MACRO_STATIC.
+
+Source Code
+***********
+
+Download the latest version of 'ax_add_am_macro.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_am_macro.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_am_macro.m4).
+
+License
+*******
+
+Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_add_am_macro_static, Next: ax_add_am_trilinos_makefile_export, Prev: ax_add_am_macro, Up: The Macros
+
+ax_add_am_macro_static
+======================
+
+Synopsis
+********
+
+ AX_ADD_AM_MACRO_STATIC([RULE])
+
+Description
+***********
+
+Adds the specified rule to $AMINCLUDE.
+
+Source Code
+***********
+
+Download the latest version of 'ax_add_am_macro_static.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_am_macro_static.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_am_macro_static.m4).
+
+License
+*******
+
+Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
+Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_add_am_trilinos_makefile_export, Next: ax_add_fortify_source, Prev: ax_add_am_macro_static, Up: The Macros
+
+ax_add_am_trilinos_makefile_export
+==================================
+
+Synopsis
+********
+
+ AX_ADD_AM_TRILINOS_MAKEFILE_EXPORT(EXPORT_SUFFIX [, ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+Checks if a file named <Makefile.export.EXPORT_SUFFIX> appears in the
+$TRILINOS_INCLUDE directory. If so, adds an include for it using the
+AX_AM_MACROS framework.
+
+If ACTION-IF-NOT-FOUND is not provided, configure fails.
+
+Source Code
+***********
+
+Download the latest version of 'ax_add_am_trilinos_makefile_export.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_am_trilinos_makefile_export.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_am_trilinos_makefile_export.m4).
+
+License
+*******
+
+Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_add_fortify_source, Next: ax_add_recursive_am_macro, Prev: ax_add_am_trilinos_makefile_export, Up: The Macros
+
+ax_add_fortify_source
+=====================
+
+Synopsis
+********
+
+ AX_ADD_FORTIFY_SOURCE
+
+Description
+***********
+
+Check whether -D_FORTIFY_SOURCE=2 can be added to CPPFLAGS without macro
+redefinition warnings, other cpp warnings or linker. Some distributions
+(such as Gentoo Linux) enable _FORTIFY_SOURCE globally in their
+compilers, leading to unnecessary warnings in the form of
+
+ <command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
+ <built-in>: note: this is the location of the previous definition
+
+which is a problem if -Werror is enabled. This macro checks whether
+_FORTIFY_SOURCE is already defined, and if not, adds -D_FORTIFY_SOURCE=2
+to CPPFLAGS.
+
+Newer mingw-w64 msys2 package comes with a bug in
+headers-git-7.0.0.5546.d200317d-1. It broke -D_FORTIFY_SOURCE support,
+and would need -lssp or -fstack-protector. See
+https://github.com/msys2/MINGW-packages/issues/5803. Try to actually
+link it.
+
+Source Code
+***********
+
+Download the latest version of 'ax_add_fortify_source.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_fortify_source.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_fortify_source.m4).
+
+License
+*******
+
+Copyright (C) 2017 David Seifert <soap@gentoo.org>
+Copyright (C) 2019 Reini Urban <rurban@cpan.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_add_recursive_am_macro, Next: ax_add_recursive_am_macro_static, Prev: ax_add_fortify_source, Up: The Macros
+
+ax_add_recursive_am_macro
+=========================
+
+Synopsis
+********
+
+ AX_ADD_RECURSIVE_AM_MACRO([TARGET],[RULE])
+
+Description
+***********
+
+Adds the specified rule to $AMINCLUDE along with a TARGET-recursive rule
+that will call TARGET for the current directory and TARGET-am
+recursively for each subdirectory. See also
+AX_ADD_RECURSIVE_AM_MACRO_STATIC.
+
+Source Code
+***********
+
+Download the latest version of 'ax_add_recursive_am_macro.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_recursive_am_macro.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_recursive_am_macro.m4).
+
+License
+*******
+
+Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_add_recursive_am_macro_static, Next: ax_afs, Prev: ax_add_recursive_am_macro, Up: The Macros
+
+ax_add_recursive_am_macro_static
+================================
+
+Synopsis
+********
+
+ AX_ADD_RECURSIVE_AM_MACRO_STATIC([TARGET],[RULE])
+
+Description
+***********
+
+Adds the specified rule to AMINCLUDE_STATIC along with a
+TARGET-recursive rule that will call TARGET for the current directory
+and TARGET-am recursively for each subdirectory.
+
+Source Code
+***********
+
+Download the latest version of 'ax_add_recursive_am_macro_static.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_recursive_am_macro_static.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_recursive_am_macro_static.m4).
+
+License
+*******
+
+Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
+Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_afs, Next: ax_am_jobserver, Prev: ax_add_recursive_am_macro_static, Up: The Macros
+
+ax_afs
+======
+
+Synopsis
+********
+
+ AX_AFS
+
+Description
+***********
+
+This sets up the proper includes and libs needed for building programs
+that link with AFS. It adds a -with-afsdir option that lets you specify
+where the AFS includes and libs are (defaulting to /usr/afsws).
+
+It also adds the -I and -L options to CPPFLAGS and LDFLAGS
+
+It creates an AC_SUBST(AFSWS) that contains the directory being used.
+
+It checks for -lBSD, -lsocket and -lnsl since AFS needs those if they
+exist. It also adds -R/usr/ucblib -L/usr/ucblib -lucb if on Solaris.
+
+It sets VICE_ETC_PATH to be the directory where /usr/vice/etc lives,
+since AFS 3.4 uses a different define than AFS 3.5 does for that path.
+
+Finally, it defines AFS_int32 to be the in32 type needed. In older
+versions of afs it was 'int32', and in newer versions it's 'afs_int32'.
+
+Source Code
+***********
+
+Download the latest version of 'ax_afs.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_afs.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_afs.m4).
+
+License
+*******
+
+Copyright (C) 2008 Scott Grosch <Scott.Grosch@intel.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_am_jobserver, Next: ax_am_macros, Prev: ax_afs, Up: The Macros
+
+ax_am_jobserver
+===============
+
+Synopsis
+********
+
+ AX_AM_JOBSERVER([default_value])
+
+Description
+***********
+
+Enables the use of make's jobserver for the purpose of parallel building
+by passing the -j option to make.
+
+The option -enable-jobserver is added to configure which can accept a
+yes, no, or an integer. The integer is the number of separate jobs to
+allow. If 'yes' is given, then the is assumed to be one more than the
+number of CPUs (determined through AX_COUNT_CPUS). If the value of no is
+given, then the jobserver is disabled. The default value is given by
+the first argument of the macro, or 'yes' if the argument is omitted.
+
+This macro makes use of AX_AM_MACROS, so you must add the following line
+
+ @INC_AMINCLUDE@
+
+to your Makefile.am files.
+
+Source Code
+***********
+
+Download the latest version of 'ax_am_jobserver.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_jobserver.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_jobserver.m4).
+
+License
+*******
+
+Copyright (C) 2008 Michael Paul Bailey <jinxidoru@byu.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_am_macros, Next: ax_am_macros_static, Prev: ax_am_jobserver, Up: The Macros
+
+ax_am_macros
+============
+
+Synopsis
+********
+
+ AX_AM_MACROS
+
+Description
+***********
+
+Adds support for macros that create Make rules. You must manually add
+the following line
+
+ @INC_AMINCLUDE@
+
+to your Makefile.in (or Makefile.am if you use Automake) files.
+
+Source Code
+***********
+
+Download the latest version of 'ax_am_macros.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_macros.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_macros.m4).
+
+License
+*******
+
+Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_am_macros_static, Next: ax_am_override_var, Prev: ax_am_macros, Up: The Macros
+
+ax_am_macros_static
+===================
+
+Synopsis
+********
+
+ AX_AM_MACROS_STATIC
+
+Description
+***********
+
+Adds support for macros that create Automake rules. You must manually
+add the following line
+
+ include $(top_srcdir)/aminclude_static.am
+
+to your Makefile.am files.
+
+Source Code
+***********
+
+Download the latest version of 'ax_am_macros_static.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_macros_static.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_macros_static.m4).
+
+License
+*******
+
+Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
+Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_am_override_var, Next: ax_append_compile_flags, Prev: ax_am_macros_static, Up: The Macros
+
+ax_am_override_var
+==================
+
+Synopsis
+********
+
+ AX_AM_OVERRIDE_VAR([varname1 varname ... ])
+ AX_AM_OVERRIDE_FINALIZE
+
+Description
+***********
+
+This autoconf macro generalizes the approach given in
+<http://lists.gnu.org/archive/html/automake/2005-09/msg00108.html> which
+moves user specified values for variable 'varname' given at configure
+time into the corresponding AM_${varname} variable and clears out
+'varname', allowing further manipulation by the configure script so that
+target specific variables can be given specialized versions. 'varname
+may still be specified on the make command line and will be appended as
+usual.
+
+As an example usage, consider a project which might benefit from
+different compiler flags for different components. Typically this is
+done via target specific flags, e.g.
+
+ libgtest_la_CXXFLAGS = \
+ -I $(top_srcdir)/tests \
+ -I $(top_builddir)/tests \
+ $(GTEST_CXXFLAGS)
+
+automake will automatically append $(CXXFLAGS) - provided by the user -
+to the build rule for libgtest_la. That might be problematic, as
+CXXFLAGS may contain compiler options which are inappropriate for
+libgtest_la.
+
+The approach laid out in the referenced mailing list message is to
+supply a base value for a variable during _configure_ time, during which
+it is possible to amend it for specific targets. The user may
+subsequently specify a value for the variable during _build_ time, which
+make will apply (via the standard automake rules) to all appropriate
+targets.
+
+For example,
+
+ AX_AM_OVERRIDE_VAR([CXXFLAGS])
+
+will store the value of CXXFLAGS specified at configure time into the
+AM_CXXFLAGS variable, AC_SUBST it, and clear CXXFLAGS. configure may
+then create a target specific set of flags based upon AM_CXXFLAGS, e.g.
+
+ # googletest uses variadic macros, which g++ -pedantic-errors
+ # is very unhappy about
+ AC_SUBST([GTEST_CXXFLAGS],
+ [`AS_ECHO_N(["$AM_CXXFLAGS"]) \
+ | sed s/-pedantic-errors/-pedantic/`
+ ]
+ )
+
+which would be used in a Makefile.am as above. Since CXXFLAGS is
+cleared, the configure time value will not affect the build for
+libgtest_la.
+
+Prior to _any other command_ which may set ${varname}, call
+
+ AX_AM_OVERRIDE_VAR([varname])
+
+This will preserve the value (if any) passed to configure in
+AM_${varname} and AC_SUBST([AM_${varname}). You may pass a space
+separated list of variable names, or may call AX_AM_OVERRIDE_VAR
+multiple times for the same effect.
+
+If any subsequent configure commands set ${varname} and you wish to
+capture the resultant value into AM_${varname} in the case where
+${varname} was _not_ provided at configure time, call
+
+ AX_AM_OVERRIDE_FINALIZE
+
+after _all_ commands which might affect any of the variables specified
+in calls to AX_AM_OVERRIDE_VAR. This need be done only once, but
+repeated calls will not cause harm.
+
+There is a bit of trickery required to allow further manipulation of the
+AM_${varname} in a Makefile.am file. If AM_CFLAGS is used as is in a
+Makefile.am, e.g.
+
+ libfoo_la_CFLAGS = $(AM_CFLAGS)
+
+then automake will emit code in Makefile.in which sets AM_CFLAGS from
+the configure'd value.
+
+If however, AM_CFLAGS is manipulated (i.e. appended to), you will have
+to explicitly arrange for the configure'd value to be substituted:
+
+ AM_CFLAGS = @AM_CFLAGS@
+ AM_CFLAGS += -lfoo
+
+or else automake will complain about using += before =.
+
+Source Code
+***********
+
+Download the latest version of 'ax_am_override_var.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_override_var.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_override_var.m4).
+
+License
+*******
+
+Copyright (C) 2013 Smithsonian Astrophysical Observatory
+Copyright (C) 2013 Diab Jerius <djerius@cfa.harvard.edu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_append_compile_flags, Next: ax_append_flag, Prev: ax_am_override_var, Up: The Macros
+
+ax_append_compile_flags
+=======================
+
+Synopsis
+********
+
+ AX_APPEND_COMPILE_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT])
+
+Description
+***********
+
+For every FLAG1, FLAG2 it is checked whether the compiler works with the
+flag. If it does, the flag is added FLAGS-VARIABLE
+
+If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
+CFLAGS) is used. During the check the flag is always added to the
+current language's flags.
+
+If EXTRA-FLAGS is defined, it is added to the current language's default
+flags (e.g. CFLAGS) when the check is done. The check is thus made
+with the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used
+to force the compiler to issue an error when a bad flag is given.
+
+INPUT gives an alternative input source to AC_COMPILE_IFELSE.
+
+NOTE: This macro depends on the AX_APPEND_FLAG and
+AX_CHECK_COMPILE_FLAG. Please keep this macro in sync with
+AX_APPEND_LINK_FLAGS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_append_compile_flags.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_compile_flags.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_compile_flags.m4).
+
+License
+*******
+
+Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_append_flag, Next: ax_append_link_flags, Prev: ax_append_compile_flags, Up: The Macros
+
+ax_append_flag
+==============
+
+Synopsis
+********
+
+ AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE])
+
+Description
+***********
+
+FLAG is appended to the FLAGS-VARIABLE shell variable, with a space
+added in between.
+
+If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
+CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains
+FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly
+FLAG.
+
+NOTE: Implementation based on AX_CFLAGS_GCC_OPTION.
+
+Source Code
+***********
+
+Download the latest version of 'ax_append_flag.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_flag.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_flag.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_append_link_flags, Next: ax_append_to_file, Prev: ax_append_flag, Up: The Macros
+
+ax_append_link_flags
+====================
+
+Synopsis
+********
+
+ AX_APPEND_LINK_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT])
+
+Description
+***********
+
+For every FLAG1, FLAG2 it is checked whether the linker works with the
+flag. If it does, the flag is added FLAGS-VARIABLE
+
+If FLAGS-VARIABLE is not specified, the linker's flags (LDFLAGS) is
+used. During the check the flag is always added to the linker's flags.
+
+If EXTRA-FLAGS is defined, it is added to the linker's default flags
+when the check is done. The check is thus made with the flags: "LDFLAGS
+EXTRA-FLAGS FLAG". This can for example be used to force the linker to
+issue an error when a bad flag is given.
+
+INPUT gives an alternative input source to AC_COMPILE_IFELSE.
+
+NOTE: This macro depends on the AX_APPEND_FLAG and AX_CHECK_LINK_FLAG.
+Please keep this macro in sync with AX_APPEND_COMPILE_FLAGS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_append_link_flags.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_link_flags.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_link_flags.m4).
+
+License
+*******
+
+Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_append_to_file, Next: ax_arg_with_path_style, Prev: ax_append_link_flags, Up: The Macros
+
+ax_append_to_file
+=================
+
+Synopsis
+********
+
+ AX_APPEND_TO_FILE([FILE],[DATA])
+
+Description
+***********
+
+Appends the specified data to the specified file.
+
+Source Code
+***********
+
+Download the latest version of 'ax_append_to_file.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_to_file.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_to_file.m4).
+
+License
+*******
+
+Copyright (C) 2008 Tom Howard <tomhoward@users.sf.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_arg_with_path_style, Next: ax_asm_inline, Prev: ax_append_to_file, Up: The Macros
+
+ax_arg_with_path_style
+======================
+
+Synopsis
+********
+
+ AX_ARG_WITH_PATH_STYLE
+
+Description
+***********
+
+_AC_DEFINE(PATH_STYLE) describing the filesys interface. The value is
+numeric, where the basetype is encoded as 16 = dos/win, 32 = unix, 64 =
+url/www, 0 = other
+
+some extra semantics are described in other bits of the value,
+especially
+
+ 1024 accepts "/" as a dir separator
+ 2048 accepts ";" as a path separator
+ 4096 accepts "," as a path separator
+
+the macro provides a configure' -with-path-style option that can be used
+with descriptive arg names. If not explicitly given, the $target_os
+will be checked to provide a sane default. Additional (lower) bits can
+be used by the user for some additional magic, higher bits are reserved
+for this macro.
+
+the mnemonic "strict" or "also" is used to instruct the code that
+additional separators shall be accepted but converted to the separator
+of the underlying pathstyle system. (or-512)
+
+ example: --with-path-style=win,slash
+ to make it accept ";" as pathsep, and
+ both "/" and "\" as dirseps.
+
+Source Code
+***********
+
+Download the latest version of 'ax_arg_with_path_style.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_arg_with_path_style.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_arg_with_path_style.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_asm_inline, Next: ax_at_check_pattern, Prev: ax_arg_with_path_style, Up: The Macros
+
+ax_asm_inline
+=============
+
+Synopsis
+********
+
+ AX_ASM_INLINE()
+
+Description
+***********
+
+Tests for C compiler support of inline assembly instructions. If inline
+assembly is supported, this macro #defines ASM_INLINE to be the
+appropriate keyword.
+
+Source Code
+***********
+
+Download the latest version of 'ax_asm_inline.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_asm_inline.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_asm_inline.m4).
+
+License
+*******
+
+Copyright (C) 2008 Alan Woodland <ajw05@aber.ac.uk>
+Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
+Copyright (C) 2017 Reini Urban <rurban@cpan.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_at_check_pattern, Next: ax_auto_include_headers, Prev: ax_asm_inline, Up: The Macros
+
+ax_at_check_pattern
+===================
+
+Synopsis
+********
+
+ AX_AT_CHECK_PATTERN(COMMANDS, [STATUS], [STDOUT-RE], [STDERR-RE], [RUN-IF-FAIL], [RUN-IF-PASS])
+ AX_AT_DIFF_PATTERN(PATTERN-FILE, TEST-FILE, [STATUS=0], [DIFFERENCES])
+
+Description
+***********
+
+AX_AT_CHECK_PATTERN() executes a test similar to AT_CHECK(), except that
+stdout and stderr are awk regular expressions (REs).
+
+NOTE: as autoconf uses [] for quoting, the use of [brackets] in the RE
+arguments STDOUT-RE and STDERR-RE can be awkward and require careful
+extra quoting, or quadrigraphs '@<:@' (for '[') and '@:>@' (for ']').
+
+awk is invoked via $AWK, which defaults to "awk" if unset or empty.
+
+Implemented using AT_CHECK() with a custom value for $at_diff that
+invokes diff with an awk post-processor.
+
+AX_AT_DIFF_PATTERN() checks that the PATTERN-FILE applies to TEST-FILE.
+If there are differences, STATUS will be 1 and they should be
+DIFFERENCES.
+
+Source Code
+***********
+
+Download the latest version of 'ax_at_check_pattern.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_at_check_pattern.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_at_check_pattern.m4).
+
+License
+*******
+
+Copyright (C) 2013-2014 Luke Mewburn <luke@mewburn.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_auto_include_headers, Next: ax_berkeley_db, Prev: ax_at_check_pattern, Up: The Macros
+
+ax_auto_include_headers
+=======================
+
+Synopsis
+********
+
+ AX_AUTO_INCLUDE_HEADERS(INCLUDE-FILE ...)
+
+Description
+***********
+
+Given a space-separated list of INCLUDE-FILEs, AX_AUTO_INCLUDE_HEADERS
+will output a conditional #include for each INCLUDE-FILE. The following
+example demonstrates how AX_AUTO_INCLUDE_HEADERS's might be used in a
+configure.ac script:
+
+ AH_BOTTOM([
+ AX_AUTO_INCLUDE_HEADERS([sys/resource.h invent.h sys/sysinfo.h])dnl
+ ])
+
+The preceding invocation instructs autoheader to put the following code
+at the bottom of the config.h file:
+
+ #ifdef HAVE_SYS_RESOURCE_H
+ # include <sys/resource.h>
+ #endif
+ #ifdef HAVE_INVENT_H
+ # include <invent.h>
+ #endif
+ #ifdef HAVE_SYS_SYSINFO_H
+ # include <sys/sysinfo.h>
+ #endif
+
+Note that AX_AUTO_INCLUDE_HEADERS merely outputs #ifdef/#include/#endif
+blocks. The configure.ac script still needs to invoke AC_CHECK_HEADERS
+to #define the various HAVE_*_H preprocessor macros.
+
+Here's an easy way to get from config.h a complete list of header files
+who existence is tested by the configure script:
+
+ cat config.h | perl -ane '/ HAVE_\S+_H / && do {$_=$F[$#F-1]; s/^HAVE_//; s/_H/.h/; s|_|/|g; tr/A-Z/a-z/; print "$_ "}'
+
+You can then manually edit the resulting list and incorporate it into
+one or more calls to AX_AUTO_INCLUDE_HEADERS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_auto_include_headers.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_auto_include_headers.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_auto_include_headers.m4).
+
+License
+*******
+
+Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_berkeley_db, Next: ax_berkeley_db_cxx, Prev: ax_auto_include_headers, Up: The Macros
+
+ax_berkeley_db
+==============
+
+Synopsis
+********
+
+ AX_BERKELEY_DB([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+
+Description
+***********
+
+This macro tries to find Berkeley DB. It honors MINIMUM-VERSION if
+given.
+
+If libdb is found, DB_HEADER and DB_LIBS variables are set and
+ACTION-IF-FOUND shell code is executed if specified. DB_HEADER is set
+to location of db.h header in quotes (e.g. "db3/db.h") and
+AC_DEFINE_UNQUOTED is called on it, so that you can type
+
+ #include DB_HEADER
+
+in your C/C++ code. DB_LIBS is set to linker flags needed to link
+against the library (e.g. -ldb3.1) and AC_SUBST is called on it.
+
+when specified user-selected spot (via -with-libdb) also sets
+
+ DB_CPPFLAGS to the include directives required
+ DB_LDFLAGS to the -L flags required
+
+Source Code
+***********
+
+Download the latest version of 'ax_berkeley_db.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_berkeley_db.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_berkeley_db.m4).
+
+License
+*******
+
+Copyright (C) 2008 Vaclav Slavik <vaclav.slavik@matfyz.cz>
+Copyright (C) 2014 Kirill A. Korinskiy <catap@catap.ru>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_berkeley_db_cxx, Next: ax_blas, Prev: ax_berkeley_db, Up: The Macros
+
+ax_berkeley_db_cxx
+==================
+
+Synopsis
+********
+
+ AX_BERKELEY_DB_CXX([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+
+Description
+***********
+
+This macro tries to find Berkeley DB C++ support. It honors
+MINIMUM-VERSION if given.
+
+If libdb_cxx is found, DB_CXX_HEADER and DB_CXX_LIBS variables are set
+and ACTION-IF-FOUND shell code is executed if specified. DB_CXX_HEADER
+is set to location of db.h header in quotes (e.g. "db3/db_cxx.h") and
+AC_DEFINE_UNQUOTED is called on it, so that you can type
+
+ #include DB_CXX_HEADER
+
+in your C/C++ code. DB_CXX_LIBS is set to linker flags needed to link
+against the library (e.g. -ldb3.1_cxx) and AC_SUBST is called on it.
+
+when specified user-selected spot (via -with-libdb) also sets
+
+ DB_CXX_CPPFLAGS to the include directives required
+ DB_CXX_LDFLAGS to the -L flags required
+
+Source Code
+***********
+
+Download the latest version of 'ax_berkeley_db_cxx.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_berkeley_db_cxx.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_berkeley_db_cxx.m4).
+
+License
+*******
+
+Copyright (C) 2008 Vaclav Slavik <vaclav.slavik@matfyz.cz>
+Copyright (C) 2011 Stephan Suerken <absurd@debian.org>
+Copyright (C) 2014 Kirill A. Korinskiy <catap@catap.ru>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_blas, Next: ax_blas_f77_func, Prev: ax_berkeley_db_cxx, Up: The Macros
+
+ax_blas
+=======
+
+Synopsis
+********
+
+ AX_BLAS([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+This macro looks for a library that implements the BLAS linear-algebra
+interface (see http://www.netlib.org/blas/). On success, it sets the
+BLAS_LIBS output variable to hold the requisite library linkages.
+
+To link with BLAS, you should link with:
+
+ $BLAS_LIBS $LIBS $FLIBS
+
+in that order. FLIBS is the output variable of the
+AC_F77_LIBRARY_LDFLAGS macro (called if necessary by AX_BLAS), and is
+sometimes necessary in order to link with F77 libraries. Users will
+also need to use AC_F77_DUMMY_MAIN (see the autoconf manual), for the
+same reason.
+
+Many libraries are searched for, from ATLAS to CXML to ESSL. The user
+may also use -with-blas=<lib> in order to use some specific BLAS library
+<lib>. In order to link successfully, however, be aware that you will
+probably need to use the same Fortran compiler (which can be set via the
+F77 env. var.) as was used to compile the BLAS library.
+
+ACTION-IF-FOUND is a list of shell commands to run if a BLAS library is
+found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it is
+not found. If ACTION-IF-FOUND is not specified, the default action will
+define HAVE_BLAS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_blas.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_blas.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_blas.m4).
+
+License
+*******
+
+Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
+Copyright (C) 2019 Geoffrey M. Oxberry <goxberry@gmail.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_blas_f77_func, Next: ax_boost_asio, Prev: ax_blas, Up: The Macros
+
+ax_blas_f77_func
+================
+
+Synopsis
+********
+
+ AX_BLAS_F77_FUNC([ACTION-IF-PASS[, ACTION-IF-FAIL[, ACTION-IF-CROSS-COMPILING]])
+ AX_BLAS_WITH_F77_FUNC([ACTION-IF-FOUND-AND-PASS[, ACTION-IF-NOT-FOUND-OR-FAIL]])
+
+Description
+***********
+
+These macros are intended as a supplement to the AX_BLAS macro, to
+verify that BLAS functions are properly callable from Fortran. This is
+necessary, for example, if you want to build the LAPACK library on top
+of the BLAS.
+
+AX_BLAS_F77_FUNC uses the defined BLAS_LIBS and Fortran environment to
+check for compatibility, and takes a specific action in case of success,
+resp. failure, resp. cross-compilation.
+
+AX_BLAS_WITH_F77_FUNC is a drop-in replacement wrapper for AX_BLAS that
+calls AX_BLAS_F77_FUNC after detecting a BLAS library and rejects it on
+failure (i.e. pretends that no library was found).
+
+Source Code
+***********
+
+Download the latest version of 'ax_blas_f77_func.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_blas_f77_func.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_blas_f77_func.m4).
+
+License
+*******
+
+Copyright (C) 2008 Jaroslav Hajek <highegg@gmail.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_asio, Next: ax_boost_atomic, Prev: ax_blas_f77_func, Up: The Macros
+
+ax_boost_asio
+=============
+
+Synopsis
+********
+
+ AX_BOOST_ASIO
+
+Description
+***********
+
+Test for Asio library from the Boost C++ libraries. The macro requires
+a preceding call to AX_BOOST_BASE. Further documentation is available at
+<http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_ASIO_LIB)
+
+And sets:
+
+ HAVE_BOOST_ASIO
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_asio.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_asio.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_asio.m4).
+
+License
+*******
+
+Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
+Copyright (C) 2008 Pete Greenwell <pete@mu.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_atomic, Next: ax_boost_base, Prev: ax_boost_asio, Up: The Macros
+
+ax_boost_atomic
+===============
+
+Synopsis
+********
+
+ AX_BOOST_ATOMIC
+
+Description
+***********
+
+Test for the Atomic library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_ATOMIC_LIB)
+
+And sets:
+
+ HAVE_BOOST_ATOMIC
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_atomic.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_atomic.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_atomic.m4).
+
+License
+*******
+
+Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
+Copyright (C) 2008 Michael Tindal
+Copyright (C) 2013 Daniel Casimiro <dan.casimiro@gmail.com>
+Copyright (C) 2021 Richard Winters <kirvedx@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_base, Next: ax_boost_chrono, Prev: ax_boost_atomic, Up: The Macros
+
+ax_boost_base
+=============
+
+Synopsis
+********
+
+ AX_BOOST_BASE([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+Test for the Boost C++ libraries of a particular version (or newer)
+
+If no path to the installed boost library is given the macro searchs
+under /usr, /usr/local, /opt and /opt/local and evaluates the
+$BOOST_ROOT environment variable. Further documentation is available at
+<http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_CPPFLAGS) / AC_SUBST(BOOST_LDFLAGS)
+
+And sets:
+
+ HAVE_BOOST
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_base.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_base.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_base.m4).
+
+License
+*******
+
+Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
+Copyright (C) 2009 Peter Adolphs
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_chrono, Next: ax_boost_context, Prev: ax_boost_base, Up: The Macros
+
+ax_boost_chrono
+===============
+
+Synopsis
+********
+
+ AX_BOOST_CHRONO
+
+Description
+***********
+
+Test for Chrono library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_CHRONO_LIB)
+
+And sets:
+
+ HAVE_BOOST_CHRONO
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_chrono.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_chrono.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_chrono.m4).
+
+License
+*******
+
+Copyright (C) 2012 Xiyue Deng <manphiz@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_context, Next: ax_boost_coroutine, Prev: ax_boost_chrono, Up: The Macros
+
+ax_boost_context
+================
+
+Synopsis
+********
+
+ AX_BOOST_CONTEXT
+
+Description
+***********
+
+Test for Context library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_CONTEXT_LIB)
+
+And sets:
+
+ HAVE_BOOST_CONTEXT
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_context.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_context.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_context.m4).
+
+License
+*******
+
+Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
+Copyright (C) 2008 Michael Tindal
+Copyright (C) 2013 Daniel Casimiro <dan.casimiro@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_coroutine, Next: ax_boost_date_time, Prev: ax_boost_context, Up: The Macros
+
+ax_boost_coroutine
+==================
+
+Synopsis
+********
+
+ AX_BOOST_COROUTINE
+
+Description
+***********
+
+Test for Coroutine library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_COROUTINE_LIB)
+
+And sets:
+
+ HAVE_BOOST_COROUTINE
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_coroutine.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_coroutine.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_coroutine.m4).
+
+License
+*******
+
+Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
+Copyright (C) 2008 Michael Tindal
+Copyright (C) 2013 Daniel Casimiro <dan.casimiro@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_date_time, Next: ax_boost_filesystem, Prev: ax_boost_coroutine, Up: The Macros
+
+ax_boost_date_time
+==================
+
+Synopsis
+********
+
+ AX_BOOST_DATE_TIME
+
+Description
+***********
+
+Test for Date_Time library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_DATE_TIME_LIB)
+
+And sets:
+
+ HAVE_BOOST_DATE_TIME
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_date_time.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_date_time.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_date_time.m4).
+
+License
+*******
+
+Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
+Copyright (C) 2008 Michael Tindal
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_filesystem, Next: ax_boost_iostreams, Prev: ax_boost_date_time, Up: The Macros
+
+ax_boost_filesystem
+===================
+
+Synopsis
+********
+
+ AX_BOOST_FILESYSTEM
+
+Description
+***********
+
+Test for Filesystem library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_FILESYSTEM_LIB)
+
+And sets:
+
+ HAVE_BOOST_FILESYSTEM
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_filesystem.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_filesystem.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_filesystem.m4).
+
+License
+*******
+
+Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
+Copyright (C) 2009 Michael Tindal
+Copyright (C) 2009 Roman Rybalko <libtorrent@romanr.info>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_iostreams, Next: ax_boost_locale, Prev: ax_boost_filesystem, Up: The Macros
+
+ax_boost_iostreams
+==================
+
+Synopsis
+********
+
+ AX_BOOST_IOSTREAMS
+
+Description
+***********
+
+Test for IOStreams library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_IOSTREAMS_LIB)
+
+And sets:
+
+ HAVE_BOOST_IOSTREAMS
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_iostreams.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_iostreams.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_iostreams.m4).
+
+License
+*******
+
+Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_locale, Next: ax_boost_log, Prev: ax_boost_iostreams, Up: The Macros
+
+ax_boost_locale
+===============
+
+Synopsis
+********
+
+ AX_BOOST_LOCALE
+
+Description
+***********
+
+Test for System library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_LOCALE_LIB)
+
+And sets:
+
+ HAVE_BOOST_LOCALE
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_locale.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_locale.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_locale.m4).
+
+License
+*******
+
+Copyright (C) 2012 Xiyue Deng <manphiz@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_log, Next: ax_boost_log_setup, Prev: ax_boost_locale, Up: The Macros
+
+ax_boost_log
+============
+
+Synopsis
+********
+
+ AX_BOOST_LOG
+
+Description
+***********
+
+Test for Log library from the Boost C++ libraries. The macro requires a
+preceding call to AX_BOOST_BASE. Further documentation is available at
+<http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_LOG_LIB)
+
+And sets:
+
+ HAVE_BOOST_LOG
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_log.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_log.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_log.m4).
+
+License
+*******
+
+Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
+Copyright (C) 2008 Michael Tindal
+Copyright (C) 2013 Daniel Casimiro <dan.casimiro@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_log_setup, Next: ax_boost_process, Prev: ax_boost_log, Up: The Macros
+
+ax_boost_log_setup
+==================
+
+Synopsis
+********
+
+ AX_BOOST_LOG_SETUP
+
+Description
+***********
+
+Test for LogSetup library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_LOG_SETUP_LIB)
+
+And sets:
+
+ HAVE_BOOST_LOG_SETUP
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_log_setup.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_log_setup.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_log_setup.m4).
+
+License
+*******
+
+Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
+Copyright (C) 2008 Michael Tindal
+Copyright (C) 2013 Daniel Casimiro <dan.casimiro@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_process, Next: ax_boost_program_options, Prev: ax_boost_log_setup, Up: The Macros
+
+ax_boost_process
+================
+
+Synopsis
+********
+
+ AX_BOOST_PROCESS
+
+Description
+***********
+
+Test for Process library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_PROCESS_LIB)
+
+And sets:
+
+ HAVE_BOOST_PROCESS
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_process.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_process.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_process.m4).
+
+License
+*******
+
+Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
+Copyright (C) 2008 Michael Tindal
+Copyright (C) 2008 Daniel Casimiro <dan.casimiro@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_program_options, Next: ax_boost_python, Prev: ax_boost_process, Up: The Macros
+
+ax_boost_program_options
+========================
+
+Synopsis
+********
+
+ AX_BOOST_PROGRAM_OPTIONS
+
+Description
+***********
+
+Test for program options library from the Boost C++ libraries. The
+macro requires a preceding call to AX_BOOST_BASE. Further documentation
+is available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_PROGRAM_OPTIONS_LIB)
+
+And sets:
+
+ HAVE_BOOST_PROGRAM_OPTIONS
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_program_options.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_program_options.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_program_options.m4).
+
+License
+*******
+
+Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_python, Next: ax_boost_random, Prev: ax_boost_program_options, Up: The Macros
+
+ax_boost_python
+===============
+
+Synopsis
+********
+
+ AX_BOOST_PYTHON
+
+Description
+***********
+
+This macro checks to see if the Boost.Python library is installed. It
+also attempts to guess the correct library name using several attempts.
+It tries to build the library name using a user supplied name or suffix
+and then just the raw library.
+
+If the library is found, HAVE_BOOST_PYTHON is defined and
+BOOST_PYTHON_LIB is set to the name of the library.
+
+This macro calls AC_SUBST(BOOST_PYTHON_LIB).
+
+In order to ensure that the Python headers and the Boost libraries are
+specified on the include path, this macro requires AX_PYTHON_DEVEL and
+AX_BOOST_BASE to be called.
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_python.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_python.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_python.m4).
+
+License
+*******
+
+Copyright (C) 2008 Michael Tindal
+Copyright (C) 2013 Daniel M"ullner <daniel@danifold.net>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_random, Next: ax_boost_regex, Prev: ax_boost_python, Up: The Macros
+
+ax_boost_random
+===============
+
+Synopsis
+********
+
+ AX_BOOST_RANDOM
+
+Description
+***********
+
+Test for the Random library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_RANDOM_LIB)
+
+And sets:
+
+ HAVE_BOOST_RANDOM
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_random.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_random.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_random.m4).
+
+License
+*******
+
+Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
+Copyright (C) 2008 Michael Tindal
+Copyright (C) 2013 Daniel Casimiro <dan.casimiro@gmail.com>
+Copyright (C) 2021 Richard Winters <kirvedx@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_regex, Next: ax_boost_serialization, Prev: ax_boost_random, Up: The Macros
+
+ax_boost_regex
+==============
+
+Synopsis
+********
+
+ AX_BOOST_REGEX
+
+Description
+***********
+
+Test for Regex library from the Boost C++ libraries. The macro requires
+a preceding call to AX_BOOST_BASE. Further documentation is available at
+<http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_REGEX_LIB)
+
+And sets:
+
+ HAVE_BOOST_REGEX
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_regex.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_regex.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_regex.m4).
+
+License
+*******
+
+Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
+Copyright (C) 2008 Michael Tindal
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_serialization, Next: ax_boost_signals, Prev: ax_boost_regex, Up: The Macros
+
+ax_boost_serialization
+======================
+
+Synopsis
+********
+
+ AX_BOOST_SERIALIZATION
+
+Description
+***********
+
+Test for Serialization library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_SERIALIZATION_LIB)
+
+And sets:
+
+ HAVE_BOOST_SERIALIZATION
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_serialization.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_serialization.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_serialization.m4).
+
+License
+*******
+
+Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_signals, Next: ax_boost_system, Prev: ax_boost_serialization, Up: The Macros
+
+ax_boost_signals
+================
+
+Synopsis
+********
+
+ AX_BOOST_SIGNALS
+
+Description
+***********
+
+Test for Signals library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_SIGNALS_LIB)
+
+And sets:
+
+ HAVE_BOOST_SIGNALS
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_signals.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_signals.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_signals.m4).
+
+License
+*******
+
+Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
+Copyright (C) 2008 Michael Tindal
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_system, Next: ax_boost_test_exec_monitor, Prev: ax_boost_signals, Up: The Macros
+
+ax_boost_system
+===============
+
+Synopsis
+********
+
+ AX_BOOST_SYSTEM
+
+Description
+***********
+
+Test for System library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_SYSTEM_LIB)
+
+And sets:
+
+ HAVE_BOOST_SYSTEM
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_system.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_system.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_system.m4).
+
+License
+*******
+
+Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
+Copyright (C) 2008 Michael Tindal
+Copyright (C) 2008 Daniel Casimiro <dan.casimiro@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_test_exec_monitor, Next: ax_boost_thread, Prev: ax_boost_system, Up: The Macros
+
+ax_boost_test_exec_monitor
+==========================
+
+Synopsis
+********
+
+ AX_BOOST_TEST_EXEC_MONITOR
+
+Description
+***********
+
+Test for Test_Exec_Monitor library from the Boost C++ libraries. The
+macro requires a preceding call to AX_BOOST_BASE. Further documentation
+is available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_TEST_EXEC_MONITOR_LIB)
+
+And sets:
+
+ HAVE_BOOST_TEST_EXEC_MONITOR
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_test_exec_monitor.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_test_exec_monitor.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_test_exec_monitor.m4).
+
+License
+*******
+
+Copyright (C) 2008 Dodji Seketeli <dodji@seketeli.org>
+Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_thread, Next: ax_boost_unit_test_framework, Prev: ax_boost_test_exec_monitor, Up: The Macros
+
+ax_boost_thread
+===============
+
+Synopsis
+********
+
+ AX_BOOST_THREAD
+
+Description
+***********
+
+Test for Thread library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_THREAD_LIB)
+
+And sets:
+
+ HAVE_BOOST_THREAD
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_thread.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_thread.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_thread.m4).
+
+License
+*******
+
+Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
+Copyright (C) 2009 Michael Tindal
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_unit_test_framework, Next: ax_boost_wave, Prev: ax_boost_thread, Up: The Macros
+
+ax_boost_unit_test_framework
+============================
+
+Synopsis
+********
+
+ AX_BOOST_UNIT_TEST_FRAMEWORK
+
+Description
+***********
+
+Test for Unit_Test_Framework library from the Boost C++ libraries. The
+macro requires a preceding call to AX_BOOST_BASE. Further documentation
+is available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_UNIT_TEST_FRAMEWORK_LIB)
+
+And sets:
+
+ HAVE_BOOST_UNIT_TEST_FRAMEWORK
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_unit_test_framework.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_unit_test_framework.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_unit_test_framework.m4).
+
+License
+*******
+
+Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_wave, Next: ax_boost_wserialization, Prev: ax_boost_unit_test_framework, Up: The Macros
+
+ax_boost_wave
+=============
+
+Synopsis
+********
+
+ AX_BOOST_WAVE
+
+Description
+***********
+
+Test for Wave library from the Boost C++ libraries. The macro requires
+a preceding call to AX_BOOST_BASE. Further documentation is available at
+<http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_WAVE_LIB)
+
+And sets:
+
+ HAVE_BOOST_WAVE
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_wave.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_wave.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_wave.m4).
+
+License
+*******
+
+Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
+Copyright (C) 2009 Michael Tindal
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_boost_wserialization, Next: ax_build_date_epoch, Prev: ax_boost_wave, Up: The Macros
+
+ax_boost_wserialization
+=======================
+
+Synopsis
+********
+
+ AX_BOOST_WSERIALIZATION
+
+Description
+***********
+
+Test for Serialization library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+ AC_SUBST(BOOST_WSERIALIZATION_LIB)
+
+And sets:
+
+ HAVE_BOOST_WSERIALIZATION
+
+Source Code
+***********
+
+Download the latest version of 'ax_boost_wserialization.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_wserialization.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_wserialization.m4).
+
+License
+*******
+
+Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_build_date_epoch, Next: ax_c99_inline, Prev: ax_boost_wserialization, Up: The Macros
+
+ax_build_date_epoch
+===================
+
+Synopsis
+********
+
+ AX_BUILD_DATE_EPOCH(VARIABLE[, FORMAT[, ACTION-IF-FAIL]])
+
+Description
+***********
+
+Sets VARIABLE to a string representing the current time. It is
+formatted according to FORMAT if specified, otherwise it is formatted as
+the number of seconds (excluding leap seconds) since the UNIX epoch (01
+Jan 1970 00:00:00 UTC).
+
+If the SOURCE_DATE_EPOCH environment variable is set, it uses the value
+of that variable instead of the current time. See
+https://reproducible-builds.org/specs/source-date-epoch). If
+SOURCE_DATE_EPOCH is set but cannot be properly interpreted as a UNIX
+timestamp, then execute ACTION-IF-FAIL if specified, otherwise error.
+
+VARIABLE is AC_SUBST-ed.
+
+Source Code
+***********
+
+Download the latest version of 'ax_build_date_epoch.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_build_date_epoch.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_build_date_epoch.m4).
+
+License
+*******
+
+Copyright (C) 2016 Eric Bavier <bavier@member.fsf.org>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_c99_inline, Next: ax_c___attribute__, Prev: ax_build_date_epoch, Up: The Macros
+
+ax_c99_inline
+=============
+
+Synopsis
+********
+
+ AX_C99_INLINE
+
+Description
+***********
+
+This macro defines HAVE_C99_INLINE if the C compiler supports "inline"
+and "extern inline" correctly. An application may replace "inline" with
+"static inline" as a workaround for older compilers.
+
+Source Code
+***********
+
+Download the latest version of 'ax_c99_inline.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c99_inline.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c99_inline.m4).
+
+License
+*******
+
+Copyright (C) 2009 Michael McMaster <email@michaelmcmaster.name>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_c___attribute__, Next: ax_c_arithmetic_rshift, Prev: ax_c99_inline, Up: The Macros
+
+ax_c___attribute__
+==================
+
+Synopsis
+********
+
+ AX_C___ATTRIBUTE__
+
+Description
+***********
+
+Provides a test for the compiler support of __attribute__ extensions.
+Defines HAVE___ATTRIBUTE__ if it is found.
+
+Source Code
+***********
+
+Download the latest version of 'ax_c___attribute__.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c___attribute__.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c___attribute__.m4).
+
+License
+*******
+
+Copyright (C) 2008 Stepan Kasal <skasal@redhat.com>
+Copyright (C) 2008 Christian Haggstrom
+Copyright (C) 2008 Ryan McCabe <ryan@numb.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_c_arithmetic_rshift, Next: ax_c_compile_value, Prev: ax_c___attribute__, Up: The Macros
+
+ax_c_arithmetic_rshift
+======================
+
+Synopsis
+********
+
+ AX_C_ARITHMETIC_RSHIFT
+
+Description
+***********
+
+Checks if the right shift operation is arithmetic.
+
+This macro uses compile-time detection and so is cross-compile ready.
+
+Source Code
+***********
+
+Download the latest version of 'ax_c_arithmetic_rshift.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_arithmetic_rshift.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_arithmetic_rshift.m4).
+
+License
+*******
+
+Copyright (C) 2008 YAMAMOTO Kengo <yamaken@bp.iij4u.or.jp>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_c_compile_value, Next: ax_c_declare_block, Prev: ax_c_arithmetic_rshift, Up: The Macros
+
+ax_c_compile_value
+==================
+
+Synopsis
+********
+
+ AX_C_COMPILE_VALUE (COMPILE-VALUE, ALIAS, INCLUDES)
+
+Description
+***********
+
+The AX_C_COMPILE_VALUE macro determines a compile time value by
+generating the object code and reading the value from the code. Static
+data initializers like sizeof(int) are unavailable to preprocessor. The
+macro calculates the values known to compiler's static initializer.
+
+Assumptions: The sought value should not exceed 65535. The shell
+interpreter and the sed utility are expected to exist and work similarly
+across possible build platforms.
+
+Result: The resulting configure script will generate the preprocessor
+symbol definition:
+
+ #define COMPILE_VALUE_<ALIAS> <NUMBER>
+
+It was important that the value was embedded into the object file in a
+predefined byte order during the test. This ensured that the result was
+independent from the target platform's byte order.
+
+The existing AC_CHECK_SIZEOF macro also computes the size of the given
+type without running the test program. However, the existing macro will
+produce a piece of configure script that will take the time proportional
+to the logarithm of the sought value.
+
+Example of use in configure.in:
+
+ AX_C_COMPILE_VALUE(sizeof(int), sizeof_int)
+ AX_C_COMPILE_VALUE([sizeof(int[[543]])], sizeof_int543)
+
+As a result of running the generated configure script, the following
+definition will appear in config.h:
+
+ #define COMPILE_VALUE_SIZEOF_INT 4
+ #define COMPILE_VALUE_SIZEOF_INT543 2172
+
+Source Code
+***********
+
+Download the latest version of 'ax_c_compile_value.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_compile_value.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_compile_value.m4).
+
+License
+*******
+
+Copyright (C) 2008 Ilguiz Latypov
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_c_declare_block, Next: ax_c_float_words_bigendian, Prev: ax_c_compile_value, Up: The Macros
+
+ax_c_declare_block
+==================
+
+Synopsis
+********
+
+ AX_C_DECLARE_BLOCK
+
+Description
+***********
+
+The macro will compile a test program to see whether the compiler does
+allow new variable declarations in the middle of a C statement block,
+i.e. after some non-declaration line. New compilers will allow that
+which makes the behave a bit more like C++ - the gcc did support it for
+quite a time already.
+
+#define DECLARE_BLOCK_NEEDED says they need to be at the beginning of of
+a statement block. Additionally two defines DECLARE_BLOCK { and
+DECLARE_END } are being set. That makes it possible to do the following
+in your source code (which this macro is really made up for):
+
+ #define ___ DECLARE_BLOCK
+ #define ____ DECLARE_END
+
+ int f() {
+ char buffer[1024];
+ fgets(buffer, 1024, stdin);
+ ___ int i; int ii = strlen(buffer);
+ for (i=0; i < ii; i++) {
+ fputc(buffer[i], stdout);
+ }____;
+ }
+
+Source Code
+***********
+
+Download the latest version of 'ax_c_declare_block.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_declare_block.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_declare_block.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_c_float_words_bigendian, Next: ax_c_long_long, Prev: ax_c_declare_block, Up: The Macros
+
+ax_c_float_words_bigendian
+==========================
+
+Synopsis
+********
+
+ AX_C_FLOAT_WORDS_BIGENDIAN([ACTION-IF-TRUE], [ACTION-IF-FALSE], [ACTION-IF-UNKNOWN])
+
+Description
+***********
+
+Checks the ordering of words within a multi-word float. This check is
+necessary because on some systems (e.g. certain ARM systems), the float
+word ordering can be different from the byte ordering. In a multi-word
+float context, "big-endian" implies that the word containing the sign
+bit is found in the memory location with the lowest address. This
+implementation was inspired by the AC_C_BIGENDIAN macro in autoconf.
+
+The endianness is detected by first compiling C code that contains a
+special double float value, then grepping the resulting object file for
+certain strings of ASCII values. The double is specially crafted to
+have a binary representation that corresponds with a simple string. In
+this implementation, the string "noonsees" was selected because the
+individual word values ("noon" and "sees") are palindromes, thus making
+this test byte-order agnostic. If grep finds the string "noonsees" in
+the object file, the target platform stores float words in big-endian
+order. If grep finds "seesnoon", float words are in little-endian
+order. If neither value is found, the user is instructed to specify the
+ordering.
+
+Source Code
+***********
+
+Download the latest version of 'ax_c_float_words_bigendian.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_float_words_bigendian.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_float_words_bigendian.m4).
+
+License
+*******
+
+Copyright (C) 2008 Daniel Amelang <dan@amelang.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_c_long_long, Next: ax_c_referenceable_passed_va_list, Prev: ax_c_float_words_bigendian, Up: The Macros
+
+ax_c_long_long
+==============
+
+Synopsis
+********
+
+ AX_C_LONG_LONG
+
+Description
+***********
+
+Provides a test for the existence of the long long int type and defines
+HAVE_LONG_LONG if it is found.
+
+Source Code
+***********
+
+Download the latest version of 'ax_c_long_long.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_long_long.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_long_long.m4).
+
+License
+*******
+
+Copyright (C) 2008 Caolan McNamara <caolan@skynet.ie>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_c_referenceable_passed_va_list, Next: ax_c_var_func, Prev: ax_c_long_long, Up: The Macros
+
+ax_c_referenceable_passed_va_list
+=================================
+
+Synopsis
+********
+
+ AX_C_REFERENCEABLE_PASSED_VA_LIST
+
+Description
+***********
+
+Checks whether f(va_list va){ &va; } works as expected.
+
+This macro uses compile-time detection and so is cross-compile ready.
+
+C99 mentioned passing a pointer to va_list to other functions (footnote
+212 of "7.15 Variable arguments <stdarg.h>"). However, f(va_list va) {
+&va; } produces broken pointer on some environments such as gcc on
+x86_64, although { va_list va; &va; } works as expected. See the
+detection code of this file and any of pages
+https://www.gnu.org/software/autoconf/manual/html_node/Function-Portability.html,
+http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14557, and
+http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20951 for further
+information.
+
+Although C99 does not define the operations f(va_list va) { &va; } and
+&va itself as standard (footnotes are declared as "normative part,
+information only"), certain situations need it. This macro provides a
+type detection about va_list implementation to deal with the operation.
+
+Following workaround will probably work on such environments although it
+does not ensure to be safe and portable. At least it is working on
+x86_64-unknown-linux-gnu:
+
+ f(va_list va)
+ {
+ va_list *vap;
+
+ #if HAVE_REFERENCEABLE_PASSED_VA_LIST
+ vap = &va;
+ #else
+ vap = (va_list *)va;
+ #endif
+ }
+
+Source Code
+***********
+
+Download the latest version of 'ax_c_referenceable_passed_va_list.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_referenceable_passed_va_list.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_referenceable_passed_va_list.m4).
+
+License
+*******
+
+Copyright (C) 2008 YAMAMOTO Kengo <yamaken@bp.iij4u.or.jp>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_c_var_func, Next: ax_cache_size, Prev: ax_c_referenceable_passed_va_list, Up: The Macros
+
+ax_c_var_func
+=============
+
+Synopsis
+********
+
+ AX_C_VAR_FUNC
+
+Description
+***********
+
+This macro tests if the C compiler supports the C9X standard __func__
+identifier.
+
+The new C9X standard for the C language stipulates that the identifier
+__func__ shall be implicitly declared by the compiler as if, immediately
+following the opening brace of each function definition, the declaration
+
+ static const char __func__[] = "function-name";
+
+appeared, where function-name is the name of the function where the
+__func__ identifier is used.
+
+Source Code
+***********
+
+Download the latest version of 'ax_c_var_func.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_var_func.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_var_func.m4).
+
+License
+*******
+
+Copyright (C) 2008 Christopher Currie <christopher@currie.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_cache_size, Next: ax_caolan_check_package, Prev: ax_c_var_func, Up: The Macros
+
+ax_cache_size
+=============
+
+Synopsis
+********
+
+ AX_CACHE_SIZE
+
+Description
+***********
+
+Find L1 and L2 caches size by reading the corresponding file on UNIX or
+by requesting cpuid. The results are available in the defines
+CPU_L1_CACHE and CPU_L2_CACHE.
+
+This macro depends on AX_GCC_X86_CPUID, AC_PROG_SED, AX_COUNT_CPUS, and
+AX_CPU_VENDOR.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cache_size.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cache_size.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cache_size.m4).
+
+License
+*******
+
+Copyright (C) 2008 Christophe Tournayre <turn3r@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_caolan_check_package, Next: ax_caolan_search_package, Prev: ax_cache_size, Up: The Macros
+
+ax_caolan_check_package
+=======================
+
+Synopsis
+********
+
+ AX_caolan_CHECK_PACKAGE(PACKAGE, FUNCTION, LIBRARY , HEADERFILE [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+Provides -with-PACKAGE, -with-PACKAGE-include and -with-PACKAGE-libdir
+options to configure. Supports the now standard -with-PACKAGE=DIR
+approach where the package's include dir and lib dir are underneath DIR,
+but also allows the include and lib directories to be specified
+separately
+
+adds the extra -Ipath to CFLAGS if needed adds extra -Lpath to LD_FLAGS
+if needed searches for the FUNCTION in the LIBRARY with AC_CHECK_LIBRARY
+and thus adds the lib to LIBS
+
+defines HAVE_PKG_PACKAGE if it is found, (where PACKAGE in the
+HAVE_PKG_PACKAGE is replaced with the actual first parameter passed)
+note that autoheader will complain of not having the HAVE_PKG_PACKAGE
+and you will have to add it to acconfig.h manually
+
+Source Code
+***********
+
+Download the latest version of 'ax_caolan_check_package.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_caolan_check_package.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_caolan_check_package.m4).
+
+License
+*******
+
+Copyright (C) 2008 Caolan McNamara <caolan@skynet.ie>
+Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
+Copyright (C) 2008 Matthew Mueller <donut@azstarnet.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_caolan_search_package, Next: ax_cc_for_build, Prev: ax_caolan_check_package, Up: The Macros
+
+ax_caolan_search_package
+========================
+
+Synopsis
+********
+
+ AX_caolan_SEARCH_PACKAGE(PACKAGE, FUNCTION, LIBRARY LIST, HEADERFILE [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+Provides -with-PACKAGE, -with-PACKAGE-include and -with-PACKAGE-libdir
+options to configure. Supports the now standard -with-PACKAGE=DIR
+approach where the package's include dir and lib dir are underneath DIR,
+but also allows the include and lib directories to be specified
+separately
+
+adds the extra -Ipath to CFLAGS if needed adds extra -Lpath to LD_FLAGS
+if needed searches for the FUNCTION in each of the LIBRARY LIST with
+AC_SEARCH_LIBRARY and thus adds the lib to LIBS
+
+defines HAVE_PKG_PACKAGE if it is found, (where PACKAGE in the
+HAVE_PKG_PACKAGE is replaced with the actual first parameter passed)
+note that autoheader will complain of not having the HAVE_PKG_PACKAGE
+and you will have to add it to acconfig.h manually
+
+Source Code
+***********
+
+Download the latest version of 'ax_caolan_search_package.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_caolan_search_package.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_caolan_search_package.m4).
+
+License
+*******
+
+Copyright (C) 2009 Caolan McNamara <caolan@skynet.ie>
+Copyright (C) 2009 Alexandre Duret-Lutz <adl@gnu.org>
+Copyright (C) 2009 Matthew Mueller <donut@azstarnet.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cc_for_build, Next: ax_cc_maxopt, Prev: ax_caolan_search_package, Up: The Macros
+
+ax_cc_for_build
+===============
+
+Synopsis
+********
+
+ AX_CC_FOR_BUILD
+
+Description
+***********
+
+Find a build-time compiler. Sets CC_FOR_BUILD and EXEEXT_FOR_BUILD.
+
+AX_CC_FOR_BUILD is deprecated; it expands into AX_PROG_CC_FOR_BUILD
+which renames EXEEXT_FOR_BUILD to BUILD_EXEEXT.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cc_for_build.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cc_for_build.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cc_for_build.m4).
+
+License
+*******
+
+Copyright (C) 2010 Reuben Thomas <rrt@sc3d.org>
+Copyright (C) 1999 Richard Henderson <rth@redhat.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_cc_maxopt, Next: ax_cf_ebcdic, Prev: ax_cc_for_build, Up: The Macros
+
+ax_cc_maxopt
+============
+
+Synopsis
+********
+
+ AX_CC_MAXOPT
+
+Description
+***********
+
+Try to turn on "good" C optimization flags for various compilers and
+architectures, for some definition of "good". (In our case, good for
+FFTW and hopefully for other scientific codes. Modify as needed.)
+
+The user can override the flags by setting the CFLAGS environment
+variable. The user can also specify -enable-portable-binary in order to
+disable any optimization flags that might result in a binary that only
+runs on the host architecture.
+
+Note also that the flags assume that ANSI C aliasing rules are followed
+by the code (e.g. for gcc's -fstrict-aliasing), and that floating-point
+computations can be re-ordered as needed.
+
+Requires macros: AX_CHECK_COMPILE_FLAG, AX_COMPILER_VENDOR,
+AX_GCC_ARCHFLAG, AX_GCC_X86_CPUID.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cc_maxopt.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cc_maxopt.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cc_maxopt.m4).
+
+License
+*******
+
+Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
+Copyright (C) 2008 Matteo Frigo
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_cf_ebcdic, Next: ax_cflags_aix_option, Prev: ax_cc_maxopt, Up: The Macros
+
+ax_cf_ebcdic
+============
+
+Synopsis
+********
+
+ AX_CF_EBCDIC
+
+Description
+***********
+
+If the target character set is EBCDIC, defines variables cf_cv_ebcdic,
+EBCDIC, and NOT_ASCII.
+
+I originally wrote this and submitted it to the Lynx distribution.
+Editorial revisions by Tom Dickey, et. al.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cf_ebcdic.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cf_ebcdic.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cf_ebcdic.m4).
+
+License
+*******
+
+Copyright (C) 2008 Paul Gilmartin <pg@sweng.stortek.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_cflags_aix_option, Next: ax_cflags_force_c89, Prev: ax_cf_ebcdic, Up: The Macros
+
+ax_cflags_aix_option
+====================
+
+Synopsis
+********
+
+ AX_CFLAGS_AIX_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
+
+Description
+***********
+
+AX_CFLAGS_AIX_OPTION(-qubicle) would show a message as like "checking
+CFLAGS for aix/cc -qubicle ... yes" and adds the optionflag to CFLAGS
+if it is understood. You can override the shellvar-default of CFLAGS of
+course. The order of arguments stems from the explicit macros like
+AX_CFLAGS_WARN_ALL.
+
+The cousin AX_CXXFLAGS_AIX_OPTION would check for an option to add to
+CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
+is possible to use different compilers for C and C++).
+
+The macro is a lot simpler than any special AX_CFLAGS_* macro (or
+ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
+However, if you use this macro in a few places, it would be great if you
+would make up a new function-macro and submit it to the ac-archive.
+
+ - $1 option-to-check-for : required ("-option" as non-value)
+ - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
+ - $3 action-if-found : add value to shellvariable
+ - $4 action-if-not-found : nothing
+
+note: in earlier versions, $1-$2 were swapped. We try to detect the
+situation and accept a $2=~/-/ as being the old option-to-check-for.
+
+see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cflags_aix_option.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_aix_option.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_aix_option.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cflags_force_c89, Next: ax_cflags_hpux_option, Prev: ax_cflags_aix_option, Up: The Macros
+
+ax_cflags_force_c89
+===================
+
+Synopsis
+********
+
+ AX_CFLAGS_FORCE_C89 [(shellvar [,default, [A/NA]])]
+
+Description
+***********
+
+Try to find a compiler option that enables strict C89 mode.
+
+For the GNU CC compiler it will be -ansi -pedantic. The result is added
+to the shellvar being CFLAGS by default.
+
+Currently this macro knows about GCC, Solaris C compiler, Digital Unix C
+compiler, C for AIX Compiler, HP-UX C compiler, IRIX C compiler, NEC
+SX-5 (Super-UX 10) C compiler, and Cray J90 (Unicos 10.0.0.8) C
+compiler.
+
+ - $1 shell-variable-to-add-to : CFLAGS
+ - $2 add-value-if-not-found : nothing
+ - $3 action-if-found : add value to shellvariable
+ - $4 action-if-not-found : nothing
+
+NOTE: These macros depend on AX_APPEND_FLAG.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cflags_force_c89.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_force_c89.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_force_c89.m4).
+
+License
+*******
+
+Copyright (C) 2009 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cflags_hpux_option, Next: ax_cflags_irix_option, Prev: ax_cflags_force_c89, Up: The Macros
+
+ax_cflags_hpux_option
+=====================
+
+Synopsis
+********
+
+ AX_CFLAGS_HPUX_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
+
+Description
+***********
+
+AX_CFLAGS_HPUX_OPTION(-Afresh) would show a message as like "checking
+CFLAGS for hpux/cc -Afresh ... yes" and adds the optionflag to CFLAGS
+if it is understood. You can override the shellvar-default of CFLAGS of
+course. The order of arguments stems from the explicit macros like
+AX_CFLAGS_WARN_ALL.
+
+The cousin AX_CXXFLAGS_HPUX_OPTION would check for an option to add to
+CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
+is possible to use different compilers for C and C++).
+
+The macro is a lot simpler than any special AX_CFLAGS_* macro (or
+ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
+However, if you use this macro in a few places, it would be great if you
+would make up a new function-macro and submit it to the ac-archive.
+
+ - $1 option-to-check-for : required ("-option" as non-value)
+ - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
+ - $3 action-if-found : add value to shellvariable
+ - $4 action-if-not-found : nothing
+
+note: in earlier versions, $1-$2 were swapped. We try to detect the
+situation and accept a $2=~/-/ as being the old option-to-check-for.
+
+see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cflags_hpux_option.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_hpux_option.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_hpux_option.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cflags_irix_option, Next: ax_cflags_no_writable_strings, Prev: ax_cflags_hpux_option, Up: The Macros
+
+ax_cflags_irix_option
+=====================
+
+Synopsis
+********
+
+ AX_CFLAGS_IRIX_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
+
+Description
+***********
+
+AX_CFLAGS_IRIX_OPTION(-go_for_it) would show a message as like "checking
+CFLAGS for irix/cc -go_for_it ... yes" and adds the optionflag to
+CFLAGS if it is understood. You can override the shellvar-default of
+CFLAGS of course. The order of arguments stems from the explicit macros
+like AX_CFLAGS_WARN_ALL.
+
+The cousin AX_CXXFLAGS_IRIX_OPTION would check for an option to add to
+CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
+is possible to use different compilers for C and C++).
+
+The macro is a lot simpler than any special AX_CFLAGS_* macro (or
+ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
+However, if you use this macro in a few places, it would be great if you
+would make up a new function-macro and submit it to the ac-archive.
+
+ - $1 option-to-check-for : required ("-option" as non-value)
+ - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
+ - $3 action-if-found : add value to shellvariable
+ - $4 action-if-not-found : nothing
+
+note: in earlier versions, $1-$2 were swapped. We try to detect the
+situation and accept a $2=~/-/ as being the old option-to-check-for.
+
+see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cflags_irix_option.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_irix_option.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_irix_option.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cflags_no_writable_strings, Next: ax_cflags_strict_prototypes, Prev: ax_cflags_irix_option, Up: The Macros
+
+ax_cflags_no_writable_strings
+=============================
+
+Synopsis
+********
+
+ AX_CFLAGS_NO_WRITABLE_STRINGS [(shellvar [,default, [A/NA]])]
+
+Description
+***********
+
+Try to find a compiler option that makes all string literals readonly.
+
+The sanity check is done by looking at string.h which has a set of
+strcpy definitions that should be defined with const-modifiers to not
+emit a warning in all so many places.
+
+For the GNU CC compiler it will be -fno-writable-strings -Wwrite-strings
+The result is added to the shellvar being CFLAGS by default.
+
+DEFAULTS:
+
+ - $1 shell-variable-to-add-to : CFLAGS
+ - $2 add-value-if-not-found : nothing
+ - $3 action-if-found : add value to shellvariable
+ - $4 action-if-not-found : nothing
+
+NOTE: These macros depend on AX_APPEND_FLAG.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cflags_no_writable_strings.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_no_writable_strings.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_no_writable_strings.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cflags_strict_prototypes, Next: ax_cflags_sun_option, Prev: ax_cflags_no_writable_strings, Up: The Macros
+
+ax_cflags_strict_prototypes
+===========================
+
+Synopsis
+********
+
+ AX_CFLAGS_STRICT_PROTOTYPES [(shellvar [,default, [A/NA]]
+
+Description
+***********
+
+Try to find a compiler option that requires strict prototypes.
+
+The sanity check is done by looking at sys/signal.h which has a set of
+macro-definitions SIG_DFL and SIG_IGN that are cast to the local
+signal-handler type. If that signal-handler type is not fully qualified
+then the system headers are not seen as strictly prototype clean.
+
+For the GNU CC compiler it will be -fstrict-prototypes
+-Wstrict-prototypes The result is added to the shellvar being CFLAGS by
+default.
+
+DEFAULTS:
+
+ - $1 shell-variable-to-add-to : CFLAGS
+ - $2 add-value-if-not-found : nothing
+ - $3 action-if-found : add value to shellvariable
+ - $4 action-if-not-found : nothing
+
+NOTE: These macros depend on AX_APPEND_FLAG.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cflags_strict_prototypes.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_strict_prototypes.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_strict_prototypes.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cflags_sun_option, Next: ax_cflags_warn_all, Prev: ax_cflags_strict_prototypes, Up: The Macros
+
+ax_cflags_sun_option
+====================
+
+Synopsis
+********
+
+ AX_CFLAGS_SUN_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
+
+Description
+***********
+
+AX_CFLAGS_SUN_OPTION(+xtreme) would show a message as like "checking
+CFLAGS for sun/cc +xtreme ... yes" and adds the optionflag to CFLAGS if
+it is understood. You can override the shellvar-default of CFLAGS of
+course. The order of arguments stems from the explicit macros like
+AX_CFLAGS_WARN_ALL.
+
+The cousin AX_CXXFLAGS_SUN_OPTION would check for an option to add to
+CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
+is possible to use different compilers for C and C++).
+
+The macro is a lot simpler than any special AX_CFLAGS_* macro (or
+ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
+However, if you use this macro in a few places, it would be great if you
+would make up a new function-macro and submit it to the ac-archive.
+
+ - $1 option-to-check-for : required ("-option" as non-value)
+ - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
+ - $3 action-if-found : add value to shellvariable
+ - $4 action-if-not-found : nothing
+
+note: in earlier versions, $1-$2 were swapped. We try to detect the
+situation and accept a $2=~/-/ as being the old option-to-check-for.
+
+see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cflags_sun_option.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_sun_option.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_sun_option.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cflags_warn_all, Next: ax_check_aligned_access_required, Prev: ax_cflags_sun_option, Up: The Macros
+
+ax_cflags_warn_all
+==================
+
+Synopsis
+********
+
+ AX_CFLAGS_WARN_ALL [(shellvar[, default[, action-if-found[, action-if-not-found]]])]
+ AX_CXXFLAGS_WARN_ALL [(shellvar[, default[, action-if-found[, action-if-not-found]]])]
+ AX_FCFLAGS_WARN_ALL [(shellvar[, default[, action-if-found[, action-if-not-found]]])]
+
+Description
+***********
+
+Specify compiler options that enable most reasonable warnings. For the
+GNU Compiler Collection (GCC), for example, it will be "-Wall". The
+result is added to shellvar, one of CFLAGS, CXXFLAGS or FCFLAGS if the
+first parameter is not specified.
+
+Each of these macros accepts the following optional arguments:
+
+ - $1 - shellvar
+ shell variable to use (CFLAGS, CXXFLAGS or FCFLAGS if not
+ specified, depending on macro)
+
+ - $2 - default
+ value to use for flags if compiler vendor cannot be determined (by
+ default, "")
+
+ - $3 - action-if-found
+ action to take if the compiler vendor has been successfully
+ determined (by default, add the appropriate compiler flags to
+ shellvar)
+
+ - $4 - action-if-not-found
+ action to take if the compiler vendor has not been determined or
+ is unknown (by default, add the default flags, or "" if not
+ specified, to shellvar)
+
+These macros use AX_COMPILER_VENDOR to determine which flags should be
+returned for a given compiler. Not all compilers currently have flags
+defined for them; patches are welcome. If need be, compiler flags may
+be made language-dependent: use a construct like the following:
+
+ [vendor_name], [m4_if(_AC_LANG_PREFIX,[C], VAR="--relevant-c-flags",dnl
+ m4_if(_AC_LANG_PREFIX,[CXX], VAR="--relevant-c++-flags",dnl
+ m4_if(_AC_LANG_PREFIX,[FC], VAR="--relevant-fortran-flags",dnl
+ VAR="$2"; FOUND="no")))],
+
+Note: These macros also depend on AX_PREPEND_FLAG.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cflags_warn_all.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_warn_all.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_warn_all.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+Copyright (C) 2010 Rhys Ulerich <rhys.ulerich@gmail.com>
+Copyright (C) 2018 John Zaitseff <J.Zaitseff@zap.org.au>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_aligned_access_required, Next: ax_check_allocated_ctime, Prev: ax_cflags_warn_all, Up: The Macros
+
+ax_check_aligned_access_required
+================================
+
+Synopsis
+********
+
+ AX_CHECK_ALIGNED_ACCESS_REQUIRED
+
+Description
+***********
+
+While the x86 CPUs allow access to memory objects to be unaligned it
+happens that most of the modern designs require objects to be aligned -
+or they will fail with a buserror. That mode is quite known by
+big-endian machines (sparc, etc) however the alpha cpu is little-
+endian.
+
+The following function will test for aligned access to be required and
+set a config.h define HAVE_ALIGNED_ACCESS_REQUIRED (name derived by
+standard usage). Structures loaded from a file (or mmapped to memory)
+should be accessed per-byte in that case to avoid segfault type errors.
+
+The function checks if unaligned access would ignore the lowest bit of
+the address. If that happens or if the test binary crashes, aligned
+access is required.
+
+If cross-compiling, assume that aligned access is needed to be safe.
+Set ax_cv_have_aligned_access_required=no to override that assumption.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_aligned_access_required.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_aligned_access_required.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_aligned_access_required.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_allocated_ctime, Next: ax_check_awk__v, Prev: ax_check_aligned_access_required, Up: The Macros
+
+ax_check_allocated_ctime
+========================
+
+Synopsis
+********
+
+ AX_CHECK_ALLOCATED_CTIME
+
+Description
+***********
+
+Check whether we need to free the memory returned by ctime.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_allocated_ctime.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_allocated_ctime.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_allocated_ctime.m4).
+
+License
+*******
+
+Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk__v, Next: ax_check_awk__x_escapes, Prev: ax_check_allocated_ctime, Up: The Macros
+
+ax_check_awk__v
+===============
+
+Synopsis
+********
+
+ AX_CHECK_AWK__V([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports -v option ($AWK -v var=val '<PROGRAM>'). If
+successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk__v.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk__v.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk__v.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk__x_escapes, Next: ax_check_awk_and, Prev: ax_check_awk__v, Up: The Macros
+
+ax_check_awk__x_escapes
+=======================
+
+Synopsis
+********
+
+ AX_CHECK_AWK__X_ESCAPES([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports \x escape codes. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk__x_escapes.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk__x_escapes.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk__x_escapes.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_and, Next: ax_check_awk_argind, Prev: ax_check_awk__x_escapes, Up: The Macros
+
+ax_check_awk_and
+================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_AND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports and() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_and.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_and.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_and.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_argind, Next: ax_check_awk_array_delete, Prev: ax_check_awk_and, Up: The Macros
+
+ax_check_awk_argind
+===================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_ARGIND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports ARGIND variable. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_argind.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_argind.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_argind.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_array_delete, Next: ax_check_awk_array_delete_elem, Prev: ax_check_awk_argind, Up: The Macros
+
+ax_check_awk_array_delete
+=========================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_ARRAY_DELETE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports delete on array. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_array_delete.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_array_delete.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_array_delete.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_array_delete_elem, Next: ax_check_awk_array_in, Prev: ax_check_awk_array_delete, Up: The Macros
+
+ax_check_awk_array_delete_elem
+==============================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_ARRAY_DELETE_ELEM([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports delete on array element. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_array_delete_elem.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_array_delete_elem.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_array_delete_elem.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_array_in, Next: ax_check_awk_asort, Prev: ax_check_awk_array_delete_elem, Up: The Macros
+
+ax_check_awk_array_in
+=====================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_ARRAY_IN([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports 'in' on array. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_array_in.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_array_in.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_array_in.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_asort, Next: ax_check_awk_asorti, Prev: ax_check_awk_array_in, Up: The Macros
+
+ax_check_awk_asort
+==================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_ASORT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports asort() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_asort.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_asort.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_asort.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_asorti, Next: ax_check_awk_associative_array, Prev: ax_check_awk_asort, Up: The Macros
+
+ax_check_awk_asorti
+===================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_ASORTI([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports asorti() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_asorti.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_asorti.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_asorti.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_associative_array, Next: ax_check_awk_atan2, Prev: ax_check_awk_asorti, Up: The Macros
+
+ax_check_awk_associative_array
+==============================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_ASSOCIATIVE_ARRAY([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports associative array. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_associative_array.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_associative_array.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_associative_array.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_atan2, Next: ax_check_awk_compl, Prev: ax_check_awk_associative_array, Up: The Macros
+
+ax_check_awk_atan2
+==================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_ATAN2([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports atan2() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_atan2.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_atan2.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_atan2.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_compl, Next: ax_check_awk_conditional_expression, Prev: ax_check_awk_atan2, Up: The Macros
+
+ax_check_awk_compl
+==================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_COMPL([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports compl() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_compl.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_compl.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_compl.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_conditional_expression, Next: ax_check_awk_cos, Prev: ax_check_awk_compl, Up: The Macros
+
+ax_check_awk_conditional_expression
+===================================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_CONDITIONAL_EXPRESSION([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports conditional expression (e.g. x = y ? 5 : 6). If
+successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_conditional_expression.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_conditional_expression.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_conditional_expression.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_cos, Next: ax_check_awk_environ, Prev: ax_check_awk_conditional_expression, Up: The Macros
+
+ax_check_awk_cos
+================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_COS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports cos() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_cos.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_cos.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_cos.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_environ, Next: ax_check_awk_errno, Prev: ax_check_awk_cos, Up: The Macros
+
+ax_check_awk_environ
+====================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_ENVIRON([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports ENVIRON variable. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_environ.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_environ.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_environ.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_errno, Next: ax_check_awk_exit, Prev: ax_check_awk_environ, Up: The Macros
+
+ax_check_awk_errno
+==================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_ERRNO([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports ERRNO variable. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_errno.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_errno.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_errno.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_exit, Next: ax_check_awk_exp, Prev: ax_check_awk_errno, Up: The Macros
+
+ax_check_awk_exit
+=================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_EXIT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports exit(). If successful execute ACTION-IF-SUCCESS
+otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_exit.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_exit.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_exit.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_exp, Next: ax_check_awk_gensub, Prev: ax_check_awk_exit, Up: The Macros
+
+ax_check_awk_exp
+================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_EXP([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports exp() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_exp.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_exp.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_exp.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_gensub, Next: ax_check_awk_getline, Prev: ax_check_awk_exp, Up: The Macros
+
+ax_check_awk_gensub
+===================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_GENSUB([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports gensub() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_gensub.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_gensub.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_gensub.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_getline, Next: ax_check_awk_gsub, Prev: ax_check_awk_gensub, Up: The Macros
+
+ax_check_awk_getline
+====================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_GETLINE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports getline function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_getline.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_getline.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_getline.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_gsub, Next: ax_check_awk_ignorecase, Prev: ax_check_awk_getline, Up: The Macros
+
+ax_check_awk_gsub
+=================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_GSUB([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports gsub() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_gsub.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_gsub.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_gsub.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_ignorecase, Next: ax_check_awk_index, Prev: ax_check_awk_gsub, Up: The Macros
+
+ax_check_awk_ignorecase
+=======================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_IGNORECASE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports IGNORECASE variable. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_ignorecase.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_ignorecase.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_ignorecase.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_index, Next: ax_check_awk_int, Prev: ax_check_awk_ignorecase, Up: The Macros
+
+ax_check_awk_index
+==================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_INDEX([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports index() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_index.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_index.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_index.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_int, Next: ax_check_awk_length, Prev: ax_check_awk_index, Up: The Macros
+
+ax_check_awk_int
+================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_INT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports int() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_int.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_int.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_int.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_length, Next: ax_check_awk_log, Prev: ax_check_awk_int, Up: The Macros
+
+ax_check_awk_length
+===================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_LENGTH([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports length() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_length.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_length.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_length.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_log, Next: ax_check_awk_lshift, Prev: ax_check_awk_length, Up: The Macros
+
+ax_check_awk_log
+================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_LOG([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports log() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_log.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_log.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_log.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_lshift, Next: ax_check_awk_match_2parms, Prev: ax_check_awk_log, Up: The Macros
+
+ax_check_awk_lshift
+===================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_LSHIFT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports lshift() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_lshift.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_lshift.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_lshift.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_match_2parms, Next: ax_check_awk_match_3parms, Prev: ax_check_awk_lshift, Up: The Macros
+
+ax_check_awk_match_2parms
+=========================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_MATCH_2PARMS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports match() function with 2 parameters (standard). If
+successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_match_2parms.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_match_2parms.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_match_2parms.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_match_3parms, Next: ax_check_awk_operator_multiply_multiply, Prev: ax_check_awk_match_2parms, Up: The Macros
+
+ax_check_awk_match_3parms
+=========================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_MATCH_3PARMS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports match() function with 3 parameters (GNU
+extension). If successful execute ACTION-IF-SUCCESS otherwise
+ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_match_3parms.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_match_3parms.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_match_3parms.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_operator_multiply_multiply, Next: ax_check_awk_operator_square, Prev: ax_check_awk_match_3parms, Up: The Macros
+
+ax_check_awk_operator_multiply_multiply
+=======================================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_OPERATOR_MULTIPLY_MULTIPLY([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports the '**' operator. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of
+'ax_check_awk_operator_multiply_multiply.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_operator_multiply_multiply.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_operator_multiply_multiply.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_operator_square, Next: ax_check_awk_or, Prev: ax_check_awk_operator_multiply_multiply, Up: The Macros
+
+ax_check_awk_operator_square
+============================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_OPERATOR_SQUARE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports the '^' operator. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_operator_square.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_operator_square.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_operator_square.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_or, Next: ax_check_awk_printf, Prev: ax_check_awk_operator_square, Up: The Macros
+
+ax_check_awk_or
+===============
+
+Synopsis
+********
+
+ AX_CHECK_AWK_OR([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports or() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_or.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_or.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_or.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_printf, Next: ax_check_awk_rand, Prev: ax_check_awk_or, Up: The Macros
+
+ax_check_awk_printf
+===================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_PRINTF([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports printf() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_printf.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_printf.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_printf.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_rand, Next: ax_check_awk_rshift, Prev: ax_check_awk_printf, Up: The Macros
+
+ax_check_awk_rand
+=================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_RAND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports rand() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_rand.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_rand.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_rand.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_rshift, Next: ax_check_awk_sin, Prev: ax_check_awk_rand, Up: The Macros
+
+ax_check_awk_rshift
+===================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_RSHIFT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports rshift() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_rshift.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_rshift.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_rshift.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_sin, Next: ax_check_awk_split, Prev: ax_check_awk_rshift, Up: The Macros
+
+ax_check_awk_sin
+================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_SIN([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports sin() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_sin.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sin.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sin.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_split, Next: ax_check_awk_sprintf, Prev: ax_check_awk_sin, Up: The Macros
+
+ax_check_awk_split
+==================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_SPLIT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports split() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_split.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_split.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_split.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_sprintf, Next: ax_check_awk_sqrt, Prev: ax_check_awk_split, Up: The Macros
+
+ax_check_awk_sprintf
+====================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_SPRINTF([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports sprintf() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_sprintf.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sprintf.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sprintf.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_sqrt, Next: ax_check_awk_srand, Prev: ax_check_awk_sprintf, Up: The Macros
+
+ax_check_awk_sqrt
+=================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_SQRT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports sqrt() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_sqrt.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sqrt.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sqrt.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_srand, Next: ax_check_awk_strftime, Prev: ax_check_awk_sqrt, Up: The Macros
+
+ax_check_awk_srand
+==================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_SRAND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports srand() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_srand.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_srand.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_srand.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_strftime, Next: ax_check_awk_strtonum, Prev: ax_check_awk_srand, Up: The Macros
+
+ax_check_awk_strftime
+=====================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_STRFTIME([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports strftime() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_strftime.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_strftime.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_strftime.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_strtonum, Next: ax_check_awk_sub, Prev: ax_check_awk_strftime, Up: The Macros
+
+ax_check_awk_strtonum
+=====================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_STRTONUM([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports strtonum() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_strtonum.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_strtonum.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_strtonum.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_sub, Next: ax_check_awk_substr, Prev: ax_check_awk_strtonum, Up: The Macros
+
+ax_check_awk_sub
+================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_SUB([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports sub() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_sub.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sub.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sub.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_substr, Next: ax_check_awk_system, Prev: ax_check_awk_sub, Up: The Macros
+
+ax_check_awk_substr
+===================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_SUBSTR([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports substr() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_substr.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_substr.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_substr.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_system, Next: ax_check_awk_systime, Prev: ax_check_awk_substr, Up: The Macros
+
+ax_check_awk_system
+===================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_SYSTEM([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports system() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_system.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_system.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_system.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_systime, Next: ax_check_awk_tolower, Prev: ax_check_awk_system, Up: The Macros
+
+ax_check_awk_systime
+====================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_SYSTIME([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports systime() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_systime.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_systime.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_systime.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_tolower, Next: ax_check_awk_toupper, Prev: ax_check_awk_systime, Up: The Macros
+
+ax_check_awk_tolower
+====================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_TOLOWER([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports tolower() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_tolower.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_tolower.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_tolower.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_toupper, Next: ax_check_awk_user_defined_functions, Prev: ax_check_awk_tolower, Up: The Macros
+
+ax_check_awk_toupper
+====================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_TOUPPER([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports toupper() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_toupper.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_toupper.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_toupper.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_user_defined_functions, Next: ax_check_awk_var_regexp, Prev: ax_check_awk_toupper, Up: The Macros
+
+ax_check_awk_user_defined_functions
+===================================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_USER_DEFINED_FUNCTIONS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports user defined functions. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_user_defined_functions.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_user_defined_functions.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_user_defined_functions.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_var_regexp, Next: ax_check_awk_variable_value_pairs, Prev: ax_check_awk_user_defined_functions, Up: The Macros
+
+ax_check_awk_var_regexp
+=======================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_VAR_REGEXP([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports variable regexp. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_var_regexp.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_var_regexp.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_var_regexp.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_variable_value_pairs, Next: ax_check_awk_xor, Prev: ax_check_awk_var_regexp, Up: The Macros
+
+ax_check_awk_variable_value_pairs
+=================================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_VARIABLE_VALUE_PAIRS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports variable=value pairs ($AWK '<PROGRAM>' var=val).
+If successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_variable_value_pairs.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_variable_value_pairs.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_variable_value_pairs.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_awk_xor, Next: ax_check_class, Prev: ax_check_awk_variable_value_pairs, Up: The Macros
+
+ax_check_awk_xor
+================
+
+Synopsis
+********
+
+ AX_CHECK_AWK_XOR([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Check if AWK supports xor() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_awk_xor.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_xor.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_xor.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_class, Next: ax_check_classpath, Prev: ax_check_awk_xor, Up: The Macros
+
+ax_check_class
+==============
+
+Synopsis
+********
+
+ AX_CHECK_CLASS
+
+Description
+***********
+
+AX_CHECK_CLASS tests the existence of a given Java class, either in a
+jar or in a '.class' file.
+
+*Warning*: its success or failure can depend on a proper setting of the
+CLASSPATH env. variable.
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission. The
+general documentation, as well as the sample configure.in, is included
+in the AX_PROG_JAVA macro.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_class.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_class.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_class.m4).
+
+License
+*******
+
+Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_classpath, Next: ax_check_compile_flag, Prev: ax_check_class, Up: The Macros
+
+ax_check_classpath
+==================
+
+Synopsis
+********
+
+ AX_CHECK_CLASSPATH
+
+Description
+***********
+
+AX_CHECK_CLASSPATH just displays the CLASSPATH, for the edification of
+the user.
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission. The
+general documentation, as well as the sample configure.in, is included
+in the AX_PROG_JAVA macro.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_classpath.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_classpath.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_classpath.m4).
+
+License
+*******
+
+Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_compile_flag, Next: ax_check_define, Prev: ax_check_classpath, Up: The Macros
+
+ax_check_compile_flag
+=====================
+
+Synopsis
+********
+
+ AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
+
+Description
+***********
+
+Check whether the given FLAG works with the current language's compiler
+or gives an error. (Warnings, however, are ignored)
+
+ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
+success/failure.
+
+If EXTRA-FLAGS is defined, it is added to the current language's default
+flags (e.g. CFLAGS) when the check is done. The check is thus made
+with the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used
+to force the compiler to issue an error when a bad flag is given.
+
+INPUT gives an alternative input source to AC_COMPILE_IFELSE.
+
+NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
+macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_compile_flag.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_compile_flag.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_compile_flag.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_define, Next: ax_check_docbook_dtd, Prev: ax_check_compile_flag, Up: The Macros
+
+ax_check_define
+===============
+
+Synopsis
+********
+
+ AC_CHECK_DEFINE([symbol], [ACTION-IF-FOUND], [ACTION-IF-NOT])
+ AX_CHECK_DEFINE([includes],[symbol], [ACTION-IF-FOUND], [ACTION-IF-NOT])
+
+Description
+***********
+
+Complements AC_CHECK_FUNC but it does not check for a function but for a
+define to exist. Consider a usage like:
+
+ AC_CHECK_DEFINE(__STRICT_ANSI__, CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500")
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_define.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_define.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_define.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_docbook_dtd, Next: ax_check_docbook_xslt, Prev: ax_check_define, Up: The Macros
+
+ax_check_docbook_dtd
+====================
+
+Synopsis
+********
+
+ AX_CHECK_DOCBOOK_DTD([dtd-version])
+
+Description
+***********
+
+Check for access to a docbook DTD of a particular revision. This macro
+can be used for multiple versions within the same script.
+
+Input:
+
+$1 is the version of docbook to search for; default 'current'.
+
+Output:
+
+$HAVE_DOCBOOK_DTD_VERS will be set to 'yes' or 'no' depending on the
+results of the test, where VERS is $1, with '_' substituted for '.'
+$HAVE_DOCBOOK_DTD will also be set to the same value.
+
+Example:
+
+ AX_CHECK_DOCBOOK_DTD(4.3)
+ if test "x$HAVE_DOCBOOK_DTD_4_3" = "xyes"; then
+ ...
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_docbook_dtd.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_docbook_dtd.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_docbook_dtd.m4).
+
+License
+*******
+
+Copyright (C) 2008 Zmanda Inc. <http://www.zmanda.com/>
+Copyright (C) 2008 Dustin J. Mitchell <dustin@zmanda.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_docbook_xslt, Next: ax_check_docbook_xslt_min, Prev: ax_check_docbook_dtd, Up: The Macros
+
+ax_check_docbook_xslt
+=====================
+
+Synopsis
+********
+
+ AX_CHECK_DOCBOOK_XSLT([xslt-version])
+
+Description
+***********
+
+Check for access to docbook stylesheets of a particular revision. This
+macro can be used for multiple versions within the same script.
+
+Input:
+
+$1 is the version of docbook to search for; default 'current'.
+
+Output:
+
+$HAVE_DOCBOOK_XSLT_VERS will be set to 'yes' or 'no' depending on the
+results of the test, where VERS is $1, with '_' substituted for '.'.
+$HAVE_DOCBOOK_XSLT will also be set to the same value.
+
+Example:
+
+ AX_CHECK_DOCBOOK_XSLT(1.72.0)
+ if test "x$HAVE_DOCBOOK_XSLT_1_72_0" = "xyes"; then
+ ...
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_docbook_xslt.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_docbook_xslt.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_docbook_xslt.m4).
+
+License
+*******
+
+Copyright (C) 2008 Zmanda Inc. <http://www.zmanda.com/>
+Copyright (C) 2008 Dustin J. Mitchell <dustin@zmanda.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_docbook_xslt_min, Next: ax_check_dos_filesys, Prev: ax_check_docbook_xslt, Up: The Macros
+
+ax_check_docbook_xslt_min
+=========================
+
+Synopsis
+********
+
+ AX_CHECK_DOCBOOK_XSLT_MIN(min-xslt-version)
+
+Description
+***********
+
+Check that the 'current' version of docbook is at least version
+min-xslt-version. If the test is successful,
+$DOCBOOK_XSLT_CURRENT_VERSION will be set to the current docbook
+version; if not, it will be set to 'no'.
+
+Example:
+
+ AX_CHECK_DOCBOOK_XSLT_MIN(1.72.0)
+ if test "x$DOCBOOK_XSLT_CURRENT_VERSION" = "xno"; then
+ ...
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_docbook_xslt_min.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_docbook_xslt_min.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_docbook_xslt_min.m4).
+
+License
+*******
+
+Copyright (C) 2008 Zmanda Inc. <http://www.zmanda.com/>
+Copyright (C) 2008 Dustin J. Mitchell <dustin@zmanda.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_dos_filesys, Next: ax_check_enable_debug, Prev: ax_check_docbook_xslt_min, Up: The Macros
+
+ax_check_dos_filesys
+====================
+
+Synopsis
+********
+
+ AX_CHECK_DOS_FILESYS_LIMITATIONS
+
+Description
+***********
+
+Check if the target is running on DOS. DOS doesn't allow a dot as the
+first character, more than one dot, more than eight characters before a
+dot, and just three letters after the dot. A DOS VM running under
+Windows 9X does not have these restrictions. A DOS program can be
+running in either environment, so its important to code accordingly.
+Defines HAVE_DOS_FILESYS_LIMITATIONS if under DOS.
+
+Use in conjunction with AX_CHECK_PATHNAME_STYLE_DOS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_dos_filesys.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_dos_filesys.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_dos_filesys.m4).
+
+License
+*******
+
+Copyright (C) 2008 Mark Elbrecht
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_enable_debug, Next: ax_check_func_in, Prev: ax_check_dos_filesys, Up: The Macros
+
+ax_check_enable_debug
+=====================
+
+Synopsis
+********
+
+ AX_CHECK_ENABLE_DEBUG([enable by default=yes/info/profile/no], [ENABLE DEBUG VARIABLES ...], [DISABLE DEBUG VARIABLES NDEBUG ...], [IS-RELEASE])
+
+Description
+***********
+
+Check for the presence of an -enable-debug option to configure, with the
+specified default value used when the option is not present. Return the
+value in the variable $ax_enable_debug.
+
+Specifying 'yes' adds '-g -O0' to the compilation flags for all
+languages. Specifying 'info' adds '-g' to the compilation flags.
+Specifying 'profile' adds '-g -pg' to the compilation flags and '-pg' to
+the linking flags. Otherwise, nothing is added.
+
+Define the variables listed in the second argument if debug is enabled,
+defaulting to no variables. Defines the variables listed in the third
+argument if debug is disabled, defaulting to NDEBUG. All lists of
+variables should be space-separated.
+
+If debug is not enabled, ensure AC_PROG_* will not add debugging flags.
+Should be invoked prior to any AC_PROG_* compiler checks.
+
+IS-RELEASE can be used to change the default to 'no' when making a
+release. Set IS-RELEASE to 'yes' or 'no' as appropriate. By default,
+it uses the value of $ax_is_release, so if you are using the
+AX_IS_RELEASE macro, there is no need to pass this parameter.
+
+ AX_IS_RELEASE([git-directory])
+ AX_CHECK_ENABLE_DEBUG()
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_enable_debug.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_enable_debug.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_enable_debug.m4).
+
+License
+*******
+
+Copyright (C) 2011 Rhys Ulerich <rhys.ulerich@gmail.com>
+Copyright (C) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_func_in, Next: ax_check_gd, Prev: ax_check_enable_debug, Up: The Macros
+
+ax_check_func_in
+================
+
+Synopsis
+********
+
+ AX_CHECK_FUNC_IN(HEADER, FUNCTION [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+Checking for library functions in a given header file.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_func_in.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_func_in.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_func_in.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_gd, Next: ax_check_gir_symbols_gjs, Prev: ax_check_func_in, Up: The Macros
+
+ax_check_gd
+===========
+
+Synopsis
+********
+
+ AX_CHECK_GD
+
+Description
+***********
+
+Check for the gd library. (See http://www.boutell.com/gd/) If gd is
+found, the output variables GD_CFLAGS, GD_LDFLAGS and GD_LIBS will
+contain the compiler flags, linker flags and libraries necessary to use
+gd; otherwise, those variables will be empty. In addition, the symbol
+HAVE_GD is defined if the library is found, and the symbols HAVE_GD_GIF,
+HAVE_GD_JPEG and HAVE_GD_PNG are defined if the library supports
+creating images in gif, jpeg and png formats, respectively.
+
+The user may use -with-gd=no or -without-gd to skip checking for the
+library. (The default is -with-gd=yes.) If the library is installed in
+an unusual location, -with-gd=DIR will cause the macro to look for
+gdlib-config in DIR/bin or, failing that, for the headers and libraries
+in DIR/include and DIR/lib.
+
+Feedback welcome!
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_gd.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gd.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gd.m4).
+
+License
+*******
+
+Copyright (C) 2008 Nick Markham <markhn@rpi.edu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_gir_symbols_gjs, Next: ax_check_girs_gjs, Prev: ax_check_gd, Up: The Macros
+
+ax_check_gir_symbols_gjs
+========================
+
+Synopsis
+********
+
+ AX_CHECK_GIR_SYMBOLS_GJS(MODULE, APIVERSION, SYMBOLS)
+
+Description
+***********
+
+Check that each symbol from the whitespace-separated list of $SYMBOLS is
+defined inside the GObject Introspection module $MODULE with API version
+$APIVERSION, and is importable in GJS, GNOME's JavaScript engine
+(https://wiki.gnome.org/Projects/Gjs).
+
+GObject Introspection
+(https://wiki.gnome.org/Projects/GObjectIntrospection) is a tool for
+generating bindings from C libraries to higher-level languages. The
+bindings live in a GObject Introspection repository (GIR) file, which is
+what this macro checks.
+
+Note that for the purposes of GObject Introspection, the API version is
+different from the release version. For example, GTK currently has API
+version 3.0, but that could mean any release from the 3.0, 3.2, 3.4,...
+series.
+
+Example:
+
+ AX_CHECK_GIR_SYMBOLS_GJS([Gtk], [3.0], [ListBox FlowBox
+ Widget.get_action_group])
+
+NOTE: This macro depends on AX_PROG_GJS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_gir_symbols_gjs.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gir_symbols_gjs.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gir_symbols_gjs.m4).
+
+License
+*******
+
+Copyright (C) 2013, 2016 Endless Mobile, Inc.; contributed by Philip Chimento <philip@endlessm.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_girs_gjs, Next: ax_check_gl, Prev: ax_check_gir_symbols_gjs, Up: The Macros
+
+ax_check_girs_gjs
+=================
+
+Synopsis
+********
+
+ AX_CHECK_GIRS_GJS(MODULE, API_VERSION [, MODULE, API_VERSION...])
+
+Description
+***********
+
+Check that the GObject Introspection module $MODULE is importable in GJS
+(GNOME's JavaScript engine, https://wiki.gnome.org/Projects/Gjs). The
+API version must be $API_VERSION.
+
+GObject Introspection
+(https://wiki.gnome.org/Projects/GObjectIntrospection) is a tool for
+generating bindings from C libraries to higher-level languages. The
+bindings live in a GObject Introspection repository (GIR) file, which is
+what this macro checks.
+
+Note that for the purposes of GObject Introspection, the API version is
+different from the release version. For example, GTK currently has API
+version 3.0, but that could mean any release from the 3.0, 3.2, 3.4,...
+series. To check for specific API that was added in a later version,
+use AX_CHECK_GIR_SYMBOLS_GJS.
+
+Example:
+
+ AX_CHECK_GIRS_GJS([Gdk], [3.0],
+ [Gtk], [3.0])
+
+NOTE: This macro depends on AX_PROG_GJS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_girs_gjs.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_girs_gjs.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_girs_gjs.m4).
+
+License
+*******
+
+Copyright (C) 2013, 2016 Endless Mobile, Inc.; contributed by Philip Chimento <philip@endlessm.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_gl, Next: ax_check_glu, Prev: ax_check_girs_gjs, Up: The Macros
+
+ax_check_gl
+===========
+
+Synopsis
+********
+
+ AX_CHECK_GL([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+Checks for an OpenGL implementation. If a valid OpenGL implementation
+is found, this macro would set C preprocessor symbol HAVE_GL to 1.
+
+If either a valid OpenGL header or library was not found, by default the
+configuration would exits on error. This behavior can be overwritten by
+providing a custom "ACTION-IF-NOT-FOUND" hook.
+
+If the header, library was found, and been tested for compiling and
+linking the configuration would export the required compiler flags to
+"GL_CFLAGS" and "GL_LIBS". These two variables can also be overwritten
+by user from the command line if they want to link against the library
+they specified instead of having the configuration script to detect the
+flags automatically. Note that having "GL_CFLAGS" or "GL_LIBS" set
+doesn't mean it can compile or link with the flags, since it could be
+overwritten by user. However the "HAVE_GL" symbol and "ACTION-IF-FOUND"
+hook is always guaranteed to reflect a valid OpenGL implementation.
+
+If user didn't specify the "ACTION-IF-FOUND" hook, the configuration
+would prepend "GL_CFLAGS" and "GL_LIBS" to "CFLAGS" and "LIBS", like
+many other autoconf macros do.
+
+OpenGL is one of the libraries that has different header names on
+different platforms. This macro does the header detection, and will
+export the following symbol: "HAVE_GL_GL_H" for having "GL/gl.h" or
+"HAVE_OPENGL_GL_H" for having "OpenGL/gl.h". To write a portable OpenGL
+code, you should include OpenGL header like so:
+
+ #if defined(HAVE_WINDOWS_H) && defined(_WIN32)
+ # include <windows.h>
+ #endif
+ #ifdef HAVE_GL_GL_H
+ # include <GL/gl.h>
+ #elif defined(HAVE_OPENGL_GL_H)
+ # include <OpenGL/gl.h>
+ #else
+ # error no gl.h
+ #endif
+
+On the OSX platform, there's two possible OpenGL implementation. One is
+the OpenGL that ships with OSX, the other comes with X11/XQuartz
+(http://www.xquartz.org). To use the xquartz variant, user can use the
+option -with-xquartz-gl[=path to xquartz root]. By default the
+configuration will check "/opt/X11", which is the default X11 install
+location on OSX.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_gl.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gl.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gl.m4).
+
+License
+*******
+
+Copyright (C) 2009 Braden McDaniel <braden@endoframe.com>
+Copyright (C) 2012 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
+
+Copyright (C) 2016 Felix Chern <idryman@gmail.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_glu, Next: ax_check_glut, Prev: ax_check_gl, Up: The Macros
+
+ax_check_glu
+============
+
+Synopsis
+********
+
+ AX_CHECK_GLU([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+Checks for GLUT. If a valid GLU implementation is found, the configure
+script would export the C preprocessor symbol "HAVE_GLU=1".
+
+If either a valid GLU header or library was not found, by default the
+configure script would exit on error. This behavior can be overwritten
+by providing a custom "ACTION-IF-NOT-FOUND" hook.
+
+If the header, library was found, and been tested for compiling and
+linking the configuration would export the required compiler flags to
+"GLU_CFLAGS" and "GLU_LIBS" environment variables. These two variables
+can also be overwritten by defining the environment variables before
+executing the configure program. If it was predefined, configure would
+not try to overwrite it, but it would still perform the compile and link
+test. Only when the tests succeeded does the configure script to export
+"HAVE_GLU=1" and to run "ACTION-IF-FOUND" hook.
+
+If user didn't specify the "ACTION-IF-FOUND" hook, the configuration
+would prepend "GLU_CFLAGS" and "GLU_LIBS" to "CFLAGS" and "LIBS", like
+many other autoconf macros do.
+
+If the header "GL/glu.h" is found, "HAVE_GL_GLU_H" is defined. If the
+header "OpenGL/glu.h" is found, HAVE_OPENGL_GLU_H is defined.
+
+You should use something like this in your headers:
+
+ # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
+ # include <windows.h>
+ # endif
+ # if defined(HAVE_GL_GLU_H)
+ # include <GL/glu.h>
+ # elif defined(HAVE_OPENGL_GLU_H)
+ # include <OpenGL/glu.h>
+ # else
+ # error no glu.h
+ # endif
+
+On the OSX platform, you can use the option -with-xquartz-gl to use
+X11/Xquartz GLU implementation instead of the system built in GLU
+framework.
+
+Some implementations (in particular, some versions of Mac OS X) are
+known to treat the GLU tesselator callback function type as "GLvoid
+(*)(...)" rather than the standard "GLvoid (*)()". If the former
+condition is detected, this macro defines "HAVE_VARARGS_GLU_TESSCB".
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_glu.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_glu.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_glu.m4).
+
+License
+*******
+
+Copyright (C) 2009 Braden McDaniel <braden@endoframe.com>
+Copyright (C) 2013 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
+
+Copyright (C) 2016 Felix Chern <idryman@gmail.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_glut, Next: ax_check_glx, Prev: ax_check_glu, Up: The Macros
+
+ax_check_glut
+=============
+
+Synopsis
+********
+
+ AX_CHECK_GLUT([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+Checks for GLUT. If a valid GLUT implementation is found, the configure
+script would export the C preprocessor symbol "HAVE_GLUT=1".
+
+If either a valid GLUT header or library was not found, by default the
+configure script would exit on error. This behavior can be overwritten
+by providing a custom "ACTION-IF-NOT-FOUND" hook.
+
+If the header, library was found, and been tested for compiling and
+linking the configuration would export the required compiler flags to
+"GLUT_CFLAGS" and "GLUT_LIBS" environment variables. These two
+variables can also be overwritten by defining the environment variables
+before executing the configure program. If it was predefined, configure
+would not try to overwrite it, but it would still perform the compile
+and link test. Only when the tests succeeded does the configure script
+to export "HAVE_GLUT=1" and to run "ACTION-IF-FOUND" hook.
+
+If user didn't specify the "ACTION-IF-FOUND" hook, the configuration
+would prepend "GLUT_CFLAGS" and "GLUT_LIBS" to "CFLAGS" and "LIBS", like
+many other autoconf macros do.
+
+If the header "GL/glut.h" is found, "HAVE_GL_GLUT_H" is defined. If the
+header "GLUT/glut.h" is found, HAVE_GLUT_GLUT_H is defined.
+
+You should use something like this in your headers:
+
+ # if HAVE_WINDOWS_H && defined(_WIN32)
+ # include <windows.h>
+ # endif
+ # if defined(HAVE_GL_GLUT_H)
+ # include <GL/glut.h>
+ # elif defined(HAVE_GLUT_GLUT_H)
+ # include <GLUT/glut.h>
+ # else
+ # error no glut.h
+ # endif
+
+On the OSX platform, you can use the option -with-xquartz-gl to use
+X11/Xquartz GLUT implementation instead of the system built in GLUT
+framework.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_glut.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_glut.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_glut.m4).
+
+License
+*******
+
+Copyright (C) 2009 Braden McDaniel <braden@endoframe.com>
+Copyright (C) 2013 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
+
+Copyright (C) 2016 Felix Chern <idryman@gmail.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_glx, Next: ax_check_gnu_make, Prev: ax_check_glut, Up: The Macros
+
+ax_check_glx
+============
+
+Synopsis
+********
+
+ AX_CHECK_GLX
+
+Description
+***********
+
+Check for GLX. If GLX is found, the required preprocessor and linker
+flags are included in the output variables "GLX_CFLAGS" and "GLX_LIBS",
+respectively. If no GLX implementation is found, "no_glx" is set to
+"yes".
+
+If the header "GL/glx.h" is found, "HAVE_GL_GLX_H" is defined. If the
+header "OpenGL/glx.h" is found, HAVE_OPENGL_GLX_H is defined. These
+preprocessor definitions may not be mutually exclusive.
+
+You should use something like this in your headers:
+
+ # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
+ # include <windows.h>
+ # endif
+ # if defined(HAVE_GL_GLX_H)
+ # include <GL/glx.h>
+ # elif defined(HAVE_OPENGL_GLX_H)
+ # include <OpenGL/glx.h>
+ # else
+ # error no glx.h
+ # endif
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_glx.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_glx.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_glx.m4).
+
+License
+*******
+
+Copyright (C) 2009 Braden McDaniel <braden@endoframe.com>
+Copyright (C) 2013-2014 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_gnu_make, Next: ax_check_icu, Prev: ax_check_glx, Up: The Macros
+
+ax_check_gnu_make
+=================
+
+Synopsis
+********
+
+ AX_CHECK_GNU_MAKE([run-if-true],[run-if-false])
+
+Description
+***********
+
+This macro searches for a GNU version of make. If a match is found:
+
+ * The makefile variable `ifGNUmake' is set to the empty string, otherwise
+ it is set to "#". This is useful for including a special features in a
+ Makefile, which cannot be handled by other versions of make.
+ * The makefile variable `ifnGNUmake' is set to #, otherwise
+ it is set to the empty string. This is useful for including a special
+ features in a Makefile, which can be handled
+ by other versions of make or to specify else like clause.
+ * The variable `_cv_gnu_make_command` is set to the command to invoke
+ GNU make if it exists, the empty string otherwise.
+ * The variable `ax_cv_gnu_make_command` is set to the command to invoke
+ GNU make by copying `_cv_gnu_make_command`, otherwise it is unset.
+ * If GNU Make is found, its version is extracted from the output of
+ `make --version` as the last field of a record of space-separated
+ columns and saved into the variable `ax_check_gnu_make_version`.
+ * Additionally if GNU Make is found, run shell code run-if-true
+ else run shell code run-if-false.
+
+Here is an example of its use:
+
+Makefile.in might contain:
+
+ # A failsafe way of putting a dependency rule into a makefile
+ $(DEPEND):
+ $(CC) -MM $(srcdir)/*.c > $(DEPEND)
+
+ @ifGNUmake@ ifeq ($(DEPEND),$(wildcard $(DEPEND)))
+ @ifGNUmake@ include $(DEPEND)
+ @ifGNUmake@ else
+ fallback code
+ @ifGNUmake@ endif
+
+Then configure.in would normally contain:
+
+ AX_CHECK_GNU_MAKE()
+ AC_OUTPUT(Makefile)
+
+Then perhaps to cause gnu make to override any other make, we could do
+something like this (note that GNU make always looks for GNUmakefile
+first):
+
+ if ! test x$_cv_gnu_make_command = x ; then
+ mv Makefile GNUmakefile
+ echo .DEFAULT: > Makefile ;
+ echo \ $_cv_gnu_make_command \$@ >> Makefile;
+ fi
+
+Then, if any (well almost any) other make is called, and GNU make also
+exists, then the other make wraps the GNU make.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_gnu_make.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gnu_make.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gnu_make.m4).
+
+License
+*******
+
+Copyright (C) 2008 John Darrington <j.darrington@elvis.murdoch.edu.au>
+Copyright (C) 2015 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_icu, Next: ax_check_java_home, Prev: ax_check_gnu_make, Up: The Macros
+
+ax_check_icu
+============
+
+Synopsis
+********
+
+ AX_CHECK_ICU(version, action-if, action-if-not)
+
+Description
+***********
+
+Defines ICU_LIBS, ICU_CFLAGS, ICU_CXXFLAGS. See icu-config(1) man page.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_icu.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_icu.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_icu.m4).
+
+License
+*******
+
+Copyright (C) 2008 Akos Maroy <darkeye@tyrell.hu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_java_home, Next: ax_check_java_plugin, Prev: ax_check_icu, Up: The Macros
+
+ax_check_java_home
+==================
+
+Synopsis
+********
+
+ AX_CHECK_JAVA_HOME
+
+Description
+***********
+
+Check for Sun Java (JDK / JRE) installation, where the 'java' VM is in.
+If found, set environment variable JAVA_HOME = Java installation home,
+else left JAVA_HOME untouch, which in most case means JAVA_HOME is
+empty.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_java_home.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_java_home.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_java_home.m4).
+
+License
+*******
+
+Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_java_plugin, Next: ax_check_junit, Prev: ax_check_java_home, Up: The Macros
+
+ax_check_java_plugin
+====================
+
+Synopsis
+********
+
+ AX_CHECK_JAVA_PLUGIN(<shell-variable>)
+
+Description
+***********
+
+This macro sets <shell-variable> to empty on failure and to a compatible
+version of plugin.jar otherwise. Directories searched are /usr/java/*
+and /usr/local/java/*, which are assumed to be j{dk,re} installations.
+Apply the shell variable as you see fit. If sun changes things so
+<jre>/lib/plugin.jar is not the magic file it will stop working.
+
+This macro assumes that unzip, zipinfo or pkzipc is available (and can
+list the contents of the jar archive). The first two are assumed to
+work similarly enough to the infozip versions. The pkzipc version is
+assumed to work if I understand the documentation on pkware's site but
+YMMV. I do not have access to pwkware's version to test it.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_java_plugin.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_java_plugin.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_java_plugin.m4).
+
+License
+*******
+
+Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_junit, Next: ax_check_library, Prev: ax_check_java_plugin, Up: The Macros
+
+ax_check_junit
+==============
+
+Synopsis
+********
+
+ AX_CHECK_JUNIT
+
+Description
+***********
+
+AX_CHECK_JUNIT tests the availability of the Junit testing framework,
+and set some variables for conditional compilation of the test suite by
+automake.
+
+If available, JUNIT is set to a command launching the text based user
+interface of Junit, @JAVA_JUNIT@ is set to $JAVA_JUNIT and @TESTS_JUNIT@
+is set to $TESTS_JUNIT, otherwise they are set to empty values.
+
+You can use these variables in your Makefile.am file like this :
+
+ # Some of the following classes are built only if junit is available
+ JAVA_JUNIT = Class1Test.java Class2Test.java AllJunitTests.java
+
+ noinst_JAVA = Example1.java Example2.java @JAVA_JUNIT@
+
+ EXTRA_JAVA = $(JAVA_JUNIT)
+
+ TESTS_JUNIT = AllJunitTests
+
+ TESTS = StandaloneTest1 StandaloneTest2 @TESTS_JUNIT@
+
+ EXTRA_TESTS = $(TESTS_JUNIT)
+
+ AllJunitTests :
+ echo "#! /bin/sh" > $@
+ echo "exec @JUNIT@ my.package.name.AllJunitTests" >> $@
+ chmod +x $@
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_junit.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_junit.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_junit.m4).
+
+License
+*******
+
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_library, Next: ax_check_link_flag, Prev: ax_check_junit, Up: The Macros
+
+ax_check_library
+================
+
+Synopsis
+********
+
+ AX_CHECK_LIBRARY(VARIABLE-PREFIX, HEADER-FILE, LIBRARY-FILE,
+ [ACTION-IF-FOUND], [ACTION-IF-NOT_FOUND])
+
+Description
+***********
+
+Provides a generic test for a given library, similar in concept to the
+PKG_CHECK_MODULES macro used by pkg-config.
+
+Most simplest libraries can be checked against simply through the
+presence of a header file and a library to link to. This macro allows
+to wrap around the test so that it doesn't have to be recreated each
+time.
+
+Rather than define -with-$LIBRARY arguments, it uses variables in the
+same way that PKG_CHECK_MODULES does. It doesn't, though, use the same
+names, since you shouldn't provide a value for LIBS or CFLAGS but rather
+for LDFLAGS and CPPFLAGS, to tell the linker and compiler where to find
+libraries and headers respectively.
+
+If the library is find, HAVE_PREFIX is defined, and in all cases
+PREFIX_LDFLAGS and PREFIX_CPPFLAGS are substituted.
+
+Example:
+
+ AX_CHECK_LIBRARY([LIBEVENT], [event.h], [event], [],
+ [AC_MSG_ERROR([Unable to find libevent])])
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_library.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_library.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_library.m4).
+
+License
+*******
+
+Copyright (C) 2010 Diego Elio Petteno' <flameeyes@gmail.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_link_flag, Next: ax_check_mysql, Prev: ax_check_library, Up: The Macros
+
+ax_check_link_flag
+==================
+
+Synopsis
+********
+
+ AX_CHECK_LINK_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
+
+Description
+***********
+
+Check whether the given FLAG works with the linker or gives an error.
+(Warnings, however, are ignored)
+
+ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
+success/failure.
+
+If EXTRA-FLAGS is defined, it is added to the linker's default flags
+when the check is done. The check is thus made with the flags: "LDFLAGS
+EXTRA-FLAGS FLAG". This can for example be used to force the linker to
+issue an error when a bad flag is given.
+
+INPUT gives an alternative input source to AC_LINK_IFELSE.
+
+NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
+macro in sync with AX_CHECK_{PREPROC,COMPILE}_FLAG.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_link_flag.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_link_flag.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_link_flag.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_mysql, Next: ax_check_mysql_db, Prev: ax_check_link_flag, Up: The Macros
+
+ax_check_mysql
+==============
+
+Synopsis
+********
+
+ AX_CHECK_MYSQL([MYSQL-PLUGIN-NEEDED],[MYSQL-REQUIRED],[MINIMUM-VERSION],[INCLUDES-REQUIRED])
+ AX_SOURCE_MYSQL()
+ AX_CHECK_MYSQL_INSTALL([ROOT-DIR],[IF-FOUND],[IF-NOT-FOUND])
+
+Description
+***********
+
+Looks for a MySQL installation in typical locations, or can take in a
+flag designating where a MySQL installation is found. Sets the
+variables stated to various attributes of the desired MySQL
+installation.
+
+In detail, AX_CHECK_MYSQL will automatically look for a MySQL
+installation in the directories that a mysql source or binary install
+typically install to. AX_CHECK_MYSQL will throw an error if it cannot
+find one, and it is required.
+
+AX_CHECK_MYSQL can also check for specific variables passed regarding a
+location of a MySQL installation.
+
+If a MySQL installation is found, AX_CHECK_MYSQL sets variables
+regarding the version of MySQL, its architecture (32 or 64 bit), and
+whether the version supports Plugins.
+
+AX_CHECK_MYSQL_INSTALL will check a designated root directory for a
+command, plugin, and include directory. If a mysql binary is not found
+or not found, the IF-FOUND and IF-NOT-FOUND directive will be executed,
+respectively.
+
+AX_CHECK_MYSQL adds the following flags:
+
+ --with-mysql, for the root of a desired MySQL installation
+ --with-mysql-plugin, for the path to the plugin directory of the MySQL installation
+ --with-mysql-include, for the path to the include directory of the MySQL installation
+ --with-mysql-command, for the path to the binary directory of the MySQL installation
+ --with-mysql-source, for the path to a directory containing the source of the MySQL installation
+
+AX_CHECK_MYSQL sets:
+
+ MYSQL to indicate whether MySQL was found or not
+ MYSQL_INCLUDES to the include directory (if one exists)
+ MYSQL_PLUGINS to the plugin directory
+ MYSQL_COMMANDS to the mysql executable directory
+ MYSQL_ARCHITECTURE to whether MySQL is 32 or 64 bit (32 if 32, 64 if 64)
+ MYSQL_VERSION to what the MySQL version is (5.1,5.5, etc)
+ MYSQL_PLUGIN_OK to whether MySQL version supports plugins (5.1 or greater)
+ MYSQL_55 to whether the version of MySQL is 5.5 or greater
+ MYSQL_SOURCE to the source directory passed by --with-mysql-source
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_mysql.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_mysql.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_mysql.m4).
+
+License
+*******
+
+Copyright (C) 2011 University of Washington
+Copyright (C) 2011 Yusuke Tsutsumi <tsutsumi.yusuke@gmail.com>
+Copyright (C) 2011 Craig Stimmel <cstimmel@uw.edu>
+Copyright (C) 2011 Eric Wu
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_mysql_db, Next: ax_check_mysqlr, Prev: ax_check_mysql, Up: The Macros
+
+ax_check_mysql_db
+=================
+
+Synopsis
+********
+
+ AX_CHECK_MYSQL_DB
+
+Description
+***********
+
+Check if the specified MySQL database exists, if yes set your
+environment variable to that database name else unset your environment
+variable
+
+Example:
+
+ AX_CHECK_MYSQL_DB(DBNAME, [fishmarket])
+ if test x$DBNAME = xfishmarket; then
+ bla..bla..bla..
+ else
+ bla..bla..bla..
+ fi
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_mysql_db.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_mysql_db.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_mysql_db.m4).
+
+License
+*******
+
+Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_mysqlr, Next: ax_check_off64_t, Prev: ax_check_mysql_db, Up: The Macros
+
+ax_check_mysqlr
+===============
+
+Synopsis
+********
+
+ AX_CHECK_MYSQLR
+
+Description
+***********
+
+First check if mysqlconfig exists. It fails if mysqlconfig is not in
+path. Then it checks for the libraries and replaces -lmysqlclient
+statement with -lmysqlclient_r statement, to enable threaded client
+library.
+
+The following are exported environment variables:
+
+ MYSQL_LIBS
+ MYSQL_CFLAGS
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_mysqlr.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_mysqlr.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_mysqlr.m4).
+
+License
+*******
+
+Copyright (C) 2008 Can Bican <bican@yahoo.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_off64_t, Next: ax_check_openssl, Prev: ax_check_mysqlr, Up: The Macros
+
+ax_check_off64_t
+================
+
+Synopsis
+********
+
+ AX_CHECK_OFF64_T
+
+Description
+***********
+
+Check if off64_t is defined. On true define HAVE_OFF64_T, also define
+__LARGEFILE64_SOURCE where one is needed. (Note that an appropriative
+entry must be in config.h.in.)
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_off64_t.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_off64_t.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_off64_t.m4).
+
+License
+*******
+
+Copyright (C) 2008 Ruslan Shevchenko <Ruslan@Shevchenko.Kiev.UA>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_openssl, Next: ax_check_page_aligned_malloc, Prev: ax_check_off64_t, Up: The Macros
+
+ax_check_openssl
+================
+
+Synopsis
+********
+
+ AX_CHECK_OPENSSL([action-if-found[, action-if-not-found]])
+
+Description
+***********
+
+Look for OpenSSL in a number of default spots, or in a user-selected
+spot (via -with-openssl). Sets
+
+ OPENSSL_INCLUDES to the include directives required
+ OPENSSL_LIBS to the -l directives required
+ OPENSSL_LDFLAGS to the -L or -R flags required
+
+and calls ACTION-IF-FOUND or ACTION-IF-NOT-FOUND appropriately
+
+This macro sets OPENSSL_INCLUDES such that source files should use the
+openssl/ directory in include directives:
+
+ #include <openssl/hmac.h>
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_openssl.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_openssl.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_openssl.m4).
+
+License
+*******
+
+Copyright (C) 2009,2010 Zmanda Inc. <http://www.zmanda.com/>
+Copyright (C) 2009,2010 Dustin J. Mitchell <dustin@zmanda.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_page_aligned_malloc, Next: ax_check_pathfind, Prev: ax_check_openssl, Up: The Macros
+
+ax_check_page_aligned_malloc
+============================
+
+Synopsis
+********
+
+ AX_CHECK_PAGE_ALIGNED_MALLOC
+
+Description
+***********
+
+Some operating systems (generally, BSD Unix variants) lack a
+posix_memalign function, a memalign function, and a working (meaning,
+the memory can be freed) valloc function. To make up for it, the malloc
+function promises to return page-aligned addresses if more than one
+page's worth of memory is allocated. AX_CHECK_PAGE_ALIGNED_MALLOC
+checks for this condition and defines HAVE_PAGE_ALIGNED_MALLOC if the
+condition holds.
+
+As an aside, note that valloc'd memory cannot safely be freed on all
+operating systems. (Again, some flavors of BSD are the troublemakers.)
+It's best to avoid using valloc in favor of posix_memalign, memalign, or
+an aligned malloc as detected by AX_CHECK_PAGE_ALIGNED_MALLOC.
+
+Caveat: AX_CHECK_PAGE_ALIGNED_MALLOC takes a probabilistic approach. If
+100 calls to malloc all return page-aligned addresses, it assumes that
+all calls will behave likewise. It is therefore possible - albeit
+extremely unlikely - that AX_CHECK_PAGE_ALIGNED_MALLOC can return a
+false positive.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_page_aligned_malloc.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_page_aligned_malloc.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_page_aligned_malloc.m4).
+
+License
+*******
+
+Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_pathfind, Next: ax_check_pathname_style, Prev: ax_check_page_aligned_malloc, Up: The Macros
+
+ax_check_pathfind
+=================
+
+Synopsis
+********
+
+ AX_CHECK_PATHFIND
+
+Description
+***********
+
+Not all systems have pathfind(3). See if we need to substitute. To
+make this work, you have to do horrible things. See the doc for
+AX_CHECK_STRCSPN.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_pathfind.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_pathfind.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_pathfind.m4).
+
+License
+*******
+
+Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_pathname_style, Next: ax_check_pcre2, Prev: ax_check_pathfind, Up: The Macros
+
+ax_check_pathname_style
+=======================
+
+Synopsis
+********
+
+ AX_CHECK_PATHNAME_STYLE_DOS
+
+Description
+***********
+
+Check if host OS uses DOS-style pathnames. This includes the use of
+drive letters and backslashes. Under DOS, Windows, and OS/2, defines
+HAVE_PATHNAME_STYLE_DOS and PATH_SEPARATOR to ';'. Otherwise, defines
+PATH_SEPARATOR to ':'.
+
+This macro depends on the AC_CANONICAL_HOST.
+
+Use for enabling code to handle drive letters, backslashes in filenames
+and semicolons in the PATH.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_pathname_style.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_pathname_style.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_pathname_style.m4).
+
+License
+*******
+
+Copyright (C) 2008 Mark Elbrecht
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_pcre2, Next: ax_check_pgsql_db, Prev: ax_check_pathname_style, Up: The Macros
+
+ax_check_pcre2
+==============
+
+Synopsis
+********
+
+ AX_CHECK_PCRE2([bits], [action-if-found], [action-if-not-found])
+
+Description
+***********
+
+Search for an installed libpcre2-8 library. If nothing was specified
+when calling configure, it searches first in /usr/local and then in
+/usr, /opt/local and /sw. If the -with-pcre2=DIR is specified, it will
+try to find it in DIR/include/pcre2.h and DIR/lib/libpcre2-8. If
+-without-pcre2 is specified, the library is not searched at all.
+
+If 'bits' is empty or '8', PCRE2 8-bit character support is checked
+only. If 'bits' contains '16', PCRE2 8-bit and 16-bit character support
+are checked. If 'bits' contains '32', PCRE2 8-bit and 32-bit character
+support are checked. When 'bits' contains both '16' and '32', PCRE2
+8-bit, 16-bit, and 32-bit character support is checked.
+
+If either the header file (pcre2.h), or the library (libpcre2-8) is not
+found, or the specified PCRE2 character bit width is not supported,
+shell commands 'action-if-not-found' is run. If 'action-if-not-found'
+is not specified, the configuration exits on error, asking for a valid
+PCRE2 installation directory or -without-pcre2.
+
+If both header file and library are found, and the specified PCRE2 bit
+widths are supported, shell commands 'action-if-found' is run. If
+'action-if-found' is not specified, the default action appends
+'-I${PCRE2_HOME}/include' to CPFLAGS, appends '-L$PCRE2_HOME}/lib' to
+LDFLAGS, prepends '-lpcre2-8' to LIBS, and calls AC_DEFINE(HAVE_PCRE2).
+You should use autoheader to include a definition for this symbol in a
+config.h file. Sample usage in a C/C++ source is as follows:
+
+ #ifdef HAVE_PCRE2
+ #define PCRE2_CODE_UNIT_WIDTH 8
+ #include <pcre2.h>
+ #endif /* HAVE_PCRE2 */
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_pcre2.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_pcre2.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_pcre2.m4).
+
+License
+*******
+
+Copyright (C) 2020 Robert van Engelen <engelen@acm.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_pgsql_db, Next: ax_check_posix_regcomp, Prev: ax_check_pcre2, Up: The Macros
+
+ax_check_pgsql_db
+=================
+
+Synopsis
+********
+
+ AX_CHECK_PGSQL_DB([DB], [USER], [HOST], [PASSWORD], [ACTION_IF_FAILED], [ACTION_IF_OK])
+
+Description
+***********
+
+This macro checks whether we can connect to a PostgreSQL server with the
+given data. The macro AX_PROG_PGCLIENT is required by this one. The
+variable $pgclient_call is set for later use in Makefiles, if you'd like
+to make use of this, you must do
+
+ AC_SUBST(pgclient_call)
+
+after having called AX_CHECK_PGSQL_DB. You can then do something like
+the following in your Makefile.am:
+
+ @pgclient_call@ -f file.sql
+
+If you want the user to set the data, you should support something like
+these configure options:
+
+ AC_ARG_WITH(pgsql-host,
+ [ --with-pgsql-host=HOST server is running on HOST @<:@local socket@:>@],
+ [pg_host=$withval], [pg_host=])
+
+ AC_ARG_WITH(pgsql-db,
+ [ --with-pgsql-db=DATABASE use DATABASE @<:@tarantoola@:>@],
+ [pg_db=$withval], [pg_db=tarantoola])
+
+ AC_ARG_WITH(pgsql-user,
+ [ --with-pgsql-user=USER use USER @<:@postgres@:>@],
+ [pg_user=$withval], [pg_user=postgres])
+
+ AC_ARG_WITH(pgsql-password,
+ [ --with-pgsql-password=PASSWORD use PASSWORD @<:@none@:>@],
+ [pg_password=$withval], [pg_password=""])
+
+You can then call the macro like this:
+
+ AX_CHECK_PGSQL_DB([$pg_db], [$pg_user], [$pg_host], [$pg_password], [AC_MSG_ERROR([We need a database connection!])])
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_pgsql_db.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_pgsql_db.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_pgsql_db.m4).
+
+License
+*******
+
+Copyright (C) 2008 Moritz Sinn <moritz@freesources.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_posix_regcomp, Next: ax_check_posix_sysinfo, Prev: ax_check_pgsql_db, Up: The Macros
+
+ax_check_posix_regcomp
+======================
+
+Synopsis
+********
+
+ AX_CHECK_POSIX_REGCOMP
+
+Description
+***********
+
+Check that the POSIX compliant regular expression compiler is available
+in the POSIX specified manner, and it works. If it fails, we have a
+backup - use gnu-regex.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_posix_regcomp.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_posix_regcomp.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_posix_regcomp.m4).
+
+License
+*******
+
+Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_posix_sysinfo, Next: ax_check_postgres_db, Prev: ax_check_posix_regcomp, Up: The Macros
+
+ax_check_posix_sysinfo
+======================
+
+Synopsis
+********
+
+ AX_CHECK_POSIX_SYSINFO
+
+Description
+***********
+
+Check that the POSIX compliant sysinfo(2) call works properly. Linux
+has its own weirdo alternative.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_posix_sysinfo.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_posix_sysinfo.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_posix_sysinfo.m4).
+
+License
+*******
+
+Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_postgres_db, Next: ax_check_preproc_flag, Prev: ax_check_posix_sysinfo, Up: The Macros
+
+ax_check_postgres_db
+====================
+
+Synopsis
+********
+
+ AX_CHECK_POSTGRES_DB([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+This macro tries to find the headers and libraries for the PostgreSQL
+database to build client applications.
+
+If includes are found, the variable PQINCPATH will be set, and
+have_pqinc will be 'yes'. If libraries are found, the variable
+PQLIBPATH will be set, and have_pqlib will be 'yes'. If both PQINCPATH
+and PQLIBPATH are found, HAVE_LIBPQ will be set to 'yes' (and
+AC_DEFINEd), and -lpq will be added to the beginning of LIBS. If their
+respective conditions are not met, have_pqinc, have_pqlib, HAVE_LIBPQ,
+will be 'no'.
+
+This macro does fails if either the headers or the library are not
+found, unless ACTION-IF-NOT-FOUND is not empty. When both are found,
+ACTION-IF-FOUND, if defined, is executed after the variables have been
+defined. If -with-pgsql=no (or equivalents) is given, nothing happens.
+
+An automake conditional can be subsequently defined as
+
+ AM_CONDITIONAL([HAVE_LIBPQ], [test x$HAVE_LIBPQ = x$yes])
+
+in configure.ac.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_postgres_db.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_postgres_db.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_postgres_db.m4).
+
+License
+*******
+
+Copyright (C) 2008 Christian Toepp <c.toepp@gmail.com>
+Copyright (C) 2012 Olivier Mehani <shtrom-ax@ssji.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_preproc_flag, Next: ax_check_rqrd_class, Prev: ax_check_postgres_db, Up: The Macros
+
+ax_check_preproc_flag
+=====================
+
+Synopsis
+********
+
+ AX_CHECK_PREPROC_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
+
+Description
+***********
+
+Check whether the given FLAG works with the current language's
+preprocessor or gives an error. (Warnings, however, are ignored)
+
+ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
+success/failure.
+
+If EXTRA-FLAGS is defined, it is added to the preprocessor's default
+flags when the check is done. The check is thus made with the flags:
+"CPPFLAGS EXTRA-FLAGS FLAG". This can for example be used to force the
+preprocessor to issue an error when a bad flag is given.
+
+INPUT gives an alternative input source to AC_PREPROC_IFELSE.
+
+NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
+macro in sync with AX_CHECK_{COMPILE,LINK}_FLAG.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_preproc_flag.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_preproc_flag.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_preproc_flag.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_rqrd_class, Next: ax_check_sign, Prev: ax_check_preproc_flag, Up: The Macros
+
+ax_check_rqrd_class
+===================
+
+Synopsis
+********
+
+ AX_CHECK_RQRD_CLASS
+
+Description
+***********
+
+AX_CHECK_RQRD_CLASS tests the existence of a given Java class, either in
+a jar or in a '.class' file and fails if it doesn't exist. Its success
+or failure can depend on a proper setting of the CLASSPATH env.
+variable.
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission. The
+general documentation, as well as the sample configure.in, is included
+in the AX_PROG_JAVA macro.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_rqrd_class.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_rqrd_class.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_rqrd_class.m4).
+
+License
+*******
+
+Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_sign, Next: ax_check_strcspn, Prev: ax_check_rqrd_class, Up: The Macros
+
+ax_check_sign
+=============
+
+Synopsis
+********
+
+ AX_CHECK_SIGN (TYPE, [ACTION-IF-SIGNED], [ACTION-IF-UNSIGNED], [INCLUDES])
+
+Description
+***********
+
+Checks whether TYPE is signed or not. If no INCLUDES are specified, the
+default includes are used. If ACTION-IF-SIGNED is given, it is
+additional shell code to execute when the type is signed. If
+ACTION-IF-UNSIGNED is given, it is executed when the type is unsigned.
+
+This macro assumes that the type exists. Therefore the existence of the
+type should be checked before calling this macro. For example:
+
+ AC_CHECK_HEADERS([wchar.h])
+ AC_CHECK_TYPE([wchar_t],,[ AC_MSG_ERROR([Type wchar_t not found.]) ])
+ AX_CHECK_SIGN([wchar_t],
+ [ AC_DEFINE(WCHAR_T_SIGNED, 1, [Define if wchar_t is signed]) ],
+ [ AC_DEFINE(WCHAR_T_UNSIGNED, 1, [Define if wchar_t is unsigned]) ], [
+ #ifdef HAVE_WCHAR_H
+ #include <wchar.h>
+ #endif
+ ])
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_sign.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_sign.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_sign.m4).
+
+License
+*******
+
+Copyright (C) 2008 Ville Laurikari <vl@iki.fi>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_strcspn, Next: ax_check_strftime, Prev: ax_check_sign, Up: The Macros
+
+ax_check_strcspn
+================
+
+Synopsis
+********
+
+ AX_CHECK_STRCSPN
+
+Description
+***********
+
+Not all systems have strcspn(3). See if we need to substitute. To make
+this work, you have to do horrible things. In one of your Makefile.am
+files, you must make an explicit rule to make this object. It should
+look like this:
+
+ strcspn.lo : $(top_srcdir)/compat/strcspn.c
+ $(LTCOMPILE) -o $@ -c $(top_srcdir)/compat/strcspn.c
+
+and you must include "@COMPATOBJ@" in a LIBADD somewhere and, finally,
+you must add another artificial dependency, something like:
+
+ makeshell.lo : genshell.c @COMPATOBJ@
+
+It is all pretty horrific, but I have found nothing else that works.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_strcspn.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_strcspn.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_strcspn.m4).
+
+License
+*******
+
+Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_strftime, Next: ax_check_struct_for, Prev: ax_check_strcspn, Up: The Macros
+
+ax_check_strftime
+=================
+
+Synopsis
+********
+
+ AX_CHECK_STRFTIME
+
+Description
+***********
+
+Check for existence and functioning of strftime routine.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_strftime.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_strftime.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_strftime.m4).
+
+License
+*******
+
+Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_struct_for, Next: ax_check_symbol, Prev: ax_check_strftime, Up: The Macros
+
+ax_check_struct_for
+===================
+
+Synopsis
+********
+
+ AX_CHECK_STRUCT_FOR(INCLUDES,STRUCT,MEMBER,DEFINE,[no])
+
+Description
+***********
+
+Checks STRUCT for MEMBER and defines DEFINE if found.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_struct_for.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_struct_for.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_struct_for.m4).
+
+License
+*******
+
+Copyright (C) 2008 Wes Hardaker <wjhardaker@ucdavis.edu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_symbol, Next: ax_check_sys_siglist, Prev: ax_check_struct_for, Up: The Macros
+
+ax_check_symbol
+===============
+
+Synopsis
+********
+
+ AX_CHECK_SYMBOL(SYMBOL, HEADER... [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+A wrapper around AC_EGREP_HEADER. The shellvar $ac_found will hold the
+HEADER-name that had been containing the symbol. This value is shown to
+the user.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_symbol.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_symbol.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_symbol.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_sys_siglist, Next: ax_check_typedef, Prev: ax_check_symbol, Up: The Macros
+
+ax_check_sys_siglist
+====================
+
+Synopsis
+********
+
+ AX_CHECK_SYS_SIGLIST
+
+Description
+***********
+
+Check for existence of global sys_siglist[].
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_sys_siglist.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_sys_siglist.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_sys_siglist.m4).
+
+License
+*******
+
+Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_typedef, Next: ax_check_uname_syscall, Prev: ax_check_sys_siglist, Up: The Macros
+
+ax_check_typedef
+================
+
+Synopsis
+********
+
+ AX_CHECK_TYPEDEF(TYPEDEF, HEADER [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]])
+
+Description
+***********
+
+Check if the given typedef-name is recognized as a type. The trick is
+to use a sizeof(TYPEDEF) and see if the compiler is happy with that.
+
+This can be thought of as a mixture of AC_CHECK_TYPE(TYPEDEF,DEFAULT)
+and AC_CHECK_LIB(LIBRARY,FUNCTION,ACTION-IF-FOUND,ACTION-IF-NOT-FOUND).
+
+A convenience macro AX_CHECK_TYPEDEF_ is provided that will not emit any
+message to the user - it just executes one of the actions.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_typedef.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_typedef.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_typedef.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_uname_syscall, Next: ax_check_user, Prev: ax_check_typedef, Up: The Macros
+
+ax_check_uname_syscall
+======================
+
+Synopsis
+********
+
+ AX_CHECK_UNAME_SYSCALL
+
+Description
+***********
+
+Check that the POSIX compliant uname(2) call works properly.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_uname_syscall.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_uname_syscall.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_uname_syscall.m4).
+
+License
+*******
+
+Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_user, Next: ax_check_vscript, Prev: ax_check_uname_syscall, Up: The Macros
+
+ax_check_user
+=============
+
+Synopsis
+********
+
+ AX_CHECK_USER
+
+Description
+***********
+
+Check if the specified UNIX user exists, if yes set your environment
+variable to that username else unset your environment variable
+
+Example:
+
+ AX_CHECK_USER(USER, [gleensalmon])
+ if test x$USER = xgleensalmon; then
+ bla..bla..bla..
+ else
+ bla..bla..bla..
+ fi
+
+Besides checking existence, this macro also set these environment
+variables upon completion:
+
+ USER_HOME = home directory of user, written in /etc/passwd
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_user.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_user.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_user.m4).
+
+License
+*******
+
+Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_vscript, Next: ax_check_x86_features, Prev: ax_check_user, Up: The Macros
+
+ax_check_vscript
+================
+
+Synopsis
+********
+
+ AX_CHECK_VSCRIPT
+
+Description
+***********
+
+Check whether the linker supports version scripts. Version scripts are
+used when building shared libraries to bind symbols to version nodes
+(helping to detect incompatibilities) or to limit the visibility of
+non-public symbols.
+
+Output:
+
+If version scripts are supported, VSCRIPT_LDFLAGS will contain the
+appropriate flag to pass to the linker. On GNU systems this would
+typically be "-Wl,-version-script", and on Solaris it would typically be
+"-Wl,-M".
+
+Two Automake conditionals are also set:
+
+ HAVE_VSCRIPT is true if the linker supports version scripts with
+ entries that use simple wildcards, like "local: *".
+
+ HAVE_VSCRIPT_COMPLEX is true if the linker supports version scripts with
+ pattern matching wildcards, like "global: Java_*".
+
+On systems that do not support symbol versioning, such as Mac OS X, both
+conditionals will be false. They will also be false if the user passes
+"-disable-symvers" on the configure command line.
+
+Example:
+
+ configure.ac:
+
+ AX_CHECK_VSCRIPT
+
+ Makefile.am:
+
+ if HAVE_VSCRIPT
+ libfoo_la_LDFLAGS += $(VSCRIPT_LDFLAGS),@srcdir@/libfoo.map
+ endif
+
+ if HAVE_VSCRIPT_COMPLEX
+ libbar_la_LDFLAGS += $(VSCRIPT_LDFLAGS),@srcdir@/libbar.map
+ endif
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_vscript.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_vscript.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_vscript.m4).
+
+License
+*******
+
+Copyright (C) 2014 Kevin Cernekee <cernekee@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_x86_features, Next: ax_check_zlib, Prev: ax_check_vscript, Up: The Macros
+
+ax_check_x86_features
+=====================
+
+Synopsis
+********
+
+ AX_CHECK_X86_FEATURES([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+Checks if the host cpu supports various x86 instruction set, the
+instructions that will get tested are "mmx, popcnt, sse, sse2, sse3,
+sse4.1, sse4.2, sse4a, avx, avx2, avx512f, fma, fma4, bmi, bmi2". If
+the instruction set is supported by the host cpu, the C preprocessor
+macro HAVE_XXX_INSTRUCTIONS is set to 1. The XXX is up-cased
+instruction case with dot replaced by underscore. For example, the test
+for "sse4.2" would export HAVE_SSE4_2_INSTRUCTIONS=1. Also the compiler
+flag "-msse4.2" would be added to X86_FEATURE_CFLAGS variable, that can
+be obtained in Makefile.am using @X86_FEATURE_CFLAGS@.
+
+If any of the test for the instruction set were succeeded, the configure
+script would run ACTION-IF-FOUND if it is specified, or append
+X86_FEATURE_CFLAGS to CFLAGS. If none of the instruction were found,
+ACTION-IF-NOT-FOUND hook is triggered.
+
+This macro requires gcc extended builtin function "__builtin_cpu_init"
+and "__builtin_cpu_supports" to detect the cpu features. It will error
+out if the compiler doesn't has these builtins.
+
+See also AX_GCC_X86_CPU_SUPPORTS, which is the actual macro that perform
+the checks for the instruction sets.
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_x86_features.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_x86_features.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_x86_features.m4).
+
+License
+*******
+
+Copyright (C) 2016 Felix Chern <idryman@gmail.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_check_zlib, Next: ax_code_coverage, Prev: ax_check_x86_features, Up: The Macros
+
+ax_check_zlib
+=============
+
+Synopsis
+********
+
+ AX_CHECK_ZLIB([action-if-found], [action-if-not-found])
+
+Description
+***********
+
+This macro searches for an installed zlib library. If nothing was
+specified when calling configure, it searches first in /usr/local and
+then in /usr, /opt/local and /sw. If the -with-zlib=DIR is specified,
+it will try to find it in DIR/include/zlib.h and DIR/lib/libz.a. If
+-without-zlib is specified, the library is not searched at all.
+
+If either the header file (zlib.h) or the library (libz) is not found,
+shell commands 'action-if-not-found' is run. If 'action-if-not-found'
+is not specified, the configuration exits on error, asking for a valid
+zlib installation directory or -without-zlib.
+
+If both header file and library are found, shell commands
+'action-if-found' is run. If 'action-if-found' is not specified, the
+default action appends '-I${ZLIB_HOME}/include' to CPFLAGS, appends
+'-L$ZLIB_HOME}/lib' to LDFLAGS, prepends '-lz' to LIBS, and calls
+AC_DEFINE(HAVE_LIBZ). You should use autoheader to include a definition
+for this symbol in a config.h file. Sample usage in a C/C++ source is
+as follows:
+
+ #ifdef HAVE_LIBZ
+ #include <zlib.h>
+ #endif /* HAVE_LIBZ */
+
+Source Code
+***********
+
+Download the latest version of 'ax_check_zlib.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_zlib.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_zlib.m4).
+
+License
+*******
+
+Copyright (C) 2008 Loic Dachary <loic@senga.org>
+Copyright (C) 2010 Bastien Chevreux <bach@chevreux.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_code_coverage, Next: ax_compare_version, Prev: ax_check_zlib, Up: The Macros
+
+ax_code_coverage
+================
+
+Synopsis
+********
+
+ AX_CODE_COVERAGE()
+
+Description
+***********
+
+Defines CODE_COVERAGE_CPPFLAGS, CODE_COVERAGE_CFLAGS,
+CODE_COVERAGE_CXXFLAGS and CODE_COVERAGE_LIBS which should be included
+in the CPPFLAGS, CFLAGS CXXFLAGS and LIBS/LIBADD variables of every
+build target (program or library) which should be built with code
+coverage support. Also add rules using AX_ADD_AM_MACRO_STATIC; and
+$enable_code_coverage which can be used in subsequent configure output.
+CODE_COVERAGE_ENABLED is defined and substituted, and corresponds to the
+value of the -enable-code-coverage option, which defaults to being
+disabled.
+
+Test also for gcov program and create GCOV variable that could be
+substituted.
+
+Note that all optimization flags in CFLAGS must be disabled when code
+coverage is enabled.
+
+Usage example:
+
+configure.ac:
+
+ AX_CODE_COVERAGE
+
+Makefile.am:
+
+ include $(top_srcdir)/aminclude_static.am
+
+ my_program_LIBS = ... $(CODE_COVERAGE_LIBS) ...
+ my_program_CPPFLAGS = ... $(CODE_COVERAGE_CPPFLAGS) ...
+ my_program_CFLAGS = ... $(CODE_COVERAGE_CFLAGS) ...
+ my_program_CXXFLAGS = ... $(CODE_COVERAGE_CXXFLAGS) ...
+
+ clean-local: code-coverage-clean
+ distclean-local: code-coverage-dist-clean
+
+This results in a "check-code-coverage" rule being added to any
+Makefile.am which do "include $(top_srcdir)/aminclude_static.am"
+(assuming the module has been configured with -enable-code-coverage).
+Running 'make check-code-coverage' in that directory will run the
+module's test suite ('make check') and build a code coverage report
+detailing the code which was touched, then print the URI for the report.
+
+This code was derived from Makefile.decl in GLib, originally licensed
+under LGPLv2.1+.
+
+Source Code
+***********
+
+Download the latest version of 'ax_code_coverage.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_code_coverage.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_code_coverage.m4).
+
+License
+*******
+
+Copyright (C) 2012, 2016 Philip Withnall
+Copyright (C) 2012 Xan Lopez
+Copyright (C) 2012 Christian Persch
+Copyright (C) 2012 Paolo Borelli
+Copyright (C) 2012 Dan Winship
+Copyright (C) 2015,2018 Bastien ROUCARIES
+
+This library is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation; either version 2.1 of the License, or (at
+your option) any later version.
+
+This library is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+\1f
+File: autoconf-archive.info, Node: ax_compare_version, Next: ax_compile_check_sizeof, Prev: ax_code_coverage, Up: The Macros
+
+ax_compare_version
+==================
+
+Synopsis
+********
+
+ AX_COMPARE_VERSION(VERSION_A, OP, VERSION_B, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
+
+Description
+***********
+
+This macro compares two version strings. Due to the various number of
+minor-version numbers that can exist, and the fact that string
+comparisons are not compatible with numeric comparisons, this is not
+necessarily trivial to do in a autoconf script. This macro makes doing
+these comparisons easy.
+
+The six basic comparisons are available, as well as checking equality
+limited to a certain number of minor-version levels.
+
+The operator OP determines what type of comparison to do, and can be one
+of:
+
+ eq - equal (test A == B)
+ ne - not equal (test A != B)
+ le - less than or equal (test A <= B)
+ ge - greater than or equal (test A >= B)
+ lt - less than (test A < B)
+ gt - greater than (test A > B)
+
+Additionally, the eq and ne operator can have a number after it to limit
+the test to that number of minor versions.
+
+ eq0 - equal up to the length of the shorter version
+ ne0 - not equal up to the length of the shorter version
+ eqN - equal up to N sub-version levels
+ neN - not equal up to N sub-version levels
+
+When the condition is true, shell commands ACTION-IF-TRUE are run,
+otherwise shell commands ACTION-IF-FALSE are run. The environment
+variable 'ax_compare_version' is always set to either 'true' or 'false'
+as well.
+
+Examples:
+
+ AX_COMPARE_VERSION([3.15.7],[lt],[3.15.8])
+ AX_COMPARE_VERSION([3.15],[lt],[3.15.8])
+
+would both be true.
+
+ AX_COMPARE_VERSION([3.15.7],[eq],[3.15.8])
+ AX_COMPARE_VERSION([3.15],[gt],[3.15.8])
+
+would both be false.
+
+ AX_COMPARE_VERSION([3.15.7],[eq2],[3.15.8])
+
+would be true because it is only comparing two minor versions.
+
+ AX_COMPARE_VERSION([3.15.7],[eq0],[3.15])
+
+would be true because it is only comparing the lesser number of minor
+versions of the two values.
+
+Note: The characters that separate the version numbers do not matter.
+An empty string is the same as version 0. OP is evaluated by autoconf,
+not configure, so must be a string, not a variable.
+
+The author would like to acknowledge Guido Draheim whose advice about
+the m4_case and m4_ifvaln functions make this macro only include the
+portions necessary to perform the specific comparison specified by the
+OP argument in the final configure script.
+
+Source Code
+***********
+
+Download the latest version of 'ax_compare_version.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compare_version.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compare_version.m4).
+
+License
+*******
+
+Copyright (C) 2008 Tim Toolan <toolan@ele.uri.edu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_compile_check_sizeof, Next: ax_compiler_flags, Prev: ax_compare_version, Up: The Macros
+
+ax_compile_check_sizeof
+=======================
+
+Synopsis
+********
+
+ AX_COMPILE_CHECK_SIZEOF(TYPE [, HEADERS [, EXTRA_SIZES...]])
+
+Description
+***********
+
+This macro checks for the size of TYPE using compile checks, not run
+checks. You can supply extra HEADERS to look into. the check will
+cycle through 1 2 4 8 16 and any EXTRA_SIZES the user supplies. If a
+match is found, it will #define SIZEOF_'TYPE' to that value. Otherwise
+it will emit a configure time error indicating the size of the type
+could not be determined.
+
+The trick is that C will not allow duplicate case labels. While this is
+valid C code:
+
+ switch (0) case 0: case 1:;
+
+The following is not:
+
+ switch (0) case 0: case 0:;
+
+Thus, the AC_COMPILE_IFELSE will fail if the currently tried size does
+not match.
+
+Here is an example skeleton configure.in script, demonstrating the
+macro's usage:
+
+ AC_PROG_CC
+ AC_CHECK_HEADERS(stddef.h unistd.h)
+ AC_TYPE_SIZE_T
+ AC_CHECK_TYPE(ssize_t, int)
+
+ headers='#ifdef HAVE_STDDEF_H
+ #include <stddef.h>
+ #endif
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif
+ '
+
+ AX_COMPILE_CHECK_SIZEOF(char)
+ AX_COMPILE_CHECK_SIZEOF(short)
+ AX_COMPILE_CHECK_SIZEOF(int)
+ AX_COMPILE_CHECK_SIZEOF(long)
+ AX_COMPILE_CHECK_SIZEOF(unsigned char *)
+ AX_COMPILE_CHECK_SIZEOF(void *)
+ AX_COMPILE_CHECK_SIZEOF(size_t, $headers)
+ AX_COMPILE_CHECK_SIZEOF(ssize_t, $headers)
+ AX_COMPILE_CHECK_SIZEOF(ptrdiff_t, $headers)
+ AX_COMPILE_CHECK_SIZEOF(off_t, $headers)
+
+Source Code
+***********
+
+Download the latest version of 'ax_compile_check_sizeof.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compile_check_sizeof.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compile_check_sizeof.m4).
+
+License
+*******
+
+Copyright (C) 2008 Kaveh Ghazi <ghazi@caip.rutgers.edu>
+Copyright (C) 2017 Reini Urban <rurban@cpan.org>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_compiler_flags, Next: ax_compiler_flags_cflags, Prev: ax_compile_check_sizeof, Up: The Macros
+
+ax_compiler_flags
+=================
+
+Synopsis
+********
+
+ AX_COMPILER_FLAGS([CFLAGS-VARIABLE], [LDFLAGS-VARIABLE], [IS-RELEASE], [EXTRA-BASE-CFLAGS], [EXTRA-YES-CFLAGS], [UNUSED], [UNUSED], [UNUSED], [EXTRA-BASE-LDFLAGS], [EXTRA-YES-LDFLAGS], [UNUSED], [UNUSED], [UNUSED])
+
+Description
+***********
+
+Check for the presence of an -enable-compile-warnings option to
+configure, defaulting to "error" in normal operation, or "yes" if
+IS-RELEASE is equal to "yes". Return the value in the variable
+$ax_enable_compile_warnings.
+
+Depending on the value of -enable-compile-warnings, different compiler
+warnings are checked to see if they work with the current compiler and,
+if so, are appended to CFLAGS-VARIABLE and LDFLAGS-VARIABLE. This allows
+a consistent set of baseline compiler warnings to be used across a code
+base, irrespective of any warnings enabled locally by individual
+developers. By standardising the warnings used by all developers of a
+project, the project can commit to a zero-warnings policy, using -Werror
+to prevent compilation if new warnings are introduced. This makes
+catching bugs which are flagged by warnings a lot easier.
+
+By providing a consistent -enable-compile-warnings argument across all
+projects using this macro, continuous integration systems can easily be
+configured the same for all projects. Automated systems or build
+systems aimed at beginners may want to pass the -disable-Werror argument
+to unconditionally prevent warnings being fatal.
+
+-enable-compile-warnings can take the values:
+
+ * no: Base compiler warnings only; not even -Wall.
+ * yes: The above, plus a broad range of useful warnings.
+ * error: The above, plus -Werror so that all warnings are fatal.
+ Use --disable-Werror to override this and disable fatal
+ warnings.
+
+The set of base and enabled flags can be augmented using the
+EXTRA-*-CFLAGS and EXTRA-*-LDFLAGS variables, which are tested and
+appended to the output variable if -enable-compile-warnings is not "no".
+Flags should not be disabled using these arguments, as the entire point
+of AX_COMPILER_FLAGS is to enforce a consistent set of useful compiler
+warnings on code, using warnings which have been chosen for low false
+positive rates. If a compiler emits false positives for a warning, a
+#pragma should be used in the code to disable the warning locally. See:
+
+ https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Diagnostic-Pragmas.html#Diagnostic-Pragmas
+
+The EXTRA-* variables should only be used to supply extra warning flags,
+and not general purpose compiler flags, as they are controlled by
+configure options such as -disable-Werror.
+
+IS-RELEASE can be used to disable -Werror when making a release, which
+is useful for those hairy moments when you just want to get the release
+done as quickly as possible. Set it to "yes" to disable -Werror. By
+default, it uses the value of $ax_is_release, so if you are using the
+AX_IS_RELEASE macro, there is no need to pass this parameter. For
+example:
+
+ AX_IS_RELEASE([git-directory])
+ AX_COMPILER_FLAGS()
+
+CFLAGS-VARIABLE defaults to WARN_CFLAGS, and LDFLAGS-VARIABLE defaults
+to WARN_LDFLAGS. Both variables are AC_SUBST-ed by this macro, but must
+be manually added to the CFLAGS and LDFLAGS variables for each target in
+the code base.
+
+If C++ language support is enabled with AC_PROG_CXX, which must occur
+before this macro in configure.ac, warning flags for the C++ compiler
+are AC_SUBST-ed as WARN_CXXFLAGS, and must be manually added to the
+CXXFLAGS variables for each target in the code base. EXTRA-*-CFLAGS can
+be used to augment the base and enabled flags.
+
+Warning flags for g-ir-scanner (from GObject Introspection) are
+AC_SUBST-ed as WARN_SCANNERFLAGS. This variable must be manually added
+to the SCANNERFLAGS variable for each GIR target in the code base. If
+extra g-ir-scanner flags need to be enabled, the AX_COMPILER_FLAGS_GIR
+macro must be invoked manually.
+
+AX_COMPILER_FLAGS may add support for other tools in future, in addition
+to the compiler and linker. No extra EXTRA-* variables will be added
+for those tools, and all extra support will still use the single
+-enable-compile-warnings configure option. For finer grained control
+over the flags for individual tools, use AX_COMPILER_FLAGS_CFLAGS,
+AX_COMPILER_FLAGS_LDFLAGS and AX_COMPILER_FLAGS_* for new tools.
+
+The UNUSED variables date from a previous version of this macro, and are
+automatically appended to the preceding non-UNUSED variable. They
+should be left empty in new uses of the macro.
+
+Source Code
+***********
+
+Download the latest version of 'ax_compiler_flags.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags.m4).
+
+License
+*******
+
+Copyright (C) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk>
+Copyright (C) 2015 David King <amigadave@amigadave.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_compiler_flags_cflags, Next: ax_compiler_flags_cxxflags, Prev: ax_compiler_flags, Up: The Macros
+
+ax_compiler_flags_cflags
+========================
+
+Synopsis
+********
+
+ AX_COMPILER_FLAGS_CFLAGS([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
+
+Description
+***********
+
+Add warning flags for the C compiler to VARIABLE, which defaults to
+WARN_CFLAGS. VARIABLE is AC_SUBST-ed by this macro, but must be manually
+added to the CFLAGS variable for each target in the code base.
+
+This macro depends on the environment set up by AX_COMPILER_FLAGS.
+Specifically, it uses the value of $ax_enable_compile_warnings to decide
+which flags to enable.
+
+Source Code
+***********
+
+Download the latest version of 'ax_compiler_flags_cflags.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_cflags.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_cflags.m4).
+
+License
+*******
+
+Copyright (C) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk>
+Copyright (C) 2017, 2018 Reini Urban <rurban@cpan.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_compiler_flags_cxxflags, Next: ax_compiler_flags_gir, Prev: ax_compiler_flags_cflags, Up: The Macros
+
+ax_compiler_flags_cxxflags
+==========================
+
+Synopsis
+********
+
+ AX_COMPILER_FLAGS_CXXFLAGS([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
+
+Description
+***********
+
+Add warning flags for the C++ compiler to VARIABLE, which defaults to
+WARN_CXXFLAGS. VARIABLE is AC_SUBST-ed by this macro, but must be
+manually added to the CXXFLAGS variable for each target in the code
+base.
+
+This macro depends on the environment set up by AX_COMPILER_FLAGS.
+Specifically, it uses the value of $ax_enable_compile_warnings to decide
+which flags to enable.
+
+Source Code
+***********
+
+Download the latest version of 'ax_compiler_flags_cxxflags.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_cxxflags.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_cxxflags.m4).
+
+License
+*******
+
+Copyright (C) 2015 David King <amigadave@amigadave.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_compiler_flags_gir, Next: ax_compiler_flags_ldflags, Prev: ax_compiler_flags_cxxflags, Up: The Macros
+
+ax_compiler_flags_gir
+=====================
+
+Synopsis
+********
+
+ AX_COMPILER_FLAGS_GIR([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
+
+Description
+***********
+
+Add warning flags for the g-ir-scanner (from GObject Introspection) to
+VARIABLE, which defaults to WARN_SCANNERFLAGS. VARIABLE is AC_SUBST-ed
+by this macro, but must be manually added to the SCANNERFLAGS variable
+for each GIR target in the code base.
+
+This macro depends on the environment set up by AX_COMPILER_FLAGS.
+Specifically, it uses the value of $ax_enable_compile_warnings to decide
+which flags to enable.
+
+Source Code
+***********
+
+Download the latest version of 'ax_compiler_flags_gir.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_gir.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_gir.m4).
+
+License
+*******
+
+Copyright (C) 2015 Philip Withnall <philip@tecnocode.co.uk>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_compiler_flags_ldflags, Next: ax_compiler_vendor, Prev: ax_compiler_flags_gir, Up: The Macros
+
+ax_compiler_flags_ldflags
+=========================
+
+Synopsis
+********
+
+ AX_COMPILER_FLAGS_LDFLAGS([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
+
+Description
+***********
+
+Add warning flags for the linker to VARIABLE, which defaults to
+WARN_LDFLAGS. VARIABLE is AC_SUBST-ed by this macro, but must be
+manually added to the LDFLAGS variable for each target in the code base.
+
+This macro depends on the environment set up by AX_COMPILER_FLAGS.
+Specifically, it uses the value of $ax_enable_compile_warnings to decide
+which flags to enable.
+
+Source Code
+***********
+
+Download the latest version of 'ax_compiler_flags_ldflags.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_ldflags.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_ldflags.m4).
+
+License
+*******
+
+Copyright (C) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk>
+Copyright (C) 2017, 2018 Reini Urban <rurban@cpan.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_compiler_vendor, Next: ax_compiler_version, Prev: ax_compiler_flags_ldflags, Up: The Macros
+
+ax_compiler_vendor
+==================
+
+Synopsis
+********
+
+ AX_COMPILER_VENDOR
+
+Description
+***********
+
+Determine the vendor of the C, C++ or Fortran compiler. The vendor is
+returned in the cache variable $ax_cv_c_compiler_vendor for C,
+$ax_cv_cxx_compiler_vendor for C++ or $ax_cv_fc_compiler_vendor for
+(modern) Fortran. The value is one of "intel", "ibm", "pathscale",
+"clang" (LLVM), "cray", "fujitsu", "sdcc", "sx", "nvhpc" (NVIDIA HPC
+Compiler), "portland" (PGI), "gnu" (GCC), "sun" (Oracle Developer
+Studio), "hp", "dec", "borland", "comeau", "kai", "lcc", "sgi",
+"microsoft", "metrowerks", "watcom", "tcc" (Tiny CC) or "unknown" (if
+the compiler cannot be determined).
+
+To check for a Fortran compiler, you must first call AC_FC_PP_SRCEXT
+with an appropriate preprocessor-enabled extension. For example:
+
+ AC_LANG_PUSH([Fortran])
+ AC_PROG_FC
+ AC_FC_PP_SRCEXT([F])
+ AX_COMPILER_VENDOR
+ AC_LANG_POP([Fortran])
+
+Source Code
+***********
+
+Download the latest version of 'ax_compiler_vendor.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_vendor.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_vendor.m4).
+
+License
+*******
+
+Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
+Copyright (C) 2008 Matteo Frigo
+Copyright (C) 2018-19 John Zaitseff <J.Zaitseff@zap.org.au>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_compiler_version, Next: ax_compute_relative_paths, Prev: ax_compiler_vendor, Up: The Macros
+
+ax_compiler_version
+===================
+
+Synopsis
+********
+
+ AX_COMPILER_VERSION
+
+Description
+***********
+
+This macro retrieves the compiler version and returns it in the cache
+variable $ax_cv_c_compiler_version for C and $ax_cv_cxx_compiler_version
+for C++.
+
+Version is returned as epoch:major.minor.patchversion
+
+Epoch is used in order to have an increasing version number in case of
+marketing change.
+
+Epoch use: * borland compiler use chronologically 0turboc for turboc
+era,
+
+ 1borlanc BORLANDC++ before 5, 2cppbuilder for cppbuilder era,
+ 3borlancpp for return of BORLANDC++ (after version 5.5),
+ 4cppbuilder for cppbuilder with year version,
+ and 5xe for XE era.
+
+An empty string is returned otherwise.
+
+Source Code
+***********
+
+Download the latest version of 'ax_compiler_version.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_version.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_version.m4).
+
+License
+*******
+
+Copyright (C) 2014 Bastien ROUCARIES <roucaries.bastien+autoconf@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_compute_relative_paths, Next: ax_compute_standard_relative_paths, Prev: ax_compiler_version, Up: The Macros
+
+ax_compute_relative_paths
+=========================
+
+Synopsis
+********
+
+ AX_COMPUTE_RELATIVE_PATHS(PATH_LIST)
+
+Description
+***********
+
+PATH_LIST is a space-separated list of colon-separated triplets of the
+form 'FROM:TO:RESULT'. This function iterates over these triplets and
+set $RESULT to the relative path from $FROM to $TO. Note that $FROM and
+$TO needs to be absolute filenames for this macro to success.
+
+For instance,
+
+ first=/usr/local/bin
+ second=/usr/local/share
+ AX_COMPUTE_RELATIVE_PATHS([first:second:fs second:first:sf])
+ # $fs is set to ../share
+ # $sf is set to ../bin
+
+$FROM and $TO are both eval'ed recursively and normalized, this means
+that you can call this macro with autoconf's dirnames like 'prefix' or
+'datadir'. For example:
+
+ AX_COMPUTE_RELATIVE_PATHS([bindir:datadir:bin_to_data])
+
+AX_COMPUTE_RELATIVE_PATHS should also works with DOS filenames.
+
+You may want to use this macro in order to make your package
+relocatable. Instead of hardcoding $datadir into your programs just
+encode $bin_to_data and try to determine $bindir at run-time.
+
+This macro requires AX_NORMALIZE_PATH and AX_RECURSIVE_EVAL.
+
+Source Code
+***********
+
+Download the latest version of 'ax_compute_relative_paths.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compute_relative_paths.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compute_relative_paths.m4).
+
+License
+*******
+
+Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_compute_standard_relative_paths, Next: ax_cond_with_level, Prev: ax_compute_relative_paths, Up: The Macros
+
+ax_compute_standard_relative_paths
+==================================
+
+Synopsis
+********
+
+ AX_COMPUTE_STANDARD_RELATIVE_PATHS
+
+Description
+***********
+
+Here is the standard hierarchy of paths, as defined by the GNU Coding
+Standards:
+
+ prefix
+ exec_prefix
+ bindir
+ libdir
+ libexecdir
+ sbindir
+ datarootdir
+ docdir
+ infodir
+ htmldir
+ dvidir
+ psdir
+ pdfdir
+ localedir
+ datadir (only for autoconf >= 2.59c)
+ infodir (only for autoconf >= 2.59c)
+ mandir (only for autoconf >= 2.59c)
+ lispdir (only for autoconf >= 2.59c)
+ datadir (only for autoconf < 2.59c)
+ infodir (only for autoconf < 2.59c)
+ mandir (only for autoconf < 2.59c)
+ lispdir (only for autoconf < 2.59c)
+ sysconfdir
+ sharedstatedir
+ localstatedir
+ runstatedir (only for autoconf >= 2.70)
+ includedir
+ oldincludedir
+
+This macro will setup a set of variables of the form
+'xxx_forward_relative_path' and 'xxx_backward_relative_path' where xxx
+is one of the above directories. The latter variable is set to the
+relative path to go from xxx to its parent directory, while the former
+hold the other way.
+
+For instance 'bindir_relative_path' will contains the value to add to
+$exec_prefix to reach the $bindir directory (usually 'bin'), and
+'bindir_backward_relative_path' the value to append to $bindir to reach
+the $exec_prefix directory (usually '..').
+
+This macro requires AX_COMPUTE_RELATIVE_PATHS which itself requires
+AX_NORMALIZE_PATH.
+
+Source Code
+***********
+
+Download the latest version of 'ax_compute_standard_relative_paths.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compute_standard_relative_paths.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compute_standard_relative_paths.m4).
+
+License
+*******
+
+Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
+Copyright (C) 2015 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_cond_with_level, Next: ax_config_feature, Prev: ax_compute_standard_relative_paths, Up: The Macros
+
+ax_cond_with_level
+==================
+
+Synopsis
+********
+
+ AX_COND_WITH_LEVEL(PACKAGE [,DEFAULT [,YESLEVEL]])
+
+Description
+***********
+
+Actually used after an AC_ARG_WITH(PKG,...) option-directive, where
+AC_ARG_WITH is a part of the standard autoconf to define a 'configure'
+-with-PKG option.
+
+This macros works almost like AC_COND_WITH(PACKAGE [,DEFAULT]), but the
+definition is set to a numeric value. The level of a simple "yes" is
+given (or assumed "2" if absent), otherwise the level can be given in
+mnemonic names, being:
+
+ 1 = some
+ 2 = many
+ 3 = all
+ 4 = extra
+ 5 = extrasome more
+ 6 = extramany muchmore much
+ 7 = super everything
+ 8 = ultra experimental
+ 9 = insane
+
+this macro is most handily it making Makefile.in/Makefile.am that have a
+set of with-level declarations, especially optimization-levels
+
+the $withval shell-variable is set for further examination (it carries
+the numeric value of the various mnemonics above)
+
+Source Code
+***********
+
+Download the latest version of 'ax_cond_with_level.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cond_with_level.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cond_with_level.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_config_feature, Next: ax_configure_args, Prev: ax_cond_with_level, Up: The Macros
+
+ax_config_feature
+=================
+
+Synopsis
+********
+
+ AX_CONFIG_FEATURE(FEATURE-NAME, FEATURE-DESCRIPTION, DEFINE, DEFINE-DESCRIPTION, [ACTION-IF-ENABLED [, ACTION-IF-NOT-ENABLED]])
+
+Description
+***********
+
+AX_CONFIG_FEATURE is a simple wrapper for AC_ARG_ENABLE, it enables the
+feature FEATURE-NAME and AC_DEFINEs the passed DEFINE, depending on the
+user choice. DESCRIPTION will be used for AC_DEFINEs.
+ACTION-IF-ENABLED and ACTION-IF-NOT-ENABLED are the actions that will be
+run. A feature is enabled by default, in order to change this behaviour
+use the AX_CONFIG_FEATURE_DEFAULT_ENABLED and
+AX_CONFIG_FEATURE_DEFAULT_DISABLED macros.
+
+A simple example:
+
+ AX_CONFIG_FEATURE_DEFAULT_ENABLED
+ AX_CONFIG_FEATURE(feature_xxxxx, [turns on/off XXXXX support],
+ HAVE_XXXXX, [Define if you want XXXXX support])
+
+ ...
+
+ AX_CONFIG_FEATURE_DEFAULT_DISABLED
+ AX_CONFIG_FEATURE(feature_yyyyy, [turns on/off YYYYY support],
+ HAVE_YYYYY, [Define if you want YYYYY support],
+ [enable_yyyyy="yes"], [enable_yyyyy="no"])
+ AM_CONDITIONAL(YYYYY, [test "$enable_yyyyy" = "yes"])
+
+ AX_CONFIG_FEATURE_DEFAULT_ENABLED
+ AX_CONFIG_FEATURE(...)
+
+ ...
+
+If you have lot of features and you want a verbose dumping of each user
+selection use AX_CONFIG_FEATURE_VERBOSE. Use AX_CONFIG_FEATURE_SILENT in
+order to remove a previously AX_CONFIG_FEATURE_VERBOSE. By default
+features are silent.
+
+Use AX_CONFIG_FEATURE_ENABLE or AX_CONFIG_FEATURE_DISABLE in order to
+enable or disable a specific feature.
+
+Another simple example:
+
+ AS_IF([some_test_here],[AX_CONFIG_FEATURE_ENABLE(feature_xxxxx)],[])
+
+ AX_CONFIG_FEATURE(feature_xxxxx, [turns on/off XXXXX support],
+ HAVE_XXXXX, [Define if you want XXXXX support])
+ AX_CONFIG_FEATURE(feature_yyyyy, [turns on/off YYYYY support],
+ HAVE_YYYYY, [Define if you want YYYYY support],
+ [enable_yyyyy="yes"], [enable_yyyyy="no"])
+
+ ...
+
+NOTE: AX_CONFIG_FEATURE_ENABLE() must be placed first of the relative
+AX_CONFIG_FEATURE() macro ...
+
+Source Code
+***********
+
+Download the latest version of 'ax_config_feature.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_config_feature.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_config_feature.m4).
+
+License
+*******
+
+Copyright (C) 2008 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_configure_args, Next: ax_count_cpus, Prev: ax_config_feature, Up: The Macros
+
+ax_configure_args
+=================
+
+Synopsis
+********
+
+ AX_CONFIGURE_ARGS
+
+Description
+***********
+
+Helper macro for AX_ENABLE_BUILDDIR.
+
+The traditional way of starting a subdir-configure is running the script
+with ${1+"$@"} but since autoconf 2.60 this is broken. Instead we have
+to rely on eval'ing $ac_configure_args however some old autoconf
+versions do not provide that. To ensure maximum portability of autoconf
+extension macros this helper can be AC_REQUIRE'd so that
+$ac_configure_args will always be present.
+
+Sadly, the traditional "exec $SHELL" of the enable_builddir macros is
+spoiled now and must be replaced by "eval + exit $?".
+
+Example:
+
+ AC_DEFUN([AX_ENABLE_SUBDIR],[dnl
+ AC_REQUIRE([AX_CONFIGURE_ARGS])dnl
+ eval $SHELL $ac_configure_args || exit $?
+ ...])
+
+Source Code
+***********
+
+Download the latest version of 'ax_configure_args.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_configure_args.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_configure_args.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_count_cpus, Next: ax_cpu_freq, Prev: ax_configure_args, Up: The Macros
+
+ax_count_cpus
+=============
+
+Synopsis
+********
+
+ AX_COUNT_CPUS([ACTION-IF-DETECTED],[ACTION-IF-NOT-DETECTED])
+
+Description
+***********
+
+Attempt to count the number of logical processor cores (including
+virtual and HT cores) currently available to use on the machine and
+place detected value in CPU_COUNT variable.
+
+On successful detection, ACTION-IF-DETECTED is executed if present. If
+the detection fails, then ACTION-IF-NOT-DETECTED is triggered. The
+default ACTION-IF-NOT-DETECTED is to set CPU_COUNT to 1.
+
+Source Code
+***********
+
+Download the latest version of 'ax_count_cpus.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_count_cpus.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_count_cpus.m4).
+
+License
+*******
+
+Copyright (C) 2014,2016 Karlson2k (Evgeny Grin) <k2k@narod.ru>
+Copyright (C) 2012 Brian Aker <brian@tangent.org>
+Copyright (C) 2008 Michael Paul Bailey <jinxidoru@byu.net>
+Copyright (C) 2008 Christophe Tournayre <turn3r@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cpu_freq, Next: ax_cpu_vendor, Prev: ax_count_cpus, Up: The Macros
+
+ax_cpu_freq
+===========
+
+Synopsis
+********
+
+ AX_CPU_FREQ
+
+Description
+***********
+
+Compute the CPU frequency and define CPU_FREQ accordingly.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cpu_freq.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cpu_freq.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cpu_freq.m4).
+
+License
+*******
+
+Copyright (C) 2008 Christophe Tournayre <turn3r@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cpu_vendor, Next: ax_create_generic_config, Prev: ax_cpu_freq, Up: The Macros
+
+ax_cpu_vendor
+=============
+
+Synopsis
+********
+
+ AX_CPU_VENDOR
+
+Description
+***********
+
+Find your CPU's vendor by requesting cpuid and define "ax_cv_cpu_vendor"
+accordingly. This macro depends on AX_GCC_X86_CPUID.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cpu_vendor.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cpu_vendor.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cpu_vendor.m4).
+
+License
+*******
+
+Copyright (C) 2008 Christophe Tournayre <turn3r@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_create_generic_config, Next: ax_create_pkgconfig_info, Prev: ax_cpu_vendor, Up: The Macros
+
+ax_create_generic_config
+========================
+
+Synopsis
+********
+
+ AX_CREATE_GENERIC_CONFIG [(PACKAGEnlibs [, VERSION])]
+
+Description
+***********
+
+Creates a generic PACKAGE-config file that has all the things that you
+want, hmm, well, at least it has -cflags, -version, -libs. Ahhm, did
+you see ax_path_generic in the autoconf-archive? ;-)
+
+this macros saves you all the typing for a pkg-config.in script, you
+don't even need to distribute one along. Place this macro in your
+configure.ac, et voila, you got one that you want to install.
+
+oh, btw, if the first arg looks like "mylib -lwhat' then it will go to
+be added to the -libs, and mylib is extracted.
+
+the defaults: $1 = $PACKAGE $LIBS $2 = $VERSION there is also an
+AC_SUBST(GENERIC_CONFIG) that will be set to the name of the file that
+we did output in this macro. Use as:
+
+ install-exec-local: install-generic-config
+
+ install-generic-config:
+ $(mkinstalldirs) $(DESTDIR)$(bindir)
+ $(INSTALL_SCRIPT) @GENERIC_CONFIG@ $(DESTDIR)$(bindir)
+
+Source Code
+***********
+
+Download the latest version of 'ax_create_generic_config.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_generic_config.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_generic_config.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_create_pkgconfig_info, Next: ax_create_stdint_h, Prev: ax_create_generic_config, Up: The Macros
+
+ax_create_pkgconfig_info
+========================
+
+Synopsis
+********
+
+ AX_CREATE_PKGCONFIG_INFO [(outputfile, [requires [,libs [,summary [,cflags [, ldflags]]]]])]
+
+Description
+***********
+
+Defaults:
+
+ $1 = $PACKAGE_NAME.pc
+ $2 = (empty)
+ $3 = $PACKAGE_LIBS $LIBS (as set at that point in configure.ac)
+ $4 = $PACKAGE_SUMMARY (or $1 Library)
+ $5 = $PACKAGE_CFLAGS (as set at the point in configure.ac)
+ $6 = $PACKAGE_LDFLAGS (as set at the point in configure.ac)
+
+ PACKAGE_NAME defaults to $PACKAGE if not set.
+ PACKAGE_LIBS defaults to -l$PACKAGE_NAME if not set.
+
+The resulting file is called $PACKAGE.pc.in / $PACKAGE.pc
+
+You will find this macro most useful in conjunction with
+ax_spec_defaults that can read good initializers from the .spec file.
+In consequence, most of the generatable installable stuff can be made
+from information being updated in a single place for the whole project.
+
+Source Code
+***********
+
+Download the latest version of 'ax_create_pkgconfig_info.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_pkgconfig_info.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_pkgconfig_info.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+Copyright (C) 2008 Sven Verdoolaege <skimo@kotnet.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_create_stdint_h, Next: ax_create_target_h, Prev: ax_create_pkgconfig_info, Up: The Macros
+
+ax_create_stdint_h
+==================
+
+Synopsis
+********
+
+ AX_CREATE_STDINT_H [( HEADER-TO-GENERATE [, HEDERS-TO-CHECK])]
+
+Description
+***********
+
+the "ISO C9X: 7.18 Integer types <stdint.h>" section requires the
+existence of an include file <stdint.h> that defines a set of typedefs,
+especially uint8_t,int32_t,uintptr_t. Many older installations will not
+provide this file, but some will have the very same definitions in
+<inttypes.h>. In other environments we can use the inet-types in
+<sys/types.h> which would define the typedefs int8_t and u_int8_t
+respectively.
+
+This macros will create a local "_stdint.h" or the headerfile given as
+an argument. In many cases that file will just "#include <stdint.h>" or
+"#include <inttypes.h>", while in other environments it will provide the
+set of basic 'stdint's definitions/typedefs:
+
+ int8_t,uint8_t,int16_t,uint16_t,int32_t,uint32_t,intptr_t,uintptr_t
+ int_least32_t.. int_fast32_t.. intmax_t
+
+which may or may not rely on the definitions of other files, or using
+the AC_CHECK_SIZEOF macro to determine the actual sizeof each type.
+
+if your header files require the stdint-types you will want to create an
+installable file mylib-int.h that all your other installable header may
+include. So if you have a library package named "mylib", just use
+
+ AX_CREATE_STDINT_H(mylib-int.h)
+
+in configure.ac and go to install that very header file in Makefile.am
+along with the other headers (mylib.h) - and the mylib-specific headers
+can simply use "#include <mylib-int.h>" to obtain the stdint-types.
+
+Remember, if the system already had a valid <stdint.h>, the generated
+file will include it directly. No need for fuzzy HAVE_STDINT_H
+things... (oops, GCC 4.2.x has deliberately disabled its stdint.h for
+non-c99 compilation and the c99-mode is not the default. Therefore this
+macro will not use the compiler's stdint.h - please complain to the GCC
+developers).
+
+Source Code
+***********
+
+Download the latest version of 'ax_create_stdint_h.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_stdint_h.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_stdint_h.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_create_target_h, Next: ax_cvs, Prev: ax_create_stdint_h, Up: The Macros
+
+ax_create_target_h
+==================
+
+Synopsis
+********
+
+ AX_CREATE_TARGET_H [(HEADER-FILE [,PREFIX)]
+
+Description
+***********
+
+Create the header-file and let it contain '#defines' for the target
+platform. This macro is used for libraries that have platform-specific
+quirks. Instead of inventing a target-specific target.h.in files, just
+let it create a header file from the definitions of AC_CANONICAL_SYSTEM
+and put only ifdef's in the installed header-files.
+
+ if the HEADER-FILE is absent, [target.h] is used.
+ if the PREFIX is absent, [TARGET] is used.
+ the prefix can be the packagename. (y:a-z-:A-Z_:)
+
+The defines look like...
+
+ #ifndef TARGET_CPU_M68K
+ #define TARGET_CPU_M68K "m68k"
+ #endif
+
+ #ifndef TARGET_OS_LINUX
+ #define TARGET_OS_LINUX "linux-gnu"
+ #endif
+
+ #ifndef TARGET_OS_TYPE /* the string itself */
+ #define TARGET_OS_TYPE "linux-gnu"
+ #endif
+
+Detail: in the case of hppa1.1, the three idents "hppa1_1" "hppa1" and
+"hppa" are derived, for an m68k it just two, "m68k" and "m".
+
+The CREATE_TARGET_H__ variant is almost the same function, but
+everything is lowercased instead of uppercased, and there is a "__" in
+front of each prefix, so it looks like...
+
+ #ifndef __target_os_linux
+ #define __target_os_linux "linux-gnulibc2"
+ #endif
+
+ #ifndef __target_os__ /* the string itself */
+ #define __target_os__ "linux-gnulibc2"
+ #endif
+
+ #ifndef __target_cpu_i586
+ #define __target_cpu_i586 "i586"
+ #endif
+
+ #ifndef __target_arch_i386
+ #define __target_arch_i386 "i386"
+ #endif
+
+ #ifndef __target_arch__ /* cpu family arch */
+ #define __target_arch__ "i386"
+ #endif
+
+Other differences: the default string-define is "__" instead of "_TYPE".
+
+Personally, I prefer the second variant (which had been the first in the
+devprocess of this file but I assume people will often fallback to the
+primary variant presented herein).
+
+NOTE: CREATE_TARGET_H does also fill HOST_OS-defines Functionality has
+been split over functions called CREATE_TARGET_H_UPPER,
+CREATE_TARGET_H_LOWER, CREATE_TARGET_HOST_UPPER, and
+CREATE_TARGET_HOST_LOWER.
+
+ CREATE_TARGET_H uses CREATE_TARGET_H_UPPER CREATE_TARGET_HOST_UPPER
+ CREATE_TARGET_H_ uses CREATE_TARGET_H_LOWER CREATE_TARGET_HOST_LOWER
+
+There is now a CREATE_PREFIX_TARGET_H in this file as a shorthand for
+PREFIX_CONFIG_H from a target.h file, however w/o the target.h ever
+created (the prefix is a bit different, since we add an extra -target-
+and -host-).
+
+Source Code
+***********
+
+Download the latest version of 'ax_create_target_h.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_target_h.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_target_h.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cvs, Next: ax_cxx_bool, Prev: ax_create_target_h, Up: The Macros
+
+ax_cvs
+======
+
+Synopsis
+********
+
+ AX_CVS([ANON_CVSROOT])
+
+Description
+***********
+
+Adds support cvs targets within your Makefile.
+
+Branching and releasing relies on you using the following version
+format:
+
+ MAJOR.MINOR.POINT
+
+where MAJOR is the major version number, MINOR is the minor version
+number and POINT is the point release number.
+
+make update
+
+ performs a cvs update
+
+make commitlog
+
+ Generates a ChangeLog template with the modified, added
+ and removed files and opens it up for editing. This is
+ not normally used directly, but is instead called by
+ commit. It is useful however if you want to document
+ the work you have done, but don't want to commit just
+ yet.
+
+make commit
+
+ performs a cvs commit after first performing a cvs
+ update and generating a commit log.
+
+make cvs-rm FILES="file1 file2 ..."
+
+ removes a file or files specified by the FILES
+ variable from the file system and from cvs. It will
+ interactively ask you to confirm the file removal,
+ unless the file does not exist on the file system.
+
+make cvs-add FILES="file1 file2 ..."
+
+ adds a file or files specified by the FILES variable
+ to cvs.
+
+make branch-major
+
+ creates a branch based on the major version number,
+ increments the major version number, sets the minor
+ and point versions to zero and checks out the branch
+ into a new directory.
+
+make branch-minor
+
+ creates a branch based on the minor version number,
+ increments the minor version, sets the point version
+ to zero number and checks out the branch into a new
+ directory.
+
+make release
+
+ performs a cvs update, followed by a distcheck, then
+ creates a release for the current version, increments
+ the point release number and checks out the release
+ into a new directory
+
+make quick-release
+
+ same as release, but distcheck is not performed
+
+Source Code
+***********
+
+Download the latest version of 'ax_cvs.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cvs.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cvs.m4).
+
+License
+*******
+
+Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_bool, Next: ax_cxx_compile_stdcxx, Prev: ax_cvs, Up: The Macros
+
+ax_cxx_bool
+===========
+
+Synopsis
+********
+
+ AX_CXX_BOOL
+
+Description
+***********
+
+If the compiler recognizes bool as a separate built-in type, define
+HAVE_BOOL. Note that a typedef is not a separate type since you cannot
+overload a function such that it accepts either the basic type or the
+typedef.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_bool.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_bool.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_bool.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_compile_stdcxx, Next: ax_cxx_compile_stdcxx_0x, Prev: ax_cxx_bool, Up: The Macros
+
+ax_cxx_compile_stdcxx
+=====================
+
+Synopsis
+********
+
+ AX_CXX_COMPILE_STDCXX(VERSION, [ext|noext], [mandatory|optional])
+
+Description
+***********
+
+Check for baseline language coverage in the compiler for the specified
+version of the C++ standard. If necessary, add switches to CXX and
+CXXCPP to enable support. VERSION may be '11', '14', '17', or '20' for
+the respective C++ standard version.
+
+The second argument, if specified, indicates whether you insist on an
+extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g.
+-std=c++11). If neither is specified, you get whatever works, with
+preference for no added switch, and then for an extended mode.
+
+The third argument, if specified 'mandatory' or if left unspecified,
+indicates that baseline support for the specified C++ standard is
+required and that the macro should error out if no mode with that
+support is found. If specified 'optional', then configuration proceeds
+regardless, after defining HAVE_CXX${VERSION} if and only if a
+supporting mode is found.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_compile_stdcxx.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx.m4).
+
+License
+*******
+
+Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
+Copyright (C) 2012 Zack Weinberg <zackw@panix.com>
+Copyright (C) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
+Copyright (C) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
+
+Copyright (C) 2015 Paul Norman <penorman@mac.com>
+Copyright (C) 2015 Moritz Klammler <moritz@klammler.eu>
+Copyright (C) 2016, 2018 Krzesimir Nowak <qdlacz@gmail.com>
+Copyright (C) 2019 Enji Cooper <yaneurabeya@gmail.com>
+Copyright (C) 2020 Jason Merrill <jason@redhat.com>
+Copyright (C) 2021 Jörn Heusipp <osmanx@problemloesungsmaschine.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_compile_stdcxx_0x, Next: ax_cxx_compile_stdcxx_11, Prev: ax_cxx_compile_stdcxx, Up: The Macros
+
+ax_cxx_compile_stdcxx_0x
+========================
+
+Synopsis
+********
+
+ AX_CXX_COMPILE_STDCXX_0X
+
+Description
+***********
+
+Check for baseline language coverage in the compiler for the C++0x
+standard.
+
+This macro is deprecated and has been superseded by the
+AX_CXX_COMPILE_STDCXX_11 macro which should be used instead.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_compile_stdcxx_0x.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_0x.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_0x.m4).
+
+License
+*******
+
+Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_compile_stdcxx_11, Next: ax_cxx_compile_stdcxx_14, Prev: ax_cxx_compile_stdcxx_0x, Up: The Macros
+
+ax_cxx_compile_stdcxx_11
+========================
+
+Synopsis
+********
+
+ AX_CXX_COMPILE_STDCXX_11([ext|noext], [mandatory|optional])
+
+Description
+***********
+
+Check for baseline language coverage in the compiler for the C++11
+standard; if necessary, add switches to CXX and CXXCPP to enable
+support.
+
+This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
+macro with the version set to C++11. The two optional arguments are
+forwarded literally as the second and third argument respectively.
+Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
+more information. If you want to use this macro, you also need to
+download the ax_cxx_compile_stdcxx.m4 file.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_compile_stdcxx_11.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_11.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_11.m4).
+
+License
+*******
+
+Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
+Copyright (C) 2012 Zack Weinberg <zackw@panix.com>
+Copyright (C) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
+Copyright (C) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
+
+Copyright (C) 2015 Paul Norman <penorman@mac.com>
+Copyright (C) 2015 Moritz Klammler <moritz@klammler.eu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_compile_stdcxx_14, Next: ax_cxx_compile_stdcxx_17, Prev: ax_cxx_compile_stdcxx_11, Up: The Macros
+
+ax_cxx_compile_stdcxx_14
+========================
+
+Synopsis
+********
+
+ AX_CXX_COMPILE_STDCXX_14([ext|noext], [mandatory|optional])
+
+Description
+***********
+
+Check for baseline language coverage in the compiler for the C++14
+standard; if necessary, add switches to CXX and CXXCPP to enable
+support.
+
+This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
+macro with the version set to C++14. The two optional arguments are
+forwarded literally as the second and third argument respectively.
+Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
+more information. If you want to use this macro, you also need to
+download the ax_cxx_compile_stdcxx.m4 file.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_compile_stdcxx_14.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_14.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_14.m4).
+
+License
+*******
+
+Copyright (C) 2015 Moritz Klammler <moritz@klammler.eu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_compile_stdcxx_17, Next: ax_cxx_complex_math_in_namespace_std, Prev: ax_cxx_compile_stdcxx_14, Up: The Macros
+
+ax_cxx_compile_stdcxx_17
+========================
+
+Synopsis
+********
+
+ AX_CXX_COMPILE_STDCXX_17([ext|noext], [mandatory|optional])
+
+Description
+***********
+
+Check for baseline language coverage in the compiler for the C++17
+standard; if necessary, add switches to CXX and CXXCPP to enable
+support.
+
+This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
+macro with the version set to C++17. The two optional arguments are
+forwarded literally as the second and third argument respectively.
+Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
+more information. If you want to use this macro, you also need to
+download the ax_cxx_compile_stdcxx.m4 file.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_compile_stdcxx_17.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_17.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_17.m4).
+
+License
+*******
+
+Copyright (C) 2015 Moritz Klammler <moritz@klammler.eu>
+Copyright (C) 2016 Krzesimir Nowak <qdlacz@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_complex_math_in_namespace_std, Next: ax_cxx_const_cast, Prev: ax_cxx_compile_stdcxx_17, Up: The Macros
+
+ax_cxx_complex_math_in_namespace_std
+====================================
+
+Synopsis
+********
+
+ AX_CXX_COMPLEX_MATH_IN_NAMESPACE_STD
+
+Description
+***********
+
+If the C math functions are in the cmath header file and std::
+namespace, define HAVE_MATH_FN_IN_NAMESPACE_STD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_complex_math_in_namespace_std.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_complex_math_in_namespace_std.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_complex_math_in_namespace_std.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_const_cast, Next: ax_cxx_cppflags_std_lang, Prev: ax_cxx_complex_math_in_namespace_std, Up: The Macros
+
+ax_cxx_const_cast
+=================
+
+Synopsis
+********
+
+ AX_CXX_CONST_CAST
+
+Description
+***********
+
+If the compiler supports const_cast<>, define HAVE_CONST_CAST.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_const_cast.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_const_cast.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_const_cast.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_cppflags_std_lang, Next: ax_cxx_cxxflags_std_lang, Prev: ax_cxx_const_cast, Up: The Macros
+
+ax_cxx_cppflags_std_lang
+========================
+
+Synopsis
+********
+
+ AX_CXX_CPPFLAGS_STD_LANG(CPP-FLAGS)
+
+Description
+***********
+
+Append to CPP-FLAGS the set of flags that should be passed to the C++
+preprocessor in order to enable use of C++ features as defined in the
+ANSI C++ standard (eg. use of standard iostream classes in the 'std'
+namespace, etc.).
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_cppflags_std_lang.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_cppflags_std_lang.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_cppflags_std_lang.m4).
+
+License
+*******
+
+Copyright (C) 2008 Ludovic Courtes <ludo@chbouib.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_cxxflags_std_lang, Next: ax_cxx_default_template_parameters, Prev: ax_cxx_cppflags_std_lang, Up: The Macros
+
+ax_cxx_cxxflags_std_lang
+========================
+
+Synopsis
+********
+
+ AX_CXX_CXXFLAGS_STD_LANG(CXX-FLAGS)
+
+Description
+***********
+
+Append to variable CXX-FLAGS the set of compile-time flags that should
+be passed to the C++ compiler in order to enable use of C++ features as
+defined in the ANSI C++ standard (eg. use of standard iostream classes
+in the 'std' namespace, etc.). Note that if you use GNU Libtool you may
+need to prefix each of those flags with '-Xcompiler' so that Libtool
+doesn't discard them (see Libtool's manual and 'AC_LIBTOOLIZE_CFLAGS').
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_cxxflags_std_lang.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_cxxflags_std_lang.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_cxxflags_std_lang.m4).
+
+License
+*******
+
+Copyright (C) 2008 Ludovic Courtes <ludo@chbouib.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_default_template_parameters, Next: ax_cxx_delete_method, Prev: ax_cxx_cxxflags_std_lang, Up: The Macros
+
+ax_cxx_default_template_parameters
+==================================
+
+Synopsis
+********
+
+ AX_CXX_DEFAULT_TEMPLATE_PARAMETERS
+
+Description
+***********
+
+If the compiler supports default template parameters, define
+HAVE_DEFAULT_TEMPLATE_PARAMETERS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_default_template_parameters.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_default_template_parameters.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_default_template_parameters.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_delete_method, Next: ax_cxx_dtor_after_atexit, Prev: ax_cxx_default_template_parameters, Up: The Macros
+
+ax_cxx_delete_method
+====================
+
+Synopsis
+********
+
+ AX_CXX_DELETE_METHOD
+
+Description
+***********
+
+Check whether the C++11 '= delete' syntax, for suppressing undesired
+implicit methods, is supported. If it is, the macro DELETE_METHOD is
+defined to '= delete'; otherwise it is defined to nothing. Thus, you
+can write
+
+ class foo {
+ ...
+ private:
+ foo(foo const&) DELETE_METHOD;
+ };
+
+to delete the 'foo' copy constructor or fall back to the idiom of a
+private undefined method if the compiler doesn't support this.
+
+Does not test '= delete' on a template specialization. Does not ensure
+that the compiler is in C++11 mode.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_delete_method.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_delete_method.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_delete_method.m4).
+
+License
+*******
+
+Copyright (C) 2012 Zack Weinberg <zackw@panix.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_dtor_after_atexit, Next: ax_cxx_dynamic_cast, Prev: ax_cxx_delete_method, Up: The Macros
+
+ax_cxx_dtor_after_atexit
+========================
+
+Synopsis
+********
+
+ AX_CXX_DTOR_AFTER_ATEXIT
+
+Description
+***********
+
+If the C++ compiler calls global destructors after atexit functions,
+define HAVE_DTOR_AFTER_ATEXIT.
+
+Conformant behavior is to have global destructors after atexit
+
+Per Paragraph 3.6.3/1 of the C++11 Standard:
+
+Destructors (12.4) for initialized objects [..] with static storage
+duration are called as a result of returning from main and as a result
+of calling std::exit (18.5).
+
+And per Paragraph 3.6.3/3:
+
+If the completion of the initialization of an object with static storage
+duration is sequenced before a call to std::atexit [..], the call to the
+function passed to std::atexit is sequenced before the call to the
+destructor for the object.
+
+WARNING: If cross-compiling, the test cannot be performed, the default
+action is to define HAVE_DTOR_AFTER_ATEXIT.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_dtor_after_atexit.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_dtor_after_atexit.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_dtor_after_atexit.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_dynamic_cast, Next: ax_cxx_enum_computations, Prev: ax_cxx_dtor_after_atexit, Up: The Macros
+
+ax_cxx_dynamic_cast
+===================
+
+Synopsis
+********
+
+ AX_CXX_DYNAMIC_CAST
+
+Description
+***********
+
+If the compiler supports dynamic_cast<>, define HAVE_DYNAMIC_CAST.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_dynamic_cast.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_dynamic_cast.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_dynamic_cast.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_enum_computations, Next: ax_cxx_enum_computations_with_cast, Prev: ax_cxx_dynamic_cast, Up: The Macros
+
+ax_cxx_enum_computations
+========================
+
+Synopsis
+********
+
+ AX_CXX_ENUM_COMPUTATIONS
+
+Description
+***********
+
+If the compiler handle computations inside an enum, define
+HAVE_ENUM_COMPUTATIONS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_enum_computations.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_enum_computations.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_enum_computations.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_enum_computations_with_cast, Next: ax_cxx_erase_iterator_type, Prev: ax_cxx_enum_computations, Up: The Macros
+
+ax_cxx_enum_computations_with_cast
+==================================
+
+Synopsis
+********
+
+ AX_CXX_ENUM_COMPUTATIONS_WITH_CAST
+
+Description
+***********
+
+If the compiler handle (int) casts in enum computations, define
+HAVE_ENUM_COMPUTATIONS_WITH_CAST.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_enum_computations_with_cast.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_enum_computations_with_cast.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_enum_computations_with_cast.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_erase_iterator_type, Next: ax_cxx_exceptions, Prev: ax_cxx_enum_computations_with_cast, Up: The Macros
+
+ax_cxx_erase_iterator_type
+==========================
+
+Synopsis
+********
+
+ AX_CXX_ERASE_ITERATOR_TYPE
+
+Description
+***********
+
+If the compiler supports define erase with constant iterator or with
+classical iterator.
+
+Define autoconfigured_erase_iterator to const_iterator if supported and
+iterator if not supported.
+
+Define HAVE_ERASE_CONSTANT_ITERATOR if supported
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_erase_iterator_type.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_erase_iterator_type.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_erase_iterator_type.m4).
+
+License
+*******
+
+Copyright (C) 2015 Bastien ROUCARIES
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_exceptions, Next: ax_cxx_explicit, Prev: ax_cxx_erase_iterator_type, Up: The Macros
+
+ax_cxx_exceptions
+=================
+
+Synopsis
+********
+
+ AX_CXX_EXCEPTIONS
+
+Description
+***********
+
+If the C++ compiler supports exceptions handling (try, throw and catch),
+define HAVE_EXCEPTIONS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_exceptions.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_exceptions.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_exceptions.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_explicit, Next: ax_cxx_explicit_instantiations, Prev: ax_cxx_exceptions, Up: The Macros
+
+ax_cxx_explicit
+===============
+
+Synopsis
+********
+
+ AX_CXX_EXPLICIT
+
+Description
+***********
+
+If the compiler can be asked to prevent using implicitly one argument
+constructors as converting constructors with the explicit keyword,
+define HAVE_EXPLICIT.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_explicit.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_explicit.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_explicit.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_explicit_instantiations, Next: ax_cxx_explicit_template_function_qualification, Prev: ax_cxx_explicit, Up: The Macros
+
+ax_cxx_explicit_instantiations
+==============================
+
+Synopsis
+********
+
+ AX_CXX_EXPLICIT_INSTANTIATIONS
+
+Description
+***********
+
+If the C++ compiler supports explicit instantiations syntax, define
+HAVE_INSTANTIATIONS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_explicit_instantiations.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_explicit_instantiations.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_explicit_instantiations.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_explicit_template_function_qualification, Next: ax_cxx_extern_template, Prev: ax_cxx_explicit_instantiations, Up: The Macros
+
+ax_cxx_explicit_template_function_qualification
+===============================================
+
+Synopsis
+********
+
+ AX_CXX_EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION
+
+Description
+***********
+
+If the compiler supports explicit template function qualification,
+define HAVE_EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION.
+
+Source Code
+***********
+
+Download the latest version of
+'ax_cxx_explicit_template_function_qualification.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_explicit_template_function_qualification.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_explicit_template_function_qualification.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_extern_template, Next: ax_cxx_full_specialization_syntax, Prev: ax_cxx_explicit_template_function_qualification, Up: The Macros
+
+ax_cxx_extern_template
+======================
+
+Synopsis
+********
+
+ AX_CXX_EXTERN_TEMPLATE
+
+Description
+***********
+
+Test whether the C++ compiler supports "extern template".
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_extern_template.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_extern_template.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_extern_template.m4).
+
+License
+*******
+
+Copyright (C) 2008 Patrick Mauritz <oxygene@studentenbude.ath.cx>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_full_specialization_syntax, Next: ax_cxx_function_nontype_parameters, Prev: ax_cxx_extern_template, Up: The Macros
+
+ax_cxx_full_specialization_syntax
+=================================
+
+Synopsis
+********
+
+ AX_CXX_FULL_SPECIALIZATION_SYNTAX
+
+Description
+***********
+
+If the compiler recognizes the full specialization syntax, define
+HAVE_FULL_SPECIALIZATION_SYNTAX.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_full_specialization_syntax.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_full_specialization_syntax.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_full_specialization_syntax.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_function_nontype_parameters, Next: ax_cxx_function_try_blocks, Prev: ax_cxx_full_specialization_syntax, Up: The Macros
+
+ax_cxx_function_nontype_parameters
+==================================
+
+Synopsis
+********
+
+ AX_CXX_FUNCTION_NONTYPE_PARAMETERS
+
+Description
+***********
+
+If the compiler supports function templates with non-type parameters,
+define HAVE_FUNCTION_NONTYPE_PARAMETERS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_function_nontype_parameters.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_function_nontype_parameters.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_function_nontype_parameters.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_function_try_blocks, Next: ax_cxx_gcc_abi_demangle, Prev: ax_cxx_function_nontype_parameters, Up: The Macros
+
+ax_cxx_function_try_blocks
+==========================
+
+Synopsis
+********
+
+ AX_CXX_FUNCTION_TRY_BLOCKS
+
+Description
+***********
+
+If the C++ compiler supports function try blocks, define
+'HAVE_FUNCTION_TRY_BLOCKS'.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_function_try_blocks.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_function_try_blocks.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_function_try_blocks.m4).
+
+License
+*******
+
+Copyright (C) 2008 Matthew D. Langston
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_gcc_abi_demangle, Next: ax_cxx_gnucxx_hashmap, Prev: ax_cxx_function_try_blocks, Up: The Macros
+
+ax_cxx_gcc_abi_demangle
+=======================
+
+Synopsis
+********
+
+ AX_CXX_GCC_ABI_DEMANGLE
+
+Description
+***********
+
+If the compiler supports GCC C++ ABI name demangling (has header
+cxxabi.h and abi::__cxa_demangle() function), define
+HAVE_GCC_ABI_DEMANGLE
+
+Adapted from AX_CXX_RTTI by Luc Maisonobe
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_gcc_abi_demangle.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_gcc_abi_demangle.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_gcc_abi_demangle.m4).
+
+License
+*******
+
+Copyright (C) 2008 Neil Ferguson <nferguso@eso.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_gnucxx_hashmap, Next: ax_cxx_have_bad_function_call, Prev: ax_cxx_gcc_abi_demangle, Up: The Macros
+
+ax_cxx_gnucxx_hashmap
+=====================
+
+Synopsis
+********
+
+ AX_CXX_GNUCXX_HASHMAP
+
+Description
+***********
+
+Test for the presence of GCC's hashmap STL extension.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_gnucxx_hashmap.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_gnucxx_hashmap.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_gnucxx_hashmap.m4).
+
+License
+*******
+
+Copyright (C) 2008 Patrick Mauritz <oxygene@studentenbude.ath.cx>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_bad_function_call, Next: ax_cxx_have_bind, Prev: ax_cxx_gnucxx_hashmap, Up: The Macros
+
+ax_cxx_have_bad_function_call
+=============================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_BAD_FUNCTION_CALL()
+
+Description
+***********
+
+This macro checks if std::bad_function_call, added in C++11, is defined
+in the <functional> header.
+
+If it is, define the ax_cv_cxx_have_bad_function_call environment
+variable to "yes" and define HAVE_CXX_BAD_FUNCTION_CALL.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_bad_function_call.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bad_function_call.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bad_function_call.m4).
+
+License
+*******
+
+Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_bind, Next: ax_cxx_have_bit_and, Prev: ax_cxx_have_bad_function_call, Up: The Macros
+
+ax_cxx_have_bind
+================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_BIND()
+
+Description
+***********
+
+This macro checks if std::bind, added in C++11, is defined in the
+<functional> header.
+
+If it is, define the ax_cv_cxx_have_bind environment variable to "yes"
+and define HAVE_CXX_BIND.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_bind.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bind.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bind.m4).
+
+License
+*******
+
+Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_bit_and, Next: ax_cxx_have_bit_or, Prev: ax_cxx_have_bind, Up: The Macros
+
+ax_cxx_have_bit_and
+===================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_BIT_AND()
+
+Description
+***********
+
+This macro checks if std::bit_and, added in C++11, is defined in the
+<functional> header.
+
+If it is, define the ax_cv_cxx_have_bit_and environment variable to
+"yes" and define HAVE_CXX_BIT_AND.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_bit_and.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bit_and.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bit_and.m4).
+
+License
+*******
+
+Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_bit_or, Next: ax_cxx_have_bit_xor, Prev: ax_cxx_have_bit_and, Up: The Macros
+
+ax_cxx_have_bit_or
+==================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_BIT_OR()
+
+Description
+***********
+
+This macro checks if std::bit_or, added in C++11, is defined in the
+<functional> header.
+
+If it is, define the ax_cv_cxx_have_bit_or environment variable to "yes"
+and define HAVE_CXX_BIT_OR.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_bit_or.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bit_or.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bit_or.m4).
+
+License
+*******
+
+Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_bit_xor, Next: ax_cxx_have_complex, Prev: ax_cxx_have_bit_or, Up: The Macros
+
+ax_cxx_have_bit_xor
+===================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_BIT_XOR()
+
+Description
+***********
+
+This macro checks if std::bit_xor, added in C++11, is defined in the
+<functional> header.
+
+If it is, define the ax_cv_cxx_have_bit_xor environment variable to
+"yes" and define HAVE_CXX_BIT_XOR.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_bit_xor.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bit_xor.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bit_xor.m4).
+
+License
+*******
+
+Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_complex, Next: ax_cxx_have_complex_math1, Prev: ax_cxx_have_bit_xor, Up: The Macros
+
+ax_cxx_have_complex
+===================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_COMPLEX
+
+Description
+***********
+
+If the compiler has complex<T>, define HAVE_COMPLEX.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_complex.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_complex.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_complex.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_complex_math1, Next: ax_cxx_have_complex_math2, Prev: ax_cxx_have_complex, Up: The Macros
+
+ax_cxx_have_complex_math1
+=========================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_COMPLEX_MATH1
+
+Description
+***********
+
+If the compiler has the complex math functions cos, cosh, exp, log, pow,
+sin, sinh, sqrt, tan and tanh, define HAVE_COMPLEX_MATH1.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_complex_math1.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_complex_math1.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_complex_math1.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_complex_math2, Next: ax_cxx_have_cref, Prev: ax_cxx_have_complex_math1, Up: The Macros
+
+ax_cxx_have_complex_math2
+=========================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_COMPLEX_MATH2
+
+Description
+***********
+
+If the compiler has the complex math functions acos, asin, atan, atan2
+and log10, define HAVE_COMPLEX_MATH2.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_complex_math2.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_complex_math2.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_complex_math2.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_cref, Next: ax_cxx_have_empty_iostream, Prev: ax_cxx_have_complex_math2, Up: The Macros
+
+ax_cxx_have_cref
+================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_CREF()
+
+Description
+***********
+
+This macro checks if std::cref, added in C++11, is defined in the
+<functional> header.
+
+If it is, define the ax_cv_cxx_have_cref environment variable to "yes"
+and define HAVE_CXX_CREF.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_cref.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_cref.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_cref.m4).
+
+License
+*******
+
+Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_empty_iostream, Next: ax_cxx_have_ext_hash_map, Prev: ax_cxx_have_cref, Up: The Macros
+
+ax_cxx_have_empty_iostream
+==========================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_EMPTY_IOSTREAM
+
+Description
+***********
+
+Check if the compiler allow the empty iostream constructor. Ok before
+gcc3, not after.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_empty_iostream.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_empty_iostream.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_empty_iostream.m4).
+
+License
+*******
+
+Copyright (C) 2008 Alain BARBET <alian@cpan.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_ext_hash_map, Next: ax_cxx_have_ext_hash_set, Prev: ax_cxx_have_empty_iostream, Up: The Macros
+
+ax_cxx_have_ext_hash_map
+========================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_EXT_HASH_MAP
+
+Description
+***********
+
+Check if the compiler has ext/hash_map Eg:
+
+ #if defined(HAVE_EXT_HASH_MAP)
+ #include <ext/hash_map>
+ #else
+ #if defined(HAVE_STL)
+ #include <hash_map>
+ #else
+ # Can't find hash_map header !
+ #endif
+ #endif
+
+This file is Alain BARBET's AC_CXX_HAVE_EXT_HASH_SET 1.1 with
+s/set/map/g :)
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_ext_hash_map.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ext_hash_map.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ext_hash_map.m4).
+
+License
+*******
+
+Copyright (C) 2008 Perceval ANICHINI
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_ext_hash_set, Next: ax_cxx_have_ext_slist, Prev: ax_cxx_have_ext_hash_map, Up: The Macros
+
+ax_cxx_have_ext_hash_set
+========================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_EXT_HASH_SET
+
+Description
+***********
+
+Check if the compiler has ext/hash_set Eg:
+
+ #if defined(HAVE_EXT_HASH_SET)
+ #include <ext/hash_set>
+ #else
+ #if defined(HAVE_STL)
+ #include <hash_set>
+ #else
+ # Can't find hash_set header !
+ #endif
+ #endif
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_ext_hash_set.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ext_hash_set.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ext_hash_set.m4).
+
+License
+*******
+
+Copyright (C) 2008 Alain BARBET <alian@cpan.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_ext_slist, Next: ax_cxx_have_freeze_sstream, Prev: ax_cxx_have_ext_hash_set, Up: The Macros
+
+ax_cxx_have_ext_slist
+=====================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_EXT_SLIST
+
+Description
+***********
+
+Check if the compiler has ext/slist. Eg:
+
+ #if defined(HAVE_EXT_SLIST)
+ #include <ext/slist>
+ #else
+ #if defined(HAVE_STL)
+ #include <slist>
+ #else
+ # Can't find slist header !
+ #endif
+ #endif
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_ext_slist.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ext_slist.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ext_slist.m4).
+
+License
+*******
+
+Copyright (C) 2008 Alain BARBET <alian@cpan.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_freeze_sstream, Next: ax_cxx_have_function, Prev: ax_cxx_have_ext_slist, Up: The Macros
+
+ax_cxx_have_freeze_sstream
+==========================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_FREEZE_SSTREAM
+
+Description
+***********
+
+Check if the compiler has (need) freeze method call in stringstream/
+strstream. Seems that Win32 and STLPort have it, libstdc++ not ...
+
+Eg:
+
+ #include <sstream>
+ #ifdef HAVE_NAMESPACES
+ using namespace std;
+ #endif
+ #ifdef HAVE_SSTREAM
+ stringstream message;
+ #else
+ strstream message;
+ #endif
+ message << "Hello";
+ #ifdef HAVE_FREEZE_SSTREAM
+ message.freeze(0);
+ #endif
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_freeze_sstream.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_freeze_sstream.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_freeze_sstream.m4).
+
+License
+*******
+
+Copyright (C) 2008 Alain BARBET <alian@cpan.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_function, Next: ax_cxx_have_hash, Prev: ax_cxx_have_freeze_sstream, Up: The Macros
+
+ax_cxx_have_function
+====================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_FUNCTION()
+
+Description
+***********
+
+This macro checks if std::function, added in C++11, is defined in the
+<functional> header.
+
+If it is, define the ax_cv_cxx_have_function environment variable to
+"yes" and define HAVE_CXX_FUNCTION.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_function.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_function.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_function.m4).
+
+License
+*******
+
+Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_hash, Next: ax_cxx_have_ieee_math, Prev: ax_cxx_have_function, Up: The Macros
+
+ax_cxx_have_hash
+================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_HASH()
+
+Description
+***********
+
+This macro checks if std::hash, added in C++11, is defined in the
+<functional> header.
+
+If it is, define the ax_cv_cxx_have_hash environment variable to "yes"
+and define HAVE_CXX_HASH.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_hash.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_hash.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_hash.m4).
+
+License
+*******
+
+Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_ieee_math, Next: ax_cxx_have_is_bind_expression, Prev: ax_cxx_have_hash, Up: The Macros
+
+ax_cxx_have_ieee_math
+=====================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_IEEE_MATH
+
+Description
+***********
+
+If the compiler has the double math functions acosh, asinh, atanh, cbrt,
+expm1, erf, erfc, isnan, j0, j1, jn, gamma, lgamma, ilogb, logb, log1p,
+rint, y0, y1, yn, hypot, nextafter, remainder and scalb, define
+HAVE_IEEE_MATH.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_ieee_math.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ieee_math.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ieee_math.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_is_bind_expression, Next: ax_cxx_have_is_placeholder, Prev: ax_cxx_have_ieee_math, Up: The Macros
+
+ax_cxx_have_is_bind_expression
+==============================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_IS_BIND_EXPRESSION()
+
+Description
+***********
+
+This macro checks if std::is_bind_expression, added in C++11, is defined
+in the <functional> header.
+
+If it is, define the ax_cv_cxx_have_is_bind_expression environment
+variable to "yes" and define HAVE_CXX_IS_BIND_EXPRESSION.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_is_bind_expression.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_is_bind_expression.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_is_bind_expression.m4).
+
+License
+*******
+
+Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_is_placeholder, Next: ax_cxx_have_koenig_lookup, Prev: ax_cxx_have_is_bind_expression, Up: The Macros
+
+ax_cxx_have_is_placeholder
+==========================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_IS_PLACEHOLDER()
+
+Description
+***********
+
+This macro checks if std::is_placeholder, added in C++11, is defined in
+the <functional> header.
+
+If it is, define the ax_cv_cxx_have_is_placeholder environment variable
+to "yes" and define HAVE_CXX_IS_PLACEHOLDER.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_is_placeholder.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_is_placeholder.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_is_placeholder.m4).
+
+License
+*******
+
+Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_koenig_lookup, Next: ax_cxx_have_long_long_for_iostream, Prev: ax_cxx_have_is_placeholder, Up: The Macros
+
+ax_cxx_have_koenig_lookup
+=========================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_KOENIG_LOOKUP
+
+Description
+***********
+
+Define CXX_HAVE_KOENIG_LOOKUP if the C++ compiler has argument-dependent
+name lookup (a.k.a. Koenig lookup).
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_koenig_lookup.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_koenig_lookup.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_koenig_lookup.m4).
+
+License
+*******
+
+Copyright (C) 2008 Steve M. Robbins <smr@debian.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_long_long_for_iostream, Next: ax_cxx_have_mem_fn, Prev: ax_cxx_have_koenig_lookup, Up: The Macros
+
+ax_cxx_have_long_long_for_iostream
+==================================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_LONG_LONG_FOR_IOSTREAM
+
+Description
+***********
+
+Check if the compiler allow long long for [i|o]stream Seems that OpenBSD
+/ gcc-3 don't have it.
+
+Eg:
+
+ #include <iostream>
+ #ifdef HAVE_SSTREAM
+ #include <strstream>
+ #else
+ #include <sstream>
+ #endif
+ #ifdef HAVE_NAMESPACES
+ using namespace std;
+ #endif
+ ostream str((streambuf *)0);
+ long long lo=1;
+ str <<
+ #ifdef HAVE_LONG_LONG_FOR_IOSTREAM
+ (long int)
+ #endif
+ lo;
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_long_long_for_iostream.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_long_long_for_iostream.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_long_long_for_iostream.m4).
+
+License
+*******
+
+Copyright (C) 2008 Alain BARBET <alian@cpan.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_mem_fn, Next: ax_cxx_have_numeric_limits, Prev: ax_cxx_have_long_long_for_iostream, Up: The Macros
+
+ax_cxx_have_mem_fn
+==================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_MEM_FN()
+
+Description
+***********
+
+This macro checks if std::mem_fn, added in C++11, is defined in the
+<functional> header.
+
+If it is, define the ax_cv_cxx_have_mem_fn environment variable to "yes"
+and define HAVE_CXX_MEM_FN.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_mem_fn.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_mem_fn.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_mem_fn.m4).
+
+License
+*******
+
+Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_numeric_limits, Next: ax_cxx_have_placeholders, Prev: ax_cxx_have_mem_fn, Up: The Macros
+
+ax_cxx_have_numeric_limits
+==========================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_NUMERIC_LIMITS
+
+Description
+***********
+
+If the compiler has numeric_limits<T>, define HAVE_NUMERIC_LIMITS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_numeric_limits.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_numeric_limits.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_numeric_limits.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_placeholders, Next: ax_cxx_have_ref, Prev: ax_cxx_have_numeric_limits, Up: The Macros
+
+ax_cxx_have_placeholders
+========================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_PLACEHOLDERS()
+
+Description
+***********
+
+This macro checks if std::placeholders, added in C++11, is defined in
+the <functional> header.
+
+If it is, define the ax_cv_cxx_have_placeholders environment variable to
+"yes" and define HAVE_CXX_PLACEHOLDERS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_placeholders.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_placeholders.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_placeholders.m4).
+
+License
+*******
+
+Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_ref, Next: ax_cxx_have_reference_wrapper, Prev: ax_cxx_have_placeholders, Up: The Macros
+
+ax_cxx_have_ref
+===============
+
+Synopsis
+********
+
+ AX_CXX_HAVE_REF()
+
+Description
+***********
+
+This macro checks if std::ref, added in C++11, is defined in the
+<functional> header.
+
+If it is, define the ax_cv_cxx_have_ref environment variable to "yes"
+and define HAVE_CXX_REF.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_ref.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ref.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ref.m4).
+
+License
+*******
+
+Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_reference_wrapper, Next: ax_cxx_have_sstream, Prev: ax_cxx_have_ref, Up: The Macros
+
+ax_cxx_have_reference_wrapper
+=============================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_REFERENCE_WRAPPER()
+
+Description
+***********
+
+This macro checks if std::reference_wrapper, added in C++11, is defined
+in the <functional> header.
+
+If it is, define the ax_cv_cxx_have_reference_wrapper environment
+variable to "yes" and define HAVE_CXX_REFERENCE_WRAPPER.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_reference_wrapper.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_reference_wrapper.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_reference_wrapper.m4).
+
+License
+*******
+
+Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_sstream, Next: ax_cxx_have_std, Prev: ax_cxx_have_reference_wrapper, Up: The Macros
+
+ax_cxx_have_sstream
+===================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_SSTREAM
+
+Description
+***********
+
+If the C++ library has a working stringstream, define HAVE_SSTREAM.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_sstream.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_sstream.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_sstream.m4).
+
+License
+*******
+
+Copyright (C) 2008 Ben Stanley <Ben.Stanley@exemail.com.au>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_std, Next: ax_cxx_have_stl, Prev: ax_cxx_have_sstream, Up: The Macros
+
+ax_cxx_have_std
+===============
+
+Synopsis
+********
+
+ AX_CXX_HAVE_STD
+
+Description
+***********
+
+If the compiler supports ISO C++ standard library (i.e., can include the
+files iostream, map, iomanip and cmath), define HAVE_STD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_std.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_std.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_std.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_stl, Next: ax_cxx_have_string_push_back, Prev: ax_cxx_have_std, Up: The Macros
+
+ax_cxx_have_stl
+===============
+
+Synopsis
+********
+
+ AX_CXX_HAVE_STL
+
+Description
+***********
+
+If the compiler supports the Standard Template Library, define HAVE_STL.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_stl.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_stl.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_stl.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_string_push_back, Next: ax_cxx_have_system_v_math, Prev: ax_cxx_have_stl, Up: The Macros
+
+ax_cxx_have_string_push_back
+============================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_STRING_PUSH_BACK
+
+Description
+***********
+
+If the implementation of the C++ library provides the method
+std::string::push_back (char), define HAVE_STRING_PUSH_BACK.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_string_push_back.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_string_push_back.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_string_push_back.m4).
+
+License
+*******
+
+Copyright (C) 2008 Jan Langer <jan@langernetz.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_system_v_math, Next: ax_cxx_have_valarray, Prev: ax_cxx_have_string_push_back, Up: The Macros
+
+ax_cxx_have_system_v_math
+=========================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_SYSTEM_V_MATH
+
+Description
+***********
+
+If the compiler has the double math functions _class, trunc, itrunc,
+nearest, rsqrt, uitrunc, copysign, drem, finite, and unordered, define
+HAVE_SYSTEM_V_MATH.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_system_v_math.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_system_v_math.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_system_v_math.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_valarray, Next: ax_cxx_have_vector_at, Prev: ax_cxx_have_system_v_math, Up: The Macros
+
+ax_cxx_have_valarray
+====================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_VALARRAY
+
+Description
+***********
+
+If the compiler has valarray<T>, define HAVE_VALARRAY.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_valarray.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_valarray.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_valarray.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_have_vector_at, Next: ax_cxx_header_pre_stdcxx, Prev: ax_cxx_have_valarray, Up: The Macros
+
+ax_cxx_have_vector_at
+=====================
+
+Synopsis
+********
+
+ AX_CXX_HAVE_VECTOR_AT
+
+Description
+***********
+
+If the implementation of the C++ library provides the method
+std::vector::at(std::size_t), define HAVE_VECTOR_AT.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_have_vector_at.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_vector_at.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_vector_at.m4).
+
+License
+*******
+
+Copyright (C) 2008 Jan Langer <jan@langernetz.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_header_pre_stdcxx, Next: ax_cxx_header_stdcxx_0x, Prev: ax_cxx_have_vector_at, Up: The Macros
+
+ax_cxx_header_pre_stdcxx
+========================
+
+Synopsis
+********
+
+ AX_CXX_HEADER_PRE_STDCXX
+
+Description
+***********
+
+Check whether pre-ISO-C++ headers exist.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_header_pre_stdcxx.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_pre_stdcxx.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_pre_stdcxx.m4).
+
+License
+*******
+
+Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_header_stdcxx_0x, Next: ax_cxx_header_stdcxx_98, Prev: ax_cxx_header_pre_stdcxx, Up: The Macros
+
+ax_cxx_header_stdcxx_0x
+=======================
+
+Synopsis
+********
+
+ AX_CXX_HEADER_STDCXX_0X
+
+Description
+***********
+
+Check for library coverage of the C++0x standard.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_header_stdcxx_0x.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_stdcxx_0x.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_stdcxx_0x.m4).
+
+License
+*******
+
+Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_header_stdcxx_98, Next: ax_cxx_header_stdcxx_tr1, Prev: ax_cxx_header_stdcxx_0x, Up: The Macros
+
+ax_cxx_header_stdcxx_98
+=======================
+
+Synopsis
+********
+
+ AX_CXX_HEADER_STDCXX_98
+
+Description
+***********
+
+Check for complete library coverage of the C++1998/2003 standard.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_header_stdcxx_98.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_stdcxx_98.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_stdcxx_98.m4).
+
+License
+*******
+
+Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_header_stdcxx_tr1, Next: ax_cxx_header_tr1_unordered_map, Prev: ax_cxx_header_stdcxx_98, Up: The Macros
+
+ax_cxx_header_stdcxx_tr1
+========================
+
+Synopsis
+********
+
+ AX_CXX_HEADER_STDCXX_TR1
+
+Description
+***********
+
+Check for library coverage of the TR1 standard.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_header_stdcxx_tr1.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_stdcxx_tr1.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_stdcxx_tr1.m4).
+
+License
+*******
+
+Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_header_tr1_unordered_map, Next: ax_cxx_header_tr1_unordered_set, Prev: ax_cxx_header_stdcxx_tr1, Up: The Macros
+
+ax_cxx_header_tr1_unordered_map
+===============================
+
+Synopsis
+********
+
+ AX_CXX_HEADER_TR1_UNORDERED_MAP
+
+Description
+***********
+
+Check whether the TR1 include <unordered_map> exists and define
+HAVE_TR1_UNORDERED_MAP if it does.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_header_tr1_unordered_map.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_tr1_unordered_map.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_tr1_unordered_map.m4).
+
+License
+*******
+
+Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_header_tr1_unordered_set, Next: ax_cxx_header_unordered_map, Prev: ax_cxx_header_tr1_unordered_map, Up: The Macros
+
+ax_cxx_header_tr1_unordered_set
+===============================
+
+Synopsis
+********
+
+ AX_CXX_HEADER_TR1_UNORDERED_SET
+
+Description
+***********
+
+Check whether the TR1 include <unordered_set> exists and define
+HAVE_TR1_UNORDERED_SET if it does.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_header_tr1_unordered_set.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_tr1_unordered_set.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_tr1_unordered_set.m4).
+
+License
+*******
+
+Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_header_unordered_map, Next: ax_cxx_header_unordered_set, Prev: ax_cxx_header_tr1_unordered_set, Up: The Macros
+
+ax_cxx_header_unordered_map
+===========================
+
+Synopsis
+********
+
+ AX_CXX_HEADER_UNORDERED_MAP
+
+Description
+***********
+
+Check whether the C++ include <unordered_map> exists and define
+HAVE_UNORDERED_MAP if it does.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_header_unordered_map.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_unordered_map.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_unordered_map.m4).
+
+License
+*******
+
+Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_header_unordered_set, Next: ax_cxx_ldflags_std_lang, Prev: ax_cxx_header_unordered_map, Up: The Macros
+
+ax_cxx_header_unordered_set
+===========================
+
+Synopsis
+********
+
+ AX_CXX_HEADER_UNORDERED_SET
+
+Description
+***********
+
+Check whether the C++ include <unordered_set> exists and define
+HAVE_UNORDERED_SET if it does.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_header_unordered_set.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_unordered_set.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_unordered_set.m4).
+
+License
+*******
+
+Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_ldflags_std_lang, Next: ax_cxx_member_constants, Prev: ax_cxx_header_unordered_set, Up: The Macros
+
+ax_cxx_ldflags_std_lang
+=======================
+
+Synopsis
+********
+
+ AX_CXX_LDFLAGS_STD_LANG(LD-FLAGS)
+
+Description
+***********
+
+Append to LD-FLAGS the set of link-time flags that should be passed to
+the C++ compiler in order to enable use of C++ features as defined in
+the ANSI C++ standard (eg. use of standard iostream classes in the
+'std' namespace, etc.). Note that if you use GNU Libtool you may need
+to prefix each of those switches with '-Xlinker' so that Libtool doesn't
+discard them (see Libtool's manual and 'AC_LIBTOOLIZE_LDFLAGS').
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_ldflags_std_lang.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_ldflags_std_lang.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_ldflags_std_lang.m4).
+
+License
+*******
+
+Copyright (C) 2008 Ludovic Courtes <ludo@chbouib.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_member_constants, Next: ax_cxx_member_templates, Prev: ax_cxx_ldflags_std_lang, Up: The Macros
+
+ax_cxx_member_constants
+=======================
+
+Synopsis
+********
+
+ AX_CXX_MEMBER_CONSTANTS
+
+Description
+***********
+
+If the compiler supports member constants, define HAVE_MEMBER_CONSTANTS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_member_constants.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_member_constants.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_member_constants.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_member_templates, Next: ax_cxx_member_templates_outside_class, Prev: ax_cxx_member_constants, Up: The Macros
+
+ax_cxx_member_templates
+=======================
+
+Synopsis
+********
+
+ AX_CXX_MEMBER_TEMPLATES
+
+Description
+***********
+
+If the compiler supports member templates, define HAVE_MEMBER_TEMPLATES.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_member_templates.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_member_templates.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_member_templates.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_member_templates_outside_class, Next: ax_cxx_mutable, Prev: ax_cxx_member_templates, Up: The Macros
+
+ax_cxx_member_templates_outside_class
+=====================================
+
+Synopsis
+********
+
+ AX_CXX_MEMBER_TEMPLATES_OUTSIDE_CLASS
+
+Description
+***********
+
+If the compiler supports member templates outside the class declaration,
+define HAVE_MEMBER_TEMPLATES_OUTSIDE_CLASS.
+
+Source Code
+***********
+
+Download the latest version of
+'ax_cxx_member_templates_outside_class.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_member_templates_outside_class.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_member_templates_outside_class.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_mutable, Next: ax_cxx_namespace_std, Prev: ax_cxx_member_templates_outside_class, Up: The Macros
+
+ax_cxx_mutable
+==============
+
+Synopsis
+********
+
+ AX_CXX_MUTABLE
+
+Description
+***********
+
+If the compiler allows modifying class data members flagged with the
+mutable keyword even in const objects (for example in the body of a
+const member function), define HAVE_MUTABLE.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_mutable.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_mutable.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_mutable.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_namespace_std, Next: ax_cxx_namespaces, Prev: ax_cxx_mutable, Up: The Macros
+
+ax_cxx_namespace_std
+====================
+
+Synopsis
+********
+
+ AX_CXX_NAMESPACE_STD
+
+Description
+***********
+
+If the compiler supports namespace std, define HAVE_NAMESPACE_STD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_namespace_std.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_namespace_std.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_namespace_std.m4).
+
+License
+*******
+
+Copyright (C) 2009 Todd Veldhuizen
+Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_namespaces, Next: ax_cxx_new_for_scoping, Prev: ax_cxx_namespace_std, Up: The Macros
+
+ax_cxx_namespaces
+=================
+
+Synopsis
+********
+
+ AX_CXX_NAMESPACES
+
+Description
+***********
+
+If the compiler can prevent names clashes using namespaces, define
+HAVE_NAMESPACES.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_namespaces.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_namespaces.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_namespaces.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+Copyright (C) 2013 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_new_for_scoping, Next: ax_cxx_old_for_scoping, Prev: ax_cxx_namespaces, Up: The Macros
+
+ax_cxx_new_for_scoping
+======================
+
+Synopsis
+********
+
+ AX_CXX_NEW_FOR_SCOPING
+
+Description
+***********
+
+If the compiler accepts the new for scoping rules (the scope of a
+variable declared inside the parentheses is restricted to the for-body),
+define HAVE_NEW_FOR_SCOPING.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_new_for_scoping.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_new_for_scoping.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_new_for_scoping.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_old_for_scoping, Next: ax_cxx_partial_ordering, Prev: ax_cxx_new_for_scoping, Up: The Macros
+
+ax_cxx_old_for_scoping
+======================
+
+Synopsis
+********
+
+ AX_CXX_OLD_FOR_SCOPING
+
+Description
+***********
+
+If the compiler accepts the old for scoping rules (the scope of a
+variable declared inside the parentheses extends outside the for-body),
+define HAVE_OLD_FOR_SCOPING. Note that some compilers (notably g++ and
+egcs) support both new and old rules since they accept the old rules and
+only generate a warning.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_old_for_scoping.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_old_for_scoping.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_old_for_scoping.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_partial_ordering, Next: ax_cxx_partial_specialization, Prev: ax_cxx_old_for_scoping, Up: The Macros
+
+ax_cxx_partial_ordering
+=======================
+
+Synopsis
+********
+
+ AX_CXX_PARTIAL_ORDERING
+
+Description
+***********
+
+If the compiler supports partial ordering, define HAVE_PARTIAL_ORDERING.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_partial_ordering.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_partial_ordering.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_partial_ordering.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_partial_specialization, Next: ax_cxx_reinterpret_cast, Prev: ax_cxx_partial_ordering, Up: The Macros
+
+ax_cxx_partial_specialization
+=============================
+
+Synopsis
+********
+
+ AX_CXX_PARTIAL_SPECIALIZATION
+
+Description
+***********
+
+If the compiler supports partial specialization, define
+HAVE_PARTIAL_SPECIALIZATION.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_partial_specialization.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_partial_specialization.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_partial_specialization.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_reinterpret_cast, Next: ax_cxx_restrict_this, Prev: ax_cxx_partial_specialization, Up: The Macros
+
+ax_cxx_reinterpret_cast
+=======================
+
+Synopsis
+********
+
+ AX_CXX_REINTERPRET_CAST
+
+Description
+***********
+
+If the compiler supports reinterpret_cast<>, define
+HAVE_REINTERPRET_CAST.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_reinterpret_cast.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_reinterpret_cast.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_reinterpret_cast.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_restrict_this, Next: ax_cxx_rtti, Prev: ax_cxx_reinterpret_cast, Up: The Macros
+
+ax_cxx_restrict_this
+====================
+
+Synopsis
+********
+
+ AX_CXX_RESTRICT_THIS
+
+Description
+***********
+
+Determine whether the C++ compiler supports qualifying a member function
+with a restricted "this" pointer. Define "restrict_this" to the correct
+spelling; use like this:
+
+ T::fn() restrict_this { /* code */ }
+
+Otherwise, define "restrict_this" to be empty.
+
+Note: the syntax above is a GCC extension. If your C++ compiler has a
+different way of applying the 'restricted' qualifier to the "this"
+pointer, please consider reporting it.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_restrict_this.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_restrict_this.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_restrict_this.m4).
+
+License
+*******
+
+Copyright (C) 2010 Riccardo Murri <riccardo.murri@gmail.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+Under Section 7 of GPL version 3, you are granted additional permissions
+described in the Autoconf Configure Script Exception, version 3.0, as
+published by the Free Software Foundation.
+
+You should have received a copy of the GNU General Public License and a
+copy of the Autoconf Configure Script Exception along with this program;
+see the files COPYINGv3 and COPYING.EXCEPTION respectively. If not, see
+<https://www.gnu.org/licenses/>.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_rtti, Next: ax_cxx_rvalue_references, Prev: ax_cxx_restrict_this, Up: The Macros
+
+ax_cxx_rtti
+===========
+
+Synopsis
+********
+
+ AX_CXX_RTTI
+
+Description
+***********
+
+If the compiler supports Run-Time Type Identification (typeinfo header
+and typeid keyword), define HAVE_RTTI.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_rtti.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_rtti.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_rtti.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_rvalue_references, Next: ax_cxx_static_cast, Prev: ax_cxx_rtti, Up: The Macros
+
+ax_cxx_rvalue_references
+========================
+
+Synopsis
+********
+
+ AX_CXX_RVALUE_REFERENCES
+
+Description
+***********
+
+Check whether C++11 rvalue references are supported. If they are, the
+macro HAVE_RVALUE_REFERENCES is defined.
+
+Does not ensure that the compiler is in C++11 mode.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_rvalue_references.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_rvalue_references.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_rvalue_references.m4).
+
+License
+*******
+
+Copyright (C) 2012 Tudor Bosman <tudorb@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_static_cast, Next: ax_cxx_stlport_hashmap, Prev: ax_cxx_rvalue_references, Up: The Macros
+
+ax_cxx_static_cast
+==================
+
+Synopsis
+********
+
+ AX_CXX_STATIC_CAST
+
+Description
+***********
+
+If the compiler supports static_cast<>, define HAVE_STATIC_CAST.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_static_cast.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_static_cast.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_static_cast.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_stlport_hashmap, Next: ax_cxx_template_keyword_qualifier, Prev: ax_cxx_static_cast, Up: The Macros
+
+ax_cxx_stlport_hashmap
+======================
+
+Synopsis
+********
+
+ AX_CXX_STLPORT_HASHMAP
+
+Description
+***********
+
+Test for the presence of STLport's hashmap extension.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_stlport_hashmap.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_stlport_hashmap.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_stlport_hashmap.m4).
+
+License
+*******
+
+Copyright (C) 2008 Patrick Mauritz <oxygene@studentenbude.ath.cx>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_template_keyword_qualifier, Next: ax_cxx_template_qualified_base_class, Prev: ax_cxx_stlport_hashmap, Up: The Macros
+
+ax_cxx_template_keyword_qualifier
+=================================
+
+Synopsis
+********
+
+ AX_CXX_TEMPLATE_KEYWORD_QUALIFIER
+
+Description
+***********
+
+If the compiler supports use of the template keyword as a qualifier,
+define HAVE_TEMPLATE_KEYWORD_QUALIFIER.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_template_keyword_qualifier.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_keyword_qualifier.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_keyword_qualifier.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Bernardo Innocenti
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_template_qualified_base_class, Next: ax_cxx_template_qualified_return_type, Prev: ax_cxx_template_keyword_qualifier, Up: The Macros
+
+ax_cxx_template_qualified_base_class
+====================================
+
+Synopsis
+********
+
+ AX_CXX_TEMPLATE_QUALIFIED_BASE_CLASS
+
+Description
+***********
+
+If the compiler supports template-qualified base class specifiers,
+define HAVE_TEMPLATE_QUALIFIED_BASE_CLASS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_template_qualified_base_class.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_qualified_base_class.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_qualified_base_class.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_template_qualified_return_type, Next: ax_cxx_template_scoped_argument_matching, Prev: ax_cxx_template_qualified_base_class, Up: The Macros
+
+ax_cxx_template_qualified_return_type
+=====================================
+
+Synopsis
+********
+
+ AX_CXX_TEMPLATE_QUALIFIED_RETURN_TYPE
+
+Description
+***********
+
+If the compiler supports template-qualified return types, define
+HAVE_TEMPLATE_QUALIFIED_RETURN_TYPE.
+
+Source Code
+***********
+
+Download the latest version of
+'ax_cxx_template_qualified_return_type.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_qualified_return_type.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_qualified_return_type.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_template_scoped_argument_matching, Next: ax_cxx_templates, Prev: ax_cxx_template_qualified_return_type, Up: The Macros
+
+ax_cxx_template_scoped_argument_matching
+========================================
+
+Synopsis
+********
+
+ AX_CXX_TEMPLATE_SCOPED_ARGUMENT_MATCHING
+
+Description
+***********
+
+If the compiler supports function matching with argument types which are
+template scope-qualified, define HAVE_TEMPLATE_SCOPED_ARGUMENT_MATCHING.
+
+Source Code
+***********
+
+Download the latest version of
+'ax_cxx_template_scoped_argument_matching.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_scoped_argument_matching.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_scoped_argument_matching.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_templates, Next: ax_cxx_templates_as_template_arguments, Prev: ax_cxx_template_scoped_argument_matching, Up: The Macros
+
+ax_cxx_templates
+================
+
+Synopsis
+********
+
+ AX_CXX_TEMPLATES
+
+Description
+***********
+
+If the compiler supports basic templates, define HAVE_TEMPLATES.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_templates.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_templates.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_templates.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_templates_as_template_arguments, Next: ax_cxx_typename, Prev: ax_cxx_templates, Up: The Macros
+
+ax_cxx_templates_as_template_arguments
+======================================
+
+Synopsis
+********
+
+ AX_CXX_TEMPLATES_AS_TEMPLATE_ARGUMENTS
+
+Description
+***********
+
+If the compiler supports templates as template arguments, define
+HAVE_TEMPLATES_AS_TEMPLATE_ARGUMENTS.
+
+Source Code
+***********
+
+Download the latest version of
+'ax_cxx_templates_as_template_arguments.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_templates_as_template_arguments.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_templates_as_template_arguments.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_typename, Next: ax_cxx_use_numtrait, Prev: ax_cxx_templates_as_template_arguments, Up: The Macros
+
+ax_cxx_typename
+===============
+
+Synopsis
+********
+
+ AX_CXX_TYPENAME
+
+Description
+***********
+
+If the compiler recognizes the typename keyword, define HAVE_TYPENAME.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_typename.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_typename.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_typename.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_use_numtrait, Next: ax_cxx_var_prettyfunc, Prev: ax_cxx_typename, Up: The Macros
+
+ax_cxx_use_numtrait
+===================
+
+Synopsis
+********
+
+ AX_CXX_USE_NUMTRAIT
+
+Description
+***********
+
+If the compiler supports numeric traits promotions, define
+HAVE_USE_NUMTRAIT.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_use_numtrait.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_use_numtrait.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_use_numtrait.m4).
+
+License
+*******
+
+Copyright (C) 2008 Todd Veldhuizen
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_var_prettyfunc, Next: ax_cxx_verbose_terminate_handler, Prev: ax_cxx_use_numtrait, Up: The Macros
+
+ax_cxx_var_prettyfunc
+=====================
+
+Synopsis
+********
+
+ AX_CXX_VAR_PRETTYFUNC
+
+Description
+***********
+
+This function tries to determine the best C++ macro/identifier that
+contains the current function name. Depending on the compiler, this may
+be __PRETTY_FUNCTION__ (GCC), __FUNCSIG__ (MSVC), __func__ (C++
+standard), __FUNCTION__ (fallback).
+
+The function will define HAVE_PRETTYFUNC if a macro exists, and define
+__PRETTYFUNC__ to the best possible macro. When HAVE_PRETTYFUNC is not
+defined, __PRETTYFUNC__ will contain the constant string "<<unknown>>".
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_var_prettyfunc.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_var_prettyfunc.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_var_prettyfunc.m4).
+
+License
+*******
+
+Copyright (C) 2014 Olaf Lenz <olenz@icp.uni-stuttgart.de>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_cxx_verbose_terminate_handler, Next: ax_czmq, Prev: ax_cxx_var_prettyfunc, Up: The Macros
+
+ax_cxx_verbose_terminate_handler
+================================
+
+Synopsis
+********
+
+ AX_CXX_VERBOSE_TERMINATE_HANDLER
+
+Description
+***********
+
+Check if the terminate handler for the current compiler/standard library
+prints useful information to stdout/stderr (i.e. the type of the
+uncaught exception and/or the what() string).
+
+The intended use case for this check is to help program authors decide
+if they need to add a top-level try-catch or custom terminate handler to
+print useful information if an uncaught exception occurs, or if this
+task can be left to the standard library implementation. Alternatively,
+it can be used to detect if such output needs to be silenced with a
+custom terminate handler.
+
+Output:
+
+Define HAVE_VERBOSE_TERMINATE_HANDLER if useful information is printed.
+
+Source Code
+***********
+
+Download the latest version of 'ax_cxx_verbose_terminate_handler.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_verbose_terminate_handler.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_verbose_terminate_handler.m4).
+
+License
+*******
+
+Copyright (C) 2009 Kevin Locke <klocke@digitalenginesoftware.com>
+Copyright (C) 2008 Lapo Luchini <lapo@lapo.it>
+
+Copying and distribution of this file, with or without modification, is
+permitted in any medium, without royalty, provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty. This file is offered as-is, without any warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_czmq, Next: ax_decl_wchar_max, Prev: ax_cxx_verbose_terminate_handler, Up: The Macros
+
+ax_czmq
+=======
+
+Synopsis
+********
+
+ AX_CZMQ([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+Test for the CZMQ libraries of a particular version (or newer). The
+default version tested for is 3.0.0.
+
+The macro tests for CZMQ libraries in the library/include path, and,
+when provided, also in the path given by -with-czmq.
+
+This macro calls:
+
+ AC_SUBST(CZMQ_CPPFLAGS) / AC_SUBST(CZMQ_LDFLAGS) / AC_SUBST(CZMQ_LIBS)
+
+And sets:
+
+ HAVE_CZMQ
+
+Source Code
+***********
+
+Download the latest version of 'ax_czmq.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_czmq.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_czmq.m4).
+
+License
+*******
+
+Copyright (C) 2016 Jeroen Meijer <jjgmeijer@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_decl_wchar_max, Next: ax_define_integer_bits, Prev: ax_czmq, Up: The Macros
+
+ax_decl_wchar_max
+=================
+
+Synopsis
+********
+
+ AX_DECL_WCHAR_MAX
+
+Description
+***********
+
+Checks whether the system headers define WCHAR_MAX or not. If it is
+already defined, does nothing. Otherwise checks the size and signedness
+of 'wchar_t', and defines WCHAR_MAX to the maximum value that can be
+stored in a variable of type 'wchar_t'.
+
+Source Code
+***********
+
+Download the latest version of 'ax_decl_wchar_max.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_decl_wchar_max.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_decl_wchar_max.m4).
+
+License
+*******
+
+Copyright (C) 2008 Ville Laurikari <vl@iki.fi>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_define_integer_bits, Next: ax_define_sub_path, Prev: ax_decl_wchar_max, Up: The Macros
+
+ax_define_integer_bits
+======================
+
+Synopsis
+********
+
+ AX_DEFINE_INTEGER_BITS (TYPE [, CANDIDATE-TYPE]...)
+
+Description
+***********
+
+Given a TYPE of the form "int##_t" or "uint##_t", see if the datatype
+TYPE is predefined. If not, then define TYPE - both with AC_DEFINE and
+as a shell variable - to the first datatype of exactly ## bits in a list
+of CANDIDATE-TYPEs. If none of the CANDIDATE-TYPEs contains exactly ##
+bits, then set the TYPE shell variable to "no".
+
+For example, the following ensures that uint64_t is defined as a 64-bit
+datatype:
+
+ AX_DEFINE_INTEGER_BITS(uint64_t, unsigned long long, unsigned __int64, long)
+ if test "$uint64_t" = no; then
+ AC_MSG_ERROR([unable to continue without a 64-bit datatype])
+ fi
+
+You should then put the following in your C code to ensure that all
+datatypes defined by AX_DEFINE_INTEGER_BITS are visible to your program:
+
+ #include "config.h"
+
+ #if HAVE_INTTYPES_H
+ # include <inttypes.h>
+ #else
+ # if HAVE_STDINT_H
+ # include <stdint.h>
+ # endif
+ #endif
+
+Source Code
+***********
+
+Download the latest version of 'ax_define_integer_bits.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_define_integer_bits.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_define_integer_bits.m4).
+
+License
+*******
+
+Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_define_sub_path, Next: ax_dirname, Prev: ax_define_integer_bits, Up: The Macros
+
+ax_define_sub_path
+==================
+
+Synopsis
+********
+
+ AX_DEFINE_SUB_PATH(DEFNAME, varname, description)
+
+Description
+***********
+
+Look at varname and detect the subpath that it contains relative to
+$prefix/$exec_prefix. If the path is indeed relative to
+$prefix/$exec_prefix, then a single "./" (dotslash) is prepended,
+otherwise it can be seen as an absolute path that cannot be moved, which
+you possibly do for "/etc" files, or even those ending up in
+"/lib/modules" or "/winnt/system".
+
+This macro is not very intelligent, it's just a first try in this
+direction. It does currently just look into the current patterns, and
+replaces a ${prefix} with a simple dot. Amazingly, it works quite well
+for most packages.
+
+Example (configure.ac):
+
+ AX_DEFINE_DIR([EPREFIX], [exec_prefix], [--exec-prefix or default])
+ AX_DEFINE_SUB_PATH([PATH_LIBDIR], [libdir], [--bindir subdir])
+ AC_DEFINE_UNQUOTED([PACKAGE],"$PACKAGE", [Name of package])
+
+Example (in C):
+
+ static const char _libdir[] = PATH_LIBDIR; /* configure default */
+ char* libdir;
+ char* eprefix = getenv (PACKAGE "DIR");
+ if (! eprefix) eprefix = EPREFIX; /* default */
+ if (*_libdir != '.') libdir = strdup(_libdir);
+ else {
+ libdir = malloc(strlen(eprefix) + strlen(_libdir) + 2);
+ strcpy(libdir, eprefix);
+ strcat(libdir, PATH_DELIMITER_STRING);
+ strcat(libdir, _libdir);
+ }
+ ...
+ free (libdir);
+
+The AX_DEFINE_SUB_PATHS(varnames) macro looks for the given various
+install-paths that largely depend on either ${prefix} or ${exec_prefix}.
+Just cut out the prefix and ac_define the value. The value is
+uppercased and PATH_ prepended ie. ax_define_sub_paths(bindir libdir
+pkgdatadir) will create the defines PATH_BINDIR PATH_LIBDIR
+PATH_PKGDATADIR - see posix' include/paths.h that creates _PATH_DEV and
+friends.
+
+Source Code
+***********
+
+Download the latest version of 'ax_define_sub_path.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_define_sub_path.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_define_sub_path.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_dirname, Next: ax_dist_msi, Prev: ax_define_sub_path, Up: The Macros
+
+ax_dirname
+==========
+
+Synopsis
+********
+
+ AX_DIRNAME(PATHNAME)
+
+Description
+***********
+
+Parts of the implementation have been taken from AS_DIRNAME from the
+main autoconf package in generation 2.5x. However, we do only use "sed"
+to cut out the dirname, and we do additionally clean up some dir/..
+parts in the resulting pattern.
+
+this macro may be used in autoconf 2.13 scripts as well.
+
+Source Code
+***********
+
+Download the latest version of 'ax_dirname.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dirname.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dirname.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_dist_msi, Next: ax_dist_rpm, Prev: ax_dirname, Up: The Macros
+
+ax_dist_msi
+===========
+
+Synopsis
+********
+
+ AX_DIST_MSI([File])
+
+Description
+***********
+
+Adds support for a msi (Microsoft Installer) dist target.
+
+You must manually build the msi file yourself (probably from another
+computer). But it will be added to the list of extra bin dists and
+flagged for uploading (see ax_extra_dist.m4 and ax_upload.m4 for
+details).
+
+Source Code
+***********
+
+Download the latest version of 'ax_dist_msi.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dist_msi.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dist_msi.m4).
+
+License
+*******
+
+Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_dist_rpm, Next: ax_dll_string, Prev: ax_dist_msi, Up: The Macros
+
+ax_dist_rpm
+===========
+
+Synopsis
+********
+
+ AX_DIST_RPM([SPEC])
+
+Description
+***********
+
+Adds support for a rpm dist target.
+
+You will need to create a spec template with everything except the files
+and the Changelog. Use @PACKAGE@ and @VERSION@ to refer to the package
+name and version respectively. The files and ChangeLog will be filled
+in automatically. For instance:
+
+ Summary: Foobar
+ Name: @PACKAGE@
+ Version: @VERSION@
+ Release: 0
+ License: GPL
+ Group: Productivity/Networking
+ Source0: http://somewhere/Foobar/%{name}-%{version}.tar.gz
+ URL: http://somewhere
+ BuildRoot: %{_tmppath}/%{name}-root
+ Prefix: %{_prefix}
+
+ %description
+ Foobar does something
+
+ %prep
+ %setup
+
+ %build
+ %configure
+ make
+
+ %install
+ %makeinstall
+
+ %clean
+ rm -rf $RPM_BUILD_ROOT
+
+ %files
+ %defattr(-,root,root)
+
+ %doc AUTHORS BUGS COPYING INSTALL NEWS README
+
+ %changelog
+
+Make sure ax_upload.am is added to aminclude_static.am and you have
+'include aminclude_static.am' in Makefile.am
+
+Source Code
+***********
+
+Download the latest version of 'ax_dist_rpm.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dist_rpm.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dist_rpm.m4).
+
+License
+*******
+
+Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_dll_string, Next: ax_elisp, Prev: ax_dist_rpm, Up: The Macros
+
+ax_dll_string
+=============
+
+Synopsis
+********
+
+ AX_DLL_STRING
+
+Description
+***********
+
+Tests for a bug currently in g++ 3.4.4 on Cygwin (maybe other targets
+with statically linked libstdc++?) where passing an empty std::string
+to a dll will cause a crash on destruction due to incorrect memory
+handling. See bug 24196 in gcc's bugzilla for more details:
+http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24196
+
+Source Code
+***********
+
+Download the latest version of 'ax_dll_string.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dll_string.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dll_string.m4).
+
+License
+*******
+
+Copyright (C) 2008 Steven Brown <swbrown@variadic.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_elisp, Next: ax_enable_builddir, Prev: ax_dll_string, Up: The Macros
+
+ax_elisp
+========
+
+Synopsis
+********
+
+ AX_ELISP_CONFIG_FILE(FILENAME)
+ AX_ELISP_CHECK(SYMBOL,DESCRIPTION,BODY,SUCCESS-EXPR)
+ AX_ELISP_CHECK_FEATURE(SYMBOL)
+ AX_ELISP_CHECK_FBOUNDP(SYMBOL,[FEATURE [...]])
+ AX_ELISP_CHECK_BOUNDP(SYMBOL,[FEATURE [...]])
+
+Description
+***********
+
+This is a simple library to check the Emacs reality by way of Emacs Lisp
+forms evaluated under $EMACS -batch -Q. This means you MUST have the
+shell variable EMACS set to a valid Emacs executable prior to the first
+call to any of the AX_ELISP_CHECK et al macros. Those work by saving
+their results to the file defined by calling AX_ELISP_CONFIG_FILE so you
+MUST call that prior, too. For example:
+
+ dnl Arrange to save config answers in $top_builddir/lisp/config.el.
+ AX_ELISP_CONFIG_FILE([lisp/config.el])
+
+ dnl Set shell variable EMACS and AC_SUBST it, too.
+ dnl (NB: This is a separate Autoconf Archive macro.)
+ AX_PROG_EMACS
+
+In the following detailed descriptions, SYMBOL stands for an Emacs Lisp
+symbol, which may contain hyphens, e.g., 'define-error' or 'org-src'.
+Likewise, FEATURE is an Emacs Lisp symbol (naming a feature). BODY and
+SUCCESS-EXPR are Emacs Lisp forms, zero or more for BODY and exactly one
+for SUCCESS-EXPR. In these forms you must take care to avoid apostrophe
+(U+27). Instead of 'foo, write (quote foo).
+
+* AX_ELISP_CONFIG_FILE(FILENAME)
+
+This arranges for future AX_ELISP_CHECK (et al) calls to save their
+results in FILENAME. May be called multiple times. FILENAME should be
+relative to the top build dir.
+
+* AX_ELISP_CHECK(SYMBOL,DESCRIPTION,BODY,SUCCESS-EXPR)
+
+This is the general macro that the other AX_ELISP_CHECK* macros use. It
+constructs a short Emacs Lisp file comprising BODY and evaluates it via
+$EMACS -batch -Q. The exit value of this script depends on the result of
+evaluating SUCCESS-EXPR: non-nil is success and nil is failure. On
+success, append SYMBOL on a line of its own to the config file. This
+macro uses AC_CACHE_CHECK and passes DESCRIPTION to it.
+
+* AX_ELISP_CHECK_FEATURE(FEATURE)
+
+This checks if (require (quote FEATURE)) is successful. If so, add
+featurep-FEATURE to the config file (NB the "featurep-" prefix).
+
+* AX_ELISP_CHECK_FBOUNDP(SYMBOL,[FEATURE [...]])
+
+This checks if (fboundp (quote SYMBOL)) is successful. If so, append
+SYMBOL to the config file. Optional 2nd arg is a space-separated list
+of features to require prior to the fboundp check.
+
+* AX_ELISP_CHECK_BOUNDP(SYMBOL,[FEATURE [...]])
+
+This checks if (boundp (quote SYMBOL)) is successful. If so, append
+SYMBOL to the config file. Optional 2nd arg is a space-separated list
+of features to require prior to the boundp check.
+
+Source Code
+***********
+
+Download the latest version of 'ax_elisp.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_elisp.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_elisp.m4).
+
+License
+*******
+
+Copyright (C) 2016-2017 Thien-Thi Nguyen
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_enable_builddir, Next: ax_execinfo, Prev: ax_elisp, Up: The Macros
+
+ax_enable_builddir
+==================
+
+Synopsis
+********
+
+ AX_ENABLE_BUILDDIR [(dirstring-or-command [,Makefile.mk [,-all]])]
+
+Description
+***********
+
+If the current configure was run within the srcdir then we move all
+configure-files into a subdir and let the configure steps continue
+there. We provide an option -disable-builddir to suppress the move into
+a separate builddir.
+
+Defaults:
+
+ $1 = $host (overridden with $HOST)
+ $2 = Makefile.mk
+ $3 = -all
+
+This macro must be called before AM_INIT_AUTOMAKE. It creates a default
+toplevel srcdir Makefile from the information found in the created
+toplevel builddir Makefile. It just copies the variables and
+rule-targets, each extended with a default rule-execution that recurses
+into the build directory of the current "HOST". You can override the
+auto-detection through 'config.guess' and build-time of course, as in
+
+ make HOST=i386-mingw-cross
+
+which can of course set at configure time as well using
+
+ configure --host=i386-mingw-cross
+
+After the default has been created, additional rules can be appended
+that will not just recurse into the subdirectories and only ever exist
+in the srcdir toplevel makefile - these parts are read from the $2 =
+Makefile.mk file
+
+The automatic rules are usually scanning the toplevel Makefile for lines
+like '#### $host |$builddir' to recognize the place where to recurse
+into. Usually, the last one is the only one used. However, almost all
+targets have an additional "*-all" rule which makes the script to
+recurse into _all_ variants of the current HOST (!!) setting. The
+"-all" suffix can be overridden for the macro as well.
+
+a special rule is only given for things like "dist" that will copy the
+tarball from the builddir to the sourcedir (or $(PUB)) for reason of
+convenience.
+
+Source Code
+***********
+
+Download the latest version of 'ax_enable_builddir.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_enable_builddir.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_enable_builddir.m4).
+
+License
+*******
+
+Copyright (C) 2009 Guido U. Draheim <guidod@gmx.de>
+Copyright (C) 2009 Alan Jenkins <alan-jenkins@tuffmail.co.uk>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_execinfo, Next: ax_expand_prefix, Prev: ax_enable_builddir, Up: The Macros
+
+ax_execinfo
+===========
+
+Synopsis
+********
+
+ AX_EXECINFO([ACTION-IF-EXECINFO-H-IS-FOUND], [ACTION-IF-EXECINFO-H-IS-NOT-FOUND], [ADDITIONAL-TYPES-LIST])
+
+Description
+***********
+
+Checks for execinfo.h header and if the len parameter/return type can be
+found from a list, also define backtrace_size_t to that type.
+
+By default the list of types to try contains int and size_t, but should
+some yet undiscovered system use e.g. unsigned, the 3rd argument can be
+used for extensions. I'd like to hear of further suggestions.
+
+Executes ACTION-IF-EXECINFO-H-IS-FOUND when present and the execinfo.h
+header is found or ACTION-IF-EXECINFO-H-IS-NOT-FOUND in case the header
+seems unavailable.
+
+Also adds -lexecinfo to LIBS on BSD if needed.
+
+Source Code
+***********
+
+Download the latest version of 'ax_execinfo.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_execinfo.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_execinfo.m4).
+
+License
+*******
+
+Copyright (C) 2014 Thomas Jahns <jahns@dkrz.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_expand_prefix, Next: ax_ext, Prev: ax_execinfo, Up: The Macros
+
+ax_expand_prefix
+================
+
+Synopsis
+********
+
+ AX_EXPAND_PREFIX
+
+Description
+***********
+
+When $prefix and $exec_prefix are still set to NONE then set them to the
+usual default values - being based on $ac_default_prefix. - this macro
+can be AC_REQUIREd by other macros that need to compute values for
+installation directories. It has been observed that it was done wrong
+over and over again, so this is a bit more safe to do.
+
+remember - setting exec_prefix='${prefix}' needs you interpolate
+directories multiple times, it is not sufficient to just say
+MYVAR="${datadir}/putter" but you do have to run 'eval' a few times,
+sth. like MYVAR='eval "echo \"$MYVAR\""' done at least two times.
+
+The implementation of this macro simply picks up the lines that would be
+run at the start of AC_OUTPUT anyway to set the prefix/exec_prefix
+defaults. Between AC_INIT and the first command to AC_REQUIRE this
+macro you can set the two variables to something explicit instead.
+Probably, any command to compute installation directories should be run
+_after_ AM_INIT_AUTOMAKE
+
+Source Code
+***********
+
+Download the latest version of 'ax_expand_prefix.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_expand_prefix.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_expand_prefix.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_ext, Next: ax_ext_check_header, Prev: ax_expand_prefix, Up: The Macros
+
+ax_ext
+======
+
+Synopsis
+********
+
+ AX_EXT
+
+Description
+***********
+
+Find supported SIMD extensions by requesting cpuid. When a SIMD
+extension is found, the -m"simdextensionname" is added to SIMD_FLAGS if
+compiler supports it. For example, if "sse2" is available then "-msse2"
+is added to SIMD_FLAGS.
+
+Find other supported CPU extensions by requesting cpuid. When a
+processor extension is found, the -m"extensionname" is added to
+CPUEXT_FLAGS if compiler supports it. For example, if "bmi2" is
+available then "-mbmi2" is added to CPUEXT_FLAGS.
+
+This macro calls:
+
+ AC_SUBST(SIMD_FLAGS)
+ AC_SUBST(CPUEXT_FLAGS)
+
+And defines:
+
+ HAVE_RDRND / HAVE_BMI1 / HAVE_BMI2 / HAVE_ADX / HAVE_MPX
+ HAVE_PREFETCHWT1 / HAVE_ABM / HAVE_MMX / HAVE_SSE / HAVE_SSE2
+ HAVE_SSE3 / HAVE_SSSE3 / HAVE_SSE4_1 / HAVE_SSE4_2 / HAVE_SSE4a
+ HAVE_SHA / HAVE_AES / HAVE_AVX / HAVE_FMA3 / HAVE_FMA4 / HAVE_XOP
+ HAVE_AVX2 / HAVE_AVX512_F / HAVE_AVX512_CD / HAVE_AVX512_PF
+ HAVE_AVX512_ER / HAVE_AVX512_VL / HAVE_AVX512_BW / HAVE_AVX512_DQ
+ HAVE_AVX512_IFMA / HAVE_AVX512_VBMI / HAVE_ALTIVEC / HAVE_VSX
+
+Source Code
+***********
+
+Download the latest version of 'ax_ext.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ext.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ext.m4).
+
+License
+*******
+
+Copyright (C) 2007 Christophe Tournayre <turn3r@users.sourceforge.net>
+Copyright (C) 2013,2015 Michael Petch <mpetch@capp-sysware.com>
+Copyright (C) 2017 Rafael de Lucena Valle <rafaeldelucena@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_ext_check_header, Next: ax_ext_have_lib, Prev: ax_ext, Up: The Macros
+
+ax_ext_check_header
+===================
+
+Synopsis
+********
+
+ AX_EXT_CHECK_HEADER(<header>, <paths>).
+
+Description
+***********
+
+Check for <header> with -I<path> for each path in <paths> if need be.
+The first sucecssful path is chosen (eg if you say
+AX_EXT_CHECK_HEADER(foo.h, bar baz qux) and -Ibaz works then -Iqux will
+not be tested.
+
+Any -I flags that locate a header are added to CFLAGS and CPPFLAGS. AS
+with AC_CHECK_HEADERS it causes HAVE_<header>_H to be defined as 1.
+
+Example:
+
+ AX_EXT_HAVE_HEADER(openssl/rsa.h, /usr/local/include /usr/local/ssl/include /usr/local/openssl/include)
+
+Source Code
+***********
+
+Download the latest version of 'ax_ext_check_header.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ext_check_header.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ext_check_header.m4).
+
+License
+*******
+
+Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_ext_have_lib, Next: ax_extend_srcdir, Prev: ax_ext_check_header, Up: The Macros
+
+ax_ext_have_lib
+===============
+
+Synopsis
+********
+
+ AX_EXT_HAVE_LIB(<directories>, <library>, <function>, <extra libraries>)
+
+Description
+***********
+
+AX_EXT_HAVE_LIB is identical to AC_SEARCH_LIBS with the exception that
+will add -L<directory> when looking, and use a different variable for
+each directory.
+
+Any required -L<directory> flags are added to LDFLAGS and located
+libraies are added to LIBS
+
+Some libraries are unlinkable without other extra libraries, which can
+be specified in the 4th argument. The mysql client library needs -lz,
+for example.
+
+Example:
+
+ AX_EXT_HAVE_LIB(/lib /usr/lib /usr/local/lib /usr/lib/mysql /usr/local/mysql/lib, mysqlclient, mysql_init, [-lz])
+
+which finds the mysql client library if succeeds system when it tries
+with -L/usr/lib/mysql then it adds -lmysqlclient to LIBS and
+-L/usr/lib/mysql to LDFLAGS.
+
+The test itself is based on the autoconf 2.53 version of AC_SEARCH_LIBS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_ext_have_lib.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ext_have_lib.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ext_have_lib.m4).
+
+License
+*******
+
+Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_extend_srcdir, Next: ax_extra_dist, Prev: ax_ext_have_lib, Up: The Macros
+
+ax_extend_srcdir
+================
+
+Synopsis
+********
+
+ AX_EXTEND_SRCDIR
+
+Description
+***********
+
+The AX_EXTEND_SRCDIR macro extends $srcdir by one path component.
+
+As an example, when working in /home/michael/i3-4.12/build and calling
+../configure, your $srcdir is "..". After calling AX_EXTEND_SRCDIR,
+$srcdir will be set to "../../i3-4.12".
+
+The result of extending $srcdir is that filenames (e.g. in the output
+of the "backtrace" gdb command) will include one more path component of
+the absolute source path. The additional path component makes it easy
+for users to recognize which files belong to the PACKAGE, and - provided
+a dist tarball was unpacked - which version of PACKAGE was used.
+
+As an example, in "backtrace", you will see:
+
+ #0 main (argc=1, argv=0x7fffffff1fc8) at ../../i3-4.12/src/main.c:187
+
+instead of:
+
+ #0 main (argc=1, argv=0x7fffffff1fc8) at ../src/main.c:187
+
+In case your code uses the __FILE__ preprocessor directive to refer to
+the filename of the current source file (e.g. in debug messages), using
+the extended path might be undesirable. For this purpose,
+AX_EXTEND_SRCDIR defines the output variable AX_EXTEND_SRCDIR_CPPFLAGS,
+which can be added to AM_CPPFLAGS in Makefile.am in order to define the
+preprocessor directive STRIPPED__FILE__. As an example, when compiling
+the file "../../i3-4.12/src/main.c", STRIPPED__FILE__ evaluates to
+"main.c".
+
+There are some caveats: When $srcdir is "." (i.e. when ./configure was
+called instead of ../configure in a separate build directory),
+AX_EXTEND_SRCDIR will still extend $srcdir, but the intended effect will
+not be achieved because of the way automake specifies file paths:
+automake defines COMPILE to use "'test -f '$source' || echo
+'\$(srcdir)/''$source" in order to prefer files in the current directory
+over specifying $srcdir explicitly.
+
+The AX_EXTEND_SRCDIR author is not aware of any way to influence this
+automake behavior. Patches very welcome.
+
+To work around this issue, you can use AX_ENABLE_BUILDDIR i.e. by
+adding the following code to configure.ac:
+
+ AX_ENABLE_BUILDDIR
+ dnl ...
+ AX_EXTEND_SRCDIR
+
+Then also add this bit to Makefile.am (if you wish to use
+STRIPPED__FILE__ in your code):
+
+ AM_CPPFLAGS = @AX_EXTEND_SRCDIR_CPPFLAGS@
+
+Source Code
+***********
+
+Download the latest version of 'ax_extend_srcdir.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_extend_srcdir.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_extend_srcdir.m4).
+
+License
+*******
+
+Copyright (C) 2016 Michael Stapelberg <michael@i3wm.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_extra_dist, Next: ax_f77_cmain_fflags, Prev: ax_extend_srcdir, Up: The Macros
+
+ax_extra_dist
+=============
+
+Synopsis
+********
+
+ AX_EXTRA_DIST
+
+Description
+***********
+
+Allow support for custom dist targets.
+
+To add custom dist targets, you must create a dist-<TYPE> target within
+your Makefile.am, where <TYPE> is the name of the dist and then add
+<TYPE> to EXTRA_SRC_DISTS or EXTRA_BIN_DISTS. For example:
+
+ dist-foobar:
+ <rules for making the foobar dist>
+
+ EXTRA_BIN_DISTS += foobar
+
+You can then build all the src dist targets by running:
+
+ make dist-src
+
+You can build all the binary dist targets by running:
+
+ make dist-bin
+
+and you can build both the src and dist targets by running:
+
+ make all-dist
+
+Source Code
+***********
+
+Download the latest version of 'ax_extra_dist.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_extra_dist.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_extra_dist.m4).
+
+License
+*******
+
+Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_f77_cmain_fflags, Next: ax_f90_header, Prev: ax_extra_dist, Up: The Macros
+
+ax_f77_cmain_fflags
+===================
+
+Synopsis
+********
+
+ AX_F77_CMAIN_FFLAGS([ACTION-IF-SUCCEED], [ACTION-IF-FAIL])
+
+Description
+***********
+
+This macro figures out if extra Fortran compiler flags are required in
+order to use the Fortran linker to link programs where the main()
+function is defined via C (or other language). On some systems, notably
+the Alpha with Compaq compilers, the Fortran libraries have their own
+main() function which must be disabled.
+
+Runs ACTION-IF-SUCCEED if successful, and ACTION-IF-FAIL if not.
+Defines the output variable F77_CMAIN_FFLAGS to any discovered flags.
+(If ACTION-IF-FAIL is not specified, defaults to halting with an error.)
+
+This macro is especially useful in conjunction with automake, since by
+default automake uses $F77 to link programs mixing C and Fortran,
+leading to a link error on some systems. In this case, you should set
+the FFLAGS for that program to include F77_CMAIN_FFLAGS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_f77_cmain_fflags.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f77_cmain_fflags.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f77_cmain_fflags.m4).
+
+License
+*******
+
+Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_f90_header, Next: ax_f90_internal_headmod, Prev: ax_f77_cmain_fflags, Up: The Macros
+
+ax_f90_header
+=============
+
+Synopsis
+********
+
+ AX_F90_HEADER(HEADER, HEADER-REGEXP, FUNCTION-BODY [, SEARCH-PATH [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+
+Description
+***********
+
+Set up the compiler flags to use a given fortran 90 header. HEADER is
+the name of the header. HEADER-REGEXP is a regular expression (used by
+find) matched by the filename of the header. FUNCTION-BODY is the body
+of a function (including the 'use' statement and the call to a function
+defined by the module) SEARCH-PATH is a colon-separated list of
+directories that will be recursively searched for header files. If
+empty, the search path will be composed of $prefix, $ac_default_prefix,
+and all directories exactly one level *above* the directories in
+$LD_LIBRARY_PATH (the rationale is that when libraries are put in
+/some/path/lib, the headers are often put in a directory like
+/some/path/include). An output variable named F90_HEADER_xxx will be
+set up with the proper flag for substitution in Makefiles (xxx is built
+from the first argument, with autoconf traditional escapes).
+
+Source Code
+***********
+
+Download the latest version of 'ax_f90_header.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_header.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_header.m4).
+
+License
+*******
+
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_f90_internal_headmod, Next: ax_f90_library, Prev: ax_f90_header, Up: The Macros
+
+ax_f90_internal_headmod
+=======================
+
+Synopsis
+********
+
+ AX_F90_INTERNAL_HEADMOD(MESSAGE, FILE-REGEXP, FLAG, FUNCTION-BODY, OUTPUT-VAR[, SEARCH-PATH [, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
+
+Description
+***********
+
+Internal macro used by AX_F90_HEADER and AX_F90_MODULE.
+
+Source Code
+***********
+
+Download the latest version of 'ax_f90_internal_headmod.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_internal_headmod.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_internal_headmod.m4).
+
+License
+*******
+
+Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_f90_library, Next: ax_f90_library_setup, Prev: ax_f90_internal_headmod, Up: The Macros
+
+ax_f90_library
+==============
+
+Synopsis
+********
+
+ AX_F90_LIBRARY(LIBRARY, LIB-REGEXP, FUNCTION-BODY [, SEARCH-PATH [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+
+Description
+***********
+
+Set up the compiler flags to link a given fortran 90 library LIBRARY is
+the name of the library. LIB-REGEXP is a regular expression (used by
+find) matched by the filename of the library, this is useful either if
+the library filename does not follow the traditional libxxx.a or
+libxxx.so pattern, or if some specific information is embedded into the
+name, like compiler used, debugging status ...). FUNCTION-BODY is the
+body of a function (including the 'use' statements and the call to a
+function defined by the library) SEARCH-PATH is a colon-separated list
+of directories that will be used as the base directories for 'find' to
+look for the library file. If empty, the search path will be composed
+of $prefix/lib, $ac_default_prefix/lib, and $LD_LIBRARY_PATH. Two output
+variables named F90_LDFLAGS_xxx and F90_LIBS_xxx will be set up with the
+proper flag for substitution in Makefiles (xxx is built from the first
+argument, with autoconf traditional escapes).
+
+Source Code
+***********
+
+Download the latest version of 'ax_f90_library.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_library.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_library.m4).
+
+License
+*******
+
+Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_f90_library_setup, Next: ax_f90_module, Prev: ax_f90_library, Up: The Macros
+
+ax_f90_library_setup
+====================
+
+Synopsis
+********
+
+ AX_F90_LIBRARY_SETUP(LIBRARY, HEADER-REGEXP, MODULE-REGEXP, LIB-REGEXP, FUNCTION-BODY)
+
+Description
+***********
+
+Convenience macro to set up a fortran 90 library in a simplified way.
+LIBRARY is the name of the library. HEADER-REGEXP is a regular
+expression (used by find) matched by the header file to look for (may be
+empty). MODULE-REGEXP is a regular expression (used by find) matched by
+the filename of the module (may be empty). LIB-REGEXP is a regular
+expression (used by find) matched by the filename of the library, this
+is useful either if the library filename does not follow the traditional
+libxxx.a or libxxx.so pattern, or if some specific information is
+embedded into the name, like compiler used, debugging status ...).
+FUNCTION-BODY is the body of a function (including the 'use' statements
+and the call to a function defined by the library).
+
+This macro is a simple wrapper around AX_F90_MODULE and AX_F90_LIBRARY
+that uses the parameters provided by the end user through a -with-xxx
+option to set up the search path. Both a module and a library will be
+tested, the same path will be used for both tests, so the path must be
+set up with a common parent directory of both the library file and the
+module file. The macro also automatically updates the FCFLAGS, LDFLAGS
+and LIBS variables in addition to providing the F90_HEADER_xxx,
+F90_MODULE_xxx, F90_LDFLAGS_xxx and F90_LIBS_xxx output variables.
+
+Example: suppose you have /home/nostradamus/esoteric/lib/libalchemy.a
+and /home/nostradamus/esoteric/mod/alchemy.mod which provides a function
+transmute_into_gold, you can use the following in you configure.ac:
+
+ AX_F90_MODULE_EXTENSION
+ if test x$ax_cv_f90_modext = xunknown ; then
+ AC_MSG_ERROR([unable to find f90 modules extension])
+ fi
+ AX_F90_LIBRARY_SETUP(alchemy,[],alchemy.$ax_cv_f90_modext,libalchemy*,[
+ use alchemy
+ call transmute_into_gold('lead')
+ ])
+
+and the user could configure your package using a command like this:
+
+ ./configure --with-alchemy=$HOME/esoteric
+
+Source Code
+***********
+
+Download the latest version of 'ax_f90_library_setup.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_library_setup.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_library_setup.m4).
+
+License
+*******
+
+Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_f90_module, Next: ax_f90_module_extension, Prev: ax_f90_library_setup, Up: The Macros
+
+ax_f90_module
+=============
+
+Synopsis
+********
+
+ AX_F90_MODULE(MODULE, MODULE-REGEXP, FUNCTION-BODY [, SEARCH-PATH [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+
+Description
+***********
+
+Set up the compiler flags to use a given fortran 90 module MODULE is the
+name of the module. MODULE-REGEXP is a regular expression (used by
+find) matched by the filename of the module. FUNCTION-BODY is the body
+of a function (including the 'use' statement and the call to a function
+defined by the module) SEARCH-PATH is a colon-separated list of
+directories that will be recursively searched for modules files. If
+empty, the search path will be composed of $prefix, $ac_default_prefix,
+and all directories exactly one level *above* the directories in
+$LD_LIBRARY_PATH (the rationale is that when libraries are put in
+/some/path/lib, the modules are often put in a directory like
+/some/path/include or /some/path/mod or something similar). An output
+variable named F90_MODULE_xxx will be set up with the proper flag for
+substitution in Makefiles (xxx is built from the first argument, with
+autoconf traditional escapes).
+
+Source Code
+***********
+
+Download the latest version of 'ax_f90_module.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_module.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_module.m4).
+
+License
+*******
+
+Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_f90_module_extension, Next: ax_f90_module_flag, Prev: ax_f90_module, Up: The Macros
+
+ax_f90_module_extension
+=======================
+
+Synopsis
+********
+
+ AX_F90_MODULE_EXTENSION
+
+Description
+***********
+
+Find Fortran 90 modules file extension. The module extension is stored
+in the cached variable ax_f90_modext, or "unknown" if the extension
+cannot be found.
+
+Source Code
+***********
+
+Download the latest version of 'ax_f90_module_extension.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_module_extension.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_module_extension.m4).
+
+License
+*******
+
+Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
+Copyright (C) 2009 Alexander Pletzer <pletzer@txcorp.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_f90_module_flag, Next: ax_fc_check_define, Prev: ax_f90_module_extension, Up: The Macros
+
+ax_f90_module_flag
+==================
+
+Synopsis
+********
+
+ AX_F90_MODULE_FLAG
+
+Description
+***********
+
+Find Fortran 90 modules inclusion flag. The module inclusion flag is
+stored in the cached variable ax_f90_modflag. An error is triggered if
+the flag cannot be found. Supported are the -I GNU compilers flag, the
+-M SUN compilers flag, and the -p Absoft Pro Fortran compiler flag.
+
+Source Code
+***********
+
+Download the latest version of 'ax_f90_module_flag.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_module_flag.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_module_flag.m4).
+
+License
+*******
+
+Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
+Copyright (C) 2009 Julian C. Cummings <cummings@cacr.caltech.edu>
+Copyright (C) 2009 Alexander Pletzer <pletzer@txcorp.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_fc_check_define, Next: ax_file_escapes, Prev: ax_f90_module_flag, Up: The Macros
+
+ax_fc_check_define
+==================
+
+Synopsis
+********
+
+ AX_FC_CHECK_DEFINE([symbol], [ACTION-IF-FOUND], [ACTION-IF-NOT])
+
+Description
+***********
+
+This macro checks to see if the Fortran pre-processor has a symbol
+defined.
+
+Consider a usage like:
+
+ AC_FC_PP_DEFINE()
+ AX_FC_CHECK_DEFINE(__BIGGEST_ALIGNMENT__, [],
+ AX_APPEND_FLAG([${FC_DEFINE}__BIGGEST_ALIGNMENT__=64],
+ [FCFLAGS]))
+
+Source Code
+***********
+
+Download the latest version of 'ax_fc_check_define.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_fc_check_define.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_fc_check_define.m4).
+
+License
+*******
+
+Copyright (C) 2016 Timothy Brown <tbrown@freeshell.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_file_escapes, Next: ax_find_hamcrest, Prev: ax_fc_check_define, Up: The Macros
+
+ax_file_escapes
+===============
+
+Synopsis
+********
+
+ AX_FILE_ESCAPES
+
+Description
+***********
+
+Writes the specified data to the specified file.
+
+Source Code
+***********
+
+Download the latest version of 'ax_file_escapes.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_file_escapes.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_file_escapes.m4).
+
+License
+*******
+
+Copyright (C) 2008 Tom Howard <tomhoward@users.sf.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_find_hamcrest, Next: ax_find_junit, Prev: ax_file_escapes, Up: The Macros
+
+ax_find_hamcrest
+================
+
+Synopsis
+********
+
+ AX_FIND_HAMCREST
+
+Description
+***********
+
+AX_FIND_HAMCREST will look for the Hamcrest java library. When found
+its path will be put in HAMCREST_CPF as a classpath fragment.
+
+To override the location define HAMCREST_JAR to the wanted path.
+
+Source Code
+***********
+
+Download the latest version of 'ax_find_hamcrest.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_find_hamcrest.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_find_hamcrest.m4).
+
+License
+*******
+
+Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_find_junit, Next: ax_find_scala_stdlib, Prev: ax_find_hamcrest, Up: The Macros
+
+ax_find_junit
+=============
+
+Synopsis
+********
+
+ AX_FIND_JUNIT
+
+Description
+***********
+
+AX_FIND_JUNIT will look for the JUnit java library. When found its path
+will be put in JUNIT_CPF as a classpath fragment.
+
+To override the location define JUNIT_JAR to the wanted path.
+
+Source Code
+***********
+
+Download the latest version of 'ax_find_junit.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_find_junit.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_find_junit.m4).
+
+License
+*******
+
+Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_find_scala_stdlib, Next: ax_forceinline, Prev: ax_find_junit, Up: The Macros
+
+ax_find_scala_stdlib
+====================
+
+Synopsis
+********
+
+ AX_FIND_SCALA_STDLIB
+
+Description
+***********
+
+AX_FIND_SCALA_STDLIB will look for the Scala Standard Library. When
+found its path will be put in SCALA_STDLIB_CPF as a classpath fragment.
+
+To override the location define SCALA_STDLIB to the wanted path
+
+Source Code
+***********
+
+Download the latest version of 'ax_find_scala_stdlib.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_find_scala_stdlib.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_find_scala_stdlib.m4).
+
+License
+*******
+
+Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification,are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_forceinline, Next: ax_func_accept_argtypes, Prev: ax_find_scala_stdlib, Up: The Macros
+
+ax_forceinline
+==============
+
+Synopsis
+********
+
+ AX_FORCEINLINE()
+
+Description
+***********
+
+Provides a test for C compiler support of forced inlining. If usable,
+#define FORCEINLINE to the appropriate force inline keyword. Otherwise
+#define FORCEINLINE to be 'inline'.
+
+Source Code
+***********
+
+Download the latest version of 'ax_forceinline.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_forceinline.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_forceinline.m4).
+
+License
+*******
+
+Copyright (C) 2008 Alan Woodland <ajw05@aber.ac.uk>
+Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_func_accept_argtypes, Next: ax_func_getopt_long, Prev: ax_forceinline, Up: The Macros
+
+ax_func_accept_argtypes
+=======================
+
+Synopsis
+********
+
+ AX_FUNC_ACCEPT_ARGTYPES
+
+Description
+***********
+
+Checks the data types of the three arguments to accept(). Results are
+placed into the symbols ACCEPT_TYPE_ARG[123], consistent with the
+following example:
+
+ #define ACCEPT_TYPE_ARG1 int
+ #define ACCEPT_TYPE_ARG2 struct sockaddr *
+ #define ACCEPT_TYPE_ARG3 socklen_t *
+
+This macro requires AC_CHECK_HEADERS to have already verified the
+presence or absence of sys/types.h and sys/socket.h.
+
+NOTE: This is just a modified version of the AC_FUNC_SELECT_ARGTYPES
+macro. Credit for that one goes to David MacKenzie et. al.
+
+Source Code
+***********
+
+Download the latest version of 'ax_func_accept_argtypes.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_accept_argtypes.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_accept_argtypes.m4).
+
+License
+*******
+
+Copyright (C) 2008 Daniel Richard G. <skunk@iskunk.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_func_getopt_long, Next: ax_func_memmove, Prev: ax_func_accept_argtypes, Up: The Macros
+
+ax_func_getopt_long
+===================
+
+Synopsis
+********
+
+ AX_FUNC_GETOPT_LONG
+
+Description
+***********
+
+Check for getopt_long support.
+
+This assume that the standard getopt.h file (from GNU libc) is available
+as lib/gnugetopt.h. If needed, this file will be linked as getopt.h,
+but we want to default to the system's getopt.h file. (See
+http://sources.redhat.com/ml/automake/2000-09/msg00041.html for an
+explanation about why using the system's getopt.h file is important.)
+
+Source Code
+***********
+
+Download the latest version of 'ax_func_getopt_long.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_getopt_long.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_getopt_long.m4).
+
+License
+*******
+
+Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_func_memmove, Next: ax_func_mkdir, Prev: ax_func_getopt_long, Up: The Macros
+
+ax_func_memmove
+===============
+
+Synopsis
+********
+
+ AX_FUNC_MEMMOVE
+
+Description
+***********
+
+Checks for a memmove that can handle overlaps correctly. If no working
+memmove is found, request a replacement and warn the user about it.
+
+Source Code
+***********
+
+Download the latest version of 'ax_func_memmove.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_memmove.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_memmove.m4).
+
+License
+*******
+
+Copyright (C) 2008 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_func_mkdir, Next: ax_func_posix_memalign, Prev: ax_func_memmove, Up: The Macros
+
+ax_func_mkdir
+=============
+
+Synopsis
+********
+
+ AX_FUNC_MKDIR
+
+Description
+***********
+
+Check whether mkdir() is mkdir or _mkdir, and whether it takes one or
+two arguments.
+
+This macro can define HAVE_MKDIR, HAVE__MKDIR, and MKDIR_TAKES_ONE_ARG,
+which are expected to be used as follows:
+
+ #if HAVE_MKDIR
+ # if MKDIR_TAKES_ONE_ARG
+ /* MinGW32 */
+ # define mkdir(a, b) mkdir(a)
+ # endif
+ #else
+ # if HAVE__MKDIR
+ /* plain Windows 32 */
+ # define mkdir(a, b) _mkdir(a)
+ # else
+ # error "Don't know how to create a directory on this system."
+ # endif
+ #endif
+
+Source Code
+***********
+
+Download the latest version of 'ax_func_mkdir.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_mkdir.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_mkdir.m4).
+
+License
+*******
+
+Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_func_posix_memalign, Next: ax_func_snprintf, Prev: ax_func_mkdir, Up: The Macros
+
+ax_func_posix_memalign
+======================
+
+Synopsis
+********
+
+ AX_FUNC_POSIX_MEMALIGN
+
+Description
+***********
+
+Some versions of posix_memalign (notably glibc 2.2.5) incorrectly apply
+their power-of-two check to the size argument, not the alignment
+argument. AX_FUNC_POSIX_MEMALIGN defines HAVE_POSIX_MEMALIGN if the
+power-of-two check is correctly applied to the alignment argument.
+
+Source Code
+***********
+
+Download the latest version of 'ax_func_posix_memalign.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_posix_memalign.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_posix_memalign.m4).
+
+License
+*******
+
+Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_func_snprintf, Next: ax_func_which_gethostbyname_r, Prev: ax_func_posix_memalign, Up: The Macros
+
+ax_func_snprintf
+================
+
+Synopsis
+********
+
+ AX_FUNC_SNPRINTF
+
+Description
+***********
+
+Checks for a fully C99 compliant snprintf, in particular checks whether
+it does bounds checking and returns the correct string length; does the
+same check for vsnprintf. If no working snprintf or vsnprintf is found,
+request a replacement and warn the user about it. Note: the mentioned
+replacement is freely available and may be used in any project
+regardless of it's license.
+
+Source Code
+***********
+
+Download the latest version of 'ax_func_snprintf.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_snprintf.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_snprintf.m4).
+
+License
+*******
+
+Copyright (C) 2008 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_func_which_gethostbyname_r, Next: ax_func_which_getservbyname_r, Prev: ax_func_snprintf, Up: The Macros
+
+ax_func_which_gethostbyname_r
+=============================
+
+Synopsis
+********
+
+ AX_FUNC_WHICH_GETHOSTBYNAME_R
+
+Description
+***********
+
+Determines which historical variant of the gethostbyname_r() call
+(taking three, five, or six arguments) is available on the system and
+defines one of the following macros accordingly:
+
+ HAVE_FUNC_GETHOSTBYNAME_R_6
+ HAVE_FUNC_GETHOSTBYNAME_R_5
+ HAVE_FUNC_GETHOSTBYNAME_R_3
+
+as well as
+
+ HAVE_GETHOSTBYNAME_R
+
+If used in conjunction with gethostname.c, the API demonstrated in
+test.c can be used regardless of which gethostbyname_r() is available.
+These example files can be found at
+http://www.csn.ul.ie/~caolan/publink/gethostbyname_r
+
+based on David Arnold's autoconf suggestion in the threads faq
+
+Originally named "AC_caolan_FUNC_WHICH_GETHOSTBYNAME_R". Rewritten for
+Autoconf 2.5x, and updated for 2.68 by Daniel Richard G.
+
+Source Code
+***********
+
+Download the latest version of 'ax_func_which_gethostbyname_r.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_which_gethostbyname_r.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_which_gethostbyname_r.m4).
+
+License
+*******
+
+Copyright (C) 2008 Caolan McNamara <caolan@skynet.ie>
+Copyright (C) 2008 Daniel Richard G. <skunk@iskunk.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_func_which_getservbyname_r, Next: ax_gcc_archflag, Prev: ax_func_which_gethostbyname_r, Up: The Macros
+
+ax_func_which_getservbyname_r
+=============================
+
+Synopsis
+********
+
+ AX_FUNC_WHICH_GETSERVBYNAME_R
+
+Description
+***********
+
+Provides a test to determine the correct way to call getservbyname_r:
+
+ - defines HAVE_FUNC_GETSERVBYNAME_R_6 if it needs 6 arguments (e.g linux)
+ - defines HAVE_FUNC_GETSERVBYNAME_R_5 if it needs 5 arguments (e.g. solaris)
+ - defines HAVE_FUNC_GETSERVBYNAME_R_4 if it needs 4 arguments (e.g. osf/1)
+
+An example use can be found at
+http://raf.org/autoconf/net_getservbyname.c
+
+Based on Caolan McNamara's gethostbyname_r macro. Based on David
+Arnold's autoconf suggestion in the threads faq.
+
+Source Code
+***********
+
+Download the latest version of 'ax_func_which_getservbyname_r.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_which_getservbyname_r.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_which_getservbyname_r.m4).
+
+License
+*******
+
+Copyright (C) 2008 raf <raf@raf.org>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_gcc_archflag, Next: ax_gcc_builtin, Prev: ax_func_which_getservbyname_r, Up: The Macros
+
+ax_gcc_archflag
+===============
+
+Synopsis
+********
+
+ AX_GCC_ARCHFLAG([PORTABLE?], [ACTION-SUCCESS], [ACTION-FAILURE])
+
+Description
+***********
+
+This macro tries to guess the "native" arch corresponding to the target
+architecture for use with gcc's -march=arch or -mtune=arch flags. If
+found, the cache variable $ax_cv_gcc_archflag is set to this flag and
+ACTION-SUCCESS is executed; otherwise $ax_cv_gcc_archflag is set to
+"unknown" and ACTION-FAILURE is executed. The default ACTION-SUCCESS is
+to add $ax_cv_gcc_archflag to the end of $CFLAGS.
+
+PORTABLE? should be either [yes] (default) or [no]. In the former case,
+the flag is set to -mtune (or equivalent) so that the architecture is
+only used for tuning, but the instruction set used is still portable.
+In the latter case, the flag is set to -march (or equivalent) so that
+architecture-specific instructions are enabled.
+
+The user can specify -with-gcc-arch=<arch> in order to override the
+macro's choice of architecture, or -without-gcc-arch to disable this.
+
+When cross-compiling, or if $CC is not gcc, then ACTION-FAILURE is
+called unless the user specified -with-gcc-arch manually.
+
+Requires macros: AX_CHECK_COMPILE_FLAG, AX_GCC_X86_CPUID
+
+(The main emphasis here is on recent CPUs, on the principle that doing
+high-performance computing on old hardware is uncommon.)
+
+Source Code
+***********
+
+Download the latest version of 'ax_gcc_archflag.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_archflag.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_archflag.m4).
+
+License
+*******
+
+Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
+Copyright (C) 2008 Matteo Frigo
+Copyright (C) 2014 Tsukasa Oi
+Copyright (C) 2017-2018 Alexey Kopytov
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_gcc_builtin, Next: ax_gcc_const_call, Prev: ax_gcc_archflag, Up: The Macros
+
+ax_gcc_builtin
+==============
+
+Synopsis
+********
+
+ AX_GCC_BUILTIN(BUILTIN)
+
+Description
+***********
+
+This macro checks if the compiler supports one of GCC's built-in
+functions; many other compilers also provide those same built-ins.
+
+The BUILTIN parameter is the name of the built-in function.
+
+If BUILTIN is supported define HAVE_<BUILTIN>. Keep in mind that since
+builtins usually start with two underscores they will be copied over
+into the HAVE_<BUILTIN> definition (e.g. HAVE___BUILTIN_EXPECT for
+__builtin_expect()).
+
+The macro caches its result in the ax_cv_have_<BUILTIN> variable (e.g.
+ax_cv_have___builtin_expect).
+
+The macro currently supports the following built-in functions:
+
+ __builtin_assume_aligned
+ __builtin_bswap16
+ __builtin_bswap32
+ __builtin_bswap64
+ __builtin_choose_expr
+ __builtin___clear_cache
+ __builtin_clrsb
+ __builtin_clrsbl
+ __builtin_clrsbll
+ __builtin_clz
+ __builtin_clzl
+ __builtin_clzll
+ __builtin_complex
+ __builtin_constant_p
+ __builtin_cpu_init
+ __builtin_cpu_is
+ __builtin_cpu_supports
+ __builtin_ctz
+ __builtin_ctzl
+ __builtin_ctzll
+ __builtin_expect
+ __builtin_ffs
+ __builtin_ffsl
+ __builtin_ffsll
+ __builtin_fpclassify
+ __builtin_huge_val
+ __builtin_huge_valf
+ __builtin_huge_vall
+ __builtin_inf
+ __builtin_infd128
+ __builtin_infd32
+ __builtin_infd64
+ __builtin_inff
+ __builtin_infl
+ __builtin_isinf_sign
+ __builtin_nan
+ __builtin_nand128
+ __builtin_nand32
+ __builtin_nand64
+ __builtin_nanf
+ __builtin_nanl
+ __builtin_nans
+ __builtin_nansf
+ __builtin_nansl
+ __builtin_object_size
+ __builtin_parity
+ __builtin_parityl
+ __builtin_parityll
+ __builtin_popcount
+ __builtin_popcountl
+ __builtin_popcountll
+ __builtin_powi
+ __builtin_powif
+ __builtin_powil
+ __builtin_prefetch
+ __builtin_trap
+ __builtin_types_compatible_p
+ __builtin_unreachable
+
+Unsupported built-ins will be tested with an empty parameter set and the
+result of the check might be wrong or meaningless so use with care.
+
+Source Code
+***********
+
+Download the latest version of 'ax_gcc_builtin.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_builtin.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_builtin.m4).
+
+License
+*******
+
+Copyright (C) 2013 Gabriele Svelto <gabriele.svelto@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_gcc_const_call, Next: ax_gcc_func_attribute, Prev: ax_gcc_builtin, Up: The Macros
+
+ax_gcc_const_call
+=================
+
+Synopsis
+********
+
+ AX_GCC_CONST_CALL
+
+Description
+***********
+
+The macro will compile a test program to see whether the compiler does
+understand the per-function postfix pragma.
+
+Source Code
+***********
+
+Download the latest version of 'ax_gcc_const_call.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_const_call.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_const_call.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_gcc_func_attribute, Next: ax_gcc_lib, Prev: ax_gcc_const_call, Up: The Macros
+
+ax_gcc_func_attribute
+=====================
+
+Synopsis
+********
+
+ AX_GCC_FUNC_ATTRIBUTE(ATTRIBUTE)
+
+Description
+***********
+
+This macro checks if the compiler supports one of GCC's function
+attributes; many other compilers also provide function attributes with
+the same syntax. Compiler warnings are used to detect supported
+attributes as unsupported ones are ignored by default so quieting
+warnings when using this macro will yield false positives.
+
+The ATTRIBUTE parameter holds the name of the attribute to be checked.
+
+If ATTRIBUTE is supported define HAVE_FUNC_ATTRIBUTE_<ATTRIBUTE>.
+
+The macro caches its result in the ax_cv_have_func_attribute_<attribute>
+variable.
+
+The macro currently supports the following function attributes:
+
+ alias
+ aligned
+ alloc_size
+ always_inline
+ artificial
+ cold
+ const
+ constructor
+ constructor_priority for constructor attribute with priority
+ deprecated
+ destructor
+ dllexport
+ dllimport
+ error
+ externally_visible
+ fallthrough
+ flatten
+ format
+ format_arg
+ gnu_format
+ gnu_inline
+ hot
+ ifunc
+ leaf
+ malloc
+ noclone
+ noinline
+ nonnull
+ noreturn
+ nothrow
+ optimize
+ pure
+ sentinel
+ sentinel_position
+ unused
+ used
+ visibility
+ warning
+ warn_unused_result
+ weak
+ weakref
+
+Unsupported function attributes will be tested with a prototype
+returning an int and not accepting any arguments and the result of the
+check might be wrong or meaningless so use with care.
+
+Source Code
+***********
+
+Download the latest version of 'ax_gcc_func_attribute.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_func_attribute.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_func_attribute.m4).
+
+License
+*******
+
+Copyright (C) 2013 Gabriele Svelto <gabriele.svelto@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_gcc_lib, Next: ax_gcc_libgcc_eh, Prev: ax_gcc_func_attribute, Up: The Macros
+
+ax_gcc_lib
+==========
+
+Synopsis
+********
+
+ AX_GCC_LIB(LIBRARY,[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+AX_GCC_LIB looks for LIBRARY inside gcc install directory, performs
+ACTION-IF-FOUND if the library is available, ACTION-IF-NOT-FOUND
+otherwise. The gcc install directory is retrieved using
+AX_GCC_INSTALL_DIR macro.
+
+Source Code
+***********
+
+Download the latest version of 'ax_gcc_lib.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_lib.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_lib.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_gcc_libgcc_eh, Next: ax_gcc_libsupcxx, Prev: ax_gcc_lib, Up: The Macros
+
+ax_gcc_libgcc_eh
+================
+
+Synopsis
+********
+
+ AX_GCC_LIBGCC_EH(VARIABLE)
+
+Description
+***********
+
+AX_GCC_LIBGCC_EH defines VARIABLE as the absolute path to libgcc_eh.a if
+it is available on the system, empty otherwise
+
+Source Code
+***********
+
+Download the latest version of 'ax_gcc_libgcc_eh.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_libgcc_eh.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_libgcc_eh.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_gcc_libsupcxx, Next: ax_gcc_malloc_call, Prev: ax_gcc_libgcc_eh, Up: The Macros
+
+ax_gcc_libsupcxx
+================
+
+Synopsis
+********
+
+ AX_GCC_LIBSUPCXX(VARIABLE)
+
+Description
+***********
+
+AX_GCC_LIBSUPCXX defines VARIABLE as the absolute path to libsupc++.a if
+it is available on the system, empty otherwise.
+
+Source Code
+***********
+
+Download the latest version of 'ax_gcc_libsupcxx.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_libsupcxx.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_libsupcxx.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copyright (C) 2009 Alessandro Massignan <ff0000.it@gmail.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_gcc_malloc_call, Next: ax_gcc_var_attribute, Prev: ax_gcc_libsupcxx, Up: The Macros
+
+ax_gcc_malloc_call
+==================
+
+Synopsis
+********
+
+ AX_GCC_MALLOC_CALL
+
+Description
+***********
+
+The macro will compile a test program to see whether the compiler does
+understand the per-function postfix pragma.
+
+Source Code
+***********
+
+Download the latest version of 'ax_gcc_malloc_call.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_malloc_call.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_malloc_call.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_gcc_var_attribute, Next: ax_gcc_warn_unused_result, Prev: ax_gcc_malloc_call, Up: The Macros
+
+ax_gcc_var_attribute
+====================
+
+Synopsis
+********
+
+ AX_GCC_VAR_ATTRIBUTE(ATTRIBUTE)
+
+Description
+***********
+
+This macro checks if the compiler supports one of GCC's variable
+attributes; many other compilers also provide variable attributes with
+the same syntax. Compiler warnings are used to detect supported
+attributes as unsupported ones are ignored by default so quieting
+warnings when using this macro will yield false positives.
+
+The ATTRIBUTE parameter holds the name of the attribute to be checked.
+
+If ATTRIBUTE is supported define HAVE_VAR_ATTRIBUTE_<ATTRIBUTE>.
+
+The macro caches its result in the ax_cv_have_var_attribute_<attribute>
+variable.
+
+The macro currently supports the following variable attributes:
+
+ aligned
+ cleanup
+ common
+ nocommon
+ deprecated
+ mode
+ packed
+ tls_model
+ unused
+ used
+ vector_size
+ weak
+ dllimport
+ dllexport
+ init_priority
+
+Unsupported variable attributes will be tested against a global integer
+variable and without any arguments given to the attribute itself; the
+result of this check might be wrong or meaningless so use with care.
+
+Source Code
+***********
+
+Download the latest version of 'ax_gcc_var_attribute.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_var_attribute.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_var_attribute.m4).
+
+License
+*******
+
+Copyright (C) 2013 Gabriele Svelto <gabriele.svelto@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_gcc_warn_unused_result, Next: ax_gcc_x86_avx_xgetbv, Prev: ax_gcc_var_attribute, Up: The Macros
+
+ax_gcc_warn_unused_result
+=========================
+
+Synopsis
+********
+
+ AX_GCC_WARN_UNUSED_RESULT
+
+Description
+***********
+
+The macro will compile a test program to see whether the compiler does
+understand the per-function postfix pragma.
+
+Source Code
+***********
+
+Download the latest version of 'ax_gcc_warn_unused_result.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_warn_unused_result.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_warn_unused_result.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_gcc_x86_avx_xgetbv, Next: ax_gcc_x86_cpu_supports, Prev: ax_gcc_warn_unused_result, Up: The Macros
+
+ax_gcc_x86_avx_xgetbv
+=====================
+
+Synopsis
+********
+
+ AX_GCC_X86_AVX_XGETBV
+
+Description
+***********
+
+On later x86 processors with AVX SIMD support, with gcc or a compiler
+that has a compatible syntax for inline assembly instructions, run a
+small program that executes the xgetbv instruction with input OP. This
+can be used to detect if the OS supports AVX instruction usage.
+
+On output, the values of the eax and edx registers are stored as
+hexadecimal strings as "eax:edx" in the cache variable
+ax_cv_gcc_x86_avx_xgetbv.
+
+If the xgetbv instruction fails (because you are running a
+cross-compiler, or because you are not using gcc, or because you are on
+a processor that doesn't have this instruction),
+ax_cv_gcc_x86_avx_xgetbv_OP is set to the string "unknown".
+
+This macro mainly exists to be used in AX_EXT.
+
+Source Code
+***********
+
+Download the latest version of 'ax_gcc_x86_avx_xgetbv.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_x86_avx_xgetbv.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_x86_avx_xgetbv.m4).
+
+License
+*******
+
+Copyright (C) 2013 Michael Petch <mpetch@capp-sysware.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_gcc_x86_cpu_supports, Next: ax_gcc_x86_cpuid, Prev: ax_gcc_x86_avx_xgetbv, Up: The Macros
+
+ax_gcc_x86_cpu_supports
+=======================
+
+Synopsis
+********
+
+ AX_GCC_X86_CPU_SUPPORTS(X86-INSTRUCTION-SET,
+ [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+Checks if the host cpu supports X86-INSTRUCTION-SET. The instruction set
+that can be tested are "mmx, popcnt, sse, sse2, sse3, sse4.1, sse4.2,
+sse4a, avx, avx2, avx512f, fma, fma4, bmi, bmi2". If the instruction
+set is supported by the host cpu, the C preprocessor macro
+HAVE_XXX_INSTRUCTIONS is set to 1. The XXX is up-cased instruction case
+with dot replaced by underscore. For example, the test for "sse4.2"
+would export HAVE_SSE4_2_INSTRUCTIONS=1. This macro requires gcc
+extended builtin function "__builtin_cpu_init" and
+"__builtin_cpu_supports" to detect the cpu features. It will error out
+if the compiler doesn't has these builtins.
+
+If the test for the instruction set succeeded, the hook ACTION-IF-FOUND
+would run. Otherwise the hook ACTION-IF-NOT-FOUND would run if
+specified.
+
+See also AX_CHECK_X86_FEATURES, which checks all the possible
+instruction set and export the corresponding CFLAGS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_gcc_x86_cpu_supports.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_x86_cpu_supports.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_x86_cpu_supports.m4).
+
+License
+*******
+
+Copyright (C) 2016 Felix Chern <idryman@gmail.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_gcc_x86_cpuid, Next: ax_generate_changelog, Prev: ax_gcc_x86_cpu_supports, Up: The Macros
+
+ax_gcc_x86_cpuid
+================
+
+Synopsis
+********
+
+ AX_GCC_X86_CPUID(OP)
+ AX_GCC_X86_CPUID_COUNT(OP, COUNT)
+
+Description
+***********
+
+On Pentium and later x86 processors, with gcc or a compiler that has a
+compatible syntax for inline assembly instructions, run a small program
+that executes the cpuid instruction with input OP. This can be used to
+detect the CPU type. AX_GCC_X86_CPUID_COUNT takes an additional COUNT
+parameter that gets passed into register ECX before calling cpuid.
+
+On output, the values of the eax, ebx, ecx, and edx registers are stored
+as hexadecimal strings as "eax:ebx:ecx:edx" in the cache variable
+ax_cv_gcc_x86_cpuid_OP.
+
+If the cpuid instruction fails (because you are running a
+cross-compiler, or because you are not using gcc, or because you are on
+a processor that doesn't have this instruction), ax_cv_gcc_x86_cpuid_OP
+is set to the string "unknown".
+
+This macro mainly exists to be used in AX_GCC_ARCHFLAG.
+
+Source Code
+***********
+
+Download the latest version of 'ax_gcc_x86_cpuid.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_x86_cpuid.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_x86_cpuid.m4).
+
+License
+*******
+
+Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
+Copyright (C) 2008 Matteo Frigo
+Copyright (C) 2015 Michael Petch <mpetch@capp-sysware.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_generate_changelog, Next: ax_gnu_autotest, Prev: ax_gcc_x86_cpuid, Up: The Macros
+
+ax_generate_changelog
+=====================
+
+Synopsis
+********
+
+ AX_GENERATE_CHANGELOG()
+
+Description
+***********
+
+Builds a rule for generating a ChangeLog file from version control
+system commit messages. Currently, the only supported VCS is git, but
+support for others could be added in future.
+
+Defines GENERATE_CHANGELOG_RULES which should be substituted in your
+Makefile.
+
+Usage example:
+
+configure.ac:
+
+ AX_GENERATE_CHANGELOG
+
+Makefile.am:
+
+ @GENERATE_CHANGELOG_RULES@
+ CHANGELOG_START = 0.2.3^
+ dist-hook: dist-ChangeLog
+
+ChangeLog (stub committed to VCS):
+
+ The ChangeLog is auto-generated when releasing.
+ If you are seeing this, use 'git log' for a detailed list of changes.
+
+This results in a "dist-ChangeLog" rule being added to the Makefile.
+When run, "dist-ChangeLog" will generate a ChangeLog in the
+$(top_distdir), using $(CHANGELOG_GIT_FLAGS) to format the output from
+"git log" being run in $(CHANGELOG_GIT_DIR).
+
+Unless Automake is initialised with the 'foreign' option, a dummy
+ChangeLog file must be committed to VCS in $(top_srcdir), containing the
+text above (for example). It will be substituted by the automatically
+generated ChangeLog during "make dist".
+
+Source Code
+***********
+
+Download the latest version of 'ax_generate_changelog.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_generate_changelog.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_generate_changelog.m4).
+
+License
+*******
+
+Copyright (C) 2015 David King <amigadave@amigadave.com>
+Copyright (C) 2015 Philip Withnall <philip.withnall@collabora.co.uk>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_gnu_autotest, Next: ax_have_adns, Prev: ax_generate_changelog, Up: The Macros
+
+ax_gnu_autotest
+===============
+
+Synopsis
+********
+
+ AX_GNU_AUTOTEST([testdir = `tests'], [testsuites = `testsuite'],
+ [atlocal-sources = `'], [gen-package = `yes'],
+ [force = `no'])
+
+Description
+***********
+
+Sets up one or multiple GNU Autotest test suites [1].
+
+TL;DR:
+
+ * Write tests/testsuite.at as normal
+ * Add to configure.ac: AX_GNU_AUTOTEST
+ * Add to Makefile.am or Makefile.in in top_srcdir:
+ @AX_GNU_AUTOTEST_DEFAULT@
+ * autoreconf && ./configure && make check
+
+GNU Autotest is a very powerful testing framework to script executing
+binaries, observing their output and logging failures, all in the same
+portable manner as configure itself. But the only help given the
+developer in setting up the framework is the AC_CONFIG_TESTDIR()
+command, which leaves several additional steps up to the developer
+copying examples from the manual:
+
+ * generating the "package.m4" file used in generating the "testsuite"
+ * generating the "testsuite" executable by calling autom4te
+ * adding Makefile rules to keep both "package.m4" and "testsuite"
+ current
+ * figuring out how to do all the above if the Makefile does not reside
+ in the testdir
+
+This command takes care of all of the above. It is designed to be
+called multiple times for different testdir directories, to have
+multiple testsuites scripts per directory and to handle the optional
+"package.m4" and "atlocal" (re)generation.
+
+The various actions taken by this command happen in different phases of
+the build process:
+
+ 1) During the autoconf execution, generate the testsuites and any
+ "package.m4" files. So these are already available before configure
+ ran. The reasoning for deviating from the examples in [1] is that
+ these files are distributed and must be placed in the srcdir: it
+ seems cleaner to not generate anything in srcdir during any of the
+ later phases.
+ 2) During the config.status execution (following the configure
+ execution), generate "atconfig" and any "atlocal" files in the
+ buildir. The "atconfig" generation is handled by calling
+ AC_CONFIG_TESTDIR() so the developer does not have to do so
+ themselves.
+ 3) During the execution of make, several additional rules and file
+ lists are made available via AC_SUBST(). The rules are intended
+ to be called where appropriate (e.g. make check can depend on
+ check-autotest) and the file lists are intended to be added
+ to the appropriate lists (i.e. to DISTCLEANFILES and EXTRA_DIST).
+
+Description of AX_GNU_AUTOTEST() arguments:
+
+ * testdir: directory-name containing the testsuites. AX_GNU_AUTOTEST()
+ must be called exactly once for each directory containing testsuites.
+ If empty, defaults to "tests".
+ * testsuites: space-separated list of words, where each word is the
+ name of a test suite script optionally followed by a colon and the
+ name of the scripts source file. If the source file is not given,
+ it defaults to the script name suffixed by ".at". So these words
+ are all equivalent: "foo", "foo:" and "foo:foo.at". If the argument
+ is empty, it defaults to "testsuite". The script filenames must not
+ contain any path, but that is allowed for the source filenames.
+ * atlocal-sources: space- or colon-separated list of filenames, which
+ are registered with AC_CONFIG_FILES() as the sources of atlocal.
+ If empty, no atlocal file is generated.
+ * gen-package: boolean ("yes" or "no") indicating whether "package.m4"
+ should be generated. If empty, defaults to "yes".
+ * force: boolean ("yes" or "no") whether to treat errors in arguments
+ as errors and abort (for "no") or whether to ignore any such errors
+ (for "yes"). If empty, defaults to "no".
+
+All filenames above must be relative. The testdir name is interpreted
+relative to top_srcdir. All other names are interpreted relative to the
+testdir. The boolean values are interpreted as "yes" for any non-empty
+value except "0", "n", "no" and their mixed-case variants.
+
+Description of Makefile.am / Makefile.in substitutions:
+
+ * AX_GNU_AUTOTEST_RULES: the make rules provided here. Substitute this
+ in a separate line.
+ * AX_GNU_AUTOTEST_DCLEAN: the list of files to be added to
+ DISTCLEANFILES.
+ * AX_GNU_AUTOTEST_DIST: the list of files to be added to EXTRA_DIST.
+ * AX_GNU_AUTOTEST_DEFAULT: includes all other substitutions and uses
+ them in a "default" way.
+
+All must be used as a substitution (@...@) instead of as a variable
+($(...) or ${...}). These substitutions are generated multiple times,
+once for each directory where an affected Makefile may be located. All
+substitutions start with the base as given above but may have suffixes
+for the directories. Assuming this example in configure.ac:
+
+ AX_GNU_AUTOTEST([foo/bar])
+ AX_GNU_AUTOTEST([baz])
+
+Then the following substitutions are available (where <base> stands for
+one of the above prefixes):
+
+ * <base> : for use in top_srcdir/Makefile
+ * <base>_foo : for use in top_srcdir/foo/Makefile
+ * <base>_foo_bar : for use in top_srcdir/foo/bar/Makefile
+ * <base>_baz : for use in top_srcdir/baz/Makefile
+
+The <base> substitutions cover both foo/bar and baz, so none of the
+other substitutions should be used. Indeed, no Makefiles are needed in
+the other directories. But if sub-directory Makefiles are used, then
+both <base>_baz and either of <base>_foo or <base>_foo_bar must be used
+in their respective Makefiles.
+
+Description of Makefile targets defined by AX_GNU_AUTOTEST_RULES*:
+
+ * check-autotest: The equivalent of check.
+ * installcheck-autotest: The equivalent of installcheck.
+ * clean-autotest: The equivalent of clean.
+
+The developer can either define the above targets as dependencies of
+their appropriate equivalent rule or of their *-local equivalent rule
+for automake or they can define a rule with a sub-make call as they
+wish.
+
+All rules are dependent on like-named rules for each sub-directory and
+for each testsuite. Only the testsuite rules actually do any work, the
+rest are just collectors and convenience names. Assuming this example
+in configure.ac:
+
+ AX_GNU_AUTOTEST([foo], [testsuite bar])
+ AX_GNU_AUTOTEST([baz])
+
+Then AX_GNU_AUTOTEST_RULES defines these check rules (likewise for
+installcheck and clean):
+
+ check-autotest: check-autotest-foo check-autotest-baz
+ check-autotest-foo: check-autotest-foo-testsuite check-autotest-foo-bar
+ check-autotest-baz: check-autotest-baz-testsuite
+ check-autotest-foo-testsuite # Executes foo/testsuite -C foo
+ check-autotest-foo-bar # Executes foo/bar -C foo
+ check-autotest-baz-testsuite # Executes baz/testsuite -C baz
+
+And AX_GNU_AUTOTEST_RULES_baz defines these check rules:
+
+ check-autotest: check-autotest-testsuite
+ check-autotest-testsuite # Executes testsuite (which is baz/testsuite)
+
+Note how the rule names only contain the directory and testsuite paths
+relative to the Makefile location. Also note how each testsuite is
+executed in its respective testdir.
+
+In addition to the above, AX_GNU_AUTOTEST_RULES* also contains the rules
+to keep the testsuites, "package.m4" and "atconfig" updated. The
+matching rules to keep "atlocal" updated are generated by automake if
+that is used or are the responsibility of the developer.
+
+All testsuite executions (except for clean) use variables
+AX_GNU_AUTOTEST_FLAGS, AX_GNU_AUTOTEST_CHECK_FLAGS,
+AX_GNU_AUTOTEST_INSTALLCHECK_FLAGS and more path-and-script-specific
+variants for additional command line options. These variables can be
+defined by the developer to pass options to the testsuite. In the
+example above, the rule check-autotest-foo-bar would look like this:
+
+ check-autotest-foo-bar:
+ foo/bar -C foo $(AX_GNU_AUTOTEST_FLAGS) \
+ $(AX_GNU_AUTOTEST_CHECK_FLAGS) \
+ $(AX_GNU_AUTOTEST_FLAGS_foo) \
+ $(AX_GNU_AUTOTEST_CHECK_FLAGS_foo) \
+ $(AX_GNU_AUTOTEST_FLAGS_foo_bar) \
+ $(AX_GNU_AUTOTEST_CHECK_FLAGS_foo_bar)
+
+Description of Makefile file lists:
+
+These lists are intended to be added to DISTCLEANFILES and EXTRA_DIST.
+The *_DCLEAN list contains all "atconfig" files and the *_DIST list
+contains all testsuites and "package.m4" files. The lists are again
+generated per directory: so AX_GNU_AUTOTEST_DCLEAN contains all
+"atconfig" files while e.g. AX_GNU_AUTOTEST_DIST_foo contains only
+files below the "foo" directory. These file lists are prevented from
+becoming Makefile variables by calling AM_SUBST_NOTMAKE(): that way,
+only the single version used by the Makefile is substituted, not all
+lists for all other paths as well. So use either like this:
+
+ DISTCLEANFILES = @AX_GNU_AUTOTEST_DCLEAN@
+ EXTRA_DIST = @AX_GNU_AUTOTEST_DIST_foo@
+
+Or like this:
+
+ AX_GNU_AUTOTEST_DCLEAN_foo = @AX_GNU_AUTOTEST_DCLEAN_foo@
+ AX_GNU_AUTOTEST_DIST_foo = @AX_GNU_AUTOTEST_DIST_foo@
+ DISTCLEANFILES = ${AX_GNU_AUTOTEST_DCLEAN_foo}
+ EXTRA_DIST = ${AX_GNU_AUTOTEST_DIST_foo}
+
+Description of shorthand default Makefile contents defined by
+AX_GNU_AUTOTEST_DEFAULT*:
+
+This shorthand defines the appropriate rules, adds the file lists to the
+proper variables and makes the new targets dependencies of the standard
+"check", "installcheck" and "clean" targets. AX_GNU_AUTOTEST_DEFAULT is
+for example equivalent to:
+
+ @AX_GNU_AUTOTEST_RULES@
+ check: check-autotest
+ installcheck: installcheck-autotest
+ clean: clean-autotest
+ distclean: distclean-autotest
+ distclean-autotest: clean-autotest
+ -rm -f @AX_GNU_AUTOTEST_DCLEAN@
+ .PHONY: distclean-autotest
+ EXTRA_DIST += @AX_GNU_AUTOTEST_DIST@
+
+Note that this is copied verbatim into the Makefile (after expansion of
+the contained @...@ substitutions): it does not shadow the default
+targets as would happen if the same lines were written in a Makefile.am
+file. And also note the use of the += operator: this will not be
+compatible with all versions of Make. Finally, the DISTCLEANFILES list
+is not used because automake only uses that list if it saw the variable
+in the Makefile.am file: in a substitution, it gets ignored unless the
+user already used the list.
+
+Alternative standard GNU test suites not supported here:
+
+ * Automake test suites configured by the TESTS variable [2]
+ * DejaGnu test suites [3,4]
+
+[1]:
+<https://www.gnu.org/software/autoconf/manual/html_node/Using-Autotest.html>
+
+[2]: <https://www.gnu.org/software/automake/manual/html_node/Tests.html>
+
+[3]: <https://www.gnu.org/software/dejagnu/>
+
+[4]:
+<https://www.gnu.org/software/automake/manual/html_node/DejaGnu-Tests.html>
+
+Source Code
+***********
+
+Download the latest version of 'ax_gnu_autotest.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gnu_autotest.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gnu_autotest.m4).
+
+License
+*******
+
+Copyright (C) 2015 Olaf Mandel <olaf@mandel.name>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_have_adns, Next: ax_have_epoll, Prev: ax_gnu_autotest, Up: The Macros
+
+ax_have_adns
+============
+
+Synopsis
+********
+
+ AX_HAVE_ADNS([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+Check whether the GNU ADNS library available from
+http://www.chiark.greenend.org.uk/~ian/adns/ is installed on this
+system. The test is known to work with version 1.4 (or later). If the
+library is found, the flags necessary to link it are added to $LIBS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_have_adns.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_adns.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_adns.m4).
+
+License
+*******
+
+Copyright (C) 2008 Peter Simons <simons@cryp.to>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_have_epoll, Next: ax_have_poll, Prev: ax_have_adns, Up: The Macros
+
+ax_have_epoll
+=============
+
+Synopsis
+********
+
+ AX_HAVE_EPOLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+ AX_HAVE_EPOLL_PWAIT([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+This macro determines whether the system supports the epoll I/O event
+interface. A neat usage example would be:
+
+ AX_HAVE_EPOLL(
+ [AX_CONFIG_FEATURE_ENABLE(epoll)],
+ [AX_CONFIG_FEATURE_DISABLE(epoll)])
+ AX_CONFIG_FEATURE(
+ [epoll], [This platform supports epoll(7)],
+ [HAVE_EPOLL], [This platform supports epoll(7).])
+
+The epoll interface was added to the Linux kernel in version 2.5.45, and
+the macro verifies that a kernel newer than this is installed. This
+check is somewhat unreliable if <linux/version.h> doesn't match the
+running kernel, but it is necessary regardless, because glibc comes with
+stubs for the epoll_create(), epoll_wait(), etc. that allow programs to
+compile and link even if the kernel is too old; the problem would then
+be detected only at runtime.
+
+Linux kernel version 2.6.19 adds the epoll_pwait() call in addition to
+epoll_wait(). The availability of that function can be tested with the
+second macro. Generally speaking, it is safe to assume that
+AX_HAVE_EPOLL would succeed if AX_HAVE_EPOLL_PWAIT has, but not the
+other way round.
+
+Source Code
+***********
+
+Download the latest version of 'ax_have_epoll.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_epoll.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_epoll.m4).
+
+License
+*******
+
+Copyright (C) 2008 Peter Simons <simons@cryp.to>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_have_poll, Next: ax_have_qt, Prev: ax_have_epoll, Up: The Macros
+
+ax_have_poll
+============
+
+Synopsis
+********
+
+ AX_HAVE_POLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+ AX_HAVE_PPOLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+This macro determines whether the system supports the poll I/O event
+interface. A neat usage example would be:
+
+ AX_HAVE_POLL(
+ [AX_CONFIG_FEATURE_ENABLE(poll)],
+ [AX_CONFIG_FEATURE_DISABLE(poll)])
+ AX_CONFIG_FEATURE(
+ [poll], [This platform supports poll(7)],
+ [HAVE_POLL], [This platform supports poll(7).])
+
+Some systems - most notably Linux kernel 2.6.16 and later - also have
+the variant ppoll(). The availability of that function can be tested
+with the second macro. Generally speaking, it is safe to assume that
+AX_HAVE_POLL would succeed if AX_HAVE_PPOLL has, but not the other way
+round.
+
+Source Code
+***********
+
+Download the latest version of 'ax_have_poll.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_poll.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_poll.m4).
+
+License
+*******
+
+Copyright (C) 2009 Peter Simons <simons@cryp.to>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_have_qt, Next: ax_have_select, Prev: ax_have_poll, Up: The Macros
+
+ax_have_qt
+==========
+
+Synopsis
+********
+
+ AX_HAVE_QT
+
+Description
+***********
+
+Searches $PATH and queries qmake for Qt include files, libraries and Qt
+binary utilities. The macro only supports Qt5 or later.
+
+The following shell variable is set to either "yes" or "no":
+
+ have_qt
+
+Additionally, the following variables are exported:
+
+ QT_CXXFLAGS
+ QT_LIBS
+ QT_MOC
+ QT_UIC
+ QT_RCC
+ QT_LRELEASE
+ QT_LUPDATE
+ QT_DIR
+
+which respectively contain an "-I" flag pointing to the Qt include
+directory, link flags necessary to link with Qt and X, the full path to
+the meta object compiler and the user interface compiler both, and
+finally the variable QTDIR as Qt likes to see it defined.
+
+Example lines for Makefile.in:
+
+ CXXFLAGS = @QT_CXXFLAGS@
+ MOC = @QT_MOC@
+
+After the variables have been set, a trial compile and link is performed
+to check the correct functioning of the meta object compiler. This test
+may fail when the different detected elements stem from different
+releases of the Qt framework. In that case, an error message is emitted
+and configure stops.
+
+No common variables such as $LIBS or $CFLAGS are polluted.
+
+Source Code
+***********
+
+Download the latest version of 'ax_have_qt.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_qt.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_qt.m4).
+
+License
+*******
+
+Copyright (C) 2008 Bastiaan Veelo <Bastiaan@Veelo.net>
+Copyright (C) 2014 Alex Henrie <alexhenrie24@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_have_select, Next: ax_include_strcasecmp, Prev: ax_have_qt, Up: The Macros
+
+ax_have_select
+==============
+
+Synopsis
+********
+
+ AX_HAVE_SELECT([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+ AX_HAVE_PSELECT([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+This macro determines whether the system supports the select I/O event
+interface. A neat usage example would be:
+
+ AX_HAVE_SELECT(
+ [AX_CONFIG_FEATURE_ENABLE(select)],
+ [AX_CONFIG_FEATURE_DISABLE(select)])
+ AX_CONFIG_FEATURE(
+ [select], [This platform supports select(7)],
+ [HAVE_SELECT], [This platform supports select(7).])
+
+Some systems also have the variant pselect(). The availability of that
+function can be tested with the second macro. Generally speaking, it is
+safe to assume that AX_HAVE_SELECT would succeed if AX_HAVE_SELECT_PWAIT
+has, but not the other way round.
+
+Source Code
+***********
+
+Download the latest version of 'ax_have_select.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_select.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_select.m4).
+
+License
+*******
+
+Copyright (C) 2009 Peter Simons <simons@cryp.to>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_include_strcasecmp, Next: ax_install_files, Prev: ax_have_select, Up: The Macros
+
+ax_include_strcasecmp
+=====================
+
+Synopsis
+********
+
+ AX_INCLUDE_STRCASECMP
+
+Description
+***********
+
+This macro tries to find a header for strcasecmp() in strings.h, then
+string.h, and AC_DEFINEs AX_STRCASECMP_HEADER to the value it found.
+Use it in your source like so:
+
+ #ifdef AX_STRCASECMP_HEADER
+ #include AX_STRCASECMP_HEADER
+ #endif
+
+Source Code
+***********
+
+Download the latest version of 'ax_include_strcasecmp.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_include_strcasecmp.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_include_strcasecmp.m4).
+
+License
+*******
+
+Copyright (C) 2012 Leo Davis <ldavis@speechfxinc.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_install_files, Next: ax_int128, Prev: ax_include_strcasecmp, Up: The Macros
+
+ax_install_files
+================
+
+Synopsis
+********
+
+ AX_INSTALL_FILES
+
+Description
+***********
+
+Adds target for creating a install_files file, which contains the list
+of files that will be installed.
+
+Source Code
+***********
+
+Download the latest version of 'ax_install_files.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_install_files.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_install_files.m4).
+
+License
+*******
+
+Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_int128, Next: ax_is_release, Prev: ax_install_files, Up: The Macros
+
+ax_int128
+=========
+
+Synopsis
+********
+
+ AX_HAVE_INT128
+
+Description
+***********
+
+Check whether the compiler provides __int128. If so, define
+HAVE_INT128.
+
+Works with GCC >= 4.6.
+
+TODO: Provide int128[u]_t & work with other compilers.
+
+Source Code
+***********
+
+Download the latest version of 'ax_int128.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_int128.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_int128.m4).
+
+License
+*******
+
+Copyright (C) 2019 Reuben Thomas <rrt@sc3d.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_is_release, Next: ax_java_check_class, Prev: ax_int128, Up: The Macros
+
+ax_is_release
+=============
+
+Synopsis
+********
+
+ AX_IS_RELEASE(POLICY)
+
+Description
+***********
+
+Determine whether the code is being configured as a release, or from
+git. Set the ax_is_release variable to 'yes' or 'no'.
+
+If building a release version, it is recommended that the configure
+script disable compiler errors and debug features, by conditionalising
+them on the ax_is_release variable. If building from git, these
+features should be enabled.
+
+The POLICY parameter specifies how ax_is_release is determined. It can
+take the following values:
+
+ * git-directory: ax_is_release will be 'no' if a '.git'
+ directory or git worktree exists
+ * minor-version: ax_is_release will be 'no' if the minor version number
+ in $PACKAGE_VERSION is odd; this assumes
+ $PACKAGE_VERSION follows the 'major.minor.micro' scheme
+ * micro-version: ax_is_release will be 'no' if the micro version number
+ in $PACKAGE_VERSION is odd; this assumes
+ $PACKAGE_VERSION follows the 'major.minor.micro' scheme
+ * dash-version: ax_is_release will be 'no' if there is a dash '-'
+ in $PACKAGE_VERSION, for example 1.2-pre3, 1.2.42-a8b9
+ or 2.0-dirty (in particular this is suitable for use
+ with git-version-gen)
+ * always: ax_is_release will always be 'yes'
+ * never: ax_is_release will always be 'no'
+
+Other policies may be added in future.
+
+Source Code
+***********
+
+Download the latest version of 'ax_is_release.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_is_release.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_is_release.m4).
+
+License
+*******
+
+Copyright (C) 2015 Philip Withnall <philip@tecnocode.co.uk>
+Copyright (C) 2016 Collabora Ltd.
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved.
+
+\1f
+File: autoconf-archive.info, Node: ax_java_check_class, Next: ax_java_options, Prev: ax_is_release, Up: The Macros
+
+ax_java_check_class
+===================
+
+Synopsis
+********
+
+ AX_JAVA_CHECK_CLASS(<class>,<action-if-found>,<action-if-not-found>)
+
+Description
+***********
+
+Test if a Java class is available. Based on AX_PROG_JAVAC_WORKS. This
+version uses a cache variable which is both compiler, options and
+classpath dependent (so if you switch from javac to gcj it correctly
+notices and redoes the test).
+
+The macro tries to compile a minimal program importing <class>. Some
+newer compilers moan about the failure to use this but fail or produce a
+class file anyway. All moaning is sunk to /dev/null since I only wanted
+to know if the class could be imported. This is a recommended followup
+to AX_CHECK_JAVA_PLUGIN with classpath appropriately adjusted.
+
+Source Code
+***********
+
+Download the latest version of 'ax_java_check_class.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_java_check_class.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_java_check_class.m4).
+
+License
+*******
+
+Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_java_options, Next: ax_jni_include_dir, Prev: ax_java_check_class, Up: The Macros
+
+ax_java_options
+===============
+
+Synopsis
+********
+
+ AX_JAVA_OPTIONS
+
+Description
+***********
+
+AX_JAVA_OPTIONS adds configure command line options used for Java m4
+macros. This Macro is optional.
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission. The
+general documentation, as well as the sample configure.in, is included
+in the AX_PROG_JAVA macro.
+
+Source Code
+***********
+
+Download the latest version of 'ax_java_options.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_java_options.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_java_options.m4).
+
+License
+*******
+
+Copyright (C) 2008 Devin Weaver <ktohg@tritarget.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_jni_include_dir, Next: ax_lapack, Prev: ax_java_options, Up: The Macros
+
+ax_jni_include_dir
+==================
+
+Synopsis
+********
+
+ AX_JNI_INCLUDE_DIR
+
+Description
+***********
+
+AX_JNI_INCLUDE_DIR finds include directories needed for compiling
+programs using the JNI interface.
+
+JNI include directories are usually in the Java distribution. This is
+deduced from the value of $JAVA_HOME, $JAVAC, or the path to "javac", in
+that order. When this macro completes, a list of directories is left in
+the variable JNI_INCLUDE_DIRS.
+
+Example usage follows:
+
+ AX_JNI_INCLUDE_DIR
+
+ for JNI_INCLUDE_DIR in $JNI_INCLUDE_DIRS
+ do
+ CPPFLAGS="$CPPFLAGS -I$JNI_INCLUDE_DIR"
+ done
+
+If you want to force a specific compiler:
+
+- at the configure.in level, set JAVAC=yourcompiler before calling
+AX_JNI_INCLUDE_DIR
+
+- at the configure level, setenv JAVAC
+
+This macro depends on AC_CANONICAL_HOST which requires that config.guess
+and config.sub be distributed along with the source code. See autoconf
+manual for details.
+
+Note: This macro can work with the autoconf M4 macros for Java programs.
+This particular macro is not part of the original set of macros.
+
+Source Code
+***********
+
+Download the latest version of 'ax_jni_include_dir.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_jni_include_dir.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_jni_include_dir.m4).
+
+License
+*******
+
+Copyright (C) 2008 Don Anderson <dda@sleepycat.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lapack, Next: ax_lib_beecrypt, Prev: ax_jni_include_dir, Up: The Macros
+
+ax_lapack
+=========
+
+Synopsis
+********
+
+ AX_LAPACK([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+This macro looks for a library that implements the LAPACK linear-algebra
+interface (see http://www.netlib.org/lapack/). On success, it sets the
+LAPACK_LIBS output variable to hold the requisite library linkages.
+
+To link with LAPACK, you should link with:
+
+ $LAPACK_LIBS $BLAS_LIBS $LIBS $FLIBS
+
+in that order. BLAS_LIBS is the output variable of the AX_BLAS macro,
+called automatically. FLIBS is the output variable of the
+AC_F77_LIBRARY_LDFLAGS macro (called if necessary by AX_BLAS), and is
+sometimes necessary in order to link with F77 libraries. Users will
+also need to use AC_F77_DUMMY_MAIN (see the autoconf manual), for the
+same reason.
+
+The user may also use -with-lapack=<lib> in order to use some specific
+LAPACK library <lib>. In order to link successfully, however, be aware
+that you will probably need to use the same Fortran compiler (which can
+be set via the F77 env. var.) as was used to compile the LAPACK and
+BLAS libraries.
+
+ACTION-IF-FOUND is a list of shell commands to run if a LAPACK library
+is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
+is not found. If ACTION-IF-FOUND is not specified, the default action
+will define HAVE_LAPACK.
+
+Source Code
+***********
+
+Download the latest version of 'ax_lapack.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lapack.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lapack.m4).
+
+License
+*******
+
+Copyright (C) 2009 Steven G. Johnson <stevenj@alum.mit.edu>
+Copyright (C) 2019 Geoffrey M. Oxberry <goxberry@gmail.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_beecrypt, Next: ax_lib_cgal_core, Prev: ax_lapack, Up: The Macros
+
+ax_lib_beecrypt
+===============
+
+Synopsis
+********
+
+ AX_LIB_BEECRYPT([yes|no|auto])
+
+Description
+***********
+
+Searches for the 'beecrypt' library with the -with... option.
+
+If found, define HAVE_BEECRYPT and macro BEECRYPT_LIBS. Also defines
+BEECRYPT_WITH_<algo> for the algorithms found available. Possible
+algorithms: BASE64 AES BF MD5 SHA1 SHA256 SHA384 SHA512.
+
+The argument is used if no -with...-beecrypt option is set. Value "yes"
+requires the configuration by default. Value "no" does not require it
+by default. Value "auto" configures the library only if available.
+
+See also AX_LIB_CRYPTO and AX_LIB_GCRYPT.
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_beecrypt.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_beecrypt.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_beecrypt.m4).
+
+License
+*******
+
+Copyright (C) 2009 Fabien Coelho <autoconf.archive@coelho.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_cgal_core, Next: ax_lib_crypto, Prev: ax_lib_beecrypt, Up: The Macros
+
+ax_lib_cgal_core
+================
+
+Synopsis
+********
+
+ AX_LIB_CGAL_CORE([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+Test for the CGAL_Core library.
+
+By using the "-with-cgal=" option, define a special installation
+directory. If CGAL is not found there, the script will fail
+immediately. Otherwise, $CGAL_HOME is searched, then standard system
+locations.
+
+NOTE: This script depends on BOOST_CPPFLAGS, so be sure to run
+AX_BOOST_BASE in advance.
+
+This macro calls:
+
+ AC_SUBST(CGAL_CPPFLAGS)
+ AC_SUBST(CGAL_LDFLAGS)
+
+And sets:
+
+ HAVE_CGAL
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_cgal_core.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_cgal_core.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_cgal_core.m4).
+
+License
+*******
+
+Copyright (C) 2010 Sebastian Hegler <sebastian.hegler@tu-dresden.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_crypto, Next: ax_lib_curl, Prev: ax_lib_cgal_core, Up: The Macros
+
+ax_lib_crypto
+=============
+
+Synopsis
+********
+
+ AX_LIB_CRYPTO([yes|no|auto])
+
+Description
+***********
+
+Searches for the 'crypto' library with the -with... option.
+
+If found, define HAVE_CRYPTO and macro CRYPTO_LIBS. Also defines
+CRYPTO_WITH_<algo> for the algorithms found available. Possible
+algorithms: AES BF CAMELLIA CAST DES IDEA RC2 RC5 MD2 MD4 MD5 SHA RIPEMD
+RSA DSA DH
+
+The argument is used if no -with...-crypto option is set. Value "yes"
+requires the configuration by default. Value "no" does not require it
+by default. Value "auto" configures the library only if available.
+
+See also AX_LIB_BEECRYPT and AX_LIB_GCRYPT.
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_crypto.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_crypto.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_crypto.m4).
+
+License
+*******
+
+Copyright (C) 2009 Fabien Coelho <autoconf.archive@coelho.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_curl, Next: ax_lib_ev, Prev: ax_lib_crypto, Up: The Macros
+
+ax_lib_curl
+===========
+
+Synopsis
+********
+
+ AX_LIB_CURL([VERSION],[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Checks for minimum curl library version VERSION. If successful executes
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+Defines CURL_LIBS and CURL_CFLAGS.
+
+A simple example:
+
+ AX_LIB_CURL([7.19.4],,[
+ AC_MSG_ERROR([Your system lacks libcurl >= 7.19.4])
+ ])
+
+This macro is a rearranged version of AC_LIB_CURL from Akos Maroy.
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_curl.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_curl.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_curl.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_ev, Next: ax_lib_expat, Prev: ax_lib_curl, Up: The Macros
+
+ax_lib_ev
+=========
+
+Synopsis
+********
+
+ AX_LIB_EV([VERSION],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+Checks for libev mimicking pkg-config's way of doing things for as long
+as upstream doesn't provide a .pc file. If successful and provided
+expand ACTION-IF-FOUND, otherwise expand ACTION-IF-NOT-FOUND, or, if
+omitted, error out like pkg-config does.
+
+Defines libev_LIBS and libev_CFLAGS.
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_ev.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_ev.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_ev.m4).
+
+License
+*******
+
+Copyright (C) 2012 Sebastian Freundt <freundt@fresse.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_expat, Next: ax_lib_firebird, Prev: ax_lib_ev, Up: The Macros
+
+ax_lib_expat
+============
+
+Synopsis
+********
+
+ AX_LIB_EXPAT([MINIMUM-VERSION])
+
+Description
+***********
+
+This macro provides tests of availability of Expat XML Parser of
+particular version or newer. This macro checks for Expat XML Parser
+headers and libraries and defines compilation flags
+
+Macro supports following options and their values:
+
+1) Single-option usage:
+
+ --with-expat -- yes, no, or path to Expat XML Parser
+ installation prefix
+
+2) Three-options usage (all options are required):
+
+ --with-expat=yes
+ --with-expat-inc -- path to base directory with Expat headers
+ --with-expat-lib -- linker flags for Expat
+
+This macro calls:
+
+ AC_SUBST(EXPAT_CFLAGS)
+ AC_SUBST(EXPAT_LIBS)
+ AC_SUBST(EXPAT_LDFLAGS)
+ AC_SUBST(EXPAT_VERSION) -- only if version requirement is used
+
+And sets:
+
+ HAVE_EXPAT
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_expat.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_expat.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_expat.m4).
+
+License
+*******
+
+Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_firebird, Next: ax_lib_gcrypt, Prev: ax_lib_expat, Up: The Macros
+
+ax_lib_firebird
+===============
+
+Synopsis
+********
+
+ AX_LIB_FIREBIRD([MINIMUM-VERSION])
+
+Description
+***********
+
+Test for the Firebird client library of a particular version (or newer).
+This macro takes only one optional argument, the required version of
+Firebird library. If required version is not passed, then 1.5.0 is used
+in test of existence of Firebird client library.
+
+For more information about Firebird API versioning check: API Identifies
+Client Version http://www.firebirdsql.org/rlsnotes20/rnfbtwo-apiods.html
+
+If no installation prefix to the installed Firebird library is given the
+macro searches under /usr, /usr/local, and /opt.
+
+This macro calls:
+
+ AC_SUBST(FIREBIRD_CFLAGS)
+ AC_SUBST(FIREBIRD_LDFLAGS)
+ AC_SUBST(FIREBIRD_VERSION)
+
+And sets:
+
+ HAVE_FIREBIRD
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_firebird.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_firebird.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_firebird.m4).
+
+License
+*******
+
+Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_gcrypt, Next: ax_lib_gdal, Prev: ax_lib_firebird, Up: The Macros
+
+ax_lib_gcrypt
+=============
+
+Synopsis
+********
+
+ AX_LIB_GCRYPT([yes|no|auto])
+
+Description
+***********
+
+Searches for the 'gcrypt' library with the -with... option.
+
+If found, define HAVE_GCRYPT and macro GCRYPT_LIBS and GCRYPT_CFLAGS.
+Also defines GCRYPT_WITH_<algo> for the algorithms found available.
+Possible algorithms are: AES ARCFOUR BLOWFISH CAST5 DES IDEA RFC2268
+SERPENT TWOFISH CRC HAVAL MD2 MD4 MD5 RMD160 SHA0 SHA1 SHA224 SHA256
+SHA384 SHA512 TIGER WHIRLPOOL DSA ELGAMAL RSA
+
+The argument is used if no -with...-gcrypt option is set. Value "yes"
+requires the configuration by default. Value "no" does not require it
+by default. Value "auto" configures the library only if available.
+
+See also AX_LIB_BEECRYPT and AX_LIB_CRYPTO.
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_gcrypt.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_gcrypt.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_gcrypt.m4).
+
+License
+*******
+
+Copyright (C) 2009 Fabien Coelho <autoconf.archive@coelho.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_gdal, Next: ax_lib_hdf5, Prev: ax_lib_gcrypt, Up: The Macros
+
+ax_lib_gdal
+===========
+
+Synopsis
+********
+
+ AX_LIB_GDAL([MINIMUM-VERSION])
+
+Description
+***********
+
+This macro provides tests of availability of GDAL/OGR library of
+particular version or newer.
+
+AX_LIB_GDAL macro takes only one argument which is optional. If there
+is no required version passed, then macro does not run version test.
+
+The -with-gdal option takes complete path to gdal-config utility,
+
+This macro calls AC_SUBST for:
+
+ GDAL_VERSION
+ GDAL_CFLAGS
+ GDAL_LDFLAGS
+ GDAL_DEP_LDFLAGS
+ GDAL_OGR_ENABLED
+
+and AC_DEFINE for:
+
+ HAVE_GDAL
+ HAVE_GDAL_OGR
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_gdal.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_gdal.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_gdal.m4).
+
+License
+*******
+
+Copyright (C) 2011 Mateusz Loskot <mateusz@loskot.net>
+Copyright (C) 2011 Alessandro Candini <candini@meeo.it>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_hdf5, Next: ax_lib_id3, Prev: ax_lib_gdal, Up: The Macros
+
+ax_lib_hdf5
+===========
+
+Synopsis
+********
+
+ AX_LIB_HDF5([serial/parallel])
+
+Description
+***********
+
+This macro provides tests of the availability of HDF5 library.
+
+The optional macro argument should be either 'serial' or 'parallel'.
+The former only looks for serial HDF5 installations via h5cc. The
+latter only looks for parallel HDF5 installations via h5pcc. If the
+optional argument is omitted, serial installations will be preferred
+over parallel ones.
+
+The macro adds a -with-hdf5 option accepting one of three values:
+
+ no - do not check for the HDF5 library.
+ yes - do check for HDF5 library in standard locations.
+ path - complete path to the HDF5 helper script h5cc or h5pcc.
+
+If HDF5 is successfully found, this macro calls
+
+ AC_SUBST(HDF5_VERSION)
+ AC_SUBST(HDF5_CC)
+ AC_SUBST(HDF5_CFLAGS)
+ AC_SUBST(HDF5_CPPFLAGS)
+ AC_SUBST(HDF5_LDFLAGS)
+ AC_SUBST(HDF5_LIBS)
+ AC_SUBST(HDF5_FC)
+ AC_SUBST(HDF5_FFLAGS)
+ AC_SUBST(HDF5_FLIBS)
+ AC_SUBST(HDF5_TYPE)
+ AC_DEFINE(HAVE_HDF5)
+
+and sets with_hdf5="yes". Additionally, the macro sets
+with_hdf5_fortran="yes" if a matching Fortran wrapper script is found.
+Note that Autoconf's Fortran support is not used to perform this check.
+H5CC and H5FC will contain the appropriate serial or parallel HDF5
+wrapper script locations.
+
+If HDF5 is disabled or not found, this macros sets with_hdf5="no" and
+with_hdf5_fortran="no".
+
+Your configuration script can test $with_hdf to take any further
+actions. HDF5_{C,CPP,LD}FLAGS may be used when building with C or C++.
+HDF5_F{FLAGS,LIBS} should be used when building Fortran applications.
+
+To use the macro, one would code one of the following in "configure.ac"
+before AC_OUTPUT:
+
+ 1) dnl Check for HDF5 support
+ AX_LIB_HDF5()
+
+ 2) dnl Check for serial HDF5 support
+ AX_LIB_HDF5([serial])
+
+ 3) dnl Check for parallel HDF5 support
+ AX_LIB_HDF5([parallel])
+
+One could test $with_hdf5 for the outcome or display it as follows
+
+ echo "HDF5 support: $with_hdf5"
+
+You could also for example, override the default CC in "configure.ac" to
+enforce compilation with the compiler that HDF5 uses:
+
+ AX_LIB_HDF5([parallel])
+ if test "$with_hdf5" = "yes"; then
+ CC="$HDF5_CC"
+ else
+ AC_MSG_ERROR([Unable to find HDF5, we need parallel HDF5.])
+ fi
+
+The HDF5_TYPE environment variable returns "parallel" or "serial",
+depending on which type of library is found.
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_hdf5.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_hdf5.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_hdf5.m4).
+
+License
+*******
+
+Copyright (C) 2009 Timothy Brown <tbrown@freeshell.org>
+Copyright (C) 2010 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_id3, Next: ax_lib_libkml, Prev: ax_lib_hdf5, Up: The Macros
+
+ax_lib_id3
+==========
+
+Synopsis
+********
+
+ AX_LIB_ID3([ACTION-IF-TRUE], [ACTION-IF-FALSE])
+
+Description
+***********
+
+This macro will check for the existence of id3lib
+(http://id3lib.sourceforge.net/). It does this by checking for the
+header file id3.h and the id3 library object file. A -with-id3lib
+option is supported as well. The following output variables are set
+with AC_SUBST:
+
+ ID3_CPPFLAGS
+ ID3_LDFLAGS
+ ID3_LIBS
+
+You can use them like this in Makefile.am:
+
+ AM_CPPFLAGS = $(ID3_CPPFLAGS)
+ AM_LDFLAGS = $(ID3_LDFLAGS)
+ program_LDADD = $(ID3_LIBS)
+
+Additionally, the C preprocessor symbol HAVE_ID3LIB will be defined with
+AC_DEFINE if id3lib is available.
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_id3.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_id3.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_id3.m4).
+
+License
+*******
+
+Copyright (C) 2009 Oskar Liljeblad <oskar@osk.mine.nu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_libkml, Next: ax_lib_metis, Prev: ax_lib_id3, Up: The Macros
+
+ax_lib_libkml
+=============
+
+Synopsis
+********
+
+ AX_LIB_LIBKML([MINIMUM-VERSION])
+
+Description
+***********
+
+This macro tests whether Google's libkml library
+<http://code.google.com/p/libkml/> is available in particular version or
+newer. The generated configure script will support the following
+options:
+
+1) Single-option usage:
+
+ --with-libkml - yes, no or path to Google libkml installation prefix
+
+2) Three-options usage (all options are required):
+
+ --with-libkml=yes
+ --with-libkml-inc - path to base directory with headers
+ --with-libkml-lib - linker flags for
+
+This macro calls:
+
+ AC_SUBST(LIBKML_CFLAGS)
+ AC_SUBST(LIBKML_LDFLAGS)
+ AC_SUBST(LIBKML_VERSION) - only if version requirement is used
+
+And sets:
+
+ HAVE_LIBKML
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_libkml.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_libkml.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_libkml.m4).
+
+License
+*******
+
+Copyright (C) 2010 Mateusz Loskot <mateusz@loskot.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_metis, Next: ax_lib_mysql, Prev: ax_lib_libkml, Up: The Macros
+
+ax_lib_metis
+============
+
+Synopsis
+********
+
+ AX_LIB_METIS([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+This macro searches for the METIS library in the user specified
+location. The user may specify the location either by defining the
+environment variable METIS or by using the -with-metis option to
+configure. If the environment variable is defined it has precedent over
+everything else. If no location was specified then it searches in
+/usr/lib and /usr/local/lib for the library and in /usr/include and
+/usr/local/include for the header files. Upon successful completion the
+variables METIS_LIB and METIS_INCLUDE are set.
+
+ACTION-IF-FOUND is a list of shell commands to run if a METIS library is
+found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it is
+not found. If ACTION-IF-FOUND is not specified, the default action will
+define HAVE_METIS. If ACTION-IF-NOT-FOUND is not specified then an error
+will be generated halting configure.
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_metis.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_metis.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_metis.m4).
+
+License
+*******
+
+Copyright (C) 2008 Ben Bergen <ben@cs.fau.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_mysql, Next: ax_lib_mysqlcppconn, Prev: ax_lib_metis, Up: The Macros
+
+ax_lib_mysql
+============
+
+Synopsis
+********
+
+ AX_LIB_MYSQL([MINIMUM-VERSION])
+
+Description
+***********
+
+This macro provides tests of availability of MySQL client library of
+particular version or newer.
+
+AX_LIB_MYSQL macro takes only one argument which is optional. If there
+is no required version passed, then macro does not run version test.
+
+The -with-mysql option takes one of three possible values:
+
+no - do not check for MySQL client library
+
+yes - do check for MySQL library in standard locations (mysql_config
+should be in the PATH)
+
+path - complete path to mysql_config utility, use this option if
+mysql_config can't be found in the PATH
+
+This macro calls:
+
+ AC_SUBST(MYSQL_CFLAGS)
+ AC_SUBST(MYSQL_LDFLAGS)
+ AC_SUBST(MYSQL_VERSION)
+
+And sets:
+
+ HAVE_MYSQL
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_mysql.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_mysql.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_mysql.m4).
+
+License
+*******
+
+Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_mysqlcppconn, Next: ax_lib_netcdf4, Prev: ax_lib_mysql, Up: The Macros
+
+ax_lib_mysqlcppconn
+===================
+
+Synopsis
+********
+
+ AX_LIB_MYSQLCPPCONN([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+Test for the MySQL Connector/C++ libraries
+
+If no path to the installed library is given the macro searches under
+/usr, /usr/local, /opt and /opt/local.
+
+This macro calls:
+
+ AC_SUBST(LIBMYSQLCPPCONN_CXXFLAGS) / AC_SUBST(LIBMYSQLCPPCONN_LDFLAGS)
+
+And sets:
+
+ HAVE_LIBMYSQLCPPCONN
+
+Note that this library needs to link with either MySQL client library or
+MySQL Connector/C to work. The macros defined here don't take care of
+external dependencies so you have to do it on your own. See also
+AX_LIB_MYSQL macro.
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_mysqlcppconn.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_mysqlcppconn.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_mysqlcppconn.m4).
+
+License
+*******
+
+Copyright (C) 2011 Xiyue Deng <manphiz@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_netcdf4, Next: ax_lib_nettle, Prev: ax_lib_mysqlcppconn, Up: The Macros
+
+ax_lib_netcdf4
+==============
+
+Synopsis
+********
+
+ AX_LIB_NETCDF4([serial/parallel])
+
+Description
+***********
+
+This macro provides tests of the availability of the NetCDF v4 library.
+
+The optional macro argument should be either 'serial' or 'parallel'.
+The macro will call nc-config to check the output of the '-has-pnetcdf'
+option and error out if the requested parallel isn't supported.
+
+If the optional argument is omitted, no check is made to see if NetCDF
+has parallel support.
+
+The macro adds a -with-netcdf4 option accepting one of three values:
+
+ no - do not check for the NetCDF4 library.
+ yes - do check for NetCDF4 library in standard locations.
+ path - installation prefix for NetCDF version 4.
+
+If NetCDF4 is successfully found, this macro calls
+
+ AC_SUBST(NETCDF4_VERSION)
+ AC_SUBST(NETCDF4_CC)
+ AC_SUBST(NETCDF4_CFLAGS)
+ AC_SUBST(NETCDF4_CPPFLAGS)
+ AC_SUBST(NETCDF4_LDFLAGS)
+ AC_SUBST(NETCDF4_LIBS)
+ AC_SUBST(NETCDF4_FC)
+ AC_SUBST(NETCDF4_FFLAGS)
+ AC_SUBST(NETCDF4_FLIBS)
+ AC_DEFINE(HAVE_NETCDF4)
+
+It also sets
+
+ with_netcdf4="yes"
+ with_netcdf4_fortran="yes" (if NetCDF has Fortran support)
+ with_netcdf4_parallel="yes" (if NetCDF has MPI support)
+
+If NetCDF4 is disabled or not found, this macros sets
+
+ with_netcdf4="no"
+ with_netcdf4_fortran="no"
+
+Note it does not set with_netcdf4_parallel in this case.
+
+Your configuration script can test $with_netcdf4 to take any further
+actions. NETCDF4_{C,CPP,LD}FLAGS may be used when building with C or
+C++. NETCDF4_F{FLAGS,LIBS} and NETCDF4_LDFLAGS should be used when
+building Fortran applications.
+
+To use the macro, one would code one of the following in "configure.ac"
+before AC_OUTPUT:
+
+ 1) dnl Check for NetCDF4 support
+ AX_LIB_NETCDF4()
+
+ 2) dnl Check for serial NetCDF4 support
+ AX_LIB_NETCDF4([serial])
+
+ 3) dnl Check for parallel NetCDF4 support
+ AX_LIB_NETCDF4([parallel])
+
+One could test $with_netcdf4 for the outcome or display it as follows
+
+ echo "NetCDF v4 support: $with_netcdf4"
+
+One could also for example, override the default CC in "configure.ac" to
+enforce compilation with the compiler that NetCDF v4 was built with:
+
+ AX_LIB_NETCDF4([parallel])
+ if test "$with_netcdf4" = "yes"; then
+ CC="$NETCDF4_CC"
+ else
+ AC_MSG_ERROR([Unable to find NetCDF4, we need parallel NetCDF4.])
+ fi
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_netcdf4.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_netcdf4.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_netcdf4.m4).
+
+License
+*******
+
+Copyright (C) 2016 Timothy Brown <tbrown@freeshell.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_nettle, Next: ax_lib_nokalva, Prev: ax_lib_netcdf4, Up: The Macros
+
+ax_lib_nettle
+=============
+
+Synopsis
+********
+
+ AX_LIB_NETTLE([yes|no|auto])
+
+Description
+***********
+
+Searches for the 'nettle' library with the -with... option.
+
+If found, define HAVE_NETTLE and macro NETTLE_LIBS. Also defines
+NETTLE_WITH_<algo> for the algorithms found available. Possible
+algorithms: AES ARCTWO BLOWFISH CAST128 DES DES3 SERPENT TWOFISH MD2 MD4
+MD5 SHA1 SHA256.
+
+The argument is used if no -with...-nettle option is set. Value "yes"
+requires the configuration by default. Value "no" does not require it
+by default. Value "auto" configures the library only if available.
+
+See also AX_LIB_BEECRYPT, AX_LIB_CRYPTO, and AX_LIB_GCRYPT.
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_nettle.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_nettle.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_nettle.m4).
+
+License
+*******
+
+Copyright (C) 2009 Fabien Coelho <autoconf.archive@coelho.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_nokalva, Next: ax_lib_oracle_occi, Prev: ax_lib_nettle, Up: The Macros
+
+ax_lib_nokalva
+==============
+
+Synopsis
+********
+
+ AX_LIB_NOKALVA([ACTION-IF-TRUE], [ACTION-IF-FALSE])
+
+Description
+***********
+
+This macro will check for the existence of OSS Nokalva
+(http://www.oss.com/products/). It does this by checking for the header
+file asn1.h and the cppsoed library object file. A -with-nokalva option
+is supported as well. The following output variables are set with
+AC_SUBST:
+
+ NOKALVA_CPPFLAGS
+ NOKALVA_LDFLAGS
+ NOKALVA_LIBS
+
+You can use them like this in Makefile.am:
+
+ AM_CPPFLAGS = $(NOKALVA_CPPFLAGS)
+ AM_LDFLAGS = $(NOKALVA_LDFLAGS)
+ program_LDADD = $(NOKALVA_LIBS)
+
+Additionally, the C preprocessor symbol HAVE_NOKALVA will be defined
+with AC_DEFINE if Nokalva is available.
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_nokalva.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_nokalva.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_nokalva.m4).
+
+License
+*******
+
+Copyright (C) 2009 Krzysztof Burghardt <krzysztof@burghardt.pl>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_oracle_occi, Next: ax_lib_oracle_oci, Prev: ax_lib_nokalva, Up: The Macros
+
+ax_lib_oracle_occi
+==================
+
+Synopsis
+********
+
+ AX_LIB_ORACLE_OCCI([MINIMUM-VERSION])
+
+Description
+***********
+
+This macro provides tests of availability of Oracle OCCI API of
+particular version or newer. This macros checks for Oracle OCCI headers
+and libraries and defines compilation flags.
+
+Macro supports following options and their values:
+
+1) Single-option usage:
+
+ --with-occi -- path to ORACLE_HOME directory
+
+2) Two-options usage (both options are required):
+
+ --with-occi-include -- path to directory with OCCI headers
+ --with-occi-lib -- path to directory with OCCI libraries
+
+NOTE: These options described above do not take yes|no values. If 'yes'
+value is passed, then WARNING message will be displayed, 'no' value, as
+well as the -without-occi-* variations will cause the macro to not check
+anything.
+
+This macro calls:
+
+ AC_SUBST(ORACLE_OCCI_CPPFLAGS)
+ AC_SUBST(ORACLE_OCCI_LDFLAGS)
+ AC_SUBST(ORACLE_OCCI_VERSION)
+
+And sets:
+
+ HAVE_ORACLE_OCCI
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_oracle_occi.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_oracle_occi.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_oracle_occi.m4).
+
+License
+*******
+
+Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
+Copyright (C) 2012 Krzysztof Burghardt <krzysztof@burghardt.pl>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_oracle_oci, Next: ax_lib_orbit2, Prev: ax_lib_oracle_occi, Up: The Macros
+
+ax_lib_oracle_oci
+=================
+
+Synopsis
+********
+
+ AX_LIB_ORACLE_OCI([MINIMUM-VERSION])
+
+Description
+***********
+
+This macro provides tests of availability of Oracle OCI API of
+particular version or newer. This macros checks for Oracle OCI headers
+and libraries and defines compilation flags.
+
+Macro supports following options and their values:
+
+1) Single-option usage:
+
+ --with-oci -- path to ORACLE_HOME directory
+
+2) Two-options usage (both options are required):
+
+ --with-oci-include -- path to directory with OCI headers
+ --with-oci-lib -- path to directory with OCI libraries
+
+NOTE: These options described above do not take yes|no values. If 'yes'
+value is passed, then WARNING message will be displayed, 'no' value, as
+well as the -without-oci-* variations will cause the macro to not check
+anything.
+
+This macro calls:
+
+ AC_SUBST(ORACLE_OCI_CFLAGS)
+ AC_SUBST(ORACLE_OCI_LDFLAGS)
+ AC_SUBST(ORACLE_OCI_VERSION)
+
+And sets:
+
+ HAVE_ORACLE_OCI
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_oracle_oci.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_oracle_oci.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_oracle_oci.m4).
+
+License
+*******
+
+Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
+Copyright (C) 2015 Joost van Baal-Ilic <joostvb+autoconf@uvt.nl>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_orbit2, Next: ax_lib_postgresql, Prev: ax_lib_oracle_oci, Up: The Macros
+
+ax_lib_orbit2
+=============
+
+Synopsis
+********
+
+ AX_LIB_ORBIT2([VERSION],[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Checks for minimum Orbit2 library version VERSION. If successful
+executes ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+Defines ORBIT2_LIBS and ORBIT2_CFLAGS.
+
+A simple example:
+
+ AX_LIB_ORBIT2([2.14.16],,[
+ AC_MSG_ERROR([Your system lacks of orbit2 >= 2.14.16])
+ ])
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_orbit2.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_orbit2.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_orbit2.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_postgresql, Next: ax_lib_readline, Prev: ax_lib_orbit2, Up: The Macros
+
+ax_lib_postgresql
+=================
+
+Synopsis
+********
+
+ AX_LIB_POSTGRESQL([MINIMUM-VERSION],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+This macro provides tests of availability of PostgreSQL 'libpq' library
+of particular version or newer.
+
+AX_LIB_POSTGRESQL macro takes only one argument which is optional. If
+there is no required version passed, then macro does not run version
+test.
+
+The -with-postgresql option takes one of three possible values:
+
+no - do not check for PostgreSQL client library
+
+yes - do check for PostgreSQL library in standard locations (pg_config
+should be in the PATH)
+
+path - complete path to pg_config utility, use this option if pg_config
+can't be found in the PATH (You could set also PG_CONFIG variable)
+
+This macro calls:
+
+ AC_SUBST(POSTGRESQL_CPPFLAGS)
+ AC_SUBST(POSTGRESQL_LDFLAGS)
+ AC_SUBST(POSTGRESQL_LIBS)
+ AC_SUBST(POSTGRESQL_VERSION)
+
+And sets:
+
+ HAVE_POSTGRESQL
+
+It execute if found ACTION-IF-FOUND (empty by default) and
+ACTION-IF-NOT-FOUND (AC_MSG_FAILURE by default) if not found.
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_postgresql.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_postgresql.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_postgresql.m4).
+
+License
+*******
+
+Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
+Copyright (C) 2014 Sree Harsha Totakura <sreeharsha@totakura.in>
+Copyright (C) 2018 Bastien Roucaries <rouca@debian.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_readline, Next: ax_lib_samtools, Prev: ax_lib_postgresql, Up: The Macros
+
+ax_lib_readline
+===============
+
+Synopsis
+********
+
+ AX_LIB_READLINE
+
+Description
+***********
+
+Searches for a readline compatible library. If found, defines
+'HAVE_LIBREADLINE'. If the found library has the 'add_history' function,
+sets also 'HAVE_READLINE_HISTORY'. Also checks for the locations of the
+necessary include files and sets 'HAVE_READLINE_H' or
+'HAVE_READLINE_READLINE_H' and 'HAVE_READLINE_HISTORY_H' or
+'HAVE_HISTORY_H' if the corresponding include files exists.
+
+The libraries that may be readline compatible are 'libedit',
+'libeditline' and 'libreadline'. Sometimes we need to link a termcap
+library for readline to work, this macro tests these cases too by trying
+to link with 'libtermcap', 'libcurses' or 'libncurses' before giving up.
+
+Here is an example of how to use the information provided by this macro
+to perform the necessary includes or declarations in a C file:
+
+ #ifdef HAVE_LIBREADLINE
+ # if defined(HAVE_READLINE_READLINE_H)
+ # include <readline/readline.h>
+ # elif defined(HAVE_READLINE_H)
+ # include <readline.h>
+ # else /* !defined(HAVE_READLINE_H) */
+ extern char *readline ();
+ # endif /* !defined(HAVE_READLINE_H) */
+ char *cmdline = NULL;
+ #else /* !defined(HAVE_READLINE_READLINE_H) */
+ /* no readline */
+ #endif /* HAVE_LIBREADLINE */
+
+ #ifdef HAVE_READLINE_HISTORY
+ # if defined(HAVE_READLINE_HISTORY_H)
+ # include <readline/history.h>
+ # elif defined(HAVE_HISTORY_H)
+ # include <history.h>
+ # else /* !defined(HAVE_HISTORY_H) */
+ extern void add_history ();
+ extern int write_history ();
+ extern int read_history ();
+ # endif /* defined(HAVE_READLINE_HISTORY_H) */
+ /* no history */
+ #endif /* HAVE_READLINE_HISTORY */
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_readline.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_readline.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_readline.m4).
+
+License
+*******
+
+Copyright (C) 2008 Ville Laurikari <vl@iki.fi>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_samtools, Next: ax_lib_socket_nsl, Prev: ax_lib_readline, Up: The Macros
+
+ax_lib_samtools
+===============
+
+Synopsis
+********
+
+ AX_LIB_SAMTOOLS()
+
+Description
+***********
+
+This macro searches for an installed samtools library. If nothing was
+specified when calling configure, it searches first in /usr/local and
+then tries with ld's default library search path. If the
+-with-samtools=DIR is specified, it will try to find it in
+DIR/include/bam/sam.h and DIR/lib/libbam.a. As a final try it will look
+in DIR/sam.h and DIR/libbam.a as the samtools library does not contain
+an install rule.
+
+If -without-samtools is specified, the library is not searched at all.
+
+If either the header file (sam.h) or the library (libbam) is not found,
+the configuration exits on error, asking for a valid samtools
+installation directory or -without-samtools.
+
+The macro defines the symbol HAVE_SAMTOOLS if the library is found. You
+should use autoheader to include a definition for this symbol in a
+config.h file. Sample usage in a C/C++ source is as follows:
+
+ #ifdef HAVE_SAMTOOLS
+ #include <sam.h>
+ #endif /* HAVE_SAMTOOLS */
+
+The following output variables are set with AC_SUBST:
+
+ SAMTOOLS_CPPFLAGS
+ SAMTOOLS_LDFLAGS
+ SAMTOOLS_LIBS
+
+You can use them like this in Makefile.am:
+
+ AM_CPPFLAGS = $(SAMTOOLS_CPPFLAGS)
+ AM_LDFLAGS = $(SAMTOOLS_LDFLAGS)
+ program_LDADD = $(SAMTOOLS_LIBS)
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_samtools.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_samtools.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_samtools.m4).
+
+License
+*******
+
+Copyright (C) 2013 Timothy Brown <tbrown@freeshell.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_socket_nsl, Next: ax_lib_sqlite3, Prev: ax_lib_samtools, Up: The Macros
+
+ax_lib_socket_nsl
+=================
+
+Synopsis
+********
+
+ AX_LIB_SOCKET_NSL
+
+Description
+***********
+
+This macro figures out what libraries are required on this platform to
+link sockets programs.
+
+The common cases are not to need any extra libraries, or to need
+-lsocket and -lnsl. We need to avoid linking with libnsl unless we need
+it, though, since on some OSes where it isn't necessary it will totally
+break networking. Unisys also includes gethostbyname() in libsocket but
+needs libnsl for socket().
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_socket_nsl.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_socket_nsl.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_socket_nsl.m4).
+
+License
+*******
+
+Copyright (C) 2008 Russ Allbery <rra@stanford.edu>
+Copyright (C) 2008 Stepan Kasal <kasal@ucw.cz>
+Copyright (C) 2008 Warren Young <warren@etr-usa.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_sqlite3, Next: ax_lib_tabix, Prev: ax_lib_socket_nsl, Up: The Macros
+
+ax_lib_sqlite3
+==============
+
+Synopsis
+********
+
+ AX_LIB_SQLITE3([MINIMUM-VERSION])
+
+Description
+***********
+
+Test for the SQLite 3 library of a particular version (or newer)
+
+This macro takes only one optional argument, required version of SQLite
+3 library. If required version is not passed, 3.0.0 is used in the test
+of existence of SQLite 3.
+
+If no installation prefix to the installed SQLite library is given the
+macro searches under /usr, /usr/local, and /opt.
+
+This macro calls:
+
+ AC_SUBST(SQLITE3_CFLAGS)
+ AC_SUBST(SQLITE3_LDFLAGS)
+ AC_SUBST(SQLITE3_VERSION)
+
+And sets:
+
+ HAVE_SQLITE3
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_sqlite3.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_sqlite3.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_sqlite3.m4).
+
+License
+*******
+
+Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_tabix, Next: ax_lib_taglib, Prev: ax_lib_sqlite3, Up: The Macros
+
+ax_lib_tabix
+============
+
+Synopsis
+********
+
+ AX_LIB_TABIX()
+
+Description
+***********
+
+This macro searches for an installed tabix library. If nothing was
+specified when calling configure, it searches first in /usr/local and
+then tries with ld's default library search path. If the
+-with-tabix=DIR is specified, it will try to find it in
+DIR/include/tabix/tabix.h and DIR/lib/libtabix.a. As a final try it
+will look in DIR/tabix.h and DIR/libtabix.a as the tabix library does
+not contain an install rule.
+
+If -without-tabix is specified, the library is not searched at all.
+
+If either the header file (tabix.h) or the library (libtabix) is not
+found, the configuration exits on error, asking for a valid tabix
+installation directory or -without-tabix.
+
+The macro defines the symbol HAVE_TABIX if the library is found. You
+should use autoheader to include a definition for this symbol in a
+config.h file. Sample usage in a C/C++ source is as follows:
+
+ #ifdef HAVE_TABIX
+ #include <tabix.h>
+ #endif /* HAVE_TABIX */
+
+The following output variables are set with AC_SUBST:
+
+ TABIX_CPPFLAGS
+ TABIX_LDFLAGS
+ TABIX_LIBS
+
+You can use them like this in Makefile.am:
+
+ AM_CPPFLAGS = $(TABIX_CPPFLAGS)
+ AM_LDFLAGS = $(TABIX_LDFLAGS)
+ program_LDADD = $(TABIX_LIBS)
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_tabix.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_tabix.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_tabix.m4).
+
+License
+*******
+
+Copyright (C) 2013 Timothy Brown <tbrown@freeshell.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_taglib, Next: ax_lib_trace, Prev: ax_lib_tabix, Up: The Macros
+
+ax_lib_taglib
+=============
+
+Synopsis
+********
+
+ AX_LIB_TAGLIB([VERSION],[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Checks for minimum taglib library version VERSION. If successful
+executes ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+Defines TAGLIB_LIBS and TAGLIB_CFLAGS.
+
+A simple example:
+
+ AX_LIB_TAGLIB([1.5],,[
+ AC_MSG_ERROR([Your system lacks of taglib >= 1.5])
+ ])
+
+This macro is a rearranged version of AC_LIB_TAGLIB from Akos Maroy.
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_taglib.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_taglib.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_taglib.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_trace, Next: ax_lib_upnp, Prev: ax_lib_taglib, Up: The Macros
+
+ax_lib_trace
+============
+
+Synopsis
+********
+
+ AX_LIB_TRACE([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+Test for the libtrace libraries of a particular version (or newer)
+
+If no path to the installed library is given the macro searches under
+/usr, /usr/local, /opt and /opt/local.
+
+This macro calls:
+
+ AC_SUBST(LIBTRACE_CFLAGS) / AC_SUBST(LIBTRACE_LDFLAGS)
+
+And sets:
+
+ HAVE_LIBTRACE
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_trace.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_trace.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_trace.m4).
+
+License
+*******
+
+Copyright (C) 2011 Xiyue Deng <manphiz@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_upnp, Next: ax_lib_wad, Prev: ax_lib_trace, Up: The Macros
+
+ax_lib_upnp
+===========
+
+Synopsis
+********
+
+ AX_LIB_UPNP([ACTION-IF-TRUE], [ACTION-IF-FALSE])
+
+Description
+***********
+
+This macro will check for the existence of libupnp
+(http://upnp.sourceforge.net/). It does this by checking for the header
+file upnp.h and the upnp library object file. A -with-libupnp option is
+supported as well. The following output variables are set with
+AC_SUBST:
+
+ UPNP_CPPFLAGS
+ UPNP_LDFLAGS
+ UPNP_LIBS
+
+You can use them like this in Makefile.am:
+
+ AM_CPPFLAGS = $(UPNP_CPPFLAGS)
+ AM_LDFLAGS = $(UPNP_LDFLAGS)
+ program_LDADD = $(UPNP_LIBS)
+
+Additionally, the C preprocessor symbol HAVE_LIBUPNP will be defined
+with AC_DEFINE if libupnp is available.
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_upnp.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_upnp.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_upnp.m4).
+
+License
+*******
+
+Copyright (C) 2009 Oskar Liljeblad <oskar@osk.mine.nu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_wad, Next: ax_lib_xalan, Prev: ax_lib_upnp, Up: The Macros
+
+ax_lib_wad
+==========
+
+Synopsis
+********
+
+ AX_LIB_WAD
+
+Description
+***********
+
+This macro searches for an installed WAD library.
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_wad.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_wad.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_wad.m4).
+
+License
+*******
+
+Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
+Copyright (C) 2008 Alan W. Irwin
+Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
+Copyright (C) 2008 Andrew Collier
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_xalan, Next: ax_lib_xerces, Prev: ax_lib_wad, Up: The Macros
+
+ax_lib_xalan
+============
+
+Synopsis
+********
+
+ AX_LIB_XALAN([MINIMUM-VERSION])
+
+Description
+***********
+
+This macro provides tests of availability of Apache Xalan C++ XSLT
+processor of a particular version or newer. This macros checks for
+Apache Xalan C++ XSLT processor headers and libraries and defines
+compilation flags
+
+Macro supports following options and their values:
+
+1) Single-option usage:
+
+ --with-xalan - yes, no or path to Xalan installation prefix
+
+2) Three-options usage (all options are required):
+
+ --with-xalan=yes
+ --with-xalan-inc - path to base directory with Xalan headers
+ --with-xalan-lib - linker flags for Xalan
+
+This macro calls:
+
+ AC_SUBST(XALAN_CPPFLAGS)
+ AC_SUBST(XALAN_LDFLAGS)
+ AC_SUBST(XALAN_VERSION) - only if version requirement is used
+
+And sets:
+
+ HAVE_XALAN
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_xalan.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_xalan.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_xalan.m4).
+
+License
+*******
+
+Copyright (C) 2009 Mateusz Loskot <mateusz@loskot.net>
+Copyright (C) 2009 Bill Blough <bblough@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_xerces, Next: ax_lib_xml_security, Prev: ax_lib_xalan, Up: The Macros
+
+ax_lib_xerces
+=============
+
+Synopsis
+********
+
+ AX_LIB_XERCES([MINIMUM-VERSION])
+
+Description
+***********
+
+This macro provides tests of availability of Apache Xerces C++ Parser of
+particular version or newer. This macros checks for Apache Xerces C++
+Parser headers and libraries and defines compilation flags
+
+Macro supports following options and their values:
+
+1) Single-option usage:
+
+ --with-xerces - yes, no or path to Xerces installation prefix
+
+2) Three-options usage (all options are required):
+
+ --with-xerces=yes
+ --with-xerces-inc - path to base directory with Xerces headers
+ --with-xerces-lib - linker flags for Xerces
+
+This macro calls:
+
+ AC_SUBST(XERCES_CFLAGS)
+ AC_SUBST(XERCES_LDFLAGS)
+ AC_SUBST(XERCES_VERSION) - only if version requirement is used
+
+And sets:
+
+ HAVE_XERCES
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_xerces.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_xerces.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_xerces.m4).
+
+License
+*******
+
+Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lib_xml_security, Next: ax_libgcj_jar, Prev: ax_lib_xerces, Up: The Macros
+
+ax_lib_xml_security
+===================
+
+Synopsis
+********
+
+ AX_LIB_XML_SECURITY([MINIMUM-VERSION])
+
+Description
+***********
+
+This macro provides tests of availability of Apache Xml-Security C++
+library <http://santuario.apache.org/index.html> of particular version
+or newer. This macros checks for Apache Xml-Security C++ headers and
+libraries and defines compilation flags
+
+Macro supports following options and their values:
+
+1) Single-option usage:
+
+ --with-xml-security - yes, no or path to Xml-Security installation prefix
+
+2) Three-options usage (all options are required):
+
+ --with-xml-security=yes
+ --with-xml-security-inc - path to base directory with Xml-Security headers
+ --with-xml-security-lib - linker flags for Xml-Security
+
+This macro calls:
+
+ AC_SUBST(XML_SECURITY_CFLAGS)
+ AC_SUBST(XML_SECURITY_LDFLAGS)
+ AC_SUBST(XML_SECURITY_VERSION) - only if version requirement is used
+
+And sets:
+
+ HAVE_XML_SECURITY
+
+Source Code
+***********
+
+Download the latest version of 'ax_lib_xml_security.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_xml_security.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_xml_security.m4).
+
+License
+*******
+
+Copyright (C) 2008 Alexander Petry <petry@itwm.fhg.de>
+Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_libgcj_jar, Next: ax_libtoolize_cflags, Prev: ax_lib_xml_security, Up: The Macros
+
+ax_libgcj_jar
+=============
+
+Synopsis
+********
+
+ AX_LIBGCJ_JAR
+
+Description
+***********
+
+Locate libgcj.jar so you can place it before everything else when using
+gcj.
+
+Source Code
+***********
+
+Download the latest version of 'ax_libgcj_jar.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_libgcj_jar.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_libgcj_jar.m4).
+
+License
+*******
+
+Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_libtoolize_cflags, Next: ax_llvm, Prev: ax_libgcj_jar, Up: The Macros
+
+ax_libtoolize_cflags
+====================
+
+Synopsis
+********
+
+ AX_LIBTOOLIZE_CFLAGS(COMPILER-FLAGS-VAR)
+
+Description
+***********
+
+Change the contents of variable COMPILER-FLAGS-VAR so that they are
+Libtool friendly, ie. prefix each of them with '-Xcompiler' so that
+Libtool doesn't remove them.
+
+Source Code
+***********
+
+Download the latest version of 'ax_libtoolize_cflags.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_libtoolize_cflags.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_libtoolize_cflags.m4).
+
+License
+*******
+
+Copyright (C) 2008 Ludovic Courtes <ludo@chbouib.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_llvm, Next: ax_lua, Prev: ax_libtoolize_cflags, Up: The Macros
+
+ax_llvm
+=======
+
+Synopsis
+********
+
+ AX_LLVM([llvm-libs])
+
+Description
+***********
+
+Test for the existence of llvm, and make sure that it can be linked with
+the llvm-libs argument that is passed on to llvm-config i.e.:
+
+ llvm --libs <llvm-libs>
+
+llvm-config will also include any libraries that are depended upon.
+
+Source Code
+***********
+
+Download the latest version of 'ax_llvm.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_llvm.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_llvm.m4).
+
+License
+*******
+
+Copyright (C) 2008 Andy Kitchen <agimbleinthewabe@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_lua, Next: ax_luarocks_rock, Prev: ax_llvm, Up: The Macros
+
+ax_lua
+======
+
+Synopsis
+********
+
+ AX_PROG_LUA[([MINIMUM-VERSION], [TOO-BIG-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
+ AX_LUA_HEADERS[([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
+ AX_LUA_LIBS[([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
+ AX_LUA_READLINE[([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
+
+Description
+***********
+
+Detect a Lua interpreter, optionally specifying a minimum and maximum
+version number. Set up important Lua paths, such as the directories in
+which to install scripts and modules (shared libraries).
+
+Also detect Lua headers and libraries. The Lua version contained in the
+header is checked to match the Lua interpreter version exactly. When
+searching for Lua libraries, the version number is used as a suffix.
+This is done with the goal of supporting multiple Lua installs (5.1,
+5.2, and 5.3 side-by-side).
+
+A note on compatibility with previous versions: This file has been
+mostly rewritten for serial 18. Most developers should be able to use
+these macros without needing to modify configure.ac. Care has been
+taken to preserve each macro's behavior, but there are some differences:
+
+1) AX_WITH_LUA is deprecated; it now expands to the exact same thing as
+AX_PROG_LUA with no arguments.
+
+2) AX_LUA_HEADERS now checks that the version number defined in lua.h
+matches the interpreter version. AX_LUA_HEADERS_VERSION is therefore
+unnecessary, so it is deprecated and does not expand to anything.
+
+3) The configure flag -with-lua-suffix no longer exists; the user should
+instead specify the LUA precious variable on the command line. See the
+AX_PROG_LUA description for details.
+
+Please read the macro descriptions below for more information.
+
+This file was inspired by Andrew Dalke's and James Henstridge's
+python.m4 and Tom Payne's, Matthieu Moy's, and Reuben Thomas's ax_lua.m4
+(serial 17). Basically, this file is a mash-up of those two files. I
+like to think it combines the best of the two!
+
+AX_PROG_LUA: Search for the Lua interpreter, and set up important Lua
+paths. Adds precious variable LUA, which may contain the path of the
+Lua interpreter. If LUA is blank, the user's path is searched for an
+suitable interpreter.
+
+If MINIMUM-VERSION is supplied, then only Lua interpreters with a
+version number greater or equal to MINIMUM-VERSION will be accepted. If
+TOO-BIG-VERSION is also supplied, then only Lua interpreters with a
+version number greater or equal to MINIMUM-VERSION and less than
+TOO-BIG-VERSION will be accepted.
+
+The Lua version number, LUA_VERSION, is found from the interpreter, and
+substituted. LUA_PLATFORM is also found, but not currently supported
+(no standard representation).
+
+Finally, the macro finds four paths:
+
+ luadir Directory to install Lua scripts.
+ pkgluadir $luadir/$PACKAGE
+ luaexecdir Directory to install Lua modules.
+ pkgluaexecdir $luaexecdir/$PACKAGE
+
+These paths are found based on $prefix, $exec_prefix, Lua's
+package.path, and package.cpath. The first path of package.path
+beginning with $prefix is selected as luadir. The first path of
+package.cpath beginning with $exec_prefix is used as luaexecdir. This
+should work on all reasonable Lua installations. If a path cannot be
+determined, a default path is used. Of course, the user can override
+these later when invoking make.
+
+ luadir Default: $prefix/share/lua/$LUA_VERSION
+ luaexecdir Default: $exec_prefix/lib/lua/$LUA_VERSION
+
+These directories can be used by Automake as install destinations. The
+variable name minus 'dir' needs to be used as a prefix to the
+appropriate Automake primary, e.g. lua_SCRIPS or luaexec_LIBRARIES.
+
+If an acceptable Lua interpreter is found, then ACTION-IF-FOUND is
+performed, otherwise ACTION-IF-NOT-FOUND is preformed. If
+ACTION-IF-NOT- FOUND is blank, then it will default to printing an
+error. To prevent the default behavior, give ':' as an action.
+
+AX_LUA_HEADERS: Search for Lua headers. Requires that AX_PROG_LUA be
+expanded before this macro. Adds precious variable LUA_INCLUDE, which
+may contain Lua specific include flags, e.g. -I/usr/include/lua5.1. If
+LUA_INCLUDE is blank, then this macro will attempt to find suitable
+flags.
+
+LUA_INCLUDE can be used by Automake to compile Lua modules or
+executables with embedded interpreters. The *_CPPFLAGS variables should
+be used for this purpose, e.g. myprog_CPPFLAGS = $(LUA_INCLUDE).
+
+This macro searches for the header lua.h (and others). The search is
+performed with a combination of CPPFLAGS, CPATH, etc, and LUA_INCLUDE.
+If the search is unsuccessful, then some common directories are tried.
+If the headers are then found, then LUA_INCLUDE is set accordingly.
+
+The paths automatically searched are:
+
+ * /usr/include/luaX.Y
+ * /usr/include/lua/X.Y
+ * /usr/include/luaXY
+ * /usr/local/include/luaX.Y
+ * /usr/local/include/lua-X.Y
+ * /usr/local/include/lua/X.Y
+ * /usr/local/include/luaXY
+
+(Where X.Y is the Lua version number, e.g. 5.1.)
+
+The Lua version number found in the headers is always checked to match
+the Lua interpreter's version number. Lua headers with mismatched
+version numbers are not accepted.
+
+If headers are found, then ACTION-IF-FOUND is performed, otherwise
+ACTION-IF-NOT-FOUND is performed. If ACTION-IF-NOT-FOUND is blank, then
+it will default to printing an error. To prevent the default behavior,
+set the action to ':'.
+
+AX_LUA_LIBS: Search for Lua libraries. Requires that AX_PROG_LUA be
+expanded before this macro. Adds precious variable LUA_LIB, which may
+contain Lua specific linker flags, e.g. -llua5.1. If LUA_LIB is blank,
+then this macro will attempt to find suitable flags.
+
+LUA_LIB can be used by Automake to link Lua modules or executables with
+embedded interpreters. The *_LIBADD and *_LDADD variables should be
+used for this purpose, e.g. mymod_LIBADD = $(LUA_LIB).
+
+This macro searches for the Lua library. More technically, it searches
+for a library containing the function lua_load. The search is performed
+with a combination of LIBS, LIBRARY_PATH, and LUA_LIB.
+
+If the search determines that some linker flags are missing, then those
+flags will be added to LUA_LIB.
+
+If libraries are found, then ACTION-IF-FOUND is performed, otherwise
+ACTION-IF-NOT-FOUND is performed. If ACTION-IF-NOT-FOUND is blank, then
+it will default to printing an error. To prevent the default behavior,
+set the action to ':'.
+
+AX_LUA_READLINE: Search for readline headers and libraries. Requires
+the AX_LIB_READLINE macro, which is provided by ax_lib_readline.m4 from
+the Autoconf Archive.
+
+If a readline compatible library is found, then ACTION-IF-FOUND is
+performed, otherwise ACTION-IF-NOT-FOUND is performed.
+
+Source Code
+***********
+
+Download the latest version of 'ax_lua.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lua.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lua.m4).
+
+License
+*******
+
+Copyright (C) 2015 Reuben Thomas <rrt@sc3d.org>
+Copyright (C) 2014 Tim Perkins <tprk77@gmail.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_luarocks_rock, Next: ax_maintainer_mode_auto_silent, Prev: ax_lua, Up: The Macros
+
+ax_luarocks_rock
+================
+
+Synopsis
+********
+
+ AX_LUAROCKS_ROCK([ROCK])
+
+Description
+***********
+
+Checks for a rock, and fails if it is not installed.
+
+Example usage:
+
+ AX_LUAROCKS_ROCK(stdlib)
+
+Note: use of this macro is not normally recommended. Normally, LuaRocks
+should be used to drive the build system, and it takes care of rock
+dependencies. Use this macro only if LuaRocks cannot be used at the top
+level, for example, in a build system that uses Lua only incidentally.
+
+Source Code
+***********
+
+Download the latest version of 'ax_luarocks_rock.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_luarocks_rock.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_luarocks_rock.m4).
+
+License
+*******
+
+Copyright (C) 2016 Reuben Thomas <rrt@sc3d.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_maintainer_mode_auto_silent, Next: ax_missing_prog, Prev: ax_luarocks_rock, Up: The Macros
+
+ax_maintainer_mode_auto_silent
+==============================
+
+Synopsis
+********
+
+ AX_MAINTAINER_MODE_AUTO_SILENT
+
+Description
+***********
+
+Set autotools to error/sleep settings so that they are not run when
+being erroneously triggered. Likewise make libtool-silent when libtool
+has been used.
+
+I use the macro quite a lot since some automake versions have the
+tendency to try to rerun some autotools on a mere make even when not
+quite in -maintainer-mode. That is very annoying. Likewise, a user who
+installs from source does not want to see doubled compiler messages.
+
+I did not put an AC_REQUIRE(MAINTAINER_MODE) in here - should I?
+
+Source Code
+***********
+
+Download the latest version of 'ax_maintainer_mode_auto_silent.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_maintainer_mode_auto_silent.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_maintainer_mode_auto_silent.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_missing_prog, Next: ax_mpi, Prev: ax_maintainer_mode_auto_silent, Up: The Macros
+
+ax_missing_prog
+===============
+
+Synopsis
+********
+
+ AX_MISSING_PROG(VARIABLE,PROGRAM,[MESSAGE])
+
+Description
+***********
+
+Simple wrapper for the AM_MISSING_PROG which displays a warning MESSAGE
+if provided. A typical use is the following:
+
+ AC_PROG_AWK
+ AS_IF([test -z "$AWK"],[
+ AX_MISSING_PROG(AWK,[awk],[awk seems missing ...])
+ ])
+
+Programs wrapped with AX_MISSING_PROG should be used only in the package
+building phase (because they will be wrapped with the automake 'missing'
+script, which will not be installed).
+
+Source Code
+***********
+
+Download the latest version of 'ax_missing_prog.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_missing_prog.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_missing_prog.m4).
+
+License
+*******
+
+Copyright (C) 2008 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_mpi, Next: ax_mpip, Prev: ax_missing_prog, Up: The Macros
+
+ax_mpi
+======
+
+Synopsis
+********
+
+ AX_MPI([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+This macro tries to find out how to compile programs that use MPI
+(Message Passing Interface), a standard API for parallel process
+communication (see http://www-unix.mcs.anl.gov/mpi/)
+
+On success, it sets the MPICC, MPICXX, MPIF77, or MPIFC output variable
+to the name of the MPI compiler, depending upon the current language.
+(This may just be $CC/$CXX/$F77/$FC, but is more often something like
+mpicc/mpiCC/mpif77/mpif90.) It also sets MPILIBS to any libraries that
+are needed for linking MPI (e.g. -lmpi or -lfmpi, if a special
+MPICC/MPICXX/MPIF77/MPIFC was not found).
+
+Note that this macro should be used only if you just have a few source
+files that need to be compiled using MPI. In particular, you should
+neither overwrite CC/CXX/F77/FC with the values of
+MPICC/MPICXX/MPIF77/MPIFC, nor assume that you can use the same flags
+etc. as the standard compilers. If you want to compile a whole program
+using the MPI compiler commands, use one of the macros
+AX_PROG_{CC,CXX,FC}_MPI.
+
+ACTION-IF-FOUND is a list of shell commands to run if an MPI library is
+found, and ACTION-IF-NOT-FOUND is a list of commands to run if it is not
+found. If ACTION-IF-FOUND is not specified, the default action will
+define HAVE_MPI.
+
+Source Code
+***********
+
+Download the latest version of 'ax_mpi.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_mpi.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_mpi.m4).
+
+License
+*******
+
+Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
+Copyright (C) 2008 Julian C. Cummings <cummings@cacr.caltech.edu>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_mpip, Next: ax_ms_cpprest, Prev: ax_mpi, Up: The Macros
+
+ax_mpip
+=======
+
+Synopsis
+********
+
+ AX_MPIP([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+Test for mpiP: Lightweight, Scalable MPI Profiling
+(http://mpip.sourceforge.net/)
+
+Provides a -with-mpiP=DIR option. Searches -with-mpiP location and the
+usual places for mpiP and required libraries. Marks MPIP as a precious
+environment variable.
+
+On success, sets MPIP_LDFLAGS, MPIP_LIBS, #defines HAVE_MPIP, and calls
+ACTION-IF-FOUND. When ACTION-IF-NOT-FOUND is not specified, the default
+behavior is for configure to fail.
+
+Source Code
+***********
+
+Download the latest version of 'ax_mpip.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_mpip.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_mpip.m4).
+
+License
+*******
+
+Copyright (C) 2010 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Macro Archive. When you make and
+distribute a modified version of the Autoconf Macro, you may extend this
+special exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_ms_cpprest, Next: ax_need_awk, Prev: ax_mpip, Up: The Macros
+
+ax_ms_cpprest
+=============
+
+Synopsis
+********
+
+ AX_MS_CPPREST([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+Test for the Microsoft C++ Rest SDK library of a particular version (or
+newer)
+
+If no path to the installed cpprest library is given the macro searchs
+under /usr, /usr/local, /opt and /opt/local and evaluates the
+$CPPREST_ROOT environment variable.
+
+This macro calls:
+
+ AC_SUBST(cpprest_CPPFLAGS) / AC_SUBST(cpprest_LDFLAGS) /
+ AC_SUBST(cpprest_LIBS)
+
+And sets:
+
+ HAVE_MS_CPPREST
+
+Source Code
+***********
+
+Download the latest version of 'ax_ms_cpprest.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ms_cpprest.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ms_cpprest.m4).
+
+License
+*******
+
+Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
+Copyright (C) 2009 Peter Adolphs
+Copyright (C) 2021 Richard Winters <kirvedx@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_need_awk, Next: ax_normalize_path, Prev: ax_ms_cpprest, Up: The Macros
+
+ax_need_awk
+===========
+
+Synopsis
+********
+
+ AX_NEED_AWK
+
+Description
+***********
+
+Check if an awk implementation is available. Bail-out if not found.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_need_awk.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_need_awk.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_need_awk.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_normalize_path, Next: ax_not_enable_frame_pointer, Prev: ax_need_awk, Up: The Macros
+
+ax_normalize_path
+=================
+
+Synopsis
+********
+
+ AX_NORMALIZE_PATH(VARNAME, [REFERENCE_STRING])
+
+Description
+***********
+
+Perform some cleanups on the value of $VARNAME (interpreted as a path):
+
+ - empty paths are changed to '.'
+ - trailing slashes are removed
+ - repeated slashes are squeezed except a leading doubled slash '//'
+ (which might indicate a networked disk on some OS).
+
+REFERENCE_STRING is used to turn '/' into '\' and vice-versa: if
+REFERENCE_STRING contains some backslashes, all slashes and backslashes
+are turned into backslashes, otherwise they are all turned into slashes.
+
+This makes processing of DOS filenames quite easier, because you can
+turn a filename to the Unix notation, make your processing, and turn it
+back to original notation.
+
+ filename='A:\FOO\\BAR\'
+ old_filename="$filename"
+ # Switch to the unix notation
+ AX_NORMALIZE_PATH([filename], ["/"])
+ # now we have $filename = 'A:/FOO/BAR' and we can process it as if
+ # it was a Unix path. For instance let's say that you want
+ # to append '/subpath':
+ filename="$filename/subpath"
+ # finally switch back to the original notation
+ AX_NORMALIZE_PATH([filename], ["$old_filename"])
+ # now $filename equals to 'A:\FOO\BAR\subpath'
+
+One good reason to make all path processing with the unix convention is
+that backslashes have a special meaning in many cases. For instance
+
+ expr 'A:\FOO' : 'A:\Foo'
+
+will return 0 because the second argument is a regex in which
+backslashes have to be backslashed. In other words, to have the two
+strings to match you should write this instead:
+
+ expr 'A:\Foo' : 'A:\\Foo'
+
+Such behavior makes DOS filenames extremely unpleasant to work with. So
+temporary turn your paths to the Unix notation, and revert them to the
+original notation after the processing. See the macro
+AX_COMPUTE_RELATIVE_PATHS for a concrete example of this.
+
+REFERENCE_STRING defaults to $VARIABLE, this means that slashes will be
+converted to backslashes if $VARIABLE already contains some backslashes
+(see $thirddir below).
+
+ firstdir='/usr/local//share'
+ seconddir='C:\Program Files\\'
+ thirddir='C:\home/usr/'
+ AX_NORMALIZE_PATH([firstdir])
+ AX_NORMALIZE_PATH([seconddir])
+ AX_NORMALIZE_PATH([thirddir])
+ # $firstdir = '/usr/local/share'
+ # $seconddir = 'C:\Program Files'
+ # $thirddir = 'C:\home\usr'
+
+Source Code
+***********
+
+Download the latest version of 'ax_normalize_path.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_normalize_path.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_normalize_path.m4).
+
+License
+*******
+
+Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_not_enable_frame_pointer, Next: ax_numeric_namedlevel, Prev: ax_normalize_path, Up: The Macros
+
+ax_not_enable_frame_pointer
+===========================
+
+Synopsis
+********
+
+ AX_NOT_ENABLE_FRAME_POINTER ([shellvar])
+
+Description
+***********
+
+add -enable-frame-pointer option, the default will add the gcc
+-fomit-frame-pointer option to the shellvar (per default CFLAGS) and
+remove the " -g " debuginfo option from it. In other words, the default
+is "-disable-frame-pointer"
+
+Source Code
+***********
+
+Download the latest version of 'ax_not_enable_frame_pointer.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_not_enable_frame_pointer.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_not_enable_frame_pointer.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_numeric_namedlevel, Next: ax_open62541_check_h, Prev: ax_not_enable_frame_pointer, Up: The Macros
+
+ax_numeric_namedlevel
+=====================
+
+Synopsis
+********
+
+ AX_NUMERIC_NAMEDLEVEL(VARNAME [,FROMVAR [,DEFAULT [,YESLEVEL]]])
+
+Description
+***********
+
+The levelstring FROMVAR is expanded and checked for verbal names that
+will map on to eight different levels - the VARNAME will receive this
+numeric level where "all" maps to 7 (lower three bits set) higher levels
+for 8 and 9 exist too. This macro is a nice helper to convert user
+input of a -with-opt=level into a numeric form that can be simply pushed
+as a #define like with AC_DEFINE:
+
+ default YESLEVEL = 2 /* including unknown levelspec */
+ default DEFAULT = 0 /* when named level is empty */
+ default FROMVAR = VARNAME
+
+The DEFAULT value is used if the NAMED levelstring has become empty and
+it is copied without further conversion - a default of "0" is used if
+absent - identical to "no". A "yes" will be set to the YESLEVEL - and
+note that "yes" has "2" as its default value not "1". (which comes from
+its original use to set a "gcc -O2").
+
+the mnemonic names are:
+
+ 9| insane |ultrasome|experimentalplus
+ 8| ultra |ultra|experimental)
+ 7| all |muchmore|somemanymore|manymoreplus
+ 6| most |manymore|most)
+ 5| strict |somemore|almost
+ 4| more |more
+ 3| extra |manyplus|plusmuch|somemany|plusmany
+ 2| many |many|much|(yes)
+ 1| some |some|plus
+
+note that a level can be constructed of (some|plus) = bit-0, (many|much)
+= bit-1, (more) = bit-2, (ultra|experimental) = bit-3 at least in a
+left-to-right order, ie. plusmanymore=7
+
+Example usage:
+
+ AX_NUMERIC_NAMEDLEVEL(OPTLEVEL,with_optlevel,1,3)
+ AC_DEFINE(OPTLEVEL)
+ test "$GCC" = "yes" && CFLAGS="$CFLAGS -O$OPTLEVEL)
+
+Source Code
+***********
+
+Download the latest version of 'ax_numeric_namedlevel.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_numeric_namedlevel.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_numeric_namedlevel.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_open62541_check_h, Next: ax_open62541_check_lib, Prev: ax_numeric_namedlevel, Up: The Macros
+
+ax_open62541_check_h
+====================
+
+Synopsis
+********
+
+ AX_OPEN62541_CHECK_H([HEADERS = `...see_below...'], [ACTION-IF-FOUND],
+ [ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+Searches for the header file(s) of the open62541 library [1].
+
+The open62541 library is a cmake-based project, that provides its header
+files in one of two layouts:
+
+ 1) As individual files, e.g. ua_config.h, ua_server.h, ua_types.h, ...
+ 2) As a single amalgamation file open62541.h
+
+The second case is enabled when configuring open62541 with the options
+"-D UA_ENABLE_AMALGAMATION=true to" cmake, which seems to be preferred.
+Code using the library can distinguish which layout is used by checking
+for the macro "UA_NO_AMALGAMATION": if it is defined, the first layout
+is used.
+
+The AX_OPEN62541_CHECK_H macro checks first for the amalgamation and, if
+that is not found, for the individual headers. It defines
+"UA_NO_AMALGAMATION" if necessary.
+
+The individual headers to check for if no amalgamation is found can be
+provided as a space-separated list in the first argument. If that is
+empty, it defaults to all files known to be contained in the
+amalgamation as of v0.2.0 of the library:
+
+ * ms_stdint.h
+ * ua_client.h
+ * ua_client_highlevel.h
+ * ua_config.h
+ * ua_config_standard.h
+ * ua_connection.h
+ * ua_constants.h
+ * ua_job.h
+ * ua_log.h
+ * ua_log_stdout.h
+ * ua_network_tcp.h
+ * ua_nodeids.h
+ * ua_server.h
+ * ua_server_external_ns.h
+ * ua_types.h
+ * ua_types_generated.h
+ * ua_types_generated_handling.h
+
+If the with_open62541 shell variable is set to "no" (e.g. from running
+the AX_OPEN62541_PATH macro and the user giving configure the option
+"-without-open62541"), then expands ACTION-IF-NOT-FOUND without any
+checks.
+
+[1]: <http://open62541.org/>
+
+Source Code
+***********
+
+Download the latest version of 'ax_open62541_check_h.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_open62541_check_h.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_open62541_check_h.m4).
+
+License
+*******
+
+Copyright (C) 2016,2017 Olaf Mandel <olaf@mandel.name>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_open62541_check_lib, Next: ax_open62541_path, Prev: ax_open62541_check_h, Up: The Macros
+
+ax_open62541_check_lib
+======================
+
+Synopsis
+********
+
+ AX_OPEN62541_CHECK_LIB([STATIC-FIRST = `no'], [ACTION-IF-FOUND],
+ [ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+Searches for the library file of the open62541 library [1].
+
+The open62541 library is a cmake-based project, that supplies both a
+shared and a static library (with different names). The
+AX_OPEN62541_CHECK_LIB macro can search for both and adds the first one
+found to the LIBS Makefile variable. The search can be in either order
+(shared first or static first), which is selectable on macro invocation
+with the STATIC-FIRST parameter. The user can change this default by
+invoking configure with either the -with-open62541-shared or
+-with-open62541-static option (the named one is checked first).
+
+Either shared or static library can be excluded from checking completely
+with the options -without-open62541-shared and
+-without-open62541-static.
+
+If the with_open62541 shell variable is set to "no" (e.g. from running
+the AX_OPEN62541_PATH macro and the user giving configure the option
+"-without-open62541"), then expands ACTION-IF-NOT-FOUND without any
+checks. The same is true if both -without-open62541-shared and
+-without-open62541-static are given.
+
+[1]: <http://open62541.org/>
+
+Source Code
+***********
+
+Download the latest version of 'ax_open62541_check_lib.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_open62541_check_lib.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_open62541_check_lib.m4).
+
+License
+*******
+
+Copyright (C) 2016 Olaf Mandel <olaf@mandel.name>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_open62541_path, Next: ax_openmp, Prev: ax_open62541_check_lib, Up: The Macros
+
+ax_open62541_path
+=================
+
+Synopsis
+********
+
+ AX_OPEN62541_PATH()
+
+Description
+***********
+
+Sets pre-processor and linker search paths for the open62541 library
+[1].
+
+The open62541 library is a cmake-based project, that is not always
+installed to the system: it does not even provide an install target by
+default. In that case, the location of several directories need to be
+added to the pre-processor and linker search paths:
+
+ * -I<src>/deps
+ * -I<src>/include
+ * -I<src>/plugins
+ * -I<build>/src_generated
+ * -I<build>
+ * -L<build>
+
+Here "src" indicates the location of the library source directory and
+"build" the location of the out-of-source build.
+
+This macro provides the configure options -with-open62541=dir and
+-with-open62541-build=dir to set the two directories. This macro will
+append to CPPFLAGS and LDFLAGS if a dir is supplied. It will also
+export LD_LIBRARY_PATH with the absolute path of the build dir for the
+rest of the configure script to use and define a Makefile variable
+OPEN62541_LDPATH, which contains
+LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<abs_path_to_build> : this is intended
+to be used for all commands that need to execute a program using the
+library (e.g. make check). If paths are set, they are forwarded to
+distcheck.
+
+For -with-open62541, the dir is optional: if either the values "no"
+(from -without-open62541) or "yes" (for no argument) are specified, this
+macro does nothing but these values may be used by other code. If
+-with-open62541 is not specified, the variable with_open62541 is not
+set.
+
+For -with-open62541-build, the dir is compulsory. -with-open62541-build
+must not be given without also specifying -with-open62541. If
+-with-open62541 is given but -with-open62541-build is not, the default
+value is "<src>/build".
+
+[1]: <http://open62541.org/>
+
+Source Code
+***********
+
+Download the latest version of 'ax_open62541_path.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_open62541_path.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_open62541_path.m4).
+
+License
+*******
+
+Copyright (C) 2016,2017 Olaf Mandel <olaf@mandel.name>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_openmp, Next: ax_patch_libtool_changing_cmds_ifs, Prev: ax_open62541_path, Up: The Macros
+
+ax_openmp
+=========
+
+Synopsis
+********
+
+ AX_OPENMP([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+This macro tries to find out how to compile programs that use OpenMP a
+standard API and set of compiler directives for parallel programming
+(see http://www-unix.mcs/)
+
+On success, it sets the OPENMP_CFLAGS/OPENMP_CXXFLAGS/OPENMP_F77FLAGS
+output variable to the flag (e.g. -omp) used both to compile *and* link
+OpenMP programs in the current language.
+
+NOTE: You are assumed to not only compile your program with these flags,
+but also link it with them as well.
+
+If you want to compile everything with OpenMP, you should set:
+
+ CFLAGS="$CFLAGS $OPENMP_CFLAGS"
+ #OR# CXXFLAGS="$CXXFLAGS $OPENMP_CXXFLAGS"
+ #OR# FFLAGS="$FFLAGS $OPENMP_FFLAGS"
+
+(depending on the selected language).
+
+The user can override the default choice by setting the corresponding
+environment variable (e.g. OPENMP_CFLAGS).
+
+ACTION-IF-FOUND is a list of shell commands to run if an OpenMP flag is
+found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it is
+not found. If ACTION-IF-FOUND is not specified, the default action will
+define HAVE_OPENMP.
+
+Source Code
+***********
+
+Download the latest version of 'ax_openmp.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_openmp.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_openmp.m4).
+
+License
+*******
+
+Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
+Copyright (C) 2015 John W. Peterson <jwpeterson@gmail.com>
+Copyright (C) 2016 Nick R. Papior <nickpapior@gmail.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_patch_libtool_changing_cmds_ifs, Next: ax_path_bdb, Prev: ax_openmp, Up: The Macros
+
+ax_patch_libtool_changing_cmds_ifs
+==================================
+
+Synopsis
+********
+
+ AX_PATCH_LIBTOOL_CHANGING_CMDS_IFS
+
+Description
+***********
+
+Do a 'grep "^[a-z]*_cmds=" libtool' - these are "subroutines" encoded by
+libtool.m4 into the generated libtool script. Since libtool assumes
+that there is no subroutine-facility in the shell invoked, these are not
+actually subroutines, but actually a "list of commands". This looks
+correct, but the command separator is not ";" - it is "~", the tilde
+character.
+
+Now, grep again, look for 'grep 'IFS="~"' libtool' and see that libtool
+scripting uses a for-loop on the command-list, i.e for cmd in
+$some_cmds. This works correctly when the IFS was modified, where IFS
+stands for "input field separator" which is whitespace characters by
+default.
+
+The problem: I have some real-world filesystems where there are
+directories using "~" inside of them, to be more to the point, it is a
+change control management software that uses source repositories of the
+form "path/master/project~version/src" and libtool has the tendency to
+resolve any symlinks so that it will paste such path into the $_cmds
+script when it gets evaluated a number of times.
+
+This script is a workaround: I do not know why the ";" was not chosen as
+the IFS, perhaps it has some weird interactions in some shells since it
+is also the default record separator being one time bigger in context
+than the argument separator. I have made good success however with
+using "?" as the IFS, since there is no path-name that uses a question
+mark, and there is no _cmds ever around that uses "?" for some thing.
+
+Oh yes, there are some usages of "*" to match shell-wise at the output
+file of some tool, so that might have triggered the choice to not use
+"?" in the first place - but in real life it never occurred that a
+_cmds script was created that has gone to use "?". And so, this
+ac-macro exchanges the s/~/?/g in configured _cmds variables and
+replaces all occurrences of s/IFS="~"/IFS="?"/ - and it all works smooth
+now.
+
+Source Code
+***********
+
+Download the latest version of 'ax_patch_libtool_changing_cmds_ifs.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_patch_libtool_changing_cmds_ifs.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_patch_libtool_changing_cmds_ifs.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_path_bdb, Next: ax_path_generic, Prev: ax_patch_libtool_changing_cmds_ifs, Up: The Macros
+
+ax_path_bdb
+===========
+
+Synopsis
+********
+
+ AX_PATH_BDB([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+This macro finds the latest version of Berkeley DB on the system, and
+ensures that the header file and library versions match. If
+MINIMUM-VERSION is specified, it will ensure that the library found is
+at least that version.
+
+It determines the name of the library as well as the path to the header
+file and library. It will check both the default environment as well as
+the default Berkeley DB install location. When found, it sets BDB_LIBS,
+BDB_CPPFLAGS, and BDB_LDFLAGS to the necessary values to add to LIBS,
+CPPFLAGS, and LDFLAGS, as well as setting BDB_VERSION to the version
+found (these variables are AC_SUBST). HAVE_DB_H is defined also.
+
+The option -with-bdb-dir=DIR can be used to specify a specific Berkeley
+DB installation to use.
+
+An example of it's use is:
+
+ AX_PATH_BDB([3],[
+ LIBS="$BDB_LIBS $LIBS"
+ LDFLAGS="$BDB_LDFLAGS $LDFLAGS"
+ CPPFLAGS="$CPPFLAGS $BDB_CPPFLAGS"
+ ])
+
+which will locate the latest version of Berkeley DB on the system, and
+ensure that it is version 3.0 or higher.
+
+Details: This macro does not use either AC_CHECK_HEADERS or AC_CHECK_LIB
+because, first, the functions inside the library are sometimes renamed
+to contain a version code that is only available from the db.h on the
+system, and second, because it is common to have multiple db.h and libdb
+files on a system it is important to make sure the ones being used
+correspond to the same version. Additionally, there are many different
+possible names for libdb when installed by an OS distribution, and these
+need to be checked if db.h does not correspond to libdb.
+
+The format for the list of library names to search came from the Cyrus
+IMAP distribution, although they are generated dynamically here, and
+only for the version found in db.h.
+
+The macro AX_COMPARE_VERSION is required to use this macro, and should
+be available from the Autoconf Macro Archive.
+
+The author would like to acknowledge the generous and valuable feedback
+from Guido Draheim, without which this macro would be far less robust,
+and have poor and inconsistent cross compilation support.
+
+Changes:
+
+ 1/5/05 applied patch from Rafal Rzepecki to eliminate compiler
+ warning about unused variable, argv
+
+Source Code
+***********
+
+Download the latest version of 'ax_path_bdb.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_bdb.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_bdb.m4).
+
+License
+*******
+
+Copyright (C) 2008 Tim Toolan <toolan@ele.uri.edu>
+Copyright (C) 2020 Bastien Roucaries <rouca@debian.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_path_generic, Next: ax_path_lib_pcre, Prev: ax_path_bdb, Up: The Macros
+
+ax_path_generic
+===============
+
+Synopsis
+********
+
+ AX_PATH_GENERIC(LIBRARY,[MINIMUM-VERSION,[SED-EXPR-EXTRACTOR]],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND],[CONFIG-SCRIPTS],[CFLAGS-ARG],[LIBS-ARG])
+
+Description
+***********
+
+Runs the LIBRARY-config script and defines LIBRARY_CFLAGS and
+LIBRARY_LIBS unless the user had predefined them in the environment.
+
+The script must support '-cflags' and '-libs' args. If MINIMUM-VERSION
+is specified, the script must also support the '-version' arg. If the
+'-with-library-[exec-]prefix' arguments to ./configure are given, it
+must also support '-prefix' and '-exec-prefix'. Preferably use
+CONFIG-SCRIPTS as config script, CFLAGS-ARG instead of '-cflags' and
+LIBS-ARG instead of '-libs', if given.
+
+The SED-EXPR-EXTRACTOR parameter represents the expression used in sed
+to extract the version number. Use it if your 'foo-config -version'
+dumps something like 'Foo library v1.0.0 (alfa)' instead of '1.0.0'.
+
+The macro respects LIBRARY_CONFIG, LIBRARY_CFLAGS and LIBRARY_LIBS
+variables. If the first one is defined, it specifies the name of the
+config script to use. If the latter two are defined, the script is not
+ran at all and their values are used instead (if only one of them is
+defined, the empty value of the remaining one is still used).
+
+Example:
+
+ AX_PATH_GENERIC(Foo, 1.0.0)
+
+would run 'foo-config -version' and check that it is at least 1.0.0, if
+successful the following variables would be defined and substituted:
+
+ FOO_CFLAGS to `foo-config --cflags`
+ FOO_LIBS to `foo-config --libs`
+
+Example:
+
+ AX_PATH_GENERIC([Bar],,,[
+ AC_MSG_ERROR([Cannot find Bar library])
+ ])
+
+would check for bar-config program, defining and substituting the
+following variables:
+
+ BAR_CFLAGS to `bar-config --cflags`
+ BAR_LIBS to `bar-config --libs`
+
+Example:
+
+ ./configure BAZ_LIBS=/usr/lib/libbaz.a
+
+would link with a static version of baz library even if 'baz-config
+-libs' returns just "-lbaz" that would normally result in using the
+shared library.
+
+This macro is a rearranged version of AC_PATH_GENERIC from Angus Lees.
+
+Source Code
+***********
+
+Download the latest version of 'ax_path_generic.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_generic.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_generic.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_path_lib_pcre, Next: ax_path_milter, Prev: ax_path_generic, Up: The Macros
+
+ax_path_lib_pcre
+================
+
+Synopsis
+********
+
+ AX_PATH_LIB_PCRE [(A/NA)]
+
+Description
+***********
+
+check for pcre lib and set PCRE_LIBS and PCRE_CFLAGS accordingly.
+
+also provide -with-pcre option that may point to the $prefix of the pcre
+installation - the macro will check $pcre/include and $pcre/lib to
+contain the necessary files.
+
+the usual two ACTION-IF-FOUND / ACTION-IF-NOT-FOUND are supported and
+they can take advantage of the LIBS/CFLAGS additions.
+
+Source Code
+***********
+
+Download the latest version of 'ax_path_lib_pcre.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_lib_pcre.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_lib_pcre.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_path_milter, Next: ax_path_missing, Prev: ax_path_lib_pcre, Up: The Macros
+
+ax_path_milter
+==============
+
+Synopsis
+********
+
+ AX_PATH_MILTER([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+
+Description
+***********
+
+This macro tries to automatically find the library libmilter.a and the
+header file "libmilter/mfapi.h", which are required when compiling a
+milter for Sendmail. When successful, it sets the output variable
+MILTER_LIBS to "-lmilter", MILTER_LDFLAGS to contain an -Lpathtolib
+option, and MILTER_CPPFLAGS to contain an -Ipathtoinclude option, if
+they are necessary.
+
+The easiest way to use this macro is something like:
+
+ AX_PATH_MILTER([8.12],[
+ LIBS="$MILTER_LIBS $LIBS"
+ LDFLAGS="$MILTER_LDFLAGS $LDFLAGS"
+ CPPFLAGS="$CPPFLAGS $MILTER_CPPFLAGS"
+ ],[
+ AC_MSG_ERROR([required milter library and header not found])
+ ])
+
+If the macro is successful, it just adds any flags to the necessary
+environment. If it is not successful, it would likely be a fatal error,
+because if an application is linking with libmilter.a, it is probably
+because it is a milter.
+
+There are two optional "-with" options for configure which are added.
+If they are specified, they override any searching that is done. They
+are:
+
+ --with-sendmail-base=<DIR> This option is used to explicitly
+ specify the base of the sendmail distribution.
+
+ --with-sendmail-obj=<DIR> The option is used to explicitly specify
+ the "obj.*" subdirectory in the sendmail distribution
+ that should be used.
+
+When sendmail-base is not specified, the current environment is first
+tested to see if the header and library are available, and if so
+MILTER_LDFLAGS and MILTER_CPPFLAGS are left empty.
+
+There are two places that are searched for the sendmail base directory.
+The first location is one directory down from the current directory. It
+checks if there is a directory of the form sendmail-8.1*, limited to
+version 8.12.x or higher, then chooses the directory with the highest
+version number. If that method does not succeed, it then looks in the
+file /etc/mail/sendmail.cf for the directory it was built from, and uses
+the base of that distribution. If neither of these methods work, then
+it fails.
+
+There are two methods for finding the "obj.*" directory when it is not
+specified. The first is to try to run sendmail's Build program with the
+-M option which will print out the name of the obj. directory for the
+tool in the directory where it is run from. If this does not work, is
+looks for the newest directory of the form "obj.*" in the sendmail base
+directory.
+
+Two addition output variables that are defined, whether or not the files
+are found are SENDMAIL_BASE_DIR and SENDMAIL_OBJ_DIR, which are the
+suspected location of the sendmail base directory and obj.*
+subdirectory.
+
+NOTE: POSIX threads MUST be configured BEFORE this function is called or
+it will not find libmilter.a even if it exists. The easiest way is to
+use the AX_PTHREAD macro by Steven G. Johnson and Alejandro Forero
+Cuervo which is available from the Autoconf Macro Archive.
+
+Source Code
+***********
+
+Download the latest version of 'ax_path_milter.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_milter.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_milter.m4).
+
+License
+*******
+
+Copyright (C) 2008 Tim Toolan <toolan@ele.uri.edu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_path_missing, Next: ax_perl_ext, Prev: ax_path_milter, Up: The Macros
+
+ax_path_missing
+===============
+
+Synopsis
+********
+
+ AX_PATH_MISSING(VARIABLE, PROG-TO-CHECK-FOR, WARNING-IF-NOT-FOUND, PATH)
+
+Description
+***********
+
+Check whether program PROG-TO-CHECK-FOR exists in path. If it is found,
+set VARIABLE to the full path of PROG-TO-CHECK-FOR, otherwise warn using
+the string WARNING-IF-NOT-FOUND and set VARIABLE to the full path of the
+Automake missing script with PROG-TO-CHECK-FOR as the command to run.
+
+A typical use is the following:
+
+ AX_PATH_MISSING([AUTOGEN],[autogen],[autogen seems missing ...])
+
+This macro is the combination of AC_PATH_PROG and AX_MISSING_PROG. If
+you do not want to run AC_PATH_PROG, simply use AX_MISSING_PROG or
+AM_MISSING.
+
+Source Code
+***********
+
+Download the latest version of 'ax_path_missing.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_missing.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_missing.m4).
+
+License
+*******
+
+Copyright (C) 2008 Noah Slater <nslater@bytesexual.org>
+Copyright (C) 2008 Francesco Salvestrini <salvestrini@sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_perl_ext, Next: ax_perl_ext_flags, Prev: ax_path_missing, Up: The Macros
+
+ax_perl_ext
+===========
+
+Synopsis
+********
+
+ AX_PERL_EXT
+
+Description
+***********
+
+Fetches the linker flags and C compiler flags for compiling and linking
+Perl binary extensions. The macro substitutes PERL_EXT_PREFIX,
+PERL_EXT_INC, PERL_EXT_LIB, PERL_EXT_CPPFLAGS, PERL_EXT_LDFLAGS and
+PERL_EXT_DLEXT variables if Perl executable was found. It also checks
+the same variables before trying to retrieve them from the Perl
+configuration.
+
+ PERL_EXT_PREFIX: top-level perl installation path (--prefix)
+ PERL_EXT_INC: XS include directory
+ PERL_EXT_LIB: Perl extensions destination directory
+ PERL_EXT_CPPFLAGS: C preprocessor flags to compile extensions
+ PERL_EXT_LDFLAGS: linker flags to build extensions
+ PERL_EXT_DLEXT: extensions suffix for perl modules (e.g. ".so")
+
+Examples:
+
+ AX_PERL_EXT
+ if test x"$PERL" = x; then
+ AC_ERROR(["cannot find Perl"])
+ fi
+
+Source Code
+***********
+
+Download the latest version of 'ax_perl_ext.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_perl_ext.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_perl_ext.m4).
+
+License
+*******
+
+Copyright (C) 2011 Stanislav Sedov <stas@FreeBSD.org>
+Copyright (C) 2014 Thomas Klausner <tk@giga.or.at>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGE.
+
+\1f
+File: autoconf-archive.info, Node: ax_perl_ext_flags, Next: ax_perl_module_version, Prev: ax_perl_ext, Up: The Macros
+
+ax_perl_ext_flags
+=================
+
+Synopsis
+********
+
+ AX_PERL_EXT_FLAGS([CFLAGS-VARIABLE], [LDFLAGS-VARIABLE], [EXTRA-MODULES])
+ AX_PERL_EXT_CFLAGS([CFLAGS-VARIABLE])
+ AX_PERL_EXT_LDFLAGS([LDFLAGS-VARIABLE], [EXTRA-MODULES])
+
+Description
+***********
+
+Fetches the linker flags and C compiler flags for compiling and linking
+programs that embed a Perl interpreter. If the EXTRA-MODULES argument
+is submitted, it is a space separated list of extra modules to link.
+The flags will be stored in the provided variables.
+
+Examples:
+
+ AX_PERL_EXT_FLAGS([PERLXS_CFLAGS], [PERLXS_LDFLAGS])
+ AC_SUBST([PERLXS_CFLAGS])
+ AC_SUBST([PERLXS_LDFLAGS])
+
+ AX_PERL_EXT_CFLAGS([PERLXS_CFLAGS])
+ AC_SUBST([PERLXS_CFLAGS])
+
+ AX_PERL_EXT_LDFLAGS([PERLXS_LDFLAGS], [-std Socket])
+
+Source Code
+***********
+
+Download the latest version of 'ax_perl_ext_flags.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_perl_ext_flags.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_perl_ext_flags.m4).
+
+License
+*******
+
+Copyright (C) 2009 Mats Kindahl of Sun Microsystems <mats@sun.com>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+3. The name of the author may not be used to endorse or promote
+products derived from this software without specific prior written
+permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+
+\1f
+File: autoconf-archive.info, Node: ax_perl_module_version, Next: ax_pgsql_priv_root, Prev: ax_perl_ext_flags, Up: The Macros
+
+ax_perl_module_version
+======================
+
+Synopsis
+********
+
+ AX_PERL_MODULE_VERSION([MODULE VERSION], [ACTION-IF-TRUE], [ACTION-IF-FALSE])
+
+Description
+***********
+
+Checks to see if the list of 'Module Version' are available in the
+system. If all the modules in the list are available ACTION-IF-TRUE is
+executed. Case one module is not available ACTION-IF-FALSE is executed
+and the macro execution is aborted. NOTE: Perl is needed.
+
+Example:
+
+ AX_PERL_MODULE_VERSION(CGI::Test 0.104 CGI::Ajax 0.694, ,
+ AC_MSG_ERROR(Need some Perl modules))
+
+Source Code
+***********
+
+Download the latest version of 'ax_perl_module_version.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_perl_module_version.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_perl_module_version.m4).
+
+License
+*******
+
+Copyright (C) 2009 Marco Gomes <mpglesi@gmail.com>
+Copyright (C) 2009 Ruben Fonseca <fonseka@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_pgsql_priv_root, Next: ax_pkg_check_modules, Prev: ax_perl_module_version, Up: The Macros
+
+ax_pgsql_priv_root
+==================
+
+Synopsis
+********
+
+ AX_PGSQL_PRIV_ROOT(DB, USER, [HOST], [PASSWORD], [ACTION_IF_FAILED], [ACTION_IF_OK])
+
+Description
+***********
+
+This macro checks whether the given PostgreSQL user has root privileges
+(can create and drop databases) It is recommended to first call
+AX_CHECK_PGSQL_DB, this makes it easier to locate the cause of error.
+The macro AX_PROG_PGCLIENT is required by this one.
+
+The variable $pgclient_root_call is set for later use in Makefiles, if
+you'd like to make use of this, you must do
+
+ AC_SUBST(pgclient_root_call)
+
+after having called AX_CHECK_PGSQL_PRIV_ROOT. You can then do something
+like the following in your Makefile.am:
+
+ @pgclient_root_call@ -f file.sql
+
+If you want the user to set the data, you should support something like
+these configure options:
+
+ AC_ARG_WITH(pgsql-host,
+ [ --with-pgsql-host=HOST server is running on HOST @<:@local socket@:>@],
+ [pg_host=$withval], [pg_host=])
+
+ AC_ARG_WITH(pgsql-db,
+ [ --with-pgsql-db=DBNAME use database DBNAME @<:@test@:>@],
+ [pg_db=$withval], [pg_db=test])
+
+ AC_ARG_WITH(pgsql-root-user,
+ [ --with-pgsql-root-user=USER use user USER, must have root (all) privileges @<:@postgres@:>@],
+ [pg_root_user=$withval], [pg_root_user=postgres])
+
+ AC_ARG_WITH(pgsql-password,
+ [ --with-pgsql-password=PASSWORD use password PASSWORD @<:@none@:>@],
+ [pg_password=$withval], [pg_password=""])
+
+You can then call the macro like this:
+
+ AX_CHECK_PGSQL_PRIV_ROOT([$pg_db], [$pg_root_user], [$pg_host], [$pg_password], [AC_MSG_ERROR([We need root privileges on database!])])
+
+Source Code
+***********
+
+Download the latest version of 'ax_pgsql_priv_root.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pgsql_priv_root.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pgsql_priv_root.m4).
+
+License
+*******
+
+Copyright (C) 2008 Moritz Sinn <moritz@freesources.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_pkg_check_modules, Next: ax_pkg_mico, Prev: ax_pgsql_priv_root, Up: The Macros
+
+ax_pkg_check_modules
+====================
+
+Synopsis
+********
+
+ AX_PKG_CHECK_MODULES(PREFIX, PUBLIC-MODULES, PRIVATE-MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], [PUBLIC-VARIABLE], [PRIVATE-VARIABLE])
+
+Description
+***********
+
+A wrapper around PKG_CHECK_MODULES which splits the list of modules into
+public and private dependencies, and produces two variables listing the
+dependencies across all invocations of AX_PKG_CHECK_MODULES. These two
+variables are exposed via AC_SUBST, and should be used in a pkg-config
+file as the substituted values for Requires and Requires.private.
+
+The PREFIX, PUBLIC-MODULES and PRIVATE-MODULES arguments should be
+specified as for PKG_CHECK_MODULES, with the concatenation of
+PUBLIC-MODULES and PRIVATE-MODULES equaling the LIST-OF-MODULES from
+PKG_CHECK_MODULES. The ACTION-IF-FOUND and ACTION-IF-NOT-FOUND arguments
+are optional, and should also be specified as for PKG_CHECK_MODULES.
+ACTION-IF-FOUND is evaluated if the full LIST-OF-MODULES is found;
+ACTION-IF-NOT-FOUND similarly.
+
+PUBLIC-VARIABLE defaults to AX_PACKAGE_REQUIRES, and PRIVATE-VARIABLE
+defaults to AX_PACKAGE_REQUIRES_PRIVATE. Both variables are AC_SUBST-ed
+by this macro.
+
+For example:
+
+ AX_PKG_CHECK_MODULES([GLIB],[glib-2.0 gio-2.0],[gthread-2.0])
+ AX_PKG_CHECK_MODULES([DBUS],[],[dbus-glib-1 >= 0.98 dbus-1])
+
+results in the substitutions:
+
+ AX_PACKAGE_REQUIRES="glib-2.0 gio-2.0"
+ AX_PACKAGE_REQUIRES_PRIVATE="gthread-2.0 dbus-glib-1 >= 0.98 dbus-1"
+
+and can be used with a template pkg-config file (.pc.in) using:
+
+ Requires: @AX_PACKAGE_REQUIRES@
+ Requires.private: @AX_PACKAGE_REQUIRES_PRIVATE@
+
+Source Code
+***********
+
+Download the latest version of 'ax_pkg_check_modules.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pkg_check_modules.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pkg_check_modules.m4).
+
+License
+*******
+
+Copyright (C) 2014 Philip Withnall <philip@tecnocode.co.uk>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_pkg_mico, Next: ax_pkg_swig, Prev: ax_pkg_check_modules, Up: The Macros
+
+ax_pkg_mico
+===========
+
+Synopsis
+********
+
+ AX_PKG_MICO([X.X.X optional required])
+
+Description
+***********
+
+This macro searches for a MICO installation on your system. MICO (Mico
+Is COrba) installs the file 'mico-setup.sh' under MICO_INSTALL_BASE/lib,
+where MICO_INSTALL_BASE is probably /usr/local or /usr. If nothing was
+specified when calling configure or just -with-mico, it searches in
+$prefix/lib:/usr/local/lib:/usr/lib The argument of s-with-mico
+specifies the full pathname of the mico-setup.sh file. For instance
+-with-mico=/usr/local/mico-2.2.6/lib/mico-setup.sh.
+
+If the version argument is given (e.g. 2.2.6), AX_PKG_MICO checks that
+the mico package is this version number or higher.
+
+The other optional argument to AX_PKG_MICO are 'optional' and
+'required'. by default, placing AX_PKG_MICO in your configure.in does
+not enforce using mico, if it is not found on the system. If MICO
+existence is critical for the building of your package, then you
+probably want to specify something like "AX_PKG_MICO(2.2.6 required)".
+Then, even if the -with-mico was not specified on the command line of
+the configure script, an error will be raised if mico was not found.
+
+If the mico package is not found, abort configuration with error
+message.
+
+It defines the symbol MICOSETUP, MICOVERSION, MICOSHAREDDIR
+MICO_INCLUDE, MICO_LIB and MICO_CXX if mico is found. In addition, the
+mico script mico-c++ (set in (MICO_CXX) is scaned for a string match
+"-I.*ministl" and if foundMICO_USE_MINISTL is set to 1, otherwise to 0.
+
+Example of use of these variables in your Makefile.in:
+
+ INCLUDES += @MICO_INCLUDE@
+ LDFLAGS += @MICO_LIB@
+
+Source Code
+***********
+
+Download the latest version of 'ax_pkg_mico.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pkg_mico.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pkg_mico.m4).
+
+License
+*******
+
+Copyright (C) 2008 Tal Shalif <tal@shalif.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_pkg_swig, Next: ax_prefix_config_h, Prev: ax_pkg_mico, Up: The Macros
+
+ax_pkg_swig
+===========
+
+Synopsis
+********
+
+ AX_PKG_SWIG([major.minor.micro], [action-if-found], [action-if-not-found])
+
+Description
+***********
+
+This macro searches for a SWIG installation on your system. If found,
+then SWIG is AC_SUBST'd; if not found, then $SWIG is empty. If SWIG is
+found, then SWIG_LIB is set to the SWIG library path, and AC_SUBST'd.
+
+You can use the optional first argument to check if the version of the
+available SWIG is greater than or equal to the value of the argument.
+It should have the format: N[.N[.N]] (N is a number between 0 and 999.
+Only the first N is mandatory.) If the version argument is given (e.g.
+1.3.17), AX_PKG_SWIG checks that the swig package is this version number
+or higher.
+
+As usual, action-if-found is executed if SWIG is found, otherwise
+action-if-not-found is executed.
+
+In configure.in, use as:
+
+ AX_PKG_SWIG(1.3.17, [], [ AC_MSG_ERROR([SWIG is required to build..]) ])
+ AX_SWIG_ENABLE_CXX
+ AX_SWIG_MULTI_MODULE_SUPPORT
+ AX_SWIG_PYTHON
+
+Source Code
+***********
+
+Download the latest version of 'ax_pkg_swig.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pkg_swig.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pkg_swig.m4).
+
+License
+*******
+
+Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
+Copyright (C) 2008 Alan W. Irwin
+Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
+Copyright (C) 2008 Andrew Collier
+Copyright (C) 2011 Murray Cumming <murrayc@openismus.com>
+Copyright (C) 2021 Vincent Danjean <Vincent.Danjean@ens-lyon.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prefix_config_h, Next: ax_prepend_flag, Prev: ax_pkg_swig, Up: The Macros
+
+ax_prefix_config_h
+==================
+
+Synopsis
+********
+
+ AX_PREFIX_CONFIG_H [(OUTPUT-HEADER [,PREFIX [,ORIG-HEADER]])]
+
+Description
+***********
+
+Generate an installable config.h.
+
+A package should not normally install its config.h as a system header,
+but if it must, this macro can be used to avoid namespace pollution by
+making a copy of config.h with a prefix added to all the macro names.
+
+Each "#define SOMEDEF" line of the configuration header has the given
+prefix added, in the same case as the first character of the macro name.
+
+Defaults:
+
+ OUTPUT-HEADER = $PACKAGE-config.h
+ PREFIX = $PACKAGE
+ ORIG-HEADER, from AM_CONFIG_HEADER(config.h)
+
+Your configure.ac script should contain both macros in this order.
+
+Example:
+
+ AC_INIT(config.h.in) # config.h.in as created by "autoheader"
+ AM_INIT_AUTOMAKE(testpkg, 0.1.1) # makes #undef VERSION and PACKAGE
+ AM_CONFIG_HEADER(config.h) # prep config.h from config.h.in
+ AX_PREFIX_CONFIG_H(mylib/_config.h) # prep mylib/_config.h from it..
+ AC_MEMORY_H # makes "#undef NEED_MEMORY_H"
+ AC_C_CONST_H # makes "#undef const"
+ AC_OUTPUT(Makefile) # creates the "config.h" now
+ # and also mylib/_config.h
+
+If the argument to AX_PREFIX_CONFIG_H would have been omitted then the
+default output file would have been called simply "testpkg-config.h",
+but even under the name "mylib/_config.h" it contains prefix-defines
+like
+
+ #ifndef TESTPKG_VERSION
+ #define TESTPKG_VERSION "0.1.1"
+ #endif
+ #ifndef TESTPKG_NEED_MEMORY_H
+ #define TESTPKG_NEED_MEMORY_H 1
+ #endif
+ #ifndef _testpkg_const
+ #define _testpkg_const _const
+ #endif
+
+and this "mylib/_config.h" can be installed along with other header
+files, which is most convenient when creating a shared library (that has
+some headers) whose functionality depends on features detected at
+compile-time. No need to invent some "mylib-confdefs.h.in" manually.
+
+Note that some AC_DEFINEs that end up in the config.h file are actually
+self-referential - e.g. AC_C_INLINE, AC_C_CONST, and the AC_TYPE_OFF_T
+say that they "will define inline|const|off_t if the system does not do
+it by itself". You might want to clean up about these - consider an
+extra mylib/conf.h that reads something like:
+
+ #include <mylib/_config.h>
+ #ifndef _testpkg_const
+ #define _testpkg_const const
+ #endif
+
+and then start using _testpkg_const in the header files. That is also a
+good thing to differentiate whether some library-user has starting to
+take up with a different compiler, so perhaps it could read something
+like this:
+
+ #ifdef _MSC_VER
+ #include <mylib/_msvc.h>
+ #else
+ #include <mylib/_config.h>
+ #endif
+ #ifndef _testpkg_const
+ #define _testpkg_const const
+ #endif
+
+Source Code
+***********
+
+Download the latest version of 'ax_prefix_config_h.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prefix_config_h.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prefix_config_h.m4).
+
+License
+*******
+
+Copyright (C) 2014 Reuben Thomas <rrt@sc3d.org>
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+Copyright (C) 2008 Marten Svantesson
+Copyright (C) 2008 Gerald Point <Gerald.Point@labri.fr>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prepend_flag, Next: ax_print_to_file, Prev: ax_prefix_config_h, Up: The Macros
+
+ax_prepend_flag
+===============
+
+Synopsis
+********
+
+ AX_PREPEND_FLAG(FLAG, [FLAGS-VARIABLE])
+
+Description
+***********
+
+FLAG is added to the front of the FLAGS-VARIABLE shell variable, with a
+space added in between.
+
+If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
+CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains
+FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly
+FLAG.
+
+NOTE: Implementation based on AX_APPEND_FLAG.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prepend_flag.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prepend_flag.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prepend_flag.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
+Copyright (C) 2018 John Zaitseff <J.Zaitseff@zap.org.au>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_print_to_file, Next: ax_printf_size_t, Prev: ax_prepend_flag, Up: The Macros
+
+ax_print_to_file
+================
+
+Synopsis
+********
+
+ AX_PRINT_TO_FILE([FILE],[DATA])
+
+Description
+***********
+
+Writes the specified data to the specified file.
+
+Source Code
+***********
+
+Download the latest version of 'ax_print_to_file.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_print_to_file.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_print_to_file.m4).
+
+License
+*******
+
+Copyright (C) 2008 Tom Howard <tomhoward@users.sf.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_printf_size_t, Next: ax_prog_apache, Prev: ax_print_to_file, Up: The Macros
+
+ax_printf_size_t
+================
+
+Synopsis
+********
+
+ AX_PRINTF_SIZE_T
+
+Description
+***********
+
+Check for the appropriate printf() format string modifier to use with a
+size_t argument. If a suitable modifier is found, it is AC_DEFINE'd as
+PRI_SIZE_T_MODIFIER, and can be used in C code as e.g.
+
+ printf("Size = %" PRI_SIZE_T_MODIFIER "u bytes.\n", sizeof(foo));
+
+If you use the PRIxNN macros from ISO C99's <inttypes.h>, you may wish
+to define a supplemental set of macros along similar lines:
+
+ #define PRIdSIZE PRI_SIZE_T_MODIFIER "d"
+ #define PRIiSIZE PRI_SIZE_T_MODIFIER "i"
+ #define PRIoSIZE PRI_SIZE_T_MODIFIER "o"
+ #define PRIuSIZE PRI_SIZE_T_MODIFIER "u"
+ #define PRIxSIZE PRI_SIZE_T_MODIFIER "x"
+ #define PRIXSIZE PRI_SIZE_T_MODIFIER "X"
+
+Note: This macro invokes a test program to check whether a given format
+modifier is understood by the system's sprintf() function. If the user
+is cross-compiling, then this check cannot be performed, and thereby
+PRI_SIZE_T_MODIFIER will remain undefined.
+
+Source Code
+***********
+
+Download the latest version of 'ax_printf_size_t.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_printf_size_t.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_printf_size_t.m4).
+
+License
+*******
+
+Copyright (C) 2012 Daniel Richard G. <skunk@iSKUNK.ORG>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_apache, Next: ax_prog_bison, Prev: ax_printf_size_t, Up: The Macros
+
+ax_prog_apache
+==============
+
+Synopsis
+********
+
+ AX_PROG_APACHE([version])
+
+Description
+***********
+
+This macro searches for an installed apache server. If nothing was
+specified when calling configure or just -with-apache, it searches in
+/usr/local/apache/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin
+The argument of -with-apache specifies the full pathname of the httpd
+argument. For instance -with-apache=/usr/sbin/httpd.
+
+If the version argument is given, AX_PROG_APACHE checks that the apache
+server is this version number or higher.
+
+If the apache server is not found, abort configuration with error
+message.
+
+It defines the symbol APACHE if the server is found.
+
+Files using apache should do the following:
+
+ @APACHE@ -d /etc/httpd
+
+It defines the symbol APACHE_MODULES if a directory containing mod_env.*
+is found in the default server root directory (obtained with httpd -V).
+
+The httpd.conf file listing modules to be loaded dynamically can use
+@APACHE_MODULES@ to grab them in the appropriate sub directory. For
+instance:
+
+ ...
+ <IfModule mod_so.c>
+ LoadModule env_module @APACHE_MODULES@/mod_env.so
+ LoadModule config_log_module @APACHE_MODULES@/mod_log_config.so
+ ...
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_apache.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_apache.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_apache.m4).
+
+License
+*******
+
+Copyright (C) 2008 Loic Dachary <loic@senga.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_bison, Next: ax_prog_bison_version, Prev: ax_prog_apache, Up: The Macros
+
+ax_prog_bison
+=============
+
+Synopsis
+********
+
+ AX_PROG_BISON(ACTION-IF-TRUE,ACTION-IF-FALSE)
+
+Description
+***********
+
+Check whether bison is the parser generator. Run ACTION-IF-TRUE if
+successful, ACTION-IF-FALSE otherwise
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_bison.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_bison.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_bison.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copyright (C) 2010 Diego Elio Petteno' <flameeyes@gmail.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_bison_version, Next: ax_prog_cc_char_subscripts, Prev: ax_prog_bison, Up: The Macros
+
+ax_prog_bison_version
+=====================
+
+Synopsis
+********
+
+ AX_PROG_BISON_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
+
+Description
+***********
+
+Makes sure that bison version is greater or equal to the version
+indicated. If true the shell commands in ACTION-IF-TRUE are executed.
+If not the shell commands in commands in ACTION-IF-TRUE are executed.
+If not the shell commands in ACTION-IF-FALSE are run. Note if $BISON is
+not set (for example by running AC_CHECK_PROG or AC_PATH_PROG) the macro
+will fail.
+
+Example:
+
+ AC_PATH_PROG([BISON],[bison])
+ AX_PROG_BISON_VERSION([3.0.2],[ ... ],[ ... ])
+
+This will check to make sure that the bison you have is at least version
+3.0.2 or greater.
+
+NOTE: This macro uses the $BISON variable to perform the check.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_bison_version.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_bison_version.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_bison_version.m4).
+
+License
+*******
+
+Copyright (C) 2015 Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_cc_char_subscripts, Next: ax_prog_cc_for_build, Prev: ax_prog_bison_version, Up: The Macros
+
+ax_prog_cc_char_subscripts
+==========================
+
+Synopsis
+********
+
+ AX_PROG_CC_CHAR_SUBSCRIPTS(substvar [,hard])
+
+Description
+***********
+
+Try to find a compiler option that enables usage of char-type to index a
+value-field. This one needs unsigned-chars and it must suppress
+warnings about usage of chars for subscripting. for gcc -funsigned-char
+-Wno-char-subscripts
+
+Currently this macro knows about GCC. hopefully will evolve to use:
+Solaris C compiler, Digital Unix C compiler, C for AIX Compiler, HP-UX C
+compiler, and IRIX C compiler.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_cc_char_subscripts.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cc_char_subscripts.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cc_char_subscripts.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_cc_for_build, Next: ax_prog_cc_mpi, Prev: ax_prog_cc_char_subscripts, Up: The Macros
+
+ax_prog_cc_for_build
+====================
+
+Synopsis
+********
+
+ AX_PROG_CC_FOR_BUILD
+
+Description
+***********
+
+This macro searches for a C compiler that generates native executables,
+that is a C compiler that surely is not a cross-compiler. This can be
+useful if you have to generate source code at compile-time like for
+example GCC does.
+
+The macro sets the CC_FOR_BUILD and CPP_FOR_BUILD macros to anything
+needed to compile or link (CC_FOR_BUILD) and preprocess (CPP_FOR_BUILD).
+The value of these variables can be overridden by the user by specifying
+a compiler with an environment variable (like you do for standard CC).
+
+It also sets BUILD_EXEEXT and BUILD_OBJEXT to the executable and object
+file extensions for the build platform, and GCC_FOR_BUILD to 'yes' if
+the compiler we found is GCC. All these variables but GCC_FOR_BUILD are
+substituted in the Makefile.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_cc_for_build.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cc_for_build.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cc_for_build.m4).
+
+License
+*******
+
+Copyright (C) 2008 Paolo Bonzini <bonzini@gnu.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_cc_mpi, Next: ax_prog_cp_s, Prev: ax_prog_cc_for_build, Up: The Macros
+
+ax_prog_cc_mpi
+==============
+
+Synopsis
+********
+
+ AX_PROG_CC_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
+
+Description
+***********
+
+This macro tries to find out how to compile C programs that use MPI
+(Message Passing Interface), a standard API for parallel process
+communication (see http://www-unix.mcs.anl.gov/mpi/). The macro has to
+be used instead of the standard macro AC_PROG_CC and will replace the
+standard variable CC with the found compiler.
+
+MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
+user. If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
+try to find out how to use MPI, if it fails, the macro will call
+AC_PROG_CC to find a standard C compiler instead.
+
+When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
+(or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed. If
+ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
+
+The following example demonstrates usage of the macro:
+
+ # If --with-mpi=auto is used, try to find MPI, but use standard C compiler if it is not found.
+ # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
+ # If --with-mpi=no is used, use a standard C compiler instead.
+ AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
+ [compile with MPI (parallelization) support. If none is found,
+ MPI is not used. Default: auto])
+ ],,[with_mpi=auto])
+ #
+ AX_PROG_CC_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
+ use_mpi=no
+ if test x"$with_mpi" = xyes; then
+ AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
+ else
+ AC_MSG_WARN([No MPI compiler found, won't use MPI.])
+ fi
+ ])
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_cc_mpi.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cc_mpi.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cc_mpi.m4).
+
+License
+*******
+
+Copyright (C) 2010,2011 Olaf Lenz <olenz@icp.uni-stuttgart.de>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_cp_s, Next: ax_prog_crontab, Prev: ax_prog_cc_mpi, Up: The Macros
+
+ax_prog_cp_s
+============
+
+Synopsis
+********
+
+ AX_PROG_CP_S
+
+Description
+***********
+
+Check how to make a copy by creating a symbolic link to the original -
+it defines the variable CP_S for further use, which you should in fact
+treat like it used to be with be LN_S. The actual value is assured to be
+either LN_S (if the filesystem supports symbolic links) or CP (if the
+filesystem does not know about symbolic links and you need a copy of
+original file to have the same text in both places). In a gnu
+environment it will simply set CP_S="cp -s" since the gnu "cp"-command
+has the "-s" flag. You shall not try to use this command on directories
+since it would require a "-r" in the case of a copy that is not
+supported explicitly here. (I'm not sure if some "cp"-commands out
+there would barf at usage of "-r" on a normal file).
+
+Use CP_S to create a copy of read-only data - if your filesystem
+supports it then a symbolic link is created - a process that is quicker
+and space-saving. However, if the target fs does not support symbolic
+links, just copy the data. Unlike ac_prog_ln_s this macro will never
+fail to set the CP_S ac_subst to something that works.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_cp_s.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cp_s.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cp_s.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_crontab, Next: ax_prog_cxx_for_build, Prev: ax_prog_cp_s, Up: The Macros
+
+ax_prog_crontab
+===============
+
+Synopsis
+********
+
+ AX_PROG_CRONTAB
+
+Description
+***********
+
+Check for the program crontab, if exists let script continue, else pops
+an error message
+
+Besides checking existence, this macro also set these environment
+variables upon completion:
+
+ CRONTAB = which crontab
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_crontab.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_crontab.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_crontab.m4).
+
+License
+*******
+
+Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_cxx_for_build, Next: ax_prog_cxx_mpi, Prev: ax_prog_crontab, Up: The Macros
+
+ax_prog_cxx_for_build
+=====================
+
+Synopsis
+********
+
+ AX_PROG_CXX_FOR_BUILD
+
+Description
+***********
+
+This macro searches for a C++ compiler that generates native
+executables, that is a C++ compiler that surely is not a cross-compiler.
+This can be useful if you have to generate source code at compile-time
+like for example GCC does.
+
+The macro sets the CXX_FOR_BUILD and CXXCPP_FOR_BUILD macros to anything
+needed to compile or link (CXX_FOR_BUILD) and preprocess
+(CXXCPP_FOR_BUILD). The value of these variables can be overridden by
+the user by specifying a compiler with an environment variable (like you
+do for standard CXX).
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_cxx_for_build.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cxx_for_build.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cxx_for_build.m4).
+
+License
+*******
+
+Copyright (C) 2008 Paolo Bonzini <bonzini@gnu.org>
+Copyright (C) 2012 Avionic Design GmbH
+
+Based on the AX_PROG_CC_FOR_BUILD macro by Paolo Bonzini.
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_cxx_mpi, Next: ax_prog_date, Prev: ax_prog_cxx_for_build, Up: The Macros
+
+ax_prog_cxx_mpi
+===============
+
+Synopsis
+********
+
+ AX_PROG_CXX_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
+
+Description
+***********
+
+This macro tries to find out how to compile C++ programs that use MPI
+(Message Passing Interface), a standard API for parallel process
+communication (see http://www-unix.mcs.anl.gov/mpi/). The macro has to
+be used instead of the standard macro AC_PROG_CXX and will replace the
+standard variable CXX with the found compiler.
+
+MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
+user. If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
+try to find out how to use MPI, if it fails, the macro will call
+AC_PROG_CC to find a standard C compiler instead.
+
+When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
+(or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed. If
+ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
+
+The following example demonstrates usage of the macro:
+
+ # If --with-mpi=auto is used, try to find MPI, but use standard C compiler if it is not found.
+ # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
+ # If --with-mpi=no is used, use a standard C compiler instead.
+ AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
+ [compile with MPI (parallelization) support. If none is found,
+ MPI is not used. Default: auto])
+ ],,[with_mpi=auto])
+
+ AX_PROG_CXX_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
+ use_mpi=no
+ if test x"$with_mpi" = xyes; then
+ AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
+ else
+ AC_MSG_WARN([No MPI compiler found, won't use MPI.])
+ fi
+ ])
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_cxx_mpi.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cxx_mpi.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cxx_mpi.m4).
+
+License
+*******
+
+Copyright (C) 2010,2011 Olaf Lenz <olenz@icp.uni-stuttgart.de>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_date, Next: ax_prog_dotnetcore_version, Prev: ax_prog_cxx_mpi, Up: The Macros
+
+ax_prog_date
+============
+
+Synopsis
+********
+
+ AX_PROG_DATE()
+
+Description
+***********
+
+This macro tries to determine the type of the date (1) command and some
+of its non-standard capabilities.
+
+The type is determined as follow:
+
+ * If the version string contains "GNU", then:
+ - The variable ax_cv_prog_date_gnu is set to "yes".
+ - The variable ax_cv_prog_date_type is set to "gnu".
+
+ * If date supports the "-v 1d" option, then:
+ - The variable ax_cv_prog_date_bsd is set to "yes".
+ - The variable ax_cv_prog_date_type is set to "bsd".
+
+ * If both previous checks fail, then:
+ - The variable ax_cv_prog_date_type is set to "unknown".
+
+The following capabilities of GNU date are checked:
+
+ * If date supports the --date arg option, then:
+ - The variable ax_cv_prog_date_gnu_date is set to "yes".
+
+ * If date supports the --utc arg option, then:
+ - The variable ax_cv_prog_date_gnu_utc is set to "yes".
+
+The following capabilities of BSD date are checked:
+
+ * If date supports the -v 1d option, then:
+ - The variable ax_cv_prog_date_bsd_adjust is set to "yes".
+
+ * If date supports the -r arg option, then:
+ - The variable ax_cv_prog_date_bsd_date is set to "yes".
+
+All the aforementioned variables are set to "no" before a check is
+performed.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_date.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_date.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_date.m4).
+
+License
+*******
+
+Copyright (C) 2017 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <http://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_dotnetcore_version, Next: ax_prog_doxygen, Prev: ax_prog_date, Up: The Macros
+
+ax_prog_dotnetcore_version
+==========================
+
+Synopsis
+********
+
+ AX_PROG_DOTNETCORE_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
+
+Description
+***********
+
+Makes sure that .NET Core supports the version indicated. If true the
+shell commands in ACTION-IF-TRUE are executed. If not the shell
+commands in ACTION-IF-FALSE are run. The $dotnetcore_version variable
+will be filled with the detected version.
+
+This macro uses the $DOTNETCORE variable to perform the check. If
+$DOTNETCORE is not set prior to calling this macro, the macro will fail.
+
+Example:
+
+ AC_PATH_PROG([DOTNETCORE],[dotnet])
+ AC_PROG_DOTNETCORE_VERSION([1.0.2],[ ... ],[ ... ])
+
+Searches for .NET Core, then checks if at least version 1.0.2 is
+present.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_dotnetcore_version.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_dotnetcore_version.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_dotnetcore_version.m4).
+
+License
+*******
+
+Copyright (C) 2016 Jens Geyer <jensg@apache.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_doxygen, Next: ax_prog_emacs, Prev: ax_prog_dotnetcore_version, Up: The Macros
+
+ax_prog_doxygen
+===============
+
+Synopsis
+********
+
+ DX_INIT_DOXYGEN(PROJECT-NAME, [DOXYFILE-PATH], [OUTPUT-DIR], ...)
+ DX_DOXYGEN_FEATURE(ON|OFF)
+ DX_DOT_FEATURE(ON|OFF)
+ DX_HTML_FEATURE(ON|OFF)
+ DX_CHM_FEATURE(ON|OFF)
+ DX_CHI_FEATURE(ON|OFF)
+ DX_MAN_FEATURE(ON|OFF)
+ DX_RTF_FEATURE(ON|OFF)
+ DX_XML_FEATURE(ON|OFF)
+ DX_PDF_FEATURE(ON|OFF)
+ DX_PS_FEATURE(ON|OFF)
+
+Description
+***********
+
+The DX_*_FEATURE macros control the default setting for the given
+Doxygen feature. Supported features are 'DOXYGEN' itself, 'DOT' for
+generating graphics, 'HTML' for plain HTML, 'CHM' for compressed HTML
+help (for MS users), 'CHI' for generating a separate .chi file by the
+.chm file, and 'MAN', 'RTF', 'XML', 'PDF' and 'PS' for the appropriate
+output formats. The environment variable DOXYGEN_PAPER_SIZE may be
+specified to override the default 'a4wide' paper size.
+
+By default, HTML, PDF and PS documentation is generated as this seems to
+be the most popular and portable combination. MAN pages created by
+Doxygen are usually problematic, though by picking an appropriate subset
+and doing some massaging they might be better than nothing. CHM and RTF
+are specific for MS (note that you can't generate both HTML and CHM at
+the same time). The XML is rather useless unless you apply specialized
+post-processing to it.
+
+The macros mainly control the default state of the feature. The use can
+override the default by specifying -enable or -disable. The macros
+ensure that contradictory flags are not given (e.g.,
+-enable-doxygen-html and -enable-doxygen-chm, -enable-doxygen-anything
+with -disable-doxygen, etc.) Finally, each feature will be
+automatically disabled (with a warning) if the required programs are
+missing.
+
+Once all the feature defaults have been specified, call DX_INIT_DOXYGEN
+with the following parameters: a one-word name for the project for use
+as a filename base etc., an optional configuration file name (the
+default is '$(srcdir)/Doxyfile', the same as Doxygen's default), and an
+optional output directory name (the default is 'doxygen-doc'). To run
+doxygen multiple times for different configuration files and output
+directories provide more parameters: the second, forth, sixth, etc
+parameter are configuration file names and the third, fifth, seventh,
+etc parameter are output directories. No checking is done to catch
+duplicates.
+
+Automake Support
+
+The DX_RULES substitution can be used to add all needed rules to the
+Makefile. Note that this is a substitution without being a variable:
+only the @DX_RULES@ syntax will work.
+
+The provided targets are:
+
+ doxygen-doc: Generate all doxygen documentation.
+
+ doxygen-run: Run doxygen, which will generate some of the
+ documentation (HTML, CHM, CHI, MAN, RTF, XML)
+ but will not do the post processing required
+ for the rest of it (PS, PDF).
+
+ doxygen-ps: Generate doxygen PostScript documentation.
+
+ doxygen-pdf: Generate doxygen PDF documentation.
+
+Note that by default these are not integrated into the automake targets.
+If doxygen is used to generate man pages, you can achieve this
+integration by setting man3_MANS to the list of man pages generated and
+then adding the dependency:
+
+ $(man3_MANS): doxygen-doc
+
+This will cause make to run doxygen and generate all the documentation.
+
+The following variable is intended for use in Makefile.am:
+
+ DX_CLEANFILES = everything to clean.
+
+Then add this variable to MOSTLYCLEANFILES.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_doxygen.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_doxygen.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_doxygen.m4).
+
+License
+*******
+
+Copyright (C) 2009 Oren Ben-Kiki <oren@ben-kiki.org>
+Copyright (C) 2015 Olaf Mandel <olaf@mandel.name>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_emacs, Next: ax_prog_f77_mpi, Prev: ax_prog_doxygen, Up: The Macros
+
+ax_prog_emacs
+=============
+
+Synopsis
+********
+
+ AX_PROG_EMACS
+
+Description
+***********
+
+This macro allows the end user to specify a particular Emacs executable
+via a configure script command-line arg. For example:
+
+ ./configure EMACS=$HOME/build/GNU/emacs/src/emacs
+
+It also arranges to mention env var EMACS in the './configure -help'
+output. See info node "(autoconf) Generic Programs" for details.
+
+More precisely...
+
+If env var EMACS is set, try to use its value directly, but avoid
+getting fooled by value 't' (set by older Emacsen for subprocesses). If
+no joy from the environment, search for "emacs" via AC_CHECK_PROG. If
+still no joy, display "Emacs not found; required!" and make configure
+exit failurefully. Otherwise, set shell var EMACS and AC_SUBST it, too.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_emacs.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_emacs.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_emacs.m4).
+
+License
+*******
+
+Copyright (C) 2016-2017 Thien-Thi Nguyen
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_f77_mpi, Next: ax_prog_fasm, Prev: ax_prog_emacs, Up: The Macros
+
+ax_prog_f77_mpi
+===============
+
+Synopsis
+********
+
+ AX_PROG_F77_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
+
+Description
+***********
+
+This macro tries to find out how to compile Fortran77 programs that use
+MPI (Message Passing Interface), a standard API for parallel process
+communication (see http://www-unix.mcs.anl.gov/mpi/). The macro has to
+be used instead of the standard macro AC_PROG_F77 and will replace the
+standard variable F77 with the found compiler.
+
+MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
+user. If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
+try to find out how to use MPI, if it fails, the macro will call
+AC_PROG_CC to find a standard C compiler instead.
+
+When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
+(or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed. If
+ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
+
+The following example demonstrates usage of the macro:
+
+ # If --with-mpi=auto is used, try to find MPI, but use standard F77 compiler if it is not found.
+ # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
+ # If --with-mpi=no is used, use a standard F77 compiler instead.
+ AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
+ [compile with MPI (parallelization) support. If none is found,
+ MPI is not used. Default: auto])
+ ],,[with_mpi=auto])
+
+ AX_PROG_F77_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
+ use_mpi=no
+ if test x"$with_mpi" = xyes; then
+ AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
+ else
+ AC_MSG_WARN([No MPI compiler found, won't use MPI.])
+ fi
+ ])
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_f77_mpi.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_f77_mpi.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_f77_mpi.m4).
+
+License
+*******
+
+Copyright (C) 2010,2011 Olaf Lenz <olenz@icp.uni-stuttgart.de>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_fasm, Next: ax_prog_fasm_opt, Prev: ax_prog_f77_mpi, Up: The Macros
+
+ax_prog_fasm
+============
+
+Synopsis
+********
+
+ AX_PROG_FASM([ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+This macro searches for the FASM assembler and sets the variable "fasm"
+to the name of the application or to "no" if not found. If
+ACTION-IF-NOT-FOUND is not specified, configure will fail when the
+program is not found.
+
+Example:
+
+ AX_PROG_FASM()
+ AX_PROG_FASM([fasm_avail="no"])
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_fasm.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fasm.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fasm.m4).
+
+License
+*******
+
+Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_fasm_opt, Next: ax_prog_fc_mpi, Prev: ax_prog_fasm, Up: The Macros
+
+ax_prog_fasm_opt
+================
+
+Synopsis
+********
+
+ AX_PROG_FASM_OPT(option, var_name)
+
+Description
+***********
+
+This macro checks if the FASM assembler accepts the given option. If
+yes, the option is appended to the variable 'var_name', otherwise
+'var_name' is unchanged.
+
+Example:
+
+ AX_PROG_FASM_OPT([-m 256], [FASM_OPTS])
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_fasm_opt.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fasm_opt.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fasm_opt.m4).
+
+License
+*******
+
+Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_fc_mpi, Next: ax_prog_fig2dev, Prev: ax_prog_fasm_opt, Up: The Macros
+
+ax_prog_fc_mpi
+==============
+
+Synopsis
+********
+
+ AX_PROG_FC_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
+
+Description
+***********
+
+This macro tries to find out how to compile Fortran77 programs that use
+MPI (Message Passing Interface), a standard API for parallel process
+communication (see http://www-unix.mcs.anl.gov/mpi/). The macro has to
+be used instead of the standard macro AC_PROG_FC and will replace the
+standard variable FC with the found compiler.
+
+MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
+user. If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
+try to find out how to use MPI, if it fails, the macro will call
+AC_PROG_CC to find a standard C compiler instead.
+
+When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
+(or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed. If
+ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
+
+The following example demonstrates usage of the macro:
+
+ # If --with-mpi=auto is used, try to find MPI, but use standard FC compiler if it is not found.
+ # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
+ # If --with-mpi=no is used, use a standard FC compiler instead.
+ AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
+ [compile with MPI (parallelization) support. If none is found,
+ MPI is not used. Default: auto])
+ ],,[with_mpi=auto])
+
+ AX_PROG_FC_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
+ use_mpi=no
+ if test x"$with_mpi" = xyes; then
+ AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
+ else
+ AC_MSG_WARN([No MPI compiler found, won't use MPI.])
+ fi
+ ])
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_fc_mpi.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fc_mpi.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fc_mpi.m4).
+
+License
+*******
+
+Copyright (C) 2010,2011 Olaf Lenz <olenz@icp.uni-stuttgart.de>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_fig2dev, Next: ax_prog_flex, Prev: ax_prog_fc_mpi, Up: The Macros
+
+ax_prog_fig2dev
+===============
+
+Synopsis
+********
+
+ AX_PROG_FIG2DEV
+
+Description
+***********
+
+If 'fig2dev' is found, sets the output variable 'FIG2DEV' to 'fig2dev',
+and 'FIG2DEV_ESPLANG' to the graphics language which can be used to
+produce Encapsulated PostScript. Older versions of 'fig2dev' produce
+EPS with '-Lps' and new versions with '-Leps', this macro finds out the
+correct language option automatically.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_fig2dev.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fig2dev.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fig2dev.m4).
+
+License
+*******
+
+Copyright (C) 2008 Ville Laurikari <vl@iki.fi>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_flex, Next: ax_prog_flex_version, Prev: ax_prog_fig2dev, Up: The Macros
+
+ax_prog_flex
+============
+
+Synopsis
+********
+
+ AX_PROG_FLEX(ACTION-IF-TRUE,ACTION-IF-FALSE)
+
+Description
+***********
+
+Check whether flex is the scanner generator. Run ACTION-IF-TRUE if
+successful, ACTION-IF-FALSE otherwise
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_flex.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_flex.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_flex.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copyright (C) 2010 Diego Elio Petteno' <flameeyes@gmail.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_flex_version, Next: ax_prog_gjs, Prev: ax_prog_flex, Up: The Macros
+
+ax_prog_flex_version
+====================
+
+Synopsis
+********
+
+ AX_PROG_FLEX_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
+
+Description
+***********
+
+Makes sure that flex version is greater or equal to the version
+indicated. If true the shell commands in ACTION-IF-TRUE are executed.
+If not the shell commands in commands in ACTION-IF-TRUE are executed.
+If not the shell commands in ACTION-IF-FALSE are run. Note if $FLEX is
+not set (for example by running AC_CHECK_PROG or AC_PATH_PROG) the macro
+will fail.
+
+Example:
+
+ AC_PATH_PROG([FLEX],[flex])
+ AX_PROG_FLEX_VERSION([2.5.39],[ ... ],[ ... ])
+
+This will check to make sure that the flex you have is at least version
+2.5.39 or greater.
+
+NOTE: This macro uses the $FLEX variable to perform the check.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_flex_version.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_flex_version.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_flex_version.m4).
+
+License
+*******
+
+Copyright (C) 2015 Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_gjs, Next: ax_prog_guile_version, Prev: ax_prog_flex_version, Up: The Macros
+
+ax_prog_gjs
+===========
+
+Synopsis
+********
+
+ AX_PROG_GJS
+
+Description
+***********
+
+AX_PROG_GJS checks for the presence of the JavaScript interpreter GJS
+(https://wiki.gnome.org/Projects/Gjs) in pkg-config or in the path. If
+it is not found, an error is issued and configure is halted. If it is
+found, the path of the interpreter is placed into a variable named GJS,
+which is declared precious.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_gjs.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_gjs.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_gjs.m4).
+
+License
+*******
+
+Copyright (C) 2013, 2016 Endless Mobile, Inc.; contributed by Philip Chimento <philip@endlessm.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_guile_version, Next: ax_prog_haxe_version, Prev: ax_prog_gjs, Up: The Macros
+
+ax_prog_guile_version
+=====================
+
+Synopsis
+********
+
+ AX_PROG_GUILE_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
+
+Description
+***********
+
+Makes sure that guile supports the version indicated. If true the shell
+commands in ACTION-IF-TRUE are executed. If not the shell commands in
+ACTION-IF-FALSE are run. Note if $GUILE is not set (for example by
+running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
+
+Example:
+
+ AC_PATH_PROG([GUILE],[guile])
+ AC_PROG_GUILE_VERSION([1.6.0],[ ... ],[ ... ])
+
+This will check to make sure that the guile you have supports at least
+version 1.6.0.
+
+NOTE: This macro uses the $GUILE variable to perform the check.
+AX_WITH_GUILE can be used to set that variable prior to running this
+macro. The $GUILE_VERSION variable will be valorized with the detected
+version.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_guile_version.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_guile_version.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_guile_version.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_haxe_version, Next: ax_prog_help2man, Prev: ax_prog_guile_version, Up: The Macros
+
+ax_prog_haxe_version
+====================
+
+Synopsis
+********
+
+ AX_PROG_HAXE_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
+
+Description
+***********
+
+Makes sure that haxe supports the version indicated. If true the shell
+commands in ACTION-IF-TRUE are executed. If not the shell commands in
+ACTION-IF-FALSE are run. The $HAXE_VERSION variable will be filled with
+the detected version.
+
+This macro uses the $HAXE variable to perform the check. If $HAXE is
+not set prior to calling this macro, the macro will fail.
+
+Example:
+
+ AC_PATH_PROG([HAXE],[haxe])
+ AC_PROG_HAXE_VERSION([3.1.3],[ ... ],[ ... ])
+
+Searches for Haxe, then checks if at least version 3.1.3 is present.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_haxe_version.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_haxe_version.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_haxe_version.m4).
+
+License
+*******
+
+Copyright (C) 2015 Jens Geyer <jensg@apache.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_help2man, Next: ax_prog_hla, Prev: ax_prog_haxe_version, Up: The Macros
+
+ax_prog_help2man
+================
+
+Synopsis
+********
+
+ AX_PROG_HELP2MAN([program list], [man directory prefix], [binary prefix])
+
+Description
+***********
+
+AX_PROG_HELP2MAN is a macro designed to facilitate usage of help2man.
+It may take three optional arguments:
+
+1. <program list>: comma-separated m4 list of input programs
+
+Specifies the list of input programs which shall be used to produce man
+pages using help2man. If no value is specified, the macro assumes that
+the sole target will be named $(PACKAGE_NAME). Thus, the two following
+lines are equivalent:
+
+ AX_PROG_HELP2MAN
+ AX_PROG_HELP2MAN([\$(PACKAGE_NAME)])
+
+2. <man directory prefix>: directory prefix of the man pages directory
+
+Sets AX_HELP2MAN_PREFIX_MANS to <man directory prefix>. Defaults to
+'doc/man/man1' if no value is provided. Note that
+AX_HELP2MAN_PREFIX_MANS will always be a subdirectory of the build
+directory.
+
+3. <binary prefix>:
+
+Sets AX_HELP2MAN_PREFIX_BIN to <binary prefix>. Defaults to
+'$(top_builddir)' if no value is provided. The two following lines are
+equivalent:
+
+ AX_PROG_HELP2MAN([subdir/program1, subdir/program2])
+ AX_PROG_HELP2MAN([program1, program2], [], [\$(top_builddir)/subdir])
+
+The macro:
+
+- checks that help2man is available on the system.
+
+- provides the configure option -disable-help2man.
+
+- sets the output variable ax_help2man_MANS to the list of man pages
+that shall be generated.
+
+- sets the automake conditional HAVE_HELP2MAN
+
+- sets the substitution variable AX_HELP2MAN_RULES to the required make
+rules, targets and recipes.
+
+Further detail on the macro can be found after the minimal working
+example. Here is a minimal working example:
+
+ # configure.ac:
+ AX_PROG_HELP2MAN
+
+ # Makefile.am:
+ if HAVE_HELP2MAN
+ man1_MANS = $(ax_help2man_MANS)
+ @AX_HELP2MAN_RULES@
+ endif
+
+This minimal working example shall work under the following assumptions:
+
+1. the aforementioned binary has the same name as the project
+
+2. the project produces a single binary at the root of the build
+directory
+
+3. the man page shall be generated into the doc/man/man1 directory
+
+Note that adding ax_help2man_MANS to man1_MANS is not needed if the man
+page generation is not mandatory.
+
+The AX_HELP2MAN_RULES substitution variable shall contain:
+
+- a recipe to create, if necessary, the destination directory.
+
+- a generic rule to produce the manpages.
+
+This rule targets the contents of the variable ax_help2man_MANS and its
+recipe shall be akin to the following:
+
+ $(HELP2MAN) -l -N --output="$@" --name="$(shell basename $<)" "$(shell dirname $<)/$(shell basename $<)"
+
+Errors from this rule are ignored.
+
+- rules for each input program and target man page.
+
+For each input program, a rule akin to the following shall be available:
+
+ $(AX_HELP2MAN_PREFIX_MANS)/program.1: $(AX_HELP2MAN_PREFIX_BIN)/path/to/program
+
+The macro assumes that all man pages shall be generated into the same
+directory (AX_HELP2MAN_PREFIX_MANS) and that all input programs can be
+found in the same directory (AX_HELP2MAN_PREFIX_BIN). If a subset of the
+inputs or outputs have different paths (for instance one of the inputs
+is a script available in $(top_srcdir) whereas the other inputs are
+programs compiled at build time), it can be customized in the
+Makefile.am: the target man page must be added to ax_help2man_MANS, so
+that it becomes a target of the generic rule for man pages and a rule
+must be added to specify its prerequisite:
+
+ ax_help2man_MANS += path/to/output/man/page.1
+ path/to/output/man/page.1: path/to/input/program.1
+
+Here is a full example for a project where binaries 'program1' and
+'program2' are compiled at build time whereas 'script' is available in
+the source tree:
+
+ # configure.ac:
+ AX_PROG_HELP2MAN([program1, program2])
+
+ # Makefile.am:
+ if HAVE_HELP2MAN
+ man1_MANS = $(ax_help2man_MANS)
+ @AX_HELP2MAN_RULES@
+ ax_help2man_MANS += $(AX_HELP2MAN_PREFIX_MANS)/script.1
+ $(AX_HELP2MAN_PREFIX_MANS)/script.1: $(top_srcdir)/script
+ endif
+
+Note that this macro should not be called more than once.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_help2man.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_help2man.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_help2man.m4).
+
+License
+*******
+
+Copyright (C) 2017 Harenome Ranaivoarivony-Razanajato <ranaivoarivony-razanajato@hareno.me>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+Under Section 7 of GPL version 3, you are granted additional permissions
+described in the Autoconf Configure Script Exception, version 3.0, as
+published by the Free Software Foundation.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_hla, Next: ax_prog_hla_opt, Prev: ax_prog_help2man, Up: The Macros
+
+ax_prog_hla
+===========
+
+Synopsis
+********
+
+ AX_PROG_HLA([ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+This macro searches for the HLA assembler and sets the variable "hla" to
+the name of the application or to "no" if not found. If
+ACTION-IF-NOT-FOUND is not specified, configure will fail when the
+program is not found.
+
+Example:
+
+ AX_PROG_HLA()
+ AX_PROG_HLA([hla_avail="no"])
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_hla.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_hla.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_hla.m4).
+
+License
+*******
+
+Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_hla_opt, Next: ax_prog_httpd, Prev: ax_prog_hla, Up: The Macros
+
+ax_prog_hla_opt
+===============
+
+Synopsis
+********
+
+ AX_PROG_HLA_OPT(option, var_name)
+
+Description
+***********
+
+This macro checks if the HLA assembler accepts the given option. If
+yes, the option is appended to the variable 'var_name', otherwise
+'var_name' is unchanged.
+
+Example:
+
+ AX_PROG_HLA_OPT([-v], [HLA_OPTS])
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_hla_opt.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_hla_opt.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_hla_opt.m4).
+
+License
+*******
+
+Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_httpd, Next: ax_prog_jar, Prev: ax_prog_hla_opt, Up: The Macros
+
+ax_prog_httpd
+=============
+
+Synopsis
+********
+
+ AX_PROG_HTTPD
+
+Description
+***********
+
+Check for Apache's 'httpd', let script continue if exists & works, pops
+up error message if not.
+
+Testing of functionality is by checking its compile settings
+
+Besides checking existence, this macro also set these environment
+variables upon completion:
+
+ HTTPD = which httpd
+ HTTPD_ROOT = Apache's root directory, specified when compiled / run with -d option
+ HTTPD_SERVER_ROOT = Directory for Apache's essential files, e.g. access logs / error logs / modules / scripts.
+ HTTPD_SERVER_CONFIG_FILE = Full-path of the 'httpd.conf' file
+ HTTPD_USER = Which user that httpd runs as
+ HTTPD_GROUP = Which group that httpd runs as
+ HTTPD_DOC_HOME = Document directory, taken as the first DocumentRoot path found in httpd.conf
+ HTTPD_SCRIPT_HOME = CGI script directory, taken as the first ScriptAlias path found in httpd.conf
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_httpd.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_httpd.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_httpd.m4).
+
+License
+*******
+
+Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_jar, Next: ax_prog_java, Prev: ax_prog_httpd, Up: The Macros
+
+ax_prog_jar
+===========
+
+Synopsis
+********
+
+ AX_PROG_JAR
+
+Description
+***********
+
+AX_PROG_JAR tests for an existing jar program. It uses the environment
+variable JAR then tests in sequence various common jar programs.
+
+If you want to force a specific compiler:
+
+- at the configure.in level, set JAR=yourcompiler before calling
+AX_PROG_JAR
+
+- at the configure level, setenv JAR
+
+You can use the JAR variable in your Makefile.in, with @JAR@.
+
+Note: This macro depends on the autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download that whole set, some macros
+depend on other. Unfortunately, the autoconf archive does not support
+the concept of set of macros, so I had to break it for submission.
+
+The general documentation of those macros, as well as the sample
+configure.in, is included in the AX_PROG_JAVA macro.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_jar.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_jar.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_jar.m4).
+
+License
+*******
+
+Copyright (C) 2008 Egon Willighagen <e.willighagen@science.ru.nl>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_java, Next: ax_prog_java_cc, Prev: ax_prog_jar, Up: The Macros
+
+ax_prog_java
+============
+
+Synopsis
+********
+
+ AX_PROG_JAVA
+
+Description
+***********
+
+Here is a summary of the main macros:
+
+AX_PROG_JAVAC: finds a Java compiler.
+
+AX_PROG_JAVA: finds a Java virtual machine.
+
+AX_CHECK_CLASS: finds if we have the given class (beware of CLASSPATH!).
+
+AX_CHECK_RQRD_CLASS: finds if we have the given class and stops
+otherwise.
+
+AX_TRY_COMPILE_JAVA: attempt to compile user given source.
+
+AX_TRY_RUN_JAVA: attempt to compile and run user given source.
+
+AX_JAVA_OPTIONS: adds Java configure options.
+
+AX_PROG_JAVA tests an existing Java virtual machine. It uses the
+environment variable JAVA then tests in sequence various common Java
+virtual machines. For political reasons, it starts with the free ones.
+You *must* call [AX_PROG_JAVAC] before.
+
+If you want to force a specific VM:
+
+- at the configure.in level, set JAVA=yourvm before calling AX_PROG_JAVA
+
+ (but after AC_INIT)
+
+- at the configure level, setenv JAVA
+
+You can use the JAVA variable in your Makefile.in, with @JAVA@.
+
+*Warning*: its success or failure can depend on a proper setting of the
+CLASSPATH env. variable.
+
+TODO: allow to exclude virtual machines (rationale: most Java programs
+cannot run with some VM like kaffe).
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission.
+
+A Web page, with a link to the latest CVS snapshot is at
+<http://www.internatif.org/bortzmeyer/autoconf-Java/>.
+
+This is a sample configure.in Process this file with autoconf to produce
+a configure script.
+
+ AC_INIT(UnTag.java)
+
+ dnl Checks for programs.
+ AC_CHECK_CLASSPATH
+ AX_PROG_JAVAC
+ AX_PROG_JAVA
+
+ dnl Checks for classes
+ AX_CHECK_RQRD_CLASS(org.xml.sax.Parser)
+ AX_CHECK_RQRD_CLASS(com.jclark.xml.sax.Driver)
+
+ AC_OUTPUT(Makefile)
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_java.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_java.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_java.m4).
+
+License
+*******
+
+Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_java_cc, Next: ax_prog_java_works, Prev: ax_prog_java, Up: The Macros
+
+ax_prog_java_cc
+===============
+
+Synopsis
+********
+
+ AX_PROG_JAVA_CC
+
+Description
+***********
+
+Finds the appropriate java compiler on your path. By preference the
+java compiler is gcj, then jikes then javac.
+
+The macro can take one argument specifying a space separated list of
+java compiler names.
+
+For example:
+
+ AX_PROG_JAVA_CC(javac, gcj)
+
+The macro also sets the compiler options variable: JAVA_CC_OPTS to
+something sensible:
+
+ - for GCJ it sets it to: @GCJ_OPTS@
+ (if GCJ_OPTS is not yet defined then it is set to "-C")
+
+ - no other compiler has applicable options yet
+
+Here's an example configure.in:
+
+ AC_INIT(Makefile.in)
+ AX_PROG_JAVA_CC()
+ AC_OUTPUT(Makefile)
+ dnl End.
+
+And here's the start of the Makefile.in:
+
+ PROJECT_ROOT := @srcdir@
+ # Tool definitions.
+ JAVAC := @JAVA_CC@
+ JAVAC_OPTS := @JAVA_CC_OPTS@
+ JAR_TOOL := @jar_tool@
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_java_cc.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_java_cc.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_java_cc.m4).
+
+License
+*******
+
+Copyright (C) 2008 Nic Ferrier <nferrier@tapsellferrier.co.uk>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_java_works, Next: ax_prog_javac, Prev: ax_prog_java_cc, Up: The Macros
+
+ax_prog_java_works
+==================
+
+Synopsis
+********
+
+ AX_PROG_JAVA_WORKS
+
+Description
+***********
+
+Internal use ONLY.
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission. The
+general documentation, as well as the sample configure.in, is included
+in the AX_PROG_JAVA macro.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_java_works.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_java_works.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_java_works.m4).
+
+License
+*******
+
+Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_javac, Next: ax_prog_javac_works, Prev: ax_prog_java_works, Up: The Macros
+
+ax_prog_javac
+=============
+
+Synopsis
+********
+
+ AX_PROG_JAVAC
+
+Description
+***********
+
+AX_PROG_JAVAC tests an existing Java compiler. It uses the environment
+variable JAVAC then tests in sequence various common Java compilers.
+For political reasons, it starts with the free ones.
+
+If you want to force a specific compiler:
+
+- at the configure.in level, set JAVAC=yourcompiler before calling
+AX_PROG_JAVAC
+
+- at the configure level, setenv JAVAC
+
+You can use the JAVAC variable in your Makefile.in, with @JAVAC@.
+
+*Warning*: its success or failure can depend on a proper setting of the
+CLASSPATH env. variable.
+
+TODO: allow to exclude compilers (rationale: most Java programs cannot
+compile with some compilers like guavac).
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission. The
+general documentation, as well as the sample configure.in, is included
+in the AX_PROG_JAVA macro.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_javac.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javac.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javac.m4).
+
+License
+*******
+
+Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_javac_works, Next: ax_prog_javadoc, Prev: ax_prog_javac, Up: The Macros
+
+ax_prog_javac_works
+===================
+
+Synopsis
+********
+
+ AX_PROG_JAVAC_WORKS
+
+Description
+***********
+
+Internal use ONLY.
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission. The
+general documentation, as well as the sample configure.in, is included
+in the AX_PROG_JAVA macro.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_javac_works.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javac_works.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javac_works.m4).
+
+License
+*******
+
+Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_javadoc, Next: ax_prog_javah, Prev: ax_prog_javac_works, Up: The Macros
+
+ax_prog_javadoc
+===============
+
+Synopsis
+********
+
+ AX_PROG_JAVADOC
+
+Description
+***********
+
+AX_PROG_JAVADOC tests for an existing javadoc generator. It uses the
+environment variable JAVADOC then tests in sequence various common
+javadoc generator.
+
+If you want to force a specific compiler:
+
+- at the configure.in level, set JAVADOC=yourgenerator before calling
+AX_PROG_JAVADOC
+
+- at the configure level, setenv JAVADOC
+
+You can use the JAVADOC variable in your Makefile.in, with @JAVADOC@.
+
+Note: This macro depends on the autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download that whole set, some macros
+depend on other. Unfortunately, the autoconf archive does not support
+the concept of set of macros, so I had to break it for submission.
+
+The general documentation of those macros, as well as the sample
+configure.in, is included in the AX_PROG_JAVA macro.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_javadoc.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javadoc.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javadoc.m4).
+
+License
+*******
+
+Copyright (C) 2008 Egon Willighagen <e.willighagen@science.ru.nl>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_javah, Next: ax_prog_masm, Prev: ax_prog_javadoc, Up: The Macros
+
+ax_prog_javah
+=============
+
+Synopsis
+********
+
+ AX_PROG_JAVAH
+
+Description
+***********
+
+AX_PROG_JAVAH tests the availability of the javah header generator and
+looks for the jni.h header file. If available, JAVAH is set to the full
+path of javah and CPPFLAGS is updated accordingly.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_javah.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javah.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javah.m4).
+
+License
+*******
+
+Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_masm, Next: ax_prog_masm_opt, Prev: ax_prog_javah, Up: The Macros
+
+ax_prog_masm
+============
+
+Synopsis
+********
+
+ AX_PROG_MASM([ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+This macro searches for the MASM assembler and sets the variable "masm"
+to the name of the application or to "no" if not found. If
+ACTION-IF-NOT-FOUND is not specified, configure will fail when the
+program is not found.
+
+Example:
+
+ AX_PROG_MASM()
+ AX_PROG_MASM([masm_avail="no"])
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_masm.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_masm.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_masm.m4).
+
+License
+*******
+
+Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_masm_opt, Next: ax_prog_md5sum, Prev: ax_prog_masm, Up: The Macros
+
+ax_prog_masm_opt
+================
+
+Synopsis
+********
+
+ AX_PROG_MASM_OPT(option, var_name)
+
+Description
+***********
+
+This macro checks if the MASM assembler accepts the given option. If
+yes, the option is appended to the variable 'var_name', otherwise
+'var_name' is unchanged.
+
+Example:
+
+ AX_PROG_MASM_OPT([/coff], [MASM_OPTS])
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_masm_opt.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_masm_opt.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_masm_opt.m4).
+
+License
+*******
+
+Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_md5sum, Next: ax_prog_modprobe, Prev: ax_prog_masm_opt, Up: The Macros
+
+ax_prog_md5sum
+==============
+
+Synopsis
+********
+
+ AX_PROG_MD5SUM([ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+This macro find a md5sum application and set the variable md5sum to the
+name of the application or to no if not found if ACTION-IF-NOT-FOUND is
+not specified, configure fail when then application is not found.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_md5sum.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_md5sum.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_md5sum.m4).
+
+License
+*******
+
+Copyright (C) 2009 Gabriele Bartolini <gabriele.bartolini@devise.it>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_modprobe, Next: ax_prog_mysql, Prev: ax_prog_md5sum, Up: The Macros
+
+ax_prog_modprobe
+================
+
+Synopsis
+********
+
+ AX_PROG_MODPROBE
+
+Description
+***********
+
+This macro searches for a modprobe command, such as can be found on
+Linux systems with loadable kernel module support. PATH is checked
+first, then the default location(s).
+
+This is one of several autoconf macros intended to assist in configuring
+and installing loadable kernel modules.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_modprobe.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_modprobe.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_modprobe.m4).
+
+License
+*******
+
+Copyright (C) 2008 Kaelin Colclasure <kaelin@acm.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_mysql, Next: ax_prog_mysqladmin, Prev: ax_prog_modprobe, Up: The Macros
+
+ax_prog_mysql
+=============
+
+Synopsis
+********
+
+ AX_PROG_MYSQL
+
+Description
+***********
+
+Check for the program 'mysql' let script continue if exists & works pops
+up error message if not.
+
+Testing of functionality is by invoking it with root password 'rootpass'
+and a 'SELECT * FROM user' SQL statement. That SQL statement will
+select all user information from the 'user' privileges table, and should
+work on every proper MySQL server.
+
+Besides checking mysql, this macro also set these environment variables
+upon completion:
+
+ MYSQL = which mysql
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_mysql.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysql.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysql.m4).
+
+License
+*******
+
+Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_mysqladmin, Next: ax_prog_mysqld, Prev: ax_prog_mysql, Up: The Macros
+
+ax_prog_mysqladmin
+==================
+
+Synopsis
+********
+
+ AX_PROG_MYSQLADMIN
+
+Description
+***********
+
+Check for the program 'mysqladmin' let script continue if exists & works
+pops up error message if not.
+
+Testing of functionality is by invoking it with root password 'rootpass'
+and a 'flush-privileges' command.
+
+Besides checking mysql, this macro also set these environment variables
+upon completion:
+
+ MYSQLADMIN = which mysqladmin
+ MYSQL_DATADIR = directory containing mysql database
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_mysqladmin.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqladmin.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqladmin.m4).
+
+License
+*******
+
+Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_mysqld, Next: ax_prog_mysqlimport, Prev: ax_prog_mysqladmin, Up: The Macros
+
+ax_prog_mysqld
+==============
+
+Synopsis
+********
+
+ AX_PROG_MYSQLD
+
+Description
+***********
+
+Check for the program 'mysqld' let script continue if exists & works
+pops up error message if not.
+
+Besides checking existence, this macro also set these environment
+variables upon completion:
+
+ MYSQLD = which mysqld
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_mysqld.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqld.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqld.m4).
+
+License
+*******
+
+Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_mysqlimport, Next: ax_prog_mysqlshow, Prev: ax_prog_mysqld, Up: The Macros
+
+ax_prog_mysqlimport
+===================
+
+Synopsis
+********
+
+ AX_PROG_MYSQLIMPORT
+
+Description
+***********
+
+Check for the program 'mysqlimport', let script continue if exists, pops
+up error message if not.
+
+Besides checking existence, this macro also set these environment
+variables upon completion:
+
+ MYSQLIMPORT = which mysqlimport
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_mysqlimport.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqlimport.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqlimport.m4).
+
+License
+*******
+
+Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_mysqlshow, Next: ax_prog_nasm, Prev: ax_prog_mysqlimport, Up: The Macros
+
+ax_prog_mysqlshow
+=================
+
+Synopsis
+********
+
+ AX_PROG_MYSQLSHOW
+
+Description
+***********
+
+Check for the program 'mysqlshow' let script continue if exists & works
+pops up error message if not.
+
+Testing of functionality is by invoking it with root password
+'rootpass'. If it works, it should show all databases currently in
+system.
+
+Besides checking mysql, this macro also set these environment variables
+upon completion:
+
+ MYSQLSHOW = which mysqlshow
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_mysqlshow.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqlshow.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqlshow.m4).
+
+License
+*******
+
+Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_nasm, Next: ax_prog_nasm_opt, Prev: ax_prog_mysqlshow, Up: The Macros
+
+ax_prog_nasm
+============
+
+Synopsis
+********
+
+ AX_PROG_NASM([ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+This macro searches for the NASM assembler and sets the variable "nasm"
+to the name of the application or to "no" if not found. If
+ACTION-IF-NOT-FOUND is not specified, configure will fail when the
+program is not found.
+
+Example:
+
+ AX_PROG_NASM()
+ AX_PROG_NASM([nasm_avail="no"])
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_nasm.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_nasm.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_nasm.m4).
+
+License
+*******
+
+Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_nasm_opt, Next: ax_prog_perl_modules, Prev: ax_prog_nasm, Up: The Macros
+
+ax_prog_nasm_opt
+================
+
+Synopsis
+********
+
+ AX_PROG_NASM_OPT(option, var_name)
+
+Description
+***********
+
+This macro checks if the NASM assembler accepts the given option. If
+yes, the option is appended to the variable 'var_name', otherwise
+'var_name' is unchanged.
+
+Example:
+
+ AX_PROG_NASM_OPT([-f obj], [NASM_OPTS])
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_nasm_opt.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_nasm_opt.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_nasm_opt.m4).
+
+License
+*******
+
+Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_perl_modules, Next: ax_prog_perl_version, Prev: ax_prog_nasm_opt, Up: The Macros
+
+ax_prog_perl_modules
+====================
+
+Synopsis
+********
+
+ AX_PROG_PERL_MODULES([MODULES], [ACTION-IF-TRUE], [ACTION-IF-FALSE])
+
+Description
+***********
+
+Checks to see if the given perl modules are available. If true the
+shell commands in ACTION-IF-TRUE are executed. If not the shell
+commands in ACTION-IF-FALSE are run. Note if $PERL is not set (for
+example by calling AC_CHECK_PROG, or AC_PATH_PROG), AC_CHECK_PROG(PERL,
+perl, perl) will be run.
+
+MODULES is a space separated list of module names. To check for a
+minimum version of a module, append the version number to the module
+name, separated by an equals sign.
+
+Example:
+
+ AX_PROG_PERL_MODULES( Text::Wrap Net::LDAP=1.0.3, ,
+ AC_MSG_WARN(Need some Perl modules)
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_perl_modules.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_perl_modules.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_perl_modules.m4).
+
+License
+*******
+
+Copyright (C) 2009 Dean Povey <povey@wedgetail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_perl_version, Next: ax_prog_pgclient, Prev: ax_prog_perl_modules, Up: The Macros
+
+ax_prog_perl_version
+====================
+
+Synopsis
+********
+
+ AX_PROG_PERL_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
+
+Description
+***********
+
+Makes sure that perl supports the version indicated. If true the shell
+commands in ACTION-IF-TRUE are executed. If not the shell commands in
+ACTION-IF-FALSE are run. Note if $PERL is not set (for example by
+running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
+
+Example:
+
+ AC_PATH_PROG([PERL],[perl])
+ AX_PROG_PERL_VERSION([5.8.0],[ ... ],[ ... ])
+
+This will check to make sure that the perl you have supports at least
+version 5.8.0.
+
+NOTE: This macro uses the $PERL variable to perform the check.
+AX_WITH_PERL can be used to set that variable prior to running this
+macro. The $PERL_VERSION variable will be valorized with the detected
+version.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_perl_version.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_perl_version.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_perl_version.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_pgclient, Next: ax_prog_python_version, Prev: ax_prog_perl_version, Up: The Macros
+
+ax_prog_pgclient
+================
+
+Synopsis
+********
+
+ AX_PROG_PGCLIENT()
+
+Description
+***********
+
+This macro searches for a program called 'pgclient'. If found the
+variable $pgclient is set to its path. Else it is set to 0. An option
+is added to the configure script for setting an search path instead of
+$PATH ($pgclient_dir). If pgclient is necessary for installing your
+program, you can do something like the following to stop configure with
+an error if pgclient wasn't found:
+
+ if test "x$pgclient" = "x0"; then AC_MSG_ERROR([We need that to setup the database!]); fi
+
+pgclient can be found at http://pgclient.freesources.org
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_pgclient.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_pgclient.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_pgclient.m4).
+
+License
+*******
+
+Copyright (C) 2008 Moritz Sinn <moritz@freesources.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_python_version, Next: ax_prog_robot, Prev: ax_prog_pgclient, Up: The Macros
+
+ax_prog_python_version
+======================
+
+Synopsis
+********
+
+ AX_PROG_PYTHON_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
+
+Description
+***********
+
+Makes sure that python supports the version indicated. If true the
+shell commands in ACTION-IF-TRUE are executed. If not the shell
+commands in ACTION-IF-FALSE are run. Note if $PYTHON is not set (for
+example by running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
+
+Example:
+
+ AC_PATH_PROG([PYTHON],[python])
+ AX_PROG_PYTHON_VERSION([2.4.4],[ ... ],[ ... ])
+
+This will check to make sure that the python you have supports at least
+version 2.4.4.
+
+NOTE: This macro uses the $PYTHON variable to perform the check.
+AX_WITH_PYTHON can be used to set that variable prior to running this
+macro. The $PYTHON_VERSION variable will be valorized with the detected
+version.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_python_version.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_python_version.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_python_version.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_robot, Next: ax_prog_ruby_version, Prev: ax_prog_python_version, Up: The Macros
+
+ax_prog_robot
+=============
+
+Synopsis
+********
+
+ AX_PROG_ROBOT([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
+
+Description
+***********
+
+This macro searches for the "robot" command from the Robot Framework and
+sets the variable "ROBOT" to the name of the application and the
+"ROBOT_VERSION" variable to the version of the Robot Framework. When
+robot is found sets the "HAS_ROBOT" to "yes", otherwise to "no".
+
+Example:
+
+ AX_PROG_ROBOT([3.1.0], [], [])
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_robot.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_robot.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_robot.m4).
+
+License
+*******
+
+Copyright (C) 2020, Adam Chyla <adam@chyla.org>
+
+Distributed under the terms of the BSD 3-Clause License.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_ruby_version, Next: ax_prog_scala, Prev: ax_prog_robot, Up: The Macros
+
+ax_prog_ruby_version
+====================
+
+Synopsis
+********
+
+ AX_PROG_RUBY_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
+
+Description
+***********
+
+Makes sure that ruby supports the version indicated. If true the shell
+commands in ACTION-IF-TRUE are executed. If not the shell commands in
+ACTION-IF-FALSE are run. Note if $RUBY is not set (for example by
+running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
+
+Example:
+
+ AC_PATH_PROG([RUBY],[ruby])
+ AC_PROG_RUBY_VERSION([1.8.0],[ ... ],[ ... ])
+
+This will check to make sure that the ruby you have supports at least
+version 1.6.0.
+
+NOTE: This macro uses the $RUBY variable to perform the check.
+AX_WITH_PROG([RUBY],[ruby],[VALUE-IF-NOT-FOUND],[PATH]) can be used to
+set that variable prior to running this macro. The $RUBY_VERSION
+variable will be valorized with the detected version.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_ruby_version.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_ruby_version.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_ruby_version.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_scala, Next: ax_prog_scalac, Prev: ax_prog_ruby_version, Up: The Macros
+
+ax_prog_scala
+=============
+
+Synopsis
+********
+
+ AX_PROG_SCALA
+
+Description
+***********
+
+AX_PROG_SCALA will check that scala is available. If it is SCALA will
+be set to its path and SCALA_VERSION will be set to its version.
+
+Hint: AX_COMPARE_VERSION can be used to check if SCALA_VERSION has an
+acceptable value.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_scala.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_scala.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_scala.m4).
+
+License
+*******
+
+Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_scalac, Next: ax_prog_scp, Prev: ax_prog_scala, Up: The Macros
+
+ax_prog_scalac
+==============
+
+Synopsis
+********
+
+ AX_PROG_SCALAC
+
+Description
+***********
+
+AX_PROG_SCALAC will check that a scala compiler is available, that it
+works and set SCALAC for the Makefile.
+
+AX_PROG_SCALAC will search the path for a Scala compiler. To choose
+another compiler use the environment variable SCALAC.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_scalac.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_scalac.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_scalac.m4).
+
+License
+*******
+
+Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_scp, Next: ax_prog_splint, Prev: ax_prog_scalac, Up: The Macros
+
+ax_prog_scp
+===========
+
+Synopsis
+********
+
+ AX_PROG_SCP
+
+Description
+***********
+
+Check for the program 'scp', let script continue if exists, pops up
+error message if not.
+
+Besides checking existence, this macro also set these environment
+variables upon completion:
+
+ SCP = which scp
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_scp.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_scp.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_scp.m4).
+
+License
+*******
+
+Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_splint, Next: ax_prog_ssh, Prev: ax_prog_scp, Up: The Macros
+
+ax_prog_splint
+==============
+
+Synopsis
+********
+
+ AX_PROG_SPLINT([AX_SPLINTFLAGS])
+
+Description
+***********
+
+Check for program splint, the static C code checking tool. The splint
+URL is given by http://www.splint.org. This macro should be use
+together with automake.
+
+Enables following environment variables:
+
+ SPLINT
+ SPLINTFLAGS
+
+and AX_SPLINTFLAGS is given by AC_SUBST. If AX_SPLINTFLAGS is not given
+by AX_PROG_SPLINT it defaults to "-weak".
+
+Enables the following make target:
+
+ splint-check
+
+which runs splint per PROGRAMS and LIBRARIES. Output from splint run is
+collected in file ***_splint.log where *** is given by the PROGRAMS or
+LIBRARIES name.
+
+The following line is required in Makefile.am:
+
+ include aminclude_static.am
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_splint.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_splint.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_splint.m4).
+
+License
+*******
+
+Copyright (C) 2011 Henrik Uhrenholt
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_ssh, Next: ax_prog_tasm, Prev: ax_prog_splint, Up: The Macros
+
+ax_prog_ssh
+===========
+
+Synopsis
+********
+
+ AX_PROG_SSH
+
+Description
+***********
+
+Check for the program 'ssh', let script continue if exists, pops up
+error message if not.
+
+Besides checking existence, this macro also set these environment
+variables upon completion:
+
+ SSH = which ssh
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_ssh.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_ssh.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_ssh.m4).
+
+License
+*******
+
+Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_tasm, Next: ax_prog_tasm_opt, Prev: ax_prog_ssh, Up: The Macros
+
+ax_prog_tasm
+============
+
+Synopsis
+********
+
+ AX_PROG_TASM([ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+This macro searches for the TASM assembler and sets the variable "tasm"
+to the name of the application or to "no" if not found. If
+ACTION-IF-NOT-FOUND is not specified, configure will fail when the
+program is not found.
+
+Example:
+
+ AX_PROG_TASM()
+ AX_PROG_TASM([tasm_avail="no"])
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_tasm.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_tasm.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_tasm.m4).
+
+License
+*******
+
+Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_tasm_opt, Next: ax_prog_tcl, Prev: ax_prog_tasm, Up: The Macros
+
+ax_prog_tasm_opt
+================
+
+Synopsis
+********
+
+ AX_PROG_TASM_OPT(option, var_name)
+
+Description
+***********
+
+This macro checks if the TASM assembler accepts the given option. If
+yes, the option is appended to the variable 'var_name', otherwise
+'var_name' is unchanged.
+
+Example:
+
+ AX_PROG_TASM_OPT([/z], [TASM_OPTS])
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_tasm_opt.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_tasm_opt.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_tasm_opt.m4).
+
+License
+*******
+
+Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_tcl, Next: ax_prog_xsltproc, Prev: ax_prog_tasm_opt, Up: The Macros
+
+ax_prog_tcl
+===========
+
+Synopsis
+********
+
+ AX_PROG_TCL([min-version])
+
+Description
+***********
+
+Searches for tcl (tclsh and wish) in PATH and checks which version is
+installed. The macro bails out if either tcl is not found or the
+minimum version is not satisfied, unless minimum version is "0".
+
+Example:
+
+ AX_PROG_TCL
+
+This checks for tcl and if not found, exits with an error. If found, it
+prints tcl path and version number.
+
+ AX_PROG_TCL([8.0])
+
+Checks for tcl and exits with an error if its not found or the version
+is below 8.0.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_tcl.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_tcl.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_tcl.m4).
+
+License
+*******
+
+Copyright (C) 2008 David Cluytens
+Copyright (C) 2008 Uwe Mayer <merkosh@hadiko.de>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_xsltproc, Next: ax_prog_yasm, Prev: ax_prog_tcl, Up: The Macros
+
+ax_prog_xsltproc
+================
+
+Synopsis
+********
+
+ AX_PROG_XSLTPROC([default-flags])
+
+Description
+***********
+
+Find an xsltproc executable.
+
+Input:
+
+"default-flags" is the default $XSLTPROC_FLAGS, which will be overridden
+if the user specifies -with-xsltproc-flags.
+
+Output:
+
+$XSLTPROC contains the path to xsltproc, or is empty if none was found
+or the user specified -without-xsltproc. $XSLTPROC_FLAGS contains the
+flags to use with xsltproc.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_xsltproc.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_xsltproc.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_xsltproc.m4).
+
+License
+*******
+
+Copyright (C) 2008,2009 Zmanda Inc. <http://www.zmanda.com/>
+Copyright (C) 2008,2009 Dustin J. Mitchell <dustin@zmanda.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_yasm, Next: ax_prog_yasm_opt, Prev: ax_prog_xsltproc, Up: The Macros
+
+ax_prog_yasm
+============
+
+Synopsis
+********
+
+ AX_PROG_YASM([ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+This macro searches for the YASM assembler and sets the variable "yasm"
+to the name of the application or to "no" if not found. If
+ACTION-IF-NOT-FOUND is not specified, configure will fail when the
+program is not found.
+
+Example:
+
+ AX_PROG_YASM()
+ AX_PROG_YASM([yasm_avail="no"])
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_yasm.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_yasm.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_yasm.m4).
+
+License
+*******
+
+Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prog_yasm_opt, Next: ax_prototype, Prev: ax_prog_yasm, Up: The Macros
+
+ax_prog_yasm_opt
+================
+
+Synopsis
+********
+
+ AX_PROG_YASM_OPT(option, var_name)
+
+Description
+***********
+
+This macro checks if the YASM assembler accepts the given option. If
+yes, the option is appended to the variable 'var_name', otherwise
+'var_name' is unchanged.
+
+Example:
+
+ AX_PROG_YASM_OPT([-f bin], [YASM_OPTS])
+
+Source Code
+***********
+
+Download the latest version of 'ax_prog_yasm_opt.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_yasm_opt.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_yasm_opt.m4).
+
+License
+*******
+
+Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prototype, Next: ax_prototype_accept, Prev: ax_prog_yasm_opt, Up: The Macros
+
+ax_prototype
+============
+
+Synopsis
+********
+
+ AX_PROTOTYPE(function, includes, code, TAG1, values1 [, TAG2, values2 [...]])
+
+Description
+***********
+
+Try all the combinations of <TAG1>, <TAG2>... to successfully compile
+<code>. <TAG1>, <TAG2>, ... are substituted in <code> and <include>
+with values found in <values1>, <values2>, ... respectively.
+<values1>, <values2>, ... contain a list of possible values for each
+corresponding tag and all combinations are tested. When
+AC_TRY_COMPILE(include, code) is successful for a given substitution,
+the macro stops and defines the following macros: FUNCTION_TAG1,
+FUNCTION_TAG2, ... using AC_DEFINE() with values set to the current
+values of <TAG1>, <TAG2>, ... If no combination is successful the
+configure script is aborted with a message.
+
+Intended purpose is to find which combination of argument types is
+acceptable for a given function <function>. It is recommended to list
+the most specific types first. For instance ARG1, [size_t, int] instead
+of ARG1, [int, size_t].
+
+Generic usage pattern:
+
+1) add a call in configure.in
+
+ AX_PROTOTYPE(...)
+
+2) call autoheader to see which symbols are not covered
+
+3) add the lines in acconfig.h
+
+ /* Type of Nth argument of function */
+ #undef FUNCTION_ARGN
+
+4) Within the code use FUNCTION_ARGN instead of an hardwired type
+
+Complete example:
+
+1) configure.in
+
+ AX_PROTOTYPE(getpeername,
+ [
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ ],
+ [
+ int a = 0;
+ ARG2 * b = 0;
+ ARG3 * c = 0;
+ getpeername(a, b, c);
+ ],
+ ARG2, [struct sockaddr, void],
+ ARG3, [socklen_t, size_t, int, unsigned int, long unsigned int])
+
+2) call autoheader
+
+ autoheader: Symbol `GETPEERNAME_ARG2' is not covered by ./acconfig.h
+ autoheader: Symbol `GETPEERNAME_ARG3' is not covered by ./acconfig.h
+
+3) acconfig.h
+
+ /* Type of second argument of getpeername */
+ #undef GETPEERNAME_ARG2
+
+ /* Type of third argument of getpeername */
+ #undef GETPEERNAME_ARG3
+
+4) in the code
+
+ ...
+ GETPEERNAME_ARG2 name;
+ GETPEERNAME_ARG3 namelen;
+ ...
+ ret = getpeername(socket, &name, &namelen);
+ ...
+
+Implementation notes: generating all possible permutations of the
+arguments is not easily done with the usual mixture of shell and m4,
+that is why this macro is almost 100% m4 code. It generates long but
+simple to read code.
+
+Source Code
+***********
+
+Download the latest version of 'ax_prototype.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype.m4).
+
+License
+*******
+
+Copyright (C) 2009 Loic Dachary <loic@senga.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prototype_accept, Next: ax_prototype_getsockname, Prev: ax_prototype, Up: The Macros
+
+ax_prototype_accept
+===================
+
+Synopsis
+********
+
+ AX_PROTOTYPE_ACCEPT
+
+Description
+***********
+
+Requires the AX_PROTOTYPE macro. FIXME: Put this in the code!
+
+Find the type of argument two and three of accept. User must include
+the following in acconfig.h:
+
+ /* Type of second argument of accept */
+ #undef ACCEPT_ARG2
+
+ /* Type of third argument of accept */
+ #undef ACCEPT_ARG3
+
+Source Code
+***********
+
+Download the latest version of 'ax_prototype_accept.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype_accept.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype_accept.m4).
+
+License
+*******
+
+Copyright (C) 2008 Loic Dachary <loic@senga.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prototype_getsockname, Next: ax_prototype_setsockopt, Prev: ax_prototype_accept, Up: The Macros
+
+ax_prototype_getsockname
+========================
+
+Synopsis
+********
+
+ AX_PROTOTYPE_GETSOCKNAME
+
+Description
+***********
+
+Requires the AX_PROTOTYPE macro. FIXME: Put this in the code!
+
+Find the type of argument two and three of getsockname. User must
+include the following in acconfig.h:
+
+ /* Type of second argument of getsockname */
+ #undef GETSOCKNAME_ARG2
+
+ /* Type of third argument of getsockname */
+ #undef GETSOCKNAME_ARG3
+
+Source Code
+***********
+
+Download the latest version of 'ax_prototype_getsockname.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype_getsockname.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype_getsockname.m4).
+
+License
+*******
+
+Copyright (C) 2008 Loic Dachary <loic@senga.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_prototype_setsockopt, Next: ax_pthread, Prev: ax_prototype_getsockname, Up: The Macros
+
+ax_prototype_setsockopt
+=======================
+
+Synopsis
+********
+
+ AX_PROTOTYPE_SETSOCKOPT
+
+Description
+***********
+
+Requires the AX_PROTOTYPE macro. FIXME: Put this in the code!
+
+Find the type of argument three of setsockopt. User must include the
+following in acconfig.h:
+
+ /* Type of third argument of setsockopt */
+ #undef SETSOCKOPT_ARG3
+
+Source Code
+***********
+
+Download the latest version of 'ax_prototype_setsockopt.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype_setsockopt.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype_setsockopt.m4).
+
+License
+*******
+
+Copyright (C) 2008 Loic Dachary <loic@senga.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_pthread, Next: ax_python, Prev: ax_prototype_setsockopt, Up: The Macros
+
+ax_pthread
+==========
+
+Synopsis
+********
+
+ AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+This macro figures out how to build C programs using POSIX threads. It
+sets the PTHREAD_LIBS output variable to the threads library and linker
+flags, and the PTHREAD_CFLAGS output variable to any special C compiler
+flags that are needed. (The user can also force certain compiler
+flags/libs to be tested by setting these environment variables.)
+
+Also sets PTHREAD_CC and PTHREAD_CXX to any special C compiler that is
+needed for multi-threaded programs (defaults to the value of CC
+respectively CXX otherwise). (This is necessary on e.g. AIX to use the
+special cc_r/CC_r compiler alias.)
+
+NOTE: You are assumed to not only compile your program with these flags,
+but also to link with them as well. For example, you might link with
+$PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
+$PTHREAD_CXX $CXXFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
+
+If you are only building threaded programs, you may wish to use these
+variables in your default LIBS, CFLAGS, and CC:
+
+ LIBS="$PTHREAD_LIBS $LIBS"
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+ CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
+ CC="$PTHREAD_CC"
+ CXX="$PTHREAD_CXX"
+
+In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
+has a nonstandard name, this macro defines PTHREAD_CREATE_JOINABLE to
+that name (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
+
+Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the
+PTHREAD_PRIO_INHERIT symbol is defined when compiling with
+PTHREAD_CFLAGS.
+
+ACTION-IF-FOUND is a list of shell commands to run if a threads library
+is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
+is not found. If ACTION-IF-FOUND is not specified, the default action
+will define HAVE_PTHREAD.
+
+Please let the authors know if this macro fails on any platform, or if
+you have any other suggestions or comments. This macro was based on
+work by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with
+help from M. Frigo), as well as ac_pthread and hb_pthread macros posted
+by Alejandro Forero Cuervo to the autoconf macro repository. We are
+also grateful for the helpful feedback of numerous users.
+
+Updated for Autoconf 2.68 by Daniel Richard G.
+
+Source Code
+***********
+
+Download the latest version of 'ax_pthread.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pthread.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pthread.m4).
+
+License
+*******
+
+Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
+Copyright (C) 2011 Daniel Richard G. <skunk@iSKUNK.ORG>
+Copyright (C) 2019 Marc Stevens <marc.stevens@cwi.nl>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_python, Next: ax_python_config_var, Prev: ax_pthread, Up: The Macros
+
+ax_python
+=========
+
+Synopsis
+********
+
+ AX_PYTHON
+
+Description
+***********
+
+This macro does a complete Python development environment check.
+
+It checks for all known versions. When it finds an executable, it looks
+to find the header files and library.
+
+It sets PYTHON_BIN to the name of the python executable,
+PYTHON_INCLUDE_DIR to the directory holding the header files, and
+PYTHON_LIB to the name of the Python library.
+
+This macro calls AC_SUBST on PYTHON_BIN (via AC_CHECK_PROG),
+PYTHON_INCLUDE_DIR and PYTHON_LIB.
+
+Source Code
+***********
+
+Download the latest version of 'ax_python.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python.m4).
+
+License
+*******
+
+Copyright (C) 2008 Michael Tindal
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_python_config_var, Next: ax_python_devel, Prev: ax_python, Up: The Macros
+
+ax_python_config_var
+====================
+
+Synopsis
+********
+
+ AX_PYTHON_CONFIG_VAR(PYTHON_VARIABLE, [SHELL_VARIABLE])
+ AX_PYTHON_CONFIG_H
+ AX_PYTHON_MAKEFILE
+
+Description
+***********
+
+AX_PYTHON_CONFIG_VAR:
+
+Using the Python module distutils.sysconfig[1], return a Python
+configuration variable. PYTHON_VARIABLE is the name of the variable to
+request from Python, and SHELL_VARIABLE is the name of the shell
+variable into which the results should be deposited. If SHELL_VARIABLE
+is not specified, the macro wil prefix PY_ to the PYTHON_VARIABLE, e.g.,
+LIBS -> PY_LIBS.
+
+SHELL_VARIABLE is AC_SUBST'd. No action is taken if an error occurs.
+Note if $PYTHON is not set, AC_CHECK_PROG(PYTHON, python, python) will
+be run.
+
+Example:
+
+ AX_PYTHON_CONFIG_VAR(LINKFORSHARED, PY_LFS)
+
+AX_PYTHON_CONFIG_H:
+
+Using the Python module distutils.sysconfig[1], put the full pathname of
+the config.h file used to compile Python into the shell variable
+PY_CONFIG_H. PY_CONFIG_H is AC_SUBST'd. Note if $PYTHON is not set,
+AC_CHECK_PROG(PYTHON, python, python) will be run.
+
+AX_PYTHON_MAKEFILE:
+
+Using the Python module distutils.sysconfig[1], put the full pathname of
+the Makefile file used to compile Python into the shell variable
+PY_MAKEFILE. PY_MAKEFILE is AC_SUBST'd. Note if $PYTHON is not set,
+AC_CHECK_PROG(PYTHON, python, python) will be run.
+
+[1]
+http://www.python.org/doc/current/dist/module-distutils.sysconfig.html
+
+Source Code
+***********
+
+Download the latest version of 'ax_python_config_var.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_config_var.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_config_var.m4).
+
+License
+*******
+
+Copyright (C) 2008 Dustin J. Mitchell <dustin@cs.uchicago.edu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_python_devel, Next: ax_python_embed, Prev: ax_python_config_var, Up: The Macros
+
+ax_python_devel
+===============
+
+Synopsis
+********
+
+ AX_PYTHON_DEVEL([version])
+
+Description
+***********
+
+Note: Defines as a precious variable "PYTHON_VERSION". Don't override it
+in your configure.ac.
+
+This macro checks for Python and tries to get the include path to
+'Python.h'. It provides the $(PYTHON_CPPFLAGS) and $(PYTHON_LIBS)
+output variables. It also exports $(PYTHON_EXTRA_LIBS) and
+$(PYTHON_EXTRA_LDFLAGS) for embedding Python in your code.
+
+You can search for some particular version of Python by passing a
+parameter to this macro, for example ">= '2.3.1'", or "== '2.4'".
+Please note that you *have* to pass also an operator along with the
+version to match, and pay special attention to the single quotes
+surrounding the version number. Don't use "PYTHON_VERSION" for this:
+that environment variable is declared as precious and thus reserved for
+the end-user.
+
+This macro should work for all versions of Python >= 2.1.0. As an end
+user, you can disable the check for the python version by setting the
+PYTHON_NOVERSIONCHECK environment variable to something else than the
+empty string.
+
+If you need to use this macro for an older Python version, please
+contact the authors. We're always open for feedback.
+
+Source Code
+***********
+
+Download the latest version of 'ax_python_devel.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_devel.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_devel.m4).
+
+License
+*******
+
+Copyright (C) 2009 Sebastian Huber <sebastian-huber@web.de>
+Copyright (C) 2009 Alan W. Irwin
+Copyright (C) 2009 Rafael Laboissiere <rafael@laboissiere.net>
+Copyright (C) 2009 Andrew Collier
+Copyright (C) 2009 Matteo Settenvini <matteo@member.fsf.org>
+Copyright (C) 2009 Horst Knorr <hk_classes@knoda.org>
+Copyright (C) 2013 Daniel Mullner <muellner@math.stanford.edu>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_python_embed, Next: ax_python_module, Prev: ax_python_devel, Up: The Macros
+
+ax_python_embed
+===============
+
+Synopsis
+********
+
+ AX_PYTHON_DEFAULT
+ AX_PYTHON_ENABLE
+ AX_PYTHON_WITH
+ AX_PYTHON_PATH
+ AX_PYTHON_VERSION_ENSURE( [2.2] )
+ AX_PYTHON_CSPEC
+ AX_PYTHON_LSPEC
+
+Description
+***********
+
+This file provides autoconf support for those applications that want to
+embed python. It supports all pythons >= 2.2 which is the first
+official release containing distutils. Version 2.2 of python was
+released December 21, 2001. Since it actually executes the python,
+cross platform configuration will probably not work. Also, most of the
+platforms supported are consistent until you look into Mac OS X. The
+python included with it is installed as a framework which is a very
+different environment to set up the normal tools such as gcc and libtool
+to deal with. Therefore, once we establish which python that we are
+going to use, we use its distutils to actually compile and link our
+modules or applications.
+
+At this time, it does NOT support linking with Python statically. It
+does support dynamic linking.
+
+This set of macros help define $PYTHON, $PYTHON_USE, $PYTHON_CSPEC and
+$PYTHON_LSPEC. $PYTHON defines the full executable path for the Python
+being linked to and is used within these macros to determine if that has
+been specified or found. These macros do execute this python version so
+it must be present on the system at configure time.
+
+$PYTHON_USE is an automake variable that defines whether Python support
+should be included or not in your application. $PYTHON_CSPEC is a
+variable that supplies additional CFLAGS for the compilation of the
+application/shared library. $PYTHON_LSPEC is a variable that supplies
+additional LDFLAGS for linking the application/shared library.
+
+The following is an example of how to set up for python usage within
+your application in your configure.in:
+
+ AX_PYTHON_DEFAULT( )
+ AX_PYTHON_ENABLE( ) # Optional
+ AX_PYTHON_WITH( ) # Optional
+ AX_PYTHON_PATH( ) # or AX_PYTHON_INSIST( )
+ # if $PYTHON is not defined, then the following do nothing.
+ AX_PYTHON_VERSION_ENSURE( [2.2] )
+ AX_PYTHON_CSPEC
+ AX_PYTHON_LSPEC
+
+The AX_PYTHON_DEFAULT sets the $PYTHON_USE to false. Thereby, excluding
+it if it was optional.
+
+The AX_PYTHON_ENABLE looks for the optional configure parameters of
+-enable-python/-disable-python and establishes the $PYTHON and
+$PYTHON_USE variables accordingly.
+
+The AX_PYTHON_WITH looks for the optional configure parameters of
+-with-python/-without-python and establishes the $PYTHON and $PYTHON_USE
+variables accordingly.
+
+The AX_PYTHON_PATH looks for python assuming that none has been
+previously found or defined and issues an error if it does not find it.
+If it does find it, it establishes the $PYTHON and $PYTHON_USE variables
+accordingly. AX_PYTHON_INSIST could be used here instead if you want to
+insist that Python support be included using the -enable-python or
+-with-python checks previously done.
+
+The AX_PYTHON_VERSION_ENSURE issues an error if the Python previously
+found is not of version 2.2 or greater.
+
+Once that these macros have be run, we can use PYTHON_USE within the
+makefile.am file to conditionally add the Python support such as:
+
+Makefile.am example showing optional inclusion of directories:
+
+ if PYTHON_USE
+ plugins = plugins
+ src = src
+ else
+ plugins =
+ src =
+ endif
+
+ SUBDIRS = . $(plugins) $(src)
+
+Makefile.am example showing optional shared library build:
+
+ if PYTHON_USE
+ lib_LTLIBRARIES = libElemList.la
+ libElemList_la_SOURCES = libElemList.c
+ libElemList_la_CFLAGS = @PYTHON_CSPEC@
+ libElemList_la_LDFLAGS = @PYTHON_LSPEC@
+ endif
+
+Makefile.am example showing optional program build:
+
+ if PYTHON_USE
+ bin_PROGRAMS = runFunc
+ runFunc_SOURCES = runFunc.c
+ runFunc_CFLAGS = @PYTHON_CSPEC@
+ runFunc_LDFLAGS = @PYTHON_LSPEC@
+ endif
+
+The above compiles the modules only if PYTHON_USE was specified as true.
+Also, the else portion of the if was optional.
+
+Source Code
+***********
+
+Download the latest version of 'ax_python_embed.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_embed.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_embed.m4).
+
+License
+*******
+
+Copyright (C) 2008 Robert White <kranki@mac.com>
+Copyright (C) 2008 Dustin J. Mitchell <dustin@cs.uchicago.edu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_python_module, Next: ax_python_module_version, Prev: ax_python_embed, Up: The Macros
+
+ax_python_module
+================
+
+Synopsis
+********
+
+ AX_PYTHON_MODULE(modname[, fatal, python])
+
+Description
+***********
+
+Checks for Python module.
+
+If fatal is non-empty then absence of a module will trigger an error.
+The third parameter can either be "python" for Python 2 or "python3" for
+Python 3; defaults to Python 3.
+
+Source Code
+***********
+
+Download the latest version of 'ax_python_module.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_module.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_module.m4).
+
+License
+*******
+
+Copyright (C) 2008 Andrew Collier
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_python_module_version, Next: ax_r_package, Prev: ax_python_module, Up: The Macros
+
+ax_python_module_version
+========================
+
+Synopsis
+********
+
+ AX_PYTHON_MODULE_VERSION(modname, min_version[, python])
+
+Description
+***********
+
+Checks for Python module with at least the given version.
+
+Triggers an error if module is absent or present but at a lower version.
+The third parameter can either be "python" for Python 2 or "python3" for
+Python 3; defaults to Python 3.
+
+Source Code
+***********
+
+Download the latest version of 'ax_python_module_version.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_module_version.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_module_version.m4).
+
+License
+*******
+
+Copyright (C) 2015 Endless Mobile, Inc.; contributed by Philip Chimento <philip@endlessm.com> and Kurt von Laven <kurt@endlessm.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_r_package, Next: ax_recursive_eval, Prev: ax_python_module_version, Up: The Macros
+
+ax_r_package
+============
+
+Synopsis
+********
+
+ AX_R_PACKAGE(pkgname[, version, R])
+
+Description
+***********
+
+Checks for an R package.
+
+Optionally checks for the version when a second argument is given. A
+different R can be used by providing a third argument.
+
+Source Code
+***********
+
+Download the latest version of 'ax_r_package.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_r_package.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_r_package.m4).
+
+License
+*******
+
+Copyright (C) 2017 Ricardo Wurmus
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_recursive_eval, Next: ax_require_defined, Prev: ax_r_package, Up: The Macros
+
+ax_recursive_eval
+=================
+
+Synopsis
+********
+
+ AX_RECURSIVE_EVAL(VALUE, RESULT)
+
+Description
+***********
+
+Interpolate the VALUE in loop until it doesn't change, and set the
+result to $RESULT. WARNING: It's easy to get an infinite loop with some
+unsane input.
+
+Source Code
+***********
+
+Download the latest version of 'ax_recursive_eval.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_recursive_eval.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_recursive_eval.m4).
+
+License
+*******
+
+Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_require_defined, Next: ax_require_one_func, Prev: ax_recursive_eval, Up: The Macros
+
+ax_require_defined
+==================
+
+Synopsis
+********
+
+ AX_REQUIRE_DEFINED(MACRO)
+
+Description
+***********
+
+AX_REQUIRE_DEFINED is a simple helper for making sure other macros have
+been defined and thus are available for use. This avoids random issues
+where a macro isn't expanded. Instead the configure script emits a
+non-fatal:
+
+ ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found
+
+It's like AC_REQUIRE except it doesn't expand the required macro.
+
+Here's an example:
+
+ AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG])
+
+Source Code
+***********
+
+Download the latest version of 'ax_require_defined.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_require_defined.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_require_defined.m4).
+
+License
+*******
+
+Copyright (C) 2014 Mike Frysinger <vapier@gentoo.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_require_one_func, Next: ax_restore_flags, Prev: ax_require_defined, Up: The Macros
+
+ax_require_one_func
+===================
+
+Synopsis
+********
+
+ AX_REQUIRE_ONE_FUNC (FUNCTION..., [ACTION-IF-ANY-FOUND], [ACTION-IF-NONE-FOUND])
+
+Description
+***********
+
+AX_REQUIRE_ONE_FUNC is a simple wrapper for AC_CHECK_FUNCS. It calls
+AC_CHECK_FUNCS on the list of functions named in the first argument,
+then invokes ACTION-IF-ANY-FOUND if at least one of the functions exists
+or ACTION-IF-NONE-FOUND if none of the functions exist.
+
+Here's an example:
+
+ AX_REQUIRE_ONE_FUNC([posix_memalign memalign valloc], ,
+ [AC_MSG_ERROR([unable to allocate page-aligned memory])])
+
+Source Code
+***********
+
+Download the latest version of 'ax_require_one_func.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_require_one_func.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_require_one_func.m4).
+
+License
+*******
+
+Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_restore_flags, Next: ax_restore_flags_with_prefix, Prev: ax_require_one_func, Up: The Macros
+
+ax_restore_flags
+================
+
+Synopsis
+********
+
+ AX_RESTORE_FLAGS([namespace])
+
+Description
+***********
+
+Restore common compilation flags from temporary variables.
+
+Compilation flags includes: CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS, LIBS,
+OBJCFLAGS.
+
+By default these flags are restored to a global (empty) namespace, but
+user could restore from specific NAMESPACE by using
+AX_RESTORE_FLAGS(NAMESPACE) macro.
+
+Typical usage is like:
+
+ AX_SAVE_FLAGS(mypackage)
+ CPPFLAGS="-Imypackagespath ${CPPFLAGS}"
+ dnl ... do some detection ...
+ AX_RESTORE_FLAGS(mypackage)
+
+Source Code
+***********
+
+Download the latest version of 'ax_restore_flags.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_restore_flags.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_restore_flags.m4).
+
+License
+*******
+
+Copyright (C) 2009 Filippo Giunchedi <filippo@esaurito.net>
+Copyright (C) 2011 The Board of Trustees of the Leland Stanford Junior University
+
+Copyright (C) 2011 Russ Allbery <rra@stanford.edu>
+Copyright (C) 2013 Bastien ROUCARIES <roucaries.bastien+autoconf@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_restore_flags_with_prefix, Next: ax_rpm_init, Prev: ax_restore_flags, Up: The Macros
+
+ax_restore_flags_with_prefix
+============================
+
+Synopsis
+********
+
+ AX_RESTORE_FLAGS_WITH_PREFIX(PREFIX, LIST-OF-FLAGS)
+
+Description
+***********
+
+Restore the flags saved by AX_SAVE_FLAGS_WITH_PREFIX.
+
+Expansion example: AX_RESTORE_FLAGS_WITH_PREFIX([GL], [[CFLAGS],[LIBS]])
+expands to
+
+ CFLAGS="$gl_saved_flag_cflags"
+ LIBS="$gl_saved_flag_libs"
+
+One common use case is to define a package specific wrapper macro around
+this one, and also restore other variables if needed. For example:
+
+ AC_DEFUN([_AX_CHECK_GL_RESTORE_FLAGS], [
+ AX_RESTORE_FLAGS_WITH_PREFIX([GL],[$1])
+ AC_LANG_POP([C])
+ ])
+
+ # Restores CFLAGS, LIBS and language state
+ _AX_CHECK_GL_RESTORE_FLAGS([[CFLAGS],[LIBS]])
+
+Source Code
+***********
+
+Download the latest version of 'ax_restore_flags_with_prefix.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_restore_flags_with_prefix.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_restore_flags_with_prefix.m4).
+
+License
+*******
+
+Copyright (C) 2016 Felix Chern <idryman@gmail.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_rpm_init, Next: ax_ruby_devel, Prev: ax_restore_flags_with_prefix, Up: The Macros
+
+ax_rpm_init
+===========
+
+Synopsis
+********
+
+ AX_RPM_INIT
+
+Description
+***********
+
+Setup variables for creation of rpms. It will define several variables
+useful for creating rpms on a system where rpms are supported.
+Currently, I requires changes to Makefile.am to function properly (see
+the example below).
+
+Also note that I do not use any non-UNIX OSs (and for the most part, I
+only use RedHat), so this is probably generally not useful for other
+systems.
+
+Required setup:
+
+In configure.in:
+
+ dnl For my rpm.m4 macros
+ RPM_RELEASE=1
+ AC_SUBST(RPM_RELEASE)
+
+ AX_RPM_INIT
+ dnl Enable or disable the rpm making rules in Makefile.am
+ AM_CONDITIONAL(MAKE_RPMS, test x$make_rpms = xtrue)
+
+Furthermore, the %GNUconfigure rpm macro has a problem in that it does
+not define CXXFLAGS for the target system correctly, so for compiling
+C++ code, add the following line _before_ calling AC_PROG_CXX:
+
+ dnl This is a little hack to make this work with rpm better (see mysql++.spec.in)
+ test -z "$CXXFLAGS" && CXXFLAGS="${CFLAGS}"
+
+Changes to Makefile.am (I am trying to get rid of this step; suggestions
+invited):
+
+ if MAKE_RPMS
+ rpm: @RPM_TARGET@
+
+ .PHONY: rpm
+
+ $(RPM_TARGET): $(DISTFILES)
+ ${MAKE} dist
+ -mkdir -p $(RPM_DIR)/SRPMS
+ -mkdir -p `dirname $(RPM_TARGET)`
+ $(RPM_PROG) $(RPM_ARGS) $(RPM_TARBALL)
+ @echo Congratulations, $(RPM_TARGET) "(and friends)" should now exist.
+ else
+ endif
+
+Also, it works best with a XXXX.spec.in file like the following (this is
+way down on the wishlist, but a program to generate the skeleton spec.in
+much like autoscan would just kick butt!):
+
+ ---------- 8< ----------
+ # -*- Mode:rpm-spec -*-
+ # mysql++.spec.in
+ Summary: Your package description goes here
+ %define rel @RPM_RELEASE@
+
+ %define version @VERSION@
+ %define pkgname @PACKAGE@
+ %define prefix /usr
+
+ %define lt_release @LT_RELEASE@
+ %define lt_version @LT_CURRENT@.@LT_REVISION@.@LT_AGE@
+
+ # This is a hack until I can figure out how to better handle replacing
+ # autoconf macros... (gotta love autoconf...)
+ %define __aclocal aclocal || aclocal -I ./macros
+ %define configure_args @RPM_CONFIGURE_ARGS@
+
+ Name: %{pkgname}
+ Version: %{version}
+ Release: %{rel}
+
+ Copyright: LGPL
+ Group: # your group name goes here
+ Source: %{pkgname}-%{version}.tar.gz
+ Requires: # additional requirements
+ Buildroot: /tmp/%{pkgname}-root
+ URL: http://yoururl.go.here
+ Prefix: %{prefix}
+ BuildArchitectures: # Target platforms, i.e., i586
+ Packager: Your Name <youremail@your.address>
+
+ %description
+ Your package description
+
+ %changelog
+
+ %prep
+ %setup
+ #%patch
+
+ %build
+ %GNUconfigure %{configure_args}
+ # This is why we copy the CFLAGS to the CXXFLAGS in configure.in
+ # CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" ./configure %{_target_platform} --prefix=%{prefix}
+ make
+
+ %install
+ # To make things work with BUILDROOT
+ if [ "$RPM_BUILD_ROOT" != "/tmp/%{pkgname}-root" ]
+ then
+ echo
+ echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ echo @ @
+ echo @ RPM_BUILD_ROOT is not what I expected. Please clean it yourself. @
+ echo @ @
+ echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ echo
+ else
+ echo Cleaning RPM_BUILD_ROOT: "$RPM_BUILD_ROOT"
+ rm -rf "$RPM_BUILD_ROOT"
+ fi
+ make DESTDIR="$RPM_BUILD_ROOT" install
+
+ %clean
+ # Call me paranoid, but I do not want to be responsible for nuking
+ # someone's harddrive!
+ if [ "$RPM_BUILD_ROOT" != "/tmp/%{pkgname}-root" ]
+ then
+ echo
+ echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ echo @ @
+ echo @ RPM_BUILD_ROOT is not what I expected. Please clean it yourself. @
+ echo @ @
+ echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ echo
+ else
+ echo Cleaning RPM_BUILD_ROOT: "$RPM_BUILD_ROOT"
+ rm -rf "$RPM_BUILD_ROOT"
+ fi
+
+ %files
+ %defattr(-, root, root)
+ # Your application file list goes here
+ # %{prefix}/lib/lib*.so*
+ %doc COPYRIGHT ChangeLog README AUTHORS NEWS
+ %doc doc/*
+
+ # If you install a library
+ %post -p /sbin/ldconfig
+
+ # If you install a library
+ %postun -p /sbin/ldconfig
+
+ %package devel
+ Summary: Development files for %{pkgname}
+ Group: Applications/Databases
+ %description devel
+ Development files for %{pkgname}.
+
+ %files devel
+ %defattr(-, root, root)
+ # Your development files go here
+ # Programmers documentation goes here
+ %doc doc
+
+ # end of file
+ ---------- >8 ----------
+
+Source Code
+***********
+
+Download the latest version of 'ax_rpm_init.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_rpm_init.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_rpm_init.m4).
+
+License
+*******
+
+Copyright (C) 2008 Dale K. Hawkins <dhawkins@cdrgts.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_ruby_devel, Next: ax_ruby_ext, Prev: ax_rpm_init, Up: The Macros
+
+ax_ruby_devel
+=============
+
+Synopsis
+********
+
+ AX_RUBY_DEVEL([version])
+
+Description
+***********
+
+This macro checks for Ruby and tries to get the include path to
+'ruby.h'. It provides the $(RUBY_CPPFLAGS) and $(RUBY_LDFLAGS) output
+variables. It also exports $(RUBY_EXTRA_LIBS) for embedding Ruby in
+your code.
+
+You can search for some particular version of Ruby by passing a
+parameter to this macro, for example "2.2.1".
+
+Source Code
+***********
+
+Download the latest version of 'ax_ruby_devel.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ruby_devel.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ruby_devel.m4).
+
+License
+*******
+
+Copyright (C) 2008 Rafal Rzepecki <divided.mind@gmail.com>
+Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
+Copyright (C) 2008 Alan W. Irwin
+Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
+Copyright (C) 2008 Andrew Collier
+Copyright (C) 2008 Matteo Settenvini <matteo@member.fsf.org>
+Copyright (C) 2008 Horst Knorr <hk_classes@knoda.org>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_ruby_ext, Next: ax_save_flags, Prev: ax_ruby_devel, Up: The Macros
+
+ax_ruby_ext
+===========
+
+Synopsis
+********
+
+ AX_RUBY_EXT
+
+Description
+***********
+
+Fetches the linker flags and C compiler flags for compiling and linking
+Ruby binary extensions. The macro substitutes RUBY_VERSION,
+RUBY_EXT_INC, RUBY_EXT_LIB, RUBY_EXT_CPPFLAGS, RUBY_EXT_LDFLAGS and
+RUBY_EXT_DLEXT variables if Ruby executable has been found. It also
+checks the same variables before trying to retrieve them from the Ruby
+configuration.
+
+ RUBY_VERSION: version of the Ruby interpreter
+ RUBY_EXT_INC: Ruby include directory
+ RUBY_EXT_LIB: Ruby extensions destination directory
+ RUBY_EXT_CPPFLAGS: C preprocessor flags to compile extensions
+ RUBY_EXT_LDFLAGS: linker flags to build extensions
+ RUBY_EXT_DLEXT: extensions suffix for ruby modules (e.g. "so")
+
+Examples:
+
+ AX_RUBY_EXT
+ if test x"$RUBY" = x; then
+ AC_ERROR(["cannot find Ruby"])
+ fi
+
+Source Code
+***********
+
+Download the latest version of 'ax_ruby_ext.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ruby_ext.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ruby_ext.m4).
+
+License
+*******
+
+Copyright (C) 2011 Stanislav Sedov <stas@FreeBSD.org>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGE.
+
+\1f
+File: autoconf-archive.info, Node: ax_save_flags, Next: ax_save_flags_with_prefix, Prev: ax_ruby_ext, Up: The Macros
+
+ax_save_flags
+=============
+
+Synopsis
+********
+
+ AX_SAVE_FLAGS([NAMESPACE])
+
+Description
+***********
+
+Save common compilation flags into temporary variables.
+
+Compilation flags includes: CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS, LIBS,
+OBJCFLAGS.
+
+By default these flags are saved to a global (empty) namespace, but user
+could specify a specific NAMESPACE to AX_SAVE_FLAGS macro and latter
+restore it by using AX_RESTORE_FLAGS(NAMESPACE).
+
+ AX_SAVE_FLAGS(mypackage)
+ CPPFLAGS="-Imypackagespath ${CPPFLAGS}"
+ dnl .. do some detection ...
+ AX_RESTORE_FLAGS(mypackage)
+
+Source Code
+***********
+
+Download the latest version of 'ax_save_flags.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_save_flags.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_save_flags.m4).
+
+License
+*******
+
+Copyright (C) 2009 Filippo Giunchedi <filippo@esaurito.net>
+Copyright (C) 2011 The Board of Trustees of the Leland Stanford Junior University
+
+Copyright (C) 2011 Russ Allbery <rra@stanford.edu>
+Copyright (C) 2013 Bastien ROUCARIES <roucaries.bastien+autoconf@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_save_flags_with_prefix, Next: ax_set_default_paths_system, Prev: ax_save_flags, Up: The Macros
+
+ax_save_flags_with_prefix
+=========================
+
+Synopsis
+********
+
+ AX_SAVE_FLAGS_WITH_PREFIX(PREFIX, LIST-OF-FLAGS)
+
+Description
+***********
+
+For each flag in LIST-OF-FLAGS, it expands to lower-cased shell variable
+with the prefix holding the flag original value. The saved variables
+can be restored by AX_RESTORE_FLAGS_WITH_PREFIX
+
+As an example: AX_SAVE_FLAGS_WITH_PREFIX([GL], [[CFLAGS],[LIBS]])
+expands to
+
+ gl_saved_flag_cflags="$CFLAGS"
+ gl_saved_flag_libs="$LIBS"
+ CFLAGS="$GL_CFLAGS $CFLAGS"
+ LIBS="$GL_LIBS $LIBS"
+
+One common use case is to define a package specific wrapper macro around
+this one, and also setup other variables if needed. For example:
+
+ AC_DEFUN([_AX_CHECK_GL_SAVE_FLAGS], [
+ AX_SAVE_FLAGS_WITH_PREFIX([GL],[$1])
+ AC_LANG_PUSH([C])
+ ])
+
+ # pushes GL_CFLAGS and GL_LIBS to CFLAGS and LIBS
+ # also set the current language to test to C
+ _AX_CHECK_GL_SAVE_FLAGS([[CFLAGS],[LIBS]])
+
+Source Code
+***********
+
+Download the latest version of 'ax_save_flags_with_prefix.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_save_flags_with_prefix.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_save_flags_with_prefix.m4).
+
+License
+*******
+
+Copyright (C) 2016 Felix Chern <idryman@gmail.com>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_set_default_paths_system, Next: ax_short_sleep, Prev: ax_save_flags_with_prefix, Up: The Macros
+
+ax_set_default_paths_system
+===========================
+
+Synopsis
+********
+
+ AX_SET_DEFAULT_PATHS_SYSTEM
+
+Description
+***********
+
+the most interesting changes go about windows-targets - where the
+default_prefix is set to /programs, and quite some directories are
+aliased: sbindir := libdir := bindir and the docprefix-defaults are also
+a bit different, even on FHS2-compliant systems where the mandir is
+going to $prefix/man only if prefix=/usr, otherwise they shall go to
+$datadir/man. We use an extra docprefix to express it which is either
+defined as being prefix or datadir. not SUBSTed here.
+
+Source Code
+***********
+
+Download the latest version of 'ax_set_default_paths_system.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_set_default_paths_system.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_set_default_paths_system.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_short_sleep, Next: ax_silent_mode, Prev: ax_set_default_paths_system, Up: The Macros
+
+ax_short_sleep
+==============
+
+Synopsis
+********
+
+ AX_SHORT_SLEEP
+
+Description
+***********
+
+This macro searches for a "sleep" function that has 1/1000 of a second
+accuracy. On some systems, this is known as nap() and on others
+usleep() / 1000. There are probably other functions like this defined
+in other system libraries, but we don't know how to search for them yet.
+Contributions joyously accepted. :)
+
+Source Code
+***********
+
+Download the latest version of 'ax_short_sleep.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_short_sleep.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_short_sleep.m4).
+
+License
+*******
+
+Copyright (C) 2008 Warren Young <warren@etr-usa.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_silent_mode, Next: ax_sip_devel, Prev: ax_short_sleep, Up: The Macros
+
+ax_silent_mode
+==============
+
+Synopsis
+********
+
+ AX_SILENT_MODE(on|off)
+
+Description
+***********
+
+Temporarily disable console output when running Autoconf macros. For
+example:
+
+ AX_SILENT_MODE(on) dnl disable console output
+ AC_PROG_CXX
+ AX_SILENT_MODE(off) dnl enable console output
+ AC_PROG_RANLIB
+
+Source Code
+***********
+
+Download the latest version of 'ax_silent_mode.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_silent_mode.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_silent_mode.m4).
+
+License
+*******
+
+Copyright (C) 2008 Peter Simons <simons@cryp.to>
+Copyright (C) 2008 Paolo Bonzini <bonzini@gnu.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_sip_devel, Next: ax_spec_file, Prev: ax_silent_mode, Up: The Macros
+
+ax_sip_devel
+============
+
+Synopsis
+********
+
+ AX_SIP_DEVEL([<min_version>])
+
+Description
+***********
+
+Searches for the sip executable and the sip include path. The sip
+include path consists of two components, one which contains the file
+qt/qtmod.sip and the other one the path to sip.h, which should be found
+in the include/pythonX.Y directory.
+
+The macro bails out if the executable or the file cannot be located.
+Otherwise it defines:
+
+ SIP the path to the sip executable
+ SIP_CPPFLAGS include path: -I<path-to-qt/qtmod.sip> -I<path-to-sip.h-dir>
+
+Example:
+
+ AX_SIP_DEVEL
+ AX_SIP_DEVEL([4.1])
+
+Requires: perl (for version string comparison)
+
+FIXME: Use AX_COMPARE_VERSION instead.
+
+Source Code
+***********
+
+Download the latest version of 'ax_sip_devel.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sip_devel.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sip_devel.m4).
+
+License
+*******
+
+Copyright (C) 2008 Uwe Mayer <merkosh@hadiko.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_spec_file, Next: ax_spec_package_version, Prev: ax_sip_devel, Up: The Macros
+
+ax_spec_file
+============
+
+Synopsis
+********
+
+ AX_SPEC_FILE [(rpmspecfile [,subdirpath])]
+
+Description
+***********
+
+set the specfile - if no argument has been given then check whether the
+ac_unique_file looks like a .spec file and use it. This macro is
+ac_REQUIRED by many AX_SPEC_ routines.
+
+the AX_SPEC_EXTRACT macro is a helper used by many AX_SPEC_ routines and
+therefore placed here to be automatically included in the macro set of
+(older) aclocal/acinclude.
+
+AX_SPEC_EXTRACT(shellvar [,specvar [,defaultvalue]])
+
+Source Code
+***********
+
+Download the latest version of 'ax_spec_file.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_spec_file.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_spec_file.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_spec_package_version, Next: ax_split_version, Prev: ax_spec_file, Up: The Macros
+
+ax_spec_package_version
+=======================
+
+Synopsis
+********
+
+ AX_SPEC_PACKAGE_AND_VERSION ([specfile])
+ AX_SPEC_PACKAGE_NAME ([shellvar],[defaultvalue])
+ AX_SPEC_PACKAGE_VERSION ([shellvar],[defaultvalue])
+ AX_SPEC_PACKAGE_SUMMARY ([shellvar],[defaultvalue])
+ AX_SPEC_PACKAGE_LICENSE ([shellvar],[defaultvalue])
+ AX_SPEC_PACKAGE_CATEGORY ([shellvar],[defaultvalue])
+ AX_SPEC_PACKAGE_ICON ([shellvar],[defaultvalue])
+ AX_SPEC_DEFAULTS([specfile])
+
+Description
+***********
+
+set PACKAGE from the given specfile - default to basename of the
+rpmspecfile if no "name:" could be found in the spec file.
+
+set VERSION from the given specfile - default to a date-derived value if
+no "version:" could be found in the spec file.
+
+this macro builds on top of AX_SPEC_FILE / AX_SPEC_EXTRACT
+
+more specific: if not "name:" or "%define name" was found in the
+myproject.spec file then the PACKAGE var is set to the basename
+"myproject". When no spec file was present then it will usually default
+to "TODO".
+
+The version spec looks for "version:" or "%define version" in the spec
+file. When no such value was seen or no spec file had been present then
+the value is set to 'date +0.%y.%W%w'.
+
+the version value itself is sanitized somewhat with making it to always
+carry at least three digits (1.2.3) and cleansing superfluous "0" chars
+around from generating numbers elsewhere.
+
+additional macros are provided that extract a specific value from the
+spec file, among these:
+
+set PACKAGE_SUMMARY from the given specfile - default to package and try
+to detect a type suffix if "summary:" was not in the spec file
+
+set PACKAGE_LICENSE from the given specfile - if no "license:" tag was
+given in the spec file then various COPYING files are grepped to have a
+guess and the final fallback will be GNU GPL (or GNU LGPL).
+
+set PACKAGE_ICON from the given specfile - if no "icon:" tag was given
+in the spec file then we default to $PACKAGE-icon.png
+
+the final AX_SPEC_INIT(specfile) will initialize all variables to its
+defaults according to the spec file given.
+
+Source Code
+***********
+
+Download the latest version of 'ax_spec_package_version.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_spec_package_version.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_spec_package_version.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_split_version, Next: ax_string_strcasecmp, Prev: ax_spec_package_version, Up: The Macros
+
+ax_split_version
+================
+
+Synopsis
+********
+
+ AX_SPLIT_VERSION
+
+Description
+***********
+
+Splits a version number in the format MAJOR.MINOR.POINT into its
+separate components.
+
+Sets the variables.
+
+Source Code
+***********
+
+Download the latest version of 'ax_split_version.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_split_version.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_split_version.m4).
+
+License
+*******
+
+Copyright (C) 2008 Tom Howard <tomhoward@users.sf.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_string_strcasecmp, Next: ax_strings_strcasecmp, Prev: ax_split_version, Up: The Macros
+
+ax_string_strcasecmp
+====================
+
+Synopsis
+********
+
+ AX_STRING_STRCASECMP
+
+Description
+***********
+
+This macro tries to find strcasecmp() in string.h.
+
+Use this macro in conjunction with AX_STRINGS_STRCASECMP in your
+configure.in like so:
+
+ AX_STRING_STRCASECMP
+ if test x"$ac_cv_string_strcasecmp" = "xno" ; then
+ AX_STRINGS_STRCASECMP
+ fi
+
+This will cause either HAVE_STRING_STRCASECMP or HAVE_STRINGS_STRCASECMP
+to be defined in config.h, which will tell your code what header to
+include to get strcasecmp()'s prototype.
+
+Source Code
+***********
+
+Download the latest version of 'ax_string_strcasecmp.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_string_strcasecmp.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_string_strcasecmp.m4).
+
+License
+*******
+
+Copyright (C) 2008 Warren Young <warren@etr-usa.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_strings_strcasecmp, Next: ax_struct_semun, Prev: ax_string_strcasecmp, Up: The Macros
+
+ax_strings_strcasecmp
+=====================
+
+Synopsis
+********
+
+ AX_STRINGS_STRCASECMP
+
+Description
+***********
+
+This macro tries to find strcasecmp() in strings.h. See the
+AX_STRING_STRCASECMP macro's commentary for usage details.
+
+Source Code
+***********
+
+Download the latest version of 'ax_strings_strcasecmp.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_strings_strcasecmp.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_strings_strcasecmp.m4).
+
+License
+*******
+
+Copyright (C) 2008 Warren Young <warren@etr-usa.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_struct_semun, Next: ax_subdir_files, Prev: ax_strings_strcasecmp, Up: The Macros
+
+ax_struct_semun
+===============
+
+Synopsis
+********
+
+ AX_STRUCT_SEMUN
+
+Description
+***********
+
+This macro checks to see if sys/sem.h defines struct semun. Some
+systems do, some systems don't. Your code must be able to deal with
+this possibility; if HAVE_STRUCT_SEMUM isn't defined for a given system,
+you have to define this structure before you can call functions like
+semctl().
+
+You should call AX_SYSV_IPC before this macro, to separate the check for
+System V IPC headers from the check for struct semun.
+
+Source Code
+***********
+
+Download the latest version of 'ax_struct_semun.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_struct_semun.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_struct_semun.m4).
+
+License
+*******
+
+Copyright (C) 2008 Warren Young <warren@etr-usa.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_subdir_files, Next: ax_subdirs_configure, Prev: ax_struct_semun, Up: The Macros
+
+ax_subdir_files
+===============
+
+Synopsis
+********
+
+ AX_SUBDIR_FILES [(SUBDIRS [, CASEPATTERN])]
+
+Description
+***********
+
+Look into subdirs and copy the (real) files that match pattern into the
+local directory. Preferably we use a symbolic link of course. existing
+local files are not overwritten.
+
+The default casepattern is "*.?|*.cc|*.cpp", the default subdir-list
+contains all subdirs available.
+
+Source Code
+***********
+
+Download the latest version of 'ax_subdir_files.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_subdir_files.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_subdir_files.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_subdirs_configure, Next: ax_subst_with, Prev: ax_subdir_files, Up: The Macros
+
+ax_subdirs_configure
+====================
+
+Synopsis
+********
+
+ AX_SUBDIRS_CONFIGURE( [subdirs], [mandatory arguments], [possibly merged arguments], [replacement arguments], [forbidden arguments])
+
+Description
+***********
+
+AX_SUBDIRS_CONFIGURE attempts to be the equivalent of AC_CONFIG_SUBDIRS
+with customizable options for configure scripts.
+
+Run the configure script for each directory from the comma-separated m4
+list 'subdirs'. This macro can be used multiple times. All arguments
+of this macro must be comma-separated lists.
+
+All command line arguments from the parent configure script will be
+given to the subdirectory configure script after the following
+modifications (in that order):
+
+1. The arguments from the 'mandatory arguments' list shall always be
+appended to the argument list.
+
+2. The arguments from the 'possibly merged arguments' list shall be
+added if not present in the arguments of the parent configure script or
+merged with the existing argument otherwise.
+
+3. The arguments from the 'replacement arguments' list shall be added
+if not present in the arguments of the parent configure script or
+replace the existing argument otherwise.
+
+4. The arguments from the 'forbidden arguments' list shall always be
+removed from the argument list.
+
+The lists 'mandatory arguments' and 'forbidden arguments' can hold any
+kind of argument. The 'possibly merged arguments' and 'replacement
+arguments' expect their arguments to be of the form -option-name=value.
+
+This macro aims to remain as close as possible to the AC_CONFIG_SUBDIRS
+macro. It corrects the paths for '-srcdir' and adds
+'-disable-option-checking' and '-silent' if necessary. However, it does
+not change the '-cache-file' argument: typically, configure scripts run
+with different arguments will not be able to share the same cache. If
+you wish to share a single cache, you should give an absolute path to
+'-cache-file'.
+
+This macro also sets the output variable subdirs_extra to the list of
+directories recorded with AX_SUBDIRS_CONFIGURE. This variable can be
+used in Makefile rules or substituted in configured files.
+
+This macro shall do nothing more than managing the arguments of the
+configure script. Just like when using AC_CONFIG_SUBDIRS, it is up to
+the user to check any requirements or define and substitute any required
+variable for the remainder of the project.
+
+Configure scripts recorded with AX_SUBDIRS_CONFIGURE may be executed
+before configure scripts recorded with AC_CONFIG_SUBDIRS.
+
+Without additional arguments, the behaviour of AX_SUBDIRS_CONFIGURE
+should be identical to the behaviour of AC_CONFIG_SUBDIRS, apart from
+the contents of the variables subdirs and subdirs_extra (except that
+AX_SUBDIRS_CONFIGURE expects a comma-separated m4 list):
+
+ AC_CONFIG_SUBDIRS([something])
+ AX_SUBDIRS_CONFIGURE([something])
+
+This macro may be called multiple times.
+
+Usage example:
+
+Let us assume our project has 4 dependencies, namely A, B, C and D. Here
+are some characteristics of our project and its dependencies:
+
+- A does not require any special option.
+
+- we want to build B with an optional feature which can be enabled with
+its configure script's option '-enable-special-feature'.
+
+- B's configure script is strange and has an option '-with-B=build'.
+After close inspection of its documentation, we don't want B to receive
+this option.
+
+- C and D both need B.
+
+- Just like our project, C and D can build B themselves with the option
+'-with-B=build'.
+
+- We want C and D to use the B we build instead of building it
+themselves.
+
+Our top-level configure script will be called as follows:
+
+ $ <path/to/configure> --with-A=build --with-B=build --with-C=build \
+ --with-D=build --some-option
+
+Thus we have to make sure that:
+
+- neither B, C or D receive the option '-with-B=build'
+
+- C and D know where to find the headers and libraries of B.
+
+Under those conditions, we can use the AC_CONFIG_SUBDIRS macro for A,
+but need to use AX_SUBDIRS_CONFIGURE for B, C and D:
+
+- B must receive '-enable-special-feature' but cannot receive
+'-with-B=build'
+
+- C and D cannot receive '-with-B=build' (or else it would be built
+thrice) and need to be told where to find B (since we are building it,
+it would probably not be available in standard paths).
+
+Here is a configure.ac snippet that solves our problem:
+
+ AC_CONFIG_SUBDIRS([dependencies/A])
+ AX_SUBDIRS_CONFIGURE(
+ [dependencies/B], [--enable-special-feature], [], [],
+ [--with-B=build])
+ AX_SUBDIRS_CONFIGURE(
+ [[dependencies/C],[dependencies/D]],
+ [],
+ [[CPPFLAGS=-I${ac_top_srcdir}/dependencies/B -I${ac_top_builddir}/dependencies/B],
+ [LDFLAGS=-L${ac_abs_top_builddir}/dependencies/B/.libs]],
+ [--with-B=system],
+ [])
+
+If using automake, the following can be added to the Makefile.am (we use
+both $(subdirs) and $(subdirs_extra) since our example above used both
+AC_CONFIG_SUBDIRS and AX_SUBDIRS_CONFIGURE):
+
+ SUBDIRS = $(subdirs) $(subdirs_extra)
+
+Source Code
+***********
+
+Download the latest version of 'ax_subdirs_configure.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_subdirs_configure.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_subdirs_configure.m4).
+
+License
+*******
+
+Copyright (C) 2017 Harenome Ranaivoarivony-Razanajato <ranaivoarivony-razanajato@hareno.me>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+Under Section 7 of GPL version 3, you are granted additional permissions
+described in the Autoconf Configure Script Exception, version 3.0, as
+published by the Free Software Foundation.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+\1f
+File: autoconf-archive.info, Node: ax_subst_with, Next: ax_swig_enable_cxx, Prev: ax_subdirs_configure, Up: The Macros
+
+ax_subst_with
+=============
+
+Synopsis
+********
+
+ AX_SUBST_WITH([varname])
+
+Description
+***********
+
+a very simple macro but also very helpful - the varname is usually the
+one from an AC_ARG_ENABLE or AC_ARG_WITH option. it is transliterated
+into uppercase and a prefix WITH_ and WITHOUT_ that are both _SUBSTed.
+
+Only one of these is set to "#" while the other is empty. In other
+words a call like AC_WITHNONE(enable-call) will create two SUBST-symbols
+as WITH_ENABLE_CALL and WITHOUT_ENABLE_CALL. When the varname had been
+set to something not "no" or "0" or ":" or "false" then it results in
+
+ WITH_ENABLE_CALL="" ; WITHOUT_ENABLE_CALL="#"
+
+which you can use in your Makefile quite easily as if using an
+AM_CONDITIONAL but which can be also parsed by normal make
+
+USE = @WITH_ENABLE_CALL@ -Denabled USE = @WITHOUT_ENABLE_CALL@
+-Dnot_enabled
+
+Source Code
+***********
+
+Download the latest version of 'ax_subst_with.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_subst_with.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_subst_with.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_swig_enable_cxx, Next: ax_swig_multi_module_support, Prev: ax_subst_with, Up: The Macros
+
+ax_swig_enable_cxx
+==================
+
+Synopsis
+********
+
+ AX_SWIG_ENABLE_CXX
+
+Description
+***********
+
+Enable SWIG C++ support. This affects all invocations of $(SWIG).
+
+Source Code
+***********
+
+Download the latest version of 'ax_swig_enable_cxx.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_swig_enable_cxx.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_swig_enable_cxx.m4).
+
+License
+*******
+
+Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
+Copyright (C) 2008 Alan W. Irwin
+Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
+Copyright (C) 2008 Andrew Collier
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_swig_multi_module_support, Next: ax_swig_python, Prev: ax_swig_enable_cxx, Up: The Macros
+
+ax_swig_multi_module_support
+============================
+
+Synopsis
+********
+
+ AX_SWIG_MULTI_MODULE_SUPPORT
+
+Description
+***********
+
+Enable support for multiple modules. This effects all invocations of
+$(SWIG). You have to link all generated modules against the appropriate
+SWIG runtime library. If you want to build Python modules for example,
+use the AX_SWIG_PYTHON macro and link the modules against
+$(AX_SWIG_PYTHON_LIBS).
+
+Source Code
+***********
+
+Download the latest version of 'ax_swig_multi_module_support.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_swig_multi_module_support.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_swig_multi_module_support.m4).
+
+License
+*******
+
+Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
+Copyright (C) 2008 Alan W. Irwin
+Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
+Copyright (C) 2008 Andrew Collier
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_swig_python, Next: ax_switch_flags, Prev: ax_swig_multi_module_support, Up: The Macros
+
+ax_swig_python
+==============
+
+Synopsis
+********
+
+ AX_SWIG_PYTHON([use-shadow-classes = {no, yes}])
+
+Description
+***********
+
+Checks for Python and provides the $(AX_SWIG_PYTHON_CPPFLAGS), and
+$(AX_SWIG_PYTHON_OPT) output variables.
+
+$(AX_SWIG_PYTHON_OPT) contains all necessary SWIG options to generate
+code for Python. Shadow classes are enabled unless the value of the
+optional first argument is exactly 'no'. If you need multi module
+support (provided by the AX_SWIG_MULTI_MODULE_SUPPORT macro) use
+$(AX_SWIG_PYTHON_LIBS) to link against the appropriate library. It
+contains the SWIG Python runtime library that is needed by the type
+check system for example.
+
+Source Code
+***********
+
+Download the latest version of 'ax_swig_python.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_swig_python.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_swig_python.m4).
+
+License
+*******
+
+Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
+Copyright (C) 2008 Alan W. Irwin
+Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
+Copyright (C) 2008 Andrew Collier
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_switch_flags, Next: ax_sys_dev_poll, Prev: ax_swig_python, Up: The Macros
+
+ax_switch_flags
+===============
+
+Synopsis
+********
+
+ AX_SWITCH_FLAGS(newnamespace,[oldnamespace])
+
+Description
+***********
+
+Switch common compilation flags from temporary variables between two
+compilation namespace.
+
+Compilation flags includes: CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS, LIBS,
+OBJCFLAGS.
+
+By default these flags are restored to a global (empty) namespace, but
+user could restore from specific NAMESPACE by using
+AX_RESTORE_FLAGS(NAMESPACE) macro.
+
+Typical usage is like:
+
+ AX_SAVE_FLAGS(beginprogram)
+ CPPFLAGS="-Imypackagespath ${CPPFLAGS}"
+ AX_SWITCH_FLAGS(mypackage,beginprogram)
+
+Source Code
+***********
+
+Download the latest version of 'ax_switch_flags.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_switch_flags.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_switch_flags.m4).
+
+License
+*******
+
+Copyright (C) 2009 Filippo Giunchedi <filippo@esaurito.net>
+Copyright (C) 2011 The Board of Trustees of the Leland Stanford Junior University
+
+Copyright (C) 2011 Russ Allbery <rra@stanford.edu>
+Copyright (C) 2013 Bastien ROUCARIES <roucaries.bastien+autoconf@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_sys_dev_poll, Next: ax_sys_largefile_sensitive, Prev: ax_switch_flags, Up: The Macros
+
+ax_sys_dev_poll
+===============
+
+Synopsis
+********
+
+ AX_SYS_DEV_POLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+This macro tests for the presence of /dev/poll support in the build
+environment. It checks that the needed structure (dvpoll) is available,
+with the standard fields. /dev/poll is most often seen under Solaris.
+
+Note that it does not attempt to actually open /dev/poll - you should
+test for errors when you open it and then fall back to poll() if it is
+unavailable.
+
+Source Code
+***********
+
+Download the latest version of 'ax_sys_dev_poll.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_dev_poll.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_dev_poll.m4).
+
+License
+*******
+
+Copyright (C) 2008 Dave Benson <daveb@ffem.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_sys_largefile_sensitive, Next: ax_sys_perlsharpbang, Prev: ax_sys_dev_poll, Up: The Macros
+
+ax_sys_largefile_sensitive
+==========================
+
+Synopsis
+********
+
+ AX_SYS_LARGEFILE_SENSITIVE
+
+Description
+***********
+
+Check whether the current system is sensitive to -Ddefines making off_t
+having different types/sizes. Automatically define a config.h symbol
+LARGEFILE_SENSITIVE if that is the case, otherwise leave everything as
+is.
+
+This macro builds on top of AC_SYS_LARGEFILE to detect whether special
+options are needed to make the code use 64bit off_t - in many setups
+this will also make the code use 64bit off_t immediately.
+
+The common use of a LARGEFILE_SENSITIVE config.h-define is to rename
+exported functions, usually adding a 64 to the original function name.
+Such renamings are only needed on systems being both (a) 32bit off_t by
+default and (b) implementing large.file extensions (as for unix98).
+
+a renaming section could look like this:
+
+ #if defined LARGEFILE_SENSITIVE && _FILE_OFFSET_BITS+0 == 64
+ #define zzip_open zzip_open64
+ #define zzip_seek zzip_seek64
+ #endif
+
+for libraries, it is best to take advantage of the prefix-config.h
+macro, otherwise you want to export a renamed LARGEFILE_SENSITIVE in an
+installed header file. -> see AX_PREFIX_CONFIG_H
+
+Source Code
+***********
+
+Download the latest version of 'ax_sys_largefile_sensitive.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_largefile_sensitive.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_largefile_sensitive.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_sys_perlsharpbang, Next: ax_sys_weak_alias, Prev: ax_sys_largefile_sensitive, Up: The Macros
+
+ax_sys_perlsharpbang
+====================
+
+Synopsis
+********
+
+ AX_SYS_PERLSHARPBANG
+
+Description
+***********
+
+Determine how the perl interpreter is located by the OS kernel and make
+substitution variable PERL_SHEBANG available. Does AC_PATH_PROG to find
+the path to perl. As a side-effect, that sets PERLINTERP and makes it
+available as a substitution variable.
+
+Note: The macro allows for the possibility (expected to be seldom used)
+of an explicit user override (the "user" being the operator executing
+the final 'configure' script, in this context) by making the option
+argument like:
+
+ --with-perl-shebang='#! /my/funky/perlpath' # OR
+ --with-perl-shebang='/my/funky/perlpath' # we just throw away the #! anyway
+ # bec it must be absent in Makefile
+
+Rationale: The are various ways of starting an interpreter on different
+*nix-like systems. Many use the simple
+
+ #!/usr/bin/perl
+
+but it could be instead
+
+ #!/usr/local/bin/perl
+
+and there is even the possibility that the user wants
+
+ #!/usr/bin/env perl
+
+to find whichever perl comes first in the current $PATH. This is
+preferred by some of us because we run multiple perl installations on
+the same box. Adjusting our $PATH then allows us to set precedence over
+other perls, even whatever the "house" version is.
+
+Users on very non-unix systems like MS Windows do not have a kernel that
+does this kind of thing from the first line of script files, but instead
+the perl on their machine is started and merely notices whatever comes
+after the interpreter path on this first line of the script (options
+like "-w").
+
+Acknowledgement: this macro was in part inspired by Dean Povey's
+AC_PROG_PERL_VERSION.
+
+Source Code
+***********
+
+Download the latest version of 'ax_sys_perlsharpbang.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_perlsharpbang.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_perlsharpbang.m4).
+
+License
+*******
+
+Copyright (C) 2009 Soren Andersen <somian@pobox.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_sys_weak_alias, Next: ax_sysv_ipc, Prev: ax_sys_perlsharpbang, Up: The Macros
+
+ax_sys_weak_alias
+=================
+
+Synopsis
+********
+
+ AX_SYS_WEAK_ALIAS
+
+Description
+***********
+
+Determines whether weak aliases are supported on the system, and if so,
+what scheme is used to declare them. Also checks to see if aliases can
+cross object file boundaries, as some systems don't permit them to.
+
+Most systems permit something called a "weak alias" or "weak symbol."
+These aliases permit a library to provide a stub form of a routine
+defined in another library, thus allowing the first library to operate
+even if the other library is not linked. This macro will check for
+support of weak aliases, figure out what schemes are available, and
+determine some characteristics of the weak alias support - primarily,
+whether a weak alias declared in one object file may be referenced from
+another object file.
+
+There are four known schemes of declaring weak symbols; each scheme is
+checked in turn, and the first one found is preferred. Note that only
+one of the mentioned preprocessor macros will be defined!
+
+1. Function attributes
+
+This scheme was first introduced by the GNU C compiler, and attaches
+attributes to particular functions. It is among the easiest to use, and
+so is the first one checked. If this scheme is detected, the
+preprocessor macro HAVE_SYS_WEAK_ALIAS_ATTRIBUTE will be defined to 1.
+This scheme is used as in the following code fragment:
+
+ void __weakf(int c)
+ {
+ /* Function definition... */
+ }
+
+ void weakf(int c) __attribute__((weak, alias("__weakf")));
+
+2. #pragma weak
+
+This scheme is in use by many compilers other than the GNU C compiler.
+It is also particularly easy to use, and fairly portable - well, as
+portable as these things get. If this scheme is detected first, the
+preprocessor macro HAVE_SYS_WEAK_ALIAS_PRAGMA will be defined to 1.
+This scheme is used as in the following code fragment:
+
+ extern void weakf(int c);
+ #pragma weak weakf = __weakf
+ void __weakf(int c)
+ {
+ /* Function definition... */
+ }
+
+3. #pragma _HP_SECONDARY_DEF
+
+This scheme appears to be in use by the HP compiler. As it is rather
+specialized, this is one of the last schemes checked. If it is the
+first one detected, the preprocessor macro
+HAVE_SYS_WEAK_ALIAS_HPSECONDARY will be defined to 1. This scheme is
+used as in the following code fragment:
+
+ extern void weakf(int c);
+ #pragma _HP_SECONDARY_DEF __weakf weakf
+ void __weakf(int c)
+ {
+ /* Function definition... */
+ }
+
+4. #pragma _CRI duplicate
+
+This scheme appears to be in use by the Cray compiler. As it is rather
+specialized, it too is one of the last schemes checked. If it is the
+first one detected, the preprocessor macro
+HAVE_SYS_WEAK_ALIAS_CRIDUPLICATE will be defined to 1. This scheme is
+used as in the following code fragment:
+
+ extern void weakf(int c);
+ #pragma _CRI duplicate weakf as __weakf
+ void __weakf(int c)
+ {
+ /* Function definition... */
+ }
+
+In addition to the preprocessor macros listed above, if any scheme is
+found, the preprocessor macro HAVE_SYS_WEAK_ALIAS will also be defined
+to 1.
+
+Once a weak aliasing scheme has been found, a check will be performed to
+see if weak aliases are honored across object file boundaries. If they
+are, the HAVE_SYS_WEAK_ALIAS_CROSSFILE preprocessor macro is defined to
+1.
+
+This Autoconf macro also makes two substitutions. The first,
+WEAK_ALIAS, contains the name of the scheme found (one of "attribute",
+"pragma", "hpsecondary", or "criduplicate"), or "no" if no weak aliasing
+scheme was found. The second, WEAK_ALIAS_CROSSFILE, is set to "yes" or
+"no" depending on whether or not weak aliases may cross object file
+boundaries.
+
+Source Code
+***********
+
+Download the latest version of 'ax_sys_weak_alias.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_weak_alias.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_weak_alias.m4).
+
+License
+*******
+
+Copyright (C) 2008 Kevin L. Mitchell <klmitch@mit.edu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_sysv_ipc, Next: ax_tls, Prev: ax_sys_weak_alias, Up: The Macros
+
+ax_sysv_ipc
+===========
+
+Synopsis
+********
+
+ AX_SYSV_IPC
+
+Description
+***********
+
+This macro checks for the SysV IPC header files. It only checks that
+you can compile a program with them, not whether the system actually
+implements working SysV IPC.
+
+Source Code
+***********
+
+Download the latest version of 'ax_sysv_ipc.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sysv_ipc.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sysv_ipc.m4).
+
+License
+*******
+
+Copyright (C) 2008 Warren Young <warren@etr-usa.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_tls, Next: ax_trilinos_amesos, Prev: ax_sysv_ipc, Up: The Macros
+
+ax_tls
+======
+
+Synopsis
+********
+
+ AX_TLS([action-if-found], [action-if-not-found])
+
+Description
+***********
+
+Provides a test for the compiler support of thread local storage (TLS)
+extensions. Defines TLS if it is found. Currently knows about C++11,
+GCC/ICC, and MSVC. I think SunPro uses the same as GCC, and Borland
+apparently supports either.
+
+Source Code
+***********
+
+Download the latest version of 'ax_tls.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_tls.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_tls.m4).
+
+License
+*******
+
+Copyright (C) 2008 Alan Woodland <ajw05@aber.ac.uk>
+Copyright (C) 2010 Diego Elio Petteno' <flameeyes@gmail.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_trilinos_amesos, Next: ax_trilinos_base, Prev: ax_tls, Up: The Macros
+
+ax_trilinos_amesos
+==================
+
+Synopsis
+********
+
+ AX_TRILINOS_AMESOS([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+On success, adds "include Makefile.export.amesos" statements to every
+Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
+configured with the -enable-export-makefiles option. When
+ACTION-IF-NOT-FOUND is not specified, the default behavior is for
+configure to fail.
+
+Source Code
+***********
+
+Download the latest version of 'ax_trilinos_amesos.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_amesos.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_amesos.m4).
+
+License
+*******
+
+Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_trilinos_base, Next: ax_trilinos_epetra, Prev: ax_trilinos_amesos, Up: The Macros
+
+ax_trilinos_base
+================
+
+Synopsis
+********
+
+ AX_TRILINOS_BASE([, MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+
+Description
+***********
+
+Test for the Trilinos (http://trilinos.sandia.gov/) libraries.
+
+Provides a -with-trilinos=DIR option. Searches -with-trilinos,
+$TRILINOS_HOME, and the usual places for Trilinos installation headers.
+
+Requires that a development branch or released version greater than
+MINIMUM-VERSION be found. If not specified, the default minimum version
+is 8.0.0.
+
+Supports separately specifying -with-trilinos-include or
+-with-trilinos-libdir to override default locations underneath either
+-with-trilinos or $TRILINOS_HOME.
+
+On success, adds -Ipath to CPPFLAGS, -Lpath to LDFLAGS, sets the
+variable TRILINOS_INCLUDE based on the discovered location of
+Trilinos_version.h, and #defines HAVE_TRILINOS. When ACTION-IF-NOT-FOUND
+is not specified, the default behavior is for configure to fail.
+
+Source Code
+***********
+
+Download the latest version of 'ax_trilinos_base.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_base.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_base.m4).
+
+License
+*******
+
+Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
+Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
+Copyright (C) 2009 Caolan McNamara <caolan@skynet.ie>
+Copyright (C) 2009 Alexandre Duret-Lutz <adl@gnu.org>
+Copyright (C) 2009 Matthew Mueller <donut@azstarnet.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_trilinos_epetra, Next: ax_trilinos_epetraext, Prev: ax_trilinos_base, Up: The Macros
+
+ax_trilinos_epetra
+==================
+
+Synopsis
+********
+
+ AX_TRILINOS_EPETRA([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+On success, adds "include Makefile.export.epetra" statements to every
+Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
+configured with the -enable-export-makefiles option. When
+ACTION-IF-NOT-FOUND is not specified, the default behavior is for
+configure to fail.
+
+Source Code
+***********
+
+Download the latest version of 'ax_trilinos_epetra.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_epetra.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_epetra.m4).
+
+License
+*******
+
+Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_trilinos_epetraext, Next: ax_trilinos_epetraext_hdf5, Prev: ax_trilinos_epetra, Up: The Macros
+
+ax_trilinos_epetraext
+=====================
+
+Synopsis
+********
+
+ AX_TRILINOS_EPETRAEXT([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+On success, adds "include Makefile.export.epetraext" statements to every
+Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
+configured with the -enable-export-makefiles option. When
+ACTION-IF-NOT-FOUND is not specified, the default behavior is for
+configure to fail.
+
+Source Code
+***********
+
+Download the latest version of 'ax_trilinos_epetraext.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_epetraext.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_epetraext.m4).
+
+License
+*******
+
+Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_trilinos_epetraext_hdf5, Next: ax_trilinos_rtop, Prev: ax_trilinos_epetraext, Up: The Macros
+
+ax_trilinos_epetraext_hdf5
+==========================
+
+Synopsis
+********
+
+ AX_TRILINOS_EPETRAEXT_HDF5([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+Checks if EpetraExt was compiled with HDF5 support
+(-enable-epetraext-hdf5) enabled. When ACTION-IF-NOT-FOUND is not
+specified, the default behavior is for configure to fail.
+
+Source Code
+***********
+
+Download the latest version of 'ax_trilinos_epetraext_hdf5.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_epetraext_hdf5.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_epetraext_hdf5.m4).
+
+License
+*******
+
+Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_trilinos_rtop, Next: ax_trilinos_rythmos, Prev: ax_trilinos_epetraext_hdf5, Up: The Macros
+
+ax_trilinos_rtop
+================
+
+Synopsis
+********
+
+ AX_TRILINOS_RTOP([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+On success, adds "include Makefile.export.rtop" statements to every
+Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
+configured with the -enable-export-makefiles option. When
+ACTION-IF-NOT-FOUND is not specified, the default behavior is for
+configure to fail.
+
+Source Code
+***********
+
+Download the latest version of 'ax_trilinos_rtop.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_rtop.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_rtop.m4).
+
+License
+*******
+
+Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_trilinos_rythmos, Next: ax_trilinos_teuchos, Prev: ax_trilinos_rtop, Up: The Macros
+
+ax_trilinos_rythmos
+===================
+
+Synopsis
+********
+
+ AX_TRILINOS_RYTHMOS([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+On success, adds "include Makefile.export.rythmos" statements to every
+Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
+configured with the -enable-export-makefiles option. When
+ACTION-IF-NOT-FOUND is not specified, the default behavior is for
+configure to fail.
+
+Source Code
+***********
+
+Download the latest version of 'ax_trilinos_rythmos.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_rythmos.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_rythmos.m4).
+
+License
+*******
+
+Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_trilinos_teuchos, Next: ax_trilinos_thyra, Prev: ax_trilinos_rythmos, Up: The Macros
+
+ax_trilinos_teuchos
+===================
+
+Synopsis
+********
+
+ AX_TRILINOS_TEUCHOS([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+On success, adds "include Makefile.export.teuchos" statements to every
+Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
+configured with the -enable-export-makefiles option.
+
+When ACTION-IF-NOT-FOUND is not specified, the default behavior is for
+configure to fail.
+
+Source Code
+***********
+
+Download the latest version of 'ax_trilinos_teuchos.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_teuchos.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_teuchos.m4).
+
+License
+*******
+
+Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_trilinos_thyra, Next: ax_trilinos_thyra_epetra, Prev: ax_trilinos_teuchos, Up: The Macros
+
+ax_trilinos_thyra
+=================
+
+Synopsis
+********
+
+ AX_TRILINOS_THYRA([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+On success, adds "include Makefile.export.thyra" statements to every
+Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
+configured with the -enable-export-makefiles option. When
+ACTION-IF-NOT-FOUND is not specified, the default behavior is for
+configure to fail.
+
+Source Code
+***********
+
+Download the latest version of 'ax_trilinos_thyra.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_thyra.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_thyra.m4).
+
+License
+*******
+
+Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_trilinos_thyra_epetra, Next: ax_trilinos_thyra_epetraext, Prev: ax_trilinos_thyra, Up: The Macros
+
+ax_trilinos_thyra_epetra
+========================
+
+Synopsis
+********
+
+ AX_TRILINOS_THYRA_EPETRA([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+Checks if the Thyra/Epetra adapters were compiled with Trilinos. When
+ACTION-IF-NOT-FOUND is not specified, the default behavior is for
+configure to fail.
+
+Source Code
+***********
+
+Download the latest version of 'ax_trilinos_thyra_epetra.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_thyra_epetra.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_thyra_epetra.m4).
+
+License
+*******
+
+Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_trilinos_thyra_epetraext, Next: ax_try_awk_anyout, Prev: ax_trilinos_thyra_epetra, Up: The Macros
+
+ax_trilinos_thyra_epetraext
+===========================
+
+Synopsis
+********
+
+ AX_TRILINOS_THYRA_EPETRAEXT([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+
+Description
+***********
+
+Checks if the Thyra/EpetraExt adapters were compiled with Trilinos.
+When ACTION-IF-NOT-FOUND is not specified, the default behavior is for
+configure to fail.
+
+Source Code
+***********
+
+Download the latest version of 'ax_trilinos_thyra_epetraext.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_thyra_epetraext.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_thyra_epetraext.m4).
+
+License
+*******
+
+Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_try_awk_anyout, Next: ax_try_awk_expout, Prev: ax_trilinos_thyra_epetraext, Up: The Macros
+
+ax_try_awk_anyout
+=================
+
+Synopsis
+********
+
+ AX_TRY_AWK_ANYOUT(NAME,TEST-INPUT,TEST-BODY,[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Run a test using the awk program found on AWK variable. The test being
+run has TEST-BODY as body and is feeded with TEST-INPUT. If successful
+execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_try_awk_anyout.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_awk_anyout.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_awk_anyout.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_try_awk_expout, Next: ax_try_compile_java, Prev: ax_try_awk_anyout, Up: The Macros
+
+ax_try_awk_expout
+=================
+
+Synopsis
+********
+
+ AX_TRY_AWK_EXPOUT(NAME,TEST-INPUT,TEST-BODY,EXPECTED-OUTPUT,[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+
+Description
+***********
+
+Run a test using the awk program found on AWK variable. The test being
+run has TEST-BODY as body and is feeded with TEST-INPUT. Check if the
+test gives the expected output. If successful execute ACTION-IF-SUCCESS
+otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+Source Code
+***********
+
+Download the latest version of 'ax_try_awk_expout.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_awk_expout.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_awk_expout.m4).
+
+License
+*******
+
+Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_try_compile_java, Next: ax_try_run_java, Prev: ax_try_awk_expout, Up: The Macros
+
+ax_try_compile_java
+===================
+
+Synopsis
+********
+
+ AX_TRY_COMPILE_JAVA
+
+Description
+***********
+
+AX_TRY_COMPILE_JAVA attempt to compile user given source.
+
+*Warning*: its success or failure can depend on a proper setting of the
+CLASSPATH env. variable.
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission. The
+general documentation, as well as the sample configure.in, is included
+in the AX_PROG_JAVA macro.
+
+Source Code
+***********
+
+Download the latest version of 'ax_try_compile_java.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_compile_java.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_compile_java.m4).
+
+License
+*******
+
+Copyright (C) 2008 Devin Weaver <ktohg@tritarget.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_try_run_java, Next: ax_type_socklen_t, Prev: ax_try_compile_java, Up: The Macros
+
+ax_try_run_java
+===============
+
+Synopsis
+********
+
+ AX_TRY_RUN_JAVA
+
+Description
+***********
+
+AX_TRY_RUN_JAVA attempt to compile and run user given source.
+
+*Warning*: its success or failure can depend on a proper setting of the
+CLASSPATH env. variable.
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission. The
+general documentation, as well as the sample configure.in, is included
+in the AX_PROG_JAVA macro.
+
+Source Code
+***********
+
+Download the latest version of 'ax_try_run_java.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_run_java.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_run_java.m4).
+
+License
+*******
+
+Copyright (C) 2008 Devin Weaver <ktohg@tritarget.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_type_socklen_t, Next: ax_upload, Prev: ax_try_run_java, Up: The Macros
+
+ax_type_socklen_t
+=================
+
+Synopsis
+********
+
+ AX_TYPE_SOCKLEN_T
+
+Description
+***********
+
+Check whether sys/socket.h defines type socklen_t. Please note that
+some systems require sys/types.h to be included before sys/socket.h can
+be compiled.
+
+Source Code
+***********
+
+Download the latest version of 'ax_type_socklen_t.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_type_socklen_t.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_type_socklen_t.m4).
+
+License
+*******
+
+Copyright (C) 2008 Lars Brinkhoff <lars@nocrew.org>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_upload, Next: ax_valgrind_check, Prev: ax_type_socklen_t, Up: The Macros
+
+ax_upload
+=========
+
+Synopsis
+********
+
+ AX_UPLOAD([command])
+
+Description
+***********
+
+Adds support for uploading dist files. %%s in the command will be
+substituted with the name of the file. e.g:
+
+ AX_UPLOAD([ncftpput -v upload.sourceforge.net /incoming %%s])
+
+To add upload support for other custom dists add upload-<TYPE> to
+UPLOAD_BIN or UPLOAD_SRC, where <TYPE> is the type of dist that is being
+uploaded and add a mapping from <TYPE> to the dist file name in the
+format '{<TYPE>=><FILENAME>}' to UPLOAD_TARGETS. For example:
+
+ UPLOAD_BIN += upload-foobar
+ UPLOAD_TARGETS += {foobar=>@PACKAGE@-@VERSION@.fb}
+
+You can then upload of the src distribution files by running:
+
+ make upload-src
+
+all the binary distribution files by running:
+
+ make upload-bin
+
+or both by running:
+
+ make upload
+
+Source Code
+***********
+
+Download the latest version of 'ax_upload.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_upload.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_upload.m4).
+
+License
+*******
+
+Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_valgrind_check, Next: ax_var_pop, Prev: ax_upload, Up: The Macros
+
+ax_valgrind_check
+=================
+
+Synopsis
+********
+
+ AX_VALGRIND_DFLT(memcheck|helgrind|drd|sgcheck, on|off)
+ AX_VALGRIND_CHECK()
+
+Description
+***********
+
+AX_VALGRIND_CHECK checks whether Valgrind is present and, if so, allows
+running 'make check' under a variety of Valgrind tools to check for
+memory and threading errors.
+
+Defines VALGRIND_CHECK_RULES which should be substituted in your
+Makefile; and $enable_valgrind which can be used in subsequent configure
+output. VALGRIND_ENABLED is defined and substituted, and corresponds to
+the value of the -enable-valgrind option, which defaults to being
+enabled if Valgrind is installed and disabled otherwise. Individual
+Valgrind tools can be disabled via -disable-valgrind-<tool>, the default
+is configurable via the AX_VALGRIND_DFLT command or is to use all
+commands not disabled via AX_VALGRIND_DFLT. All AX_VALGRIND_DFLT calls
+must be made before the call to AX_VALGRIND_CHECK.
+
+If unit tests are written using a shell script and automake's
+LOG_COMPILER system, the $(VALGRIND) variable can be used within the
+shell scripts to enable Valgrind, as described here:
+
+ https://www.gnu.org/software/gnulib/manual/html_node/Running-self_002dtests-under-valgrind.html
+
+Usage example:
+
+configure.ac:
+
+ AX_VALGRIND_DFLT([sgcheck], [off])
+ AX_VALGRIND_CHECK
+
+in each Makefile.am with tests:
+
+ @VALGRIND_CHECK_RULES@
+ VALGRIND_SUPPRESSIONS_FILES = my-project.supp
+ EXTRA_DIST = my-project.supp
+
+This results in a "check-valgrind" rule being added. Running 'make
+check-valgrind' in that directory will recursively run the module's test
+suite ('make check') once for each of the available Valgrind tools (out
+of memcheck, helgrind and drd) while the sgcheck will be skipped unless
+enabled again on the commandline with -enable-valgrind-sgcheck. The
+results for each check will be output to test-suite-$toolname.log. The
+target will succeed if there are zero errors and fail otherwise.
+
+Alternatively, a "check-valgrind-$TOOL" rule will be added, for $TOOL in
+memcheck, helgrind, drd and sgcheck. These are useful because often
+only some of those tools can be ran cleanly on a codebase.
+
+The macro supports running with and without libtool.
+
+Source Code
+***********
+
+Download the latest version of 'ax_valgrind_check.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_valgrind_check.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_valgrind_check.m4).
+
+License
+*******
+
+Copyright (C) 2014, 2015, 2016 Philip Withnall <philip.withnall@collabora.co.uk>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_var_pop, Next: ax_var_push, Prev: ax_valgrind_check, Up: The Macros
+
+ax_var_pop
+==========
+
+Synopsis
+********
+
+ AX_VAR_POPVALUE(VARIABLE)
+
+Description
+***********
+
+Restores a variable's previous value. Compile, link and running tests
+usually require the programmer to provide additional flags. However, it
+is strongly recommended not to override flags defined by the user
+through the configure command. AX_VAR_PUSHVALUE and AX_VAR_POPVALUE are
+clean way to temporarily store a variable's value and restore it later,
+using a stack-like behaviour. This macro supports nesting.
+
+Example:
+
+ AX_VAR_PUSHVALUE([CXXFLAGS],["my test flags"])
+ perform some checks with CXXFLAGS...
+ CXXFLAGS value will be "my test flags"
+ AX_VAR_POPVALUE([CXXFLAGS])
+ CXXFLAGS is restored to its original value
+
+Source Code
+***********
+
+Download the latest version of 'ax_var_pop.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_var_pop.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_var_pop.m4).
+
+License
+*******
+
+Copyright (C) 2015 Jorge Bellon <jbelloncastro@gmail.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_var_push, Next: ax_var_timezone_externals, Prev: ax_var_pop, Up: The Macros
+
+ax_var_push
+===========
+
+Synopsis
+********
+
+ AX_VAR_PUSHVALUE(VARIABLE, [VALUE])
+
+Description
+***********
+
+Stores a copy of variable_name's value and assigns it to 'value' If no
+value is given, its original value is kept. Compile, link and running
+tests usually require the programmer to provide additional flags.
+However, it is strongly recommended not to override flags defined by the
+user through the configure command. AX_VAR_PUSHVALUE and
+AX_VAR_POPVALUE are clean way to temporarily store a variable's value
+and restore it later, using a stack-like behaviour. This macro supports
+nesting.
+
+Example:
+
+ AX_VAR_PUSHVALUE([CXXFLAGS],["my test flags"])
+ perform some checks with CXXFLAGS...
+ CXXFLAGS value will be "my test flags"
+ AX_VAR_POPVALUE([CXXFLAGS])
+ CXXFLAGS is restored to its original value
+
+Source Code
+***********
+
+Download the latest version of 'ax_var_push.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_var_push.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_var_push.m4).
+
+License
+*******
+
+Copyright (C) 2015 Jorge Bellon <jbelloncastro@gmail.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_var_timezone_externals, Next: ax_very_nice, Prev: ax_var_push, Up: The Macros
+
+ax_var_timezone_externals
+=========================
+
+Synopsis
+********
+
+ AX_VAR_TIMEZONE_EXTERNALS
+
+Description
+***********
+
+Use instead of 'AC_STRUCT_TIMEZONE' to determine whether the external
+timezone variables 'timezone', 'altzone' and 'daylight' exist, defining
+'HAVE_TIMEZONE', 'HAVE_ALTZONE' and 'HAVE_DAYLIGHT' respectively (as
+well as gaining the macros defined by 'AC_STRUCT_TIMEZONE').
+
+Rewritten for Autoconf 2.68, and made robust against BSD's timezone()
+function, by Daniel Richard G.
+
+Source Code
+***********
+
+Download the latest version of 'ax_var_timezone_externals.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_var_timezone_externals.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_var_timezone_externals.m4).
+
+License
+*******
+
+Copyright (C) 2008 Mark R. Bannister <markb@freedomware.co.uk>
+Copyright (C) 2011 Daniel Richard G. <skunk@iSKUNK.ORG>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_very_nice, Next: ax_warning_default_aclocaldir, Prev: ax_var_timezone_externals, Up: The Macros
+
+ax_very_nice
+============
+
+Synopsis
+********
+
+ AX_VERY_NICE
+
+Description
+***********
+
+A macro to check the options of nice, in order to have a VERY_NICE
+variable which runs a program at the lowest priority VERY_NICE is
+undefined if we don't find the proper options, so you can safely use:
+
+ @VERY_NICE@ mycommand
+
+in a shell script.
+
+The VERY_NICE variable includes the placeholder NICE_VALUE that you have
+to instantiate at run-time. If you give a argument to AX_VERY_NICE, it
+will be used as an argument of nice for testing and included in
+VERY_NICE instead of the above placeholder.
+
+Source Code
+***********
+
+Download the latest version of 'ax_very_nice.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_very_nice.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_very_nice.m4).
+
+License
+*******
+
+Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_warning_default_aclocaldir, Next: ax_warning_default_pkgconfig, Prev: ax_very_nice, Up: The Macros
+
+ax_warning_default_aclocaldir
+=============================
+
+Synopsis
+********
+
+ AX_WARNING_DEFAULT_ACLOCALDIR [(dirvariable [,[defsetting][,[A][,[N/A]]]])]
+ AX_ENABLE_DEFAULT_ACLOCALDIR [(dirvariable [,defsetting])]
+
+Description
+***********
+
+print a warning message if the $(datadir)/aclocal directory is not in
+the dirlist searched by the aclocal tool. This macro is useful if some
+'make install' would target $(datadir)/aclocal to install an autoconf m4
+file of your project to be picked up by other projects.
+
+ default $1 dirvariable = aclocaldir
+ default $2 defsetting = ${datadir}/aclocal
+ default $3 action = nothing to do
+ default $4 action = warn the user about mismatch
+
+In the _WARNING_ variant, the defsetting is not placed in dirvariable
+nor is it ac_subst'ed in any way. The default fail-action $4 is to send
+a warning message to the user, and the default accept-action $3 is
+nothing. It is expected that a Makefile is generated with
+aclocaldir=${datadir}/aclocal
+
+The _ENABLE_ variant however will set not only the $aclocaldir shell var
+of the script, but it is also AC-SUBST'ed on default - and furthermore a
+configure option "-enable-default-aclocaldir" is provided. Only if that
+option is set then $2 default is not set to the canonic default in the a
+$prefix subpath but instead $2 default is set to the primary path where
+'aclocal' looks for macros. The user may also override the default on
+the command line.
+
+Source Code
+***********
+
+Download the latest version of 'ax_warning_default_aclocaldir.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_warning_default_aclocaldir.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_warning_default_aclocaldir.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_warning_default_pkgconfig, Next: ax_wint_t, Prev: ax_warning_default_aclocaldir, Up: The Macros
+
+ax_warning_default_pkgconfig
+============================
+
+Synopsis
+********
+
+ AX_WARNING_DEFAULT_PKGCONFIGDIR [(dirvariable [,[defsetting][,[A][,[N/A]]]])]
+ AX_ENABLE_DEFAULT_PKGCONFIGDIR [(dirvariable [,defsetting])]
+
+Description
+***********
+
+print a warning message if the $(datadir)/aclocal directory is not in
+the dirlist searched by the aclocal tool. This macro is useful if some
+'make install' would target $(datadir)/aclocal to install an autoconf m4
+file of your project to be picked up by other projects.
+
+ default $1 dirvariable = pkgconfigdir
+ default $2 defsetting = ${libdir}/pkgconfig
+ default $3 action = nothing to do
+ default $4 action = warn the user about mismatch
+
+In the _WARNING_ variant, the defsetting is not placed in dirvariable
+nor is it ac_subst'ed in any way. The default fail-action $4 is to send
+a warning message to the user, and the default accept-action $3 is
+nothing. It is expected that a Makefile is generated with
+pkgconfigdir=${libdir}/pkgconfig
+
+The _ENABLE_ variant however will set not only the $pkgconfigdir shell
+var of the script, but it is also AC-SUBST'ed on default - and
+furthermore a configure option "-enable-default-pkgconfigdir" is
+provided. Only if that option is set then $2 default is not set to the
+canonic default in the a $prefix subpath but instead $2 default is set
+to the primary path where 'pkg-config' looks for .pc files. The user
+may also override the default on the command line.
+
+Source Code
+***********
+
+Download the latest version of 'ax_warning_default_pkgconfig.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_warning_default_pkgconfig.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_warning_default_pkgconfig.m4).
+
+License
+*******
+
+Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_wint_t, Next: ax_with_apxs, Prev: ax_warning_default_pkgconfig, Up: The Macros
+
+ax_wint_t
+=========
+
+Synopsis
+********
+
+ AX_WINT_T
+
+Description
+***********
+
+It turns out that MacOS X doesn't guarantee to provide the "wint_t" type
+unless you include the strange header <runetype.h> in addition to
+<wchar.h>. Consequently, the "do I have a system wint_t?" probe fails
+and an alternate gets used. Unfortunately, by the time the program gets
+built, one way or another that funny header winds up getting included
+and the "#define wint_t unsigned int" patch-up-hack mutilates the
+typedef. This macro will get it right.
+
+Source Code
+***********
+
+Download the latest version of 'ax_wint_t.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_wint_t.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_wint_t.m4).
+
+License
+*******
+
+Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_with_apxs, Next: ax_with_build_path, Prev: ax_wint_t, Up: The Macros
+
+ax_with_apxs
+============
+
+Synopsis
+********
+
+ AX_WITH_APXS([value-if-not-found], [path])
+
+Description
+***********
+
+Locates an installed apxs binary, placing the result in the precious
+variable $APXS. Accepts a preset $APXS, then -with-apxs, and failing
+that searches for apxs in the given path (which defaults to the system
+path). If apxs is found, $APXS is set to the full path of the binary;
+otherwise it is set to VALUE-IF-NOT-FOUND, which defaults to apxs.
+
+Example:
+
+ AX_WITH_APXS(missing)
+
+Source Code
+***********
+
+Download the latest version of 'ax_with_apxs.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_apxs.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_apxs.m4).
+
+License
+*******
+
+Copyright (C) 2008 Dustin J. Mitchell <dustin@cs.uchicago.edu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_with_build_path, Next: ax_with_curses, Prev: ax_with_apxs, Up: The Macros
+
+ax_with_build_path
+==================
+
+Synopsis
+********
+
+ AX_WITH_BUILD_PATH
+
+Description
+***********
+
+This macro adds a "-with-build-path" option to the configure script.
+This configure option provides a convenient way to add "-I" options to
+CPPFLAGS and "-L" options to LDFLAGS, at configure time.
+
+Invoking "./configure -with-build-path=DIR" results in "-I DIR/include"
+being added to CPPFLAGS if DIR/include exists, and "-L DIR/lib" being
+added to LDFLAGS if DIR/lib exists.
+
+Separate multiple directories using colons; e.g.
+"-with-build-path=DIR1:DIR2:DIR3".
+
+Source Code
+***********
+
+Download the latest version of 'ax_with_build_path.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_build_path.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_build_path.m4).
+
+License
+*******
+
+Copyright (C) 2008 Steve M. Robbins <smr@debian.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_with_curses, Next: ax_with_curses_extra, Prev: ax_with_build_path, Up: The Macros
+
+ax_with_curses
+==============
+
+Synopsis
+********
+
+ AX_WITH_CURSES
+
+Description
+***********
+
+This macro checks whether a SysV or X/Open-compatible Curses library is
+present, along with the associated header file. The NcursesW
+(wide-character) library is searched for first, followed by Ncurses,
+then the system-default plain Curses. The first library found is the
+one returned. Finding libraries will first be attempted by using
+pkg-config, and should the pkg-config files not be available, will
+fallback to combinations of known flags itself.
+
+The following options are understood: -with-ncursesw, -with-ncurses,
+-without-ncursesw, -without-ncurses. The "-with" options force the
+macro to use that particular library, terminating with an error if not
+found. The "-without" options simply skip the check for that library.
+The effect on the search pattern is:
+
+ (no options) - NcursesW, Ncurses, Curses
+ --with-ncurses --with-ncursesw - NcursesW only [*]
+ --without-ncurses --with-ncursesw - NcursesW only [*]
+ --with-ncursesw - NcursesW only [*]
+ --with-ncurses --without-ncursesw - Ncurses only [*]
+ --with-ncurses - NcursesW, Ncurses [**]
+ --without-ncurses --without-ncursesw - Curses only
+ --without-ncursesw - Ncurses, Curses
+ --without-ncurses - NcursesW, Curses
+
+[*] If the library is not found, abort the configure script.
+
+[**] If the second library (Ncurses) is not found, abort configure.
+
+The following preprocessor symbols may be defined by this macro if the
+appropriate conditions are met:
+
+ HAVE_CURSES - if any SysV or X/Open Curses library found
+ HAVE_CURSES_ENHANCED - if library supports X/Open Enhanced functions
+ HAVE_CURSES_COLOR - if library supports color (enhanced functions)
+ HAVE_CURSES_OBSOLETE - if library supports certain obsolete features
+ HAVE_NCURSESW - if NcursesW (wide char) library is to be used
+ HAVE_NCURSES - if the Ncurses library is to be used
+
+ HAVE_CURSES_H - if <curses.h> is present and should be used
+ HAVE_NCURSESW_H - if <ncursesw.h> should be used
+ HAVE_NCURSES_H - if <ncurses.h> should be used
+ HAVE_NCURSESW_CURSES_H - if <ncursesw/curses.h> should be used
+ HAVE_NCURSES_CURSES_H - if <ncurses/curses.h> should be used
+
+(These preprocessor symbols are discussed later in this document.)
+
+The following output variables are defined by this macro; they are
+precious and may be overridden on the ./configure command line:
+
+ CURSES_LIBS - library to add to xxx_LDADD
+ CURSES_CFLAGS - include paths to add to xxx_CPPFLAGS
+
+In previous versions of this macro, the flags CURSES_LIB and
+CURSES_CPPFLAGS were defined. These have been renamed, in keeping with
+AX_WITH_CURSES's close bigger brother, PKG_CHECK_MODULES, which should
+eventually supersede the use of AX_WITH_CURSES. Neither the library
+listed in CURSES_LIBS, nor the flags in CURSES_CFLAGS are added to LIBS,
+respectively CPPFLAGS, by default. You need to add both to the
+appropriate xxx_LDADD/xxx_CPPFLAGS line in your Makefile.am. For
+example:
+
+ prog_LDADD = @CURSES_LIBS@
+ prog_CPPFLAGS = @CURSES_CFLAGS@
+
+If CURSES_LIBS is set on the configure command line (such as by running
+"./configure CURSES_LIBS=-lmycurses"), then the only header searched for
+is <curses.h>. If the user needs to specify an alternative path for a
+library (such as for a non-standard NcurseW), the user should use the
+LDFLAGS variable.
+
+The following shell variables may be defined by this macro:
+
+ ax_cv_curses - set to "yes" if any Curses library found
+ ax_cv_curses_enhanced - set to "yes" if Enhanced functions present
+ ax_cv_curses_color - set to "yes" if color functions present
+ ax_cv_curses_obsolete - set to "yes" if obsolete features present
+
+ ax_cv_ncursesw - set to "yes" if NcursesW library found
+ ax_cv_ncurses - set to "yes" if Ncurses library found
+ ax_cv_plaincurses - set to "yes" if plain Curses library found
+ ax_cv_curses_which - set to "ncursesw", "ncurses", "plaincurses" or "no"
+
+These variables can be used in your configure.ac to determine the level
+of support you need from the Curses library. For example, if you must
+have either Ncurses or NcursesW, you could include:
+
+ AX_WITH_CURSES
+ if test "x$ax_cv_ncursesw" != xyes && test "x$ax_cv_ncurses" != xyes; then
+ AC_MSG_ERROR([requires either NcursesW or Ncurses library])
+ fi
+
+If any Curses library will do (but one must be present and must support
+color), you could use:
+
+ AX_WITH_CURSES
+ if test "x$ax_cv_curses" != xyes || test "x$ax_cv_curses_color" != xyes; then
+ AC_MSG_ERROR([requires an X/Open-compatible Curses library with color])
+ fi
+
+Certain preprocessor symbols and shell variables defined by this macro
+can be used to determine various features of the Curses library. In
+particular, HAVE_CURSES and ax_cv_curses are defined if the Curses
+library found conforms to the traditional SysV and/or X/Open Base Curses
+definition. Any working Curses library conforms to this level.
+
+HAVE_CURSES_ENHANCED and ax_cv_curses_enhanced are defined if the
+library supports the X/Open Enhanced Curses definition. In particular,
+the wide-character types attr_t, cchar_t and wint_t, the functions
+wattr_set() and wget_wch() and the macros WA_NORMAL and _XOPEN_CURSES
+are checked. The Ncurses library does NOT conform to this definition,
+although NcursesW does.
+
+HAVE_CURSES_COLOR and ax_cv_curses_color are defined if the library
+supports color functions and macros such as COLOR_PAIR, A_COLOR,
+COLOR_WHITE, COLOR_RED and init_pair(). These are NOT part of the
+X/Open Base Curses definition, but are part of the Enhanced set of
+functions. The Ncurses library DOES support these functions, as does
+NcursesW.
+
+HAVE_CURSES_OBSOLETE and ax_cv_curses_obsolete are defined if the
+library supports certain features present in SysV and BSD Curses but not
+defined in the X/Open definition. In particular, the functions
+getattrs(), getcurx() and getmaxx() are checked.
+
+To use the HAVE_xxx_H preprocessor symbols, insert the following into
+your system.h (or equivalent) header file:
+
+ #if defined HAVE_NCURSESW_CURSES_H
+ # include <ncursesw/curses.h>
+ #elif defined HAVE_NCURSESW_H
+ # include <ncursesw.h>
+ #elif defined HAVE_NCURSES_CURSES_H
+ # include <ncurses/curses.h>
+ #elif defined HAVE_NCURSES_H
+ # include <ncurses.h>
+ #elif defined HAVE_CURSES_H
+ # include <curses.h>
+ #else
+ # error "SysV or X/Open-compatible Curses header file required"
+ #endif
+
+For previous users of this macro: you should not need to change anything
+in your configure.ac or Makefile.am, as the previous (serial 10)
+semantics are still valid. However, you should update your system.h (or
+equivalent) header file to the fragment shown above. You are encouraged
+also to make use of the extended functionality provided by this version
+of AX_WITH_CURSES, as well as in the additional macros
+AX_WITH_CURSES_PANEL, AX_WITH_CURSES_MENU and AX_WITH_CURSES_FORM.
+
+Source Code
+***********
+
+Download the latest version of 'ax_with_curses.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_curses.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_curses.m4).
+
+License
+*******
+
+Copyright (C) 2009 Mark Pulford <mark@kyne.com.au>
+Copyright (C) 2009 Damian Pietras <daper@daper.net>
+Copyright (C) 2012 Reuben Thomas <rrt@sc3d.org>
+Copyright (C) 2011 John Zaitseff <J.Zaitseff@zap.org.au>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_with_curses_extra, Next: ax_with_dmalloc, Prev: ax_with_curses, Up: The Macros
+
+ax_with_curses_extra
+====================
+
+Synopsis
+********
+
+ AX_WITH_CURSES_PANEL
+ AX_WITH_CURSES_MENU
+ AX_WITH_CURSES_FORM
+
+Description
+***********
+
+These macros try to find additional libraries that often come with
+SysV-compatible Curses. In particular, the Panel, Menu and Form
+libraries are searched, along with their header files. These macros
+depend on AX_WITH_CURSES.
+
+The following preprocessor symbols may be defined by these macros:
+
+ By AX_WITH_CURSES_PANEL:
+
+ HAVE_PANEL - if the Panel library is present
+ HAVE_PANEL_H - if <panel.h> is present and should be used
+ HAVE_NCURSES_PANEL_H - if <ncurses/panel.h> should be used
+ HAVE_NCURSESW_PANEL_H - if <ncursesw/panel.h> should be used
+
+ By AX_WITH_CURSES_MENU:
+
+ HAVE_MENU - if the Menu library is present
+ HAVE_MENU_H - if <menu.h> is present and should be used
+ HAVE_NCURSES_MENU_H - if <ncurses/menu.h> should be used
+ HAVE_NCURSESW_MENU_H - if <ncursesw/menu.h> should be used
+
+ By AX_WITH_CURSES_FORM:
+
+ HAVE_FORM - if the Form library is present
+ HAVE_FORM_H - if <form.h> is present and should be used
+ HAVE_NCURSES_FORM_H - if <ncurses/form.h> should be used
+ HAVE_NCURSESW_FORM_H - if <ncursesw/form.h> should be used
+
+The following output variables may be defined by these macros; these are
+precious and may be overridden on the ./configure command line:
+
+ PANEL_LIBS - library to add to xxx_LDADD before CURSES_LIBS
+ MENU_LIBS - library to add to xxx_LDADD before CURSES_LIBS
+ FORM_LIBS - library to add to xxx_LDADD before CURSES_LIBS
+
+In previous versions of this macro, the flags PANEL_LIB, MENU_LIB and
+FORM_LIB were defined. These have been renamed, in keeping with the
+variable scheme of PKG_CHECK_MODULES, which should eventually supersede
+the use of AX_WITH_CURSES and AX_WITH_CURSES_* macros. These libraries
+are NOT added to LIBS by default. You need to add them to the
+appropriate xxx_LDADD line in your Makefile.am in front of the
+equivalent CURSES_LIBS incantation. For example:
+
+ prog_LDADD = @PANEL_LIBS@ @CURSES_LIBS@
+
+If one of the xxx_LIBS variables is set on the configure command line
+(such as by running "./configure PANEL_LIBS=-lmypanel"), then the header
+file searched must NOT contain a subpath. In this case, in other words,
+only <panel.h> would be searched for. The user may use the CPPFLAGS
+precious variable to override the standard #include search path.
+
+The following shell variables may be defined by these macros:
+
+ ax_cv_panel - set to "yes" if Panels library is present
+ ax_cv_menu - set to "yes" if Menu library is present
+ ax_cv_form - set to "yes" if Form library is present
+
+These variables can be used in your configure.ac to determine whether a
+library you require is actually present. For example:
+
+ AX_WITH_CURSES
+ if test "x$ax_cv_curses" != xyes; then
+ AC_MSG_ERROR([requires a SysV or X/Open-compatible Curses library])
+ fi
+ AX_WITH_CURSES_PANEL
+ if test "x$ax_cv_panel" != xyes; then
+ AC_MSG_ERROR([requires the Curses Panel library])
+ fi
+
+To use the HAVE_xxx_H preprocessor symbols, insert the following into
+your system.h (or equivalent) header file:
+
+ For AX_WITH_CURSES_PANEL:
+
+ #if defined HAVE_NCURSESW_PANEL_H
+ # include <ncursesw/panel.h>
+ #elif defined HAVE_NCURSES_PANEL_H
+ # include <ncurses/panel.h>
+ #elif defined HAVE_PANEL_H
+ # include <panel.h>
+ #else
+ # error "SysV-compatible Curses Panel header file required"
+ #endif
+
+ For AX_WITH_CURSES_MENU:
+
+ #if defined HAVE_NCURSESW_MENU_H
+ # include <ncursesw/menu.h>
+ #elif defined HAVE_NCURSES_MENU_H
+ # include <ncurses/menu.h>
+ #elif defined HAVE_MENU_H
+ # include <menu.h>
+ #else
+ # error "SysV-compatible Curses Menu header file required"
+ #endif
+
+ For AX_WITH_CURSES_FORM:
+
+ #if defined HAVE_NCURSESW_FORM_H
+ # include <ncursesw/form.h>
+ #elif defined HAVE_NCURSES_FORM_H
+ # include <ncurses/form.h>
+ #elif defined HAVE_FORM_H
+ # include <form.h>
+ #else
+ # error "SysV-compatible Curses Form header file required"
+ #endif
+
+Source Code
+***********
+
+Download the latest version of 'ax_with_curses_extra.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_curses_extra.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_curses_extra.m4).
+
+License
+*******
+
+Copyright (C) 2011 John Zaitseff <J.Zaitseff@zap.org.au>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_with_dmalloc, Next: ax_with_mpatrol, Prev: ax_with_curses_extra, Up: The Macros
+
+ax_with_dmalloc
+===============
+
+Synopsis
+********
+
+ AX_WITH_DMALLOC
+
+Description
+***********
+
+Let the user enable/disable support for the dmalloc library available
+from <http://www.dmalloc.org/>.
+
+The macro adds the command-line flag "-with-dmalloc". Furthermore,
+"-IPREFIX/include" will be added to "$CPPFLAGS", "-LPREFIX/lib" to
+"$LDFLAGS", and "-DDEBUG_DMALLOC" and "-DDMALLOC_FUNC_CHECK" to
+"$CPPFLAGS".
+
+To enable dmalloc support in your code, add the following snippet to
+your header files:
+
+ #ifdef DEBUG_DMALLOC
+ # include <dmalloc.h>
+ #endif
+
+Source Code
+***********
+
+Download the latest version of 'ax_with_dmalloc.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_dmalloc.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_dmalloc.m4).
+
+License
+*******
+
+Copyright (C) 2008 Peter Simons <simons@cryp.to>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_with_mpatrol, Next: ax_with_prog, Prev: ax_with_dmalloc, Up: The Macros
+
+ax_with_mpatrol
+===============
+
+Synopsis
+********
+
+ AX_WITH_MPATROL(DEFAULT)
+
+Description
+***********
+
+Integrates the mpatrol malloc debugging library into a new or existing
+project and also attempts to determine the support libraries that need
+to be linked in when libmpatrol is used.
+
+It takes one optional parameter specifying whether mpatrol should be
+included in the project ('yes') or not ('no'). This can also be
+specified as 'threads' if you wish to use the threadsafe version of the
+mpatrol library. You can override the value of the optional parameter
+with the '-with-mpatrol' option to the resulting 'configure' shell
+script.
+
+Source Code
+***********
+
+Download the latest version of 'ax_with_mpatrol.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_mpatrol.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_mpatrol.m4).
+
+License
+*******
+
+Copyright (C) 2008 Graeme S. Roy <graeme@epc.co.uk>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_with_prog, Next: ax_xercesc, Prev: ax_with_mpatrol, Up: The Macros
+
+ax_with_prog
+============
+
+Synopsis
+********
+
+ AX_WITH_PROG([VARIABLE],[program],[VALUE-IF-NOT-FOUND],[PATH])
+
+Description
+***********
+
+Locates an installed program binary, placing the result in the precious
+variable VARIABLE. Accepts a present VARIABLE, then -with-program, and
+failing that searches for program in the given path (which defaults to
+the system path). If program is found, VARIABLE is set to the full path
+of the binary; if it is not found VARIABLE is set to VALUE-IF-NOT-FOUND
+if provided, unchanged otherwise.
+
+A typical example could be the following one:
+
+ AX_WITH_PROG(PERL,perl)
+
+NOTE: This macro is based upon the original AX_WITH_PYTHON macro from
+Dustin J. Mitchell <dustin@cs.uchicago.edu>.
+
+Source Code
+***********
+
+Download the latest version of 'ax_with_prog.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_prog.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_prog.m4).
+
+License
+*******
+
+Copyright (C) 2008 Francesco Salvestrini <salvestrini@users.sourceforge.net>
+
+Copyright (C) 2008 Dustin J. Mitchell <dustin@cs.uchicago.edu>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_xercesc, Next: ax_xsdcxx, Prev: ax_with_prog, Up: The Macros
+
+ax_xercesc
+==========
+
+Synopsis
+********
+
+ AX_XERCESC
+
+Description
+***********
+
+Define $HAVE_LIBXERCES_C, $LIBXERCES_C, and $LTLIBXERCES_C to signify
+whether Xerces is available.
+
+Source Code
+***********
+
+Download the latest version of 'ax_xercesc.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_xercesc.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_xercesc.m4).
+
+License
+*******
+
+Copyright (C) 2008 Ronald Landheer-Cieslak <blytkerchan@users.sourceforge.net>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_xsdcxx, Next: ax_xtra_classpath, Prev: ax_xercesc, Up: The Macros
+
+ax_xsdcxx
+=========
+
+Synopsis
+********
+
+ AX_XSDCXX
+
+Description
+***********
+
+This macro tries to find the CodeSynthesis XSD executable and the
+corresponding headers.
+
+Supported options:
+
+ --with-xsdcxx
+ use CodeSynthesis XSD from given prefix (ARG=path);
+ check PATH (ARG=yes); disable (ARG=no)
+
+ --with-xsdcxx-inc
+ path to CodeSynthesis XSD headers (ARG=path); use standard prefix
+ (ARG=yes); disable (ARG=no)
+
+Output variables:
+
+ XSDCXX
+ XSDCXX_CPPFLAGS
+
+Source Code
+***********
+
+Download the latest version of 'ax_xsdcxx.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_xsdcxx.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_xsdcxx.m4).
+
+License
+*******
+
+Copyright (C) 2013 Laszlo Kajan <lkajan@rostlab.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_xtra_classpath, Next: ax_zmq, Prev: ax_xsdcxx, Up: The Macros
+
+ax_xtra_classpath
+=================
+
+Synopsis
+********
+
+ AX_XTRA_CLASSPATH(<classpath>,<class>,<jarfile>,<action-if-found>,<action-if-not-found>)
+
+Description
+***********
+
+Set $1 to extra classpath components required for class $2 found in a
+jar file in $3. If the class is found do $4 and otherwise do $5. Uses
+AX_JAVA_CHECK_CLASS for testing whether a class is available
+
+Source Code
+***********
+
+Download the latest version of 'ax_xtra_classpath.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_xtra_classpath.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_xtra_classpath.m4).
+
+License
+*******
+
+Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
+
+\1f
+File: autoconf-archive.info, Node: ax_zmq, Next: ax_zoneinfo, Prev: ax_xtra_classpath, Up: The Macros
+
+ax_zmq
+======
+
+Synopsis
+********
+
+ AX_ZMQ([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+
+Description
+***********
+
+Test for the ZMQ libraries of a particular version (or newer). The
+default version tested for is 4.0.0.
+
+The macro tests for ZMQ libraries in the library/include path, and, when
+provided, also in the path given by -with-zmq.
+
+This macro calls:
+
+ AC_SUBST(ZMQ_CPPFLAGS) / AC_SUBST(ZMQ_LDFLAGS) / AC_SUBST(ZMQ_LIBS)
+
+And sets:
+
+ HAVE_ZMQ
+
+Source Code
+***********
+
+Download the latest version of 'ax_zmq.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_zmq.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_zmq.m4).
+
+License
+*******
+
+Copyright (C) 2016 Jeroen Meijer <jjgmeijer@gmail.com>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: ax_zoneinfo, Prev: ax_zmq, Up: The Macros
+
+ax_zoneinfo
+===========
+
+Synopsis
+********
+
+ AX_ZONEINFO([options...])
+
+Description
+***********
+
+This macro finds compiled zoneinfo files. If successful it will define
+HAVE_ZONEINFO per:
+
+ AC_DEFINE([HAVE_ZONEINFO], [1], [...])
+
+and have the variable TZDIR point to the zoneinfo directory as per
+
+ AC_SUBST([TZDIR])
+ AC_DEFINE_UNQUOTED([TZDIR], [/path/to/zic/files], [...])
+
+Optionally, OPTIONS can be 'right' to trigger further tests that will
+determine if leap second fix-ups are available. If so the variables
+HAVE_ZONEINFO_RIGHT, ZONEINFO_UTC_RIGHT and TZDIR_RIGHT will be
+populated:
+
+ AC_DEFINE([HAVE_ZONEINFO_RIGHT], [1], [...])
+ AC_SUBST([TZDIR_RIGHT])
+ AC_DEFINE_UNQUOTED([TZDIR_RIGHT], [/path/to/right/zic/files], [...])
+ AC_SUBST([ZONEINFO_UTC_RIGHT])
+ AC_DEFINE_UNQUOTED([ZONEINFO_UTC_RIGHT], [$ZONEINFO_UTC_RIGHT], [...])
+
+Source Code
+***********
+
+Download the latest version of 'ax_zoneinfo.m4'
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_zoneinfo.m4)
+or browse the macro's revision history
+(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_zoneinfo.m4).
+
+License
+*******
+
+Copyright (C) 2012 Sebastian Freundt <freundt@fresse.org>
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
+
+\1f
+File: autoconf-archive.info, Node: GNU Free Documentation License, Prev: The Macros, Up: Top
+
+Appendix A GNU Free Documentation License
+*****************************************
+
+ Version 1.3, 3 November 2008
+
+ Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
+ <https://fsf.org/>
+
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ 0. PREAMBLE
+
+ The purpose of this License is to make a manual, textbook, or other
+ functional and useful document "free" in the sense of freedom: to
+ assure everyone the effective freedom to copy and redistribute it,
+ with or without modifying it, either commercially or
+ noncommercially. Secondarily, this License preserves for the
+ author and publisher a way to get credit for their work, while not
+ being considered responsible for modifications made by others.
+
+ This License is a kind of "copyleft", which means that derivative
+ works of the document must themselves be free in the same sense.
+ It complements the GNU General Public License, which is a copyleft
+ license designed for free software.
+
+ We have designed this License in order to use it for manuals for
+ free software, because free software needs free documentation: a
+ free program should come with manuals providing the same freedoms
+ that the software does. But this License is not limited to
+ software manuals; it can be used for any textual work, regardless
+ of subject matter or whether it is published as a printed book. We
+ recommend this License principally for works whose purpose is
+ instruction or reference.
+
+ 1. APPLICABILITY AND DEFINITIONS
+
+ This License applies to any manual or other work, in any medium,
+ that contains a notice placed by the copyright holder saying it can
+ be distributed under the terms of this License. Such a notice
+ grants a world-wide, royalty-free license, unlimited in duration,
+ to use that work under the conditions stated herein. The
+ "Document", below, refers to any such manual or work. Any member
+ of the public is a licensee, and is addressed as "you". You accept
+ the license if you copy, modify or distribute the work in a way
+ requiring permission under copyright law.
+
+ A "Modified Version" of the Document means any work containing the
+ Document or a portion of it, either copied verbatim, or with
+ modifications and/or translated into another language.
+
+ A "Secondary Section" is a named appendix or a front-matter section
+ of the Document that deals exclusively with the relationship of the
+ publishers or authors of the Document to the Document's overall
+ subject (or to related matters) and contains nothing that could
+ fall directly within that overall subject. (Thus, if the Document
+ is in part a textbook of mathematics, a Secondary Section may not
+ explain any mathematics.) The relationship could be a matter of
+ historical connection with the subject or with related matters, or
+ of legal, commercial, philosophical, ethical or political position
+ regarding them.
+
+ The "Invariant Sections" are certain Secondary Sections whose
+ titles are designated, as being those of Invariant Sections, in the
+ notice that says that the Document is released under this License.
+ If a section does not fit the above definition of Secondary then it
+ is not allowed to be designated as Invariant. The Document may
+ contain zero Invariant Sections. If the Document does not identify
+ any Invariant Sections then there are none.
+
+ The "Cover Texts" are certain short passages of text that are
+ listed, as Front-Cover Texts or Back-Cover Texts, in the notice
+ that says that the Document is released under this License. A
+ Front-Cover Text may be at most 5 words, and a Back-Cover Text may
+ be at most 25 words.
+
+ A "Transparent" copy of the Document means a machine-readable copy,
+ represented in a format whose specification is available to the
+ general public, that is suitable for revising the document
+ straightforwardly with generic text editors or (for images composed
+ of pixels) generic paint programs or (for drawings) some widely
+ available drawing editor, and that is suitable for input to text
+ formatters or for automatic translation to a variety of formats
+ suitable for input to text formatters. A copy made in an otherwise
+ Transparent file format whose markup, or absence of markup, has
+ been arranged to thwart or discourage subsequent modification by
+ readers is not Transparent. An image format is not Transparent if
+ used for any substantial amount of text. A copy that is not
+ "Transparent" is called "Opaque".
+
+ Examples of suitable formats for Transparent copies include plain
+ ASCII without markup, Texinfo input format, LaTeX input format,
+ SGML or XML using a publicly available DTD, and standard-conforming
+ simple HTML, PostScript or PDF designed for human modification.
+ Examples of transparent image formats include PNG, XCF and JPG.
+ Opaque formats include proprietary formats that can be read and
+ edited only by proprietary word processors, SGML or XML for which
+ the DTD and/or processing tools are not generally available, and
+ the machine-generated HTML, PostScript or PDF produced by some word
+ processors for output purposes only.
+
+ The "Title Page" means, for a printed book, the title page itself,
+ plus such following pages as are needed to hold, legibly, the
+ material this License requires to appear in the title page. For
+ works in formats which do not have any title page as such, "Title
+ Page" means the text near the most prominent appearance of the
+ work's title, preceding the beginning of the body of the text.
+
+ The "publisher" means any person or entity that distributes copies
+ of the Document to the public.
+
+ A section "Entitled XYZ" means a named subunit of the Document
+ whose title either is precisely XYZ or contains XYZ in parentheses
+ following text that translates XYZ in another language. (Here XYZ
+ stands for a specific section name mentioned below, such as
+ "Acknowledgements", "Dedications", "Endorsements", or "History".)
+ To "Preserve the Title" of such a section when you modify the
+ Document means that it remains a section "Entitled XYZ" according
+ to this definition.
+
+ The Document may include Warranty Disclaimers next to the notice
+ which states that this License applies to the Document. These
+ Warranty Disclaimers are considered to be included by reference in
+ this License, but only as regards disclaiming warranties: any other
+ implication that these Warranty Disclaimers may have is void and
+ has no effect on the meaning of this License.
+
+ 2. VERBATIM COPYING
+
+ You may copy and distribute the Document in any medium, either
+ commercially or noncommercially, provided that this License, the
+ copyright notices, and the license notice saying this License
+ applies to the Document are reproduced in all copies, and that you
+ add no other conditions whatsoever to those of this License. You
+ may not use technical measures to obstruct or control the reading
+ or further copying of the copies you make or distribute. However,
+ you may accept compensation in exchange for copies. If you
+ distribute a large enough number of copies you must also follow the
+ conditions in section 3.
+
+ You may also lend copies, under the same conditions stated above,
+ and you may publicly display copies.
+
+ 3. COPYING IN QUANTITY
+
+ If you publish printed copies (or copies in media that commonly
+ have printed covers) of the Document, numbering more than 100, and
+ the Document's license notice requires Cover Texts, you must
+ enclose the copies in covers that carry, clearly and legibly, all
+ these Cover Texts: Front-Cover Texts on the front cover, and
+ Back-Cover Texts on the back cover. Both covers must also clearly
+ and legibly identify you as the publisher of these copies. The
+ front cover must present the full title with all words of the title
+ equally prominent and visible. You may add other material on the
+ covers in addition. Copying with changes limited to the covers, as
+ long as they preserve the title of the Document and satisfy these
+ conditions, can be treated as verbatim copying in other respects.
+
+ If the required texts for either cover are too voluminous to fit
+ legibly, you should put the first ones listed (as many as fit
+ reasonably) on the actual cover, and continue the rest onto
+ adjacent pages.
+
+ If you publish or distribute Opaque copies of the Document
+ numbering more than 100, you must either include a machine-readable
+ Transparent copy along with each Opaque copy, or state in or with
+ each Opaque copy a computer-network location from which the general
+ network-using public has access to download using public-standard
+ network protocols a complete Transparent copy of the Document, free
+ of added material. If you use the latter option, you must take
+ reasonably prudent steps, when you begin distribution of Opaque
+ copies in quantity, to ensure that this Transparent copy will
+ remain thus accessible at the stated location until at least one
+ year after the last time you distribute an Opaque copy (directly or
+ through your agents or retailers) of that edition to the public.
+
+ It is requested, but not required, that you contact the authors of
+ the Document well before redistributing any large number of copies,
+ to give them a chance to provide you with an updated version of the
+ Document.
+
+ 4. MODIFICATIONS
+
+ You may copy and distribute a Modified Version of the Document
+ under the conditions of sections 2 and 3 above, provided that you
+ release the Modified Version under precisely this License, with the
+ Modified Version filling the role of the Document, thus licensing
+ distribution and modification of the Modified Version to whoever
+ possesses a copy of it. In addition, you must do these things in
+ the Modified Version:
+
+ A. Use in the Title Page (and on the covers, if any) a title
+ distinct from that of the Document, and from those of previous
+ versions (which should, if there were any, be listed in the
+ History section of the Document). You may use the same title
+ as a previous version if the original publisher of that
+ version gives permission.
+
+ B. List on the Title Page, as authors, one or more persons or
+ entities responsible for authorship of the modifications in
+ the Modified Version, together with at least five of the
+ principal authors of the Document (all of its principal
+ authors, if it has fewer than five), unless they release you
+ from this requirement.
+
+ C. State on the Title page the name of the publisher of the
+ Modified Version, as the publisher.
+
+ D. Preserve all the copyright notices of the Document.
+
+ E. Add an appropriate copyright notice for your modifications
+ adjacent to the other copyright notices.
+
+ F. Include, immediately after the copyright notices, a license
+ notice giving the public permission to use the Modified
+ Version under the terms of this License, in the form shown in
+ the Addendum below.
+
+ G. Preserve in that license notice the full lists of Invariant
+ Sections and required Cover Texts given in the Document's
+ license notice.
+
+ H. Include an unaltered copy of this License.
+
+ I. Preserve the section Entitled "History", Preserve its Title,
+ and add to it an item stating at least the title, year, new
+ authors, and publisher of the Modified Version as given on the
+ Title Page. If there is no section Entitled "History" in the
+ Document, create one stating the title, year, authors, and
+ publisher of the Document as given on its Title Page, then add
+ an item describing the Modified Version as stated in the
+ previous sentence.
+
+ J. Preserve the network location, if any, given in the Document
+ for public access to a Transparent copy of the Document, and
+ likewise the network locations given in the Document for
+ previous versions it was based on. These may be placed in the
+ "History" section. You may omit a network location for a work
+ that was published at least four years before the Document
+ itself, or if the original publisher of the version it refers
+ to gives permission.
+
+ K. For any section Entitled "Acknowledgements" or "Dedications",
+ Preserve the Title of the section, and preserve in the section
+ all the substance and tone of each of the contributor
+ acknowledgements and/or dedications given therein.
+
+ L. Preserve all the Invariant Sections of the Document, unaltered
+ in their text and in their titles. Section numbers or the
+ equivalent are not considered part of the section titles.
+
+ M. Delete any section Entitled "Endorsements". Such a section
+ may not be included in the Modified Version.
+
+ N. Do not retitle any existing section to be Entitled
+ "Endorsements" or to conflict in title with any Invariant
+ Section.
+
+ O. Preserve any Warranty Disclaimers.
+
+ If the Modified Version includes new front-matter sections or
+ appendices that qualify as Secondary Sections and contain no
+ material copied from the Document, you may at your option designate
+ some or all of these sections as invariant. To do this, add their
+ titles to the list of Invariant Sections in the Modified Version's
+ license notice. These titles must be distinct from any other
+ section titles.
+
+ You may add a section Entitled "Endorsements", provided it contains
+ nothing but endorsements of your Modified Version by various
+ parties--for example, statements of peer review or that the text
+ has been approved by an organization as the authoritative
+ definition of a standard.
+
+ You may add a passage of up to five words as a Front-Cover Text,
+ and a passage of up to 25 words as a Back-Cover Text, to the end of
+ the list of Cover Texts in the Modified Version. Only one passage
+ of Front-Cover Text and one of Back-Cover Text may be added by (or
+ through arrangements made by) any one entity. If the Document
+ already includes a cover text for the same cover, previously added
+ by you or by arrangement made by the same entity you are acting on
+ behalf of, you may not add another; but you may replace the old
+ one, on explicit permission from the previous publisher that added
+ the old one.
+
+ The author(s) and publisher(s) of the Document do not by this
+ License give permission to use their names for publicity for or to
+ assert or imply endorsement of any Modified Version.
+
+ 5. COMBINING DOCUMENTS
+
+ You may combine the Document with other documents released under
+ this License, under the terms defined in section 4 above for
+ modified versions, provided that you include in the combination all
+ of the Invariant Sections of all of the original documents,
+ unmodified, and list them all as Invariant Sections of your
+ combined work in its license notice, and that you preserve all
+ their Warranty Disclaimers.
+
+ The combined work need only contain one copy of this License, and
+ multiple identical Invariant Sections may be replaced with a single
+ copy. If there are multiple Invariant Sections with the same name
+ but different contents, make the title of each such section unique
+ by adding at the end of it, in parentheses, the name of the
+ original author or publisher of that section if known, or else a
+ unique number. Make the same adjustment to the section titles in
+ the list of Invariant Sections in the license notice of the
+ combined work.
+
+ In the combination, you must combine any sections Entitled
+ "History" in the various original documents, forming one section
+ Entitled "History"; likewise combine any sections Entitled
+ "Acknowledgements", and any sections Entitled "Dedications". You
+ must delete all sections Entitled "Endorsements."
+
+ 6. COLLECTIONS OF DOCUMENTS
+
+ You may make a collection consisting of the Document and other
+ documents released under this License, and replace the individual
+ copies of this License in the various documents with a single copy
+ that is included in the collection, provided that you follow the
+ rules of this License for verbatim copying of each of the documents
+ in all other respects.
+
+ You may extract a single document from such a collection, and
+ distribute it individually under this License, provided you insert
+ a copy of this License into the extracted document, and follow this
+ License in all other respects regarding verbatim copying of that
+ document.
+
+ 7. AGGREGATION WITH INDEPENDENT WORKS
+
+ A compilation of the Document or its derivatives with other
+ separate and independent documents or works, in or on a volume of a
+ storage or distribution medium, is called an "aggregate" if the
+ copyright resulting from the compilation is not used to limit the
+ legal rights of the compilation's users beyond what the individual
+ works permit. When the Document is included in an aggregate, this
+ License does not apply to the other works in the aggregate which
+ are not themselves derivative works of the Document.
+
+ If the Cover Text requirement of section 3 is applicable to these
+ copies of the Document, then if the Document is less than one half
+ of the entire aggregate, the Document's Cover Texts may be placed
+ on covers that bracket the Document within the aggregate, or the
+ electronic equivalent of covers if the Document is in electronic
+ form. Otherwise they must appear on printed covers that bracket
+ the whole aggregate.
+
+ 8. TRANSLATION
+
+ Translation is considered a kind of modification, so you may
+ distribute translations of the Document under the terms of section
+ 4. Replacing Invariant Sections with translations requires special
+ permission from their copyright holders, but you may include
+ translations of some or all Invariant Sections in addition to the
+ original versions of these Invariant Sections. You may include a
+ translation of this License, and all the license notices in the
+ Document, and any Warranty Disclaimers, provided that you also
+ include the original English version of this License and the
+ original versions of those notices and disclaimers. In case of a
+ disagreement between the translation and the original version of
+ this License or a notice or disclaimer, the original version will
+ prevail.
+
+ If a section in the Document is Entitled "Acknowledgements",
+ "Dedications", or "History", the requirement (section 4) to
+ Preserve its Title (section 1) will typically require changing the
+ actual title.
+
+ 9. TERMINATION
+
+ You may not copy, modify, sublicense, or distribute the Document
+ except as expressly provided under this License. Any attempt
+ otherwise to copy, modify, sublicense, or distribute it is void,
+ and will automatically terminate your rights under this License.
+
+ However, if you cease all violation of this License, then your
+ license from a particular copyright holder is reinstated (a)
+ provisionally, unless and until the copyright holder explicitly and
+ finally terminates your license, and (b) permanently, if the
+ copyright holder fails to notify you of the violation by some
+ reasonable means prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+ reinstated permanently if the copyright holder notifies you of the
+ violation by some reasonable means, this is the first time you have
+ received notice of violation of this License (for any work) from
+ that copyright holder, and you cure the violation prior to 30 days
+ after your receipt of the notice.
+
+ Termination of your rights under this section does not terminate
+ the licenses of parties who have received copies or rights from you
+ under this License. If your rights have been terminated and not
+ permanently reinstated, receipt of a copy of some or all of the
+ same material does not give you any rights to use it.
+
+ 10. FUTURE REVISIONS OF THIS LICENSE
+
+ The Free Software Foundation may publish new, revised versions of
+ the GNU Free Documentation License from time to time. Such new
+ versions will be similar in spirit to the present version, but may
+ differ in detail to address new problems or concerns. See
+ <https://www.gnu.org/licenses/>.
+
+ Each version of the License is given a distinguishing version
+ number. If the Document specifies that a particular numbered
+ version of this License "or any later version" applies to it, you
+ have the option of following the terms and conditions either of
+ that specified version or of any later version that has been
+ published (not as a draft) by the Free Software Foundation. If the
+ Document does not specify a version number of this License, you may
+ choose any version ever published (not as a draft) by the Free
+ Software Foundation. If the Document specifies that a proxy can
+ decide which future versions of this License can be used, that
+ proxy's public statement of acceptance of a version permanently
+ authorizes you to choose that version for the Document.
+
+ 11. RELICENSING
+
+ "Massive Multiauthor Collaboration Site" (or "MMC Site") means any
+ World Wide Web server that publishes copyrightable works and also
+ provides prominent facilities for anybody to edit those works. A
+ public wiki that anybody can edit is an example of such a server.
+ A "Massive Multiauthor Collaboration" (or "MMC") contained in the
+ site means any set of copyrightable works thus published on the MMC
+ site.
+
+ "CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0
+ license published by Creative Commons Corporation, a not-for-profit
+ corporation with a principal place of business in San Francisco,
+ California, as well as future copyleft versions of that license
+ published by that same organization.
+
+ "Incorporate" means to publish or republish a Document, in whole or
+ in part, as part of another Document.
+
+ An MMC is "eligible for relicensing" if it is licensed under this
+ License, and if all works that were first published under this
+ License somewhere other than this MMC, and subsequently
+ incorporated in whole or in part into the MMC, (1) had no cover
+ texts or invariant sections, and (2) were thus incorporated prior
+ to November 1, 2008.
+
+ The operator of an MMC Site may republish an MMC contained in the
+ site under CC-BY-SA on the same site at any time before August 1,
+ 2009, provided the MMC is eligible for relicensing.
+
+ADDENDUM: How to use this License for your documents
+====================================================
+
+To use this License in a document you have written, include a copy of
+the License in the document and put the following copyright and license
+notices just after the title page:
+
+ Copyright (C) YEAR YOUR NAME.
+ Permission is granted to copy, distribute and/or modify this document
+ under the terms of the GNU Free Documentation License, Version 1.3
+ or any later version published by the Free Software Foundation;
+ with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
+ Texts. A copy of the license is included in the section entitled ``GNU
+ Free Documentation License''.
+
+If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
+replace the "with...Texts." line with this:
+
+ with the Invariant Sections being LIST THEIR TITLES, with
+ the Front-Cover Texts being LIST, and with the Back-Cover Texts
+ being LIST.
+
+If you have Invariant Sections without Cover Texts, or some other
+combination of the three, merge those two alternatives to suit the
+situation.
+
+If your document contains nontrivial examples of program code, we
+recommend releasing these examples in parallel under your choice of free
+software license, such as the GNU General Public License, to permit
+their use in free software.
+
+
+\1f
+Tag Table:
+Node: Top\7f823
+Node: Introduction\7f1898
+Node: Downloads\7f3460
+Node: How to contribute\7f4502
+Node: The Macros\7f7600
+Node: ax_absolute_header\7f21261
+Node: ax_ac_append_to_file\7f22643
+Node: ax_ac_print_to_file\7f23679
+Node: ax_add_am_macro\7f24712
+Node: ax_add_am_macro_static\7f25729
+Node: ax_add_am_trilinos_makefile_export\7f26731
+Node: ax_add_fortify_source\7f27970
+Node: ax_add_recursive_am_macro\7f29736
+Node: ax_add_recursive_am_macro_static\7f30890
+Node: ax_afs\7f32090
+Node: ax_am_jobserver\7f33637
+Node: ax_am_macros\7f35135
+Node: ax_am_macros_static\7f36127
+Node: ax_am_override_var\7f37214
+Node: ax_append_compile_flags\7f41556
+Node: ax_append_flag\7f43274
+Node: ax_append_link_flags\7f44544
+Node: ax_append_to_file\7f46188
+Node: ax_arg_with_path_style\7f47109
+Node: ax_asm_inline\7f50141
+Node: ax_at_check_pattern\7f51231
+Node: ax_auto_include_headers\7f52911
+Node: ax_berkeley_db\7f55059
+Node: ax_berkeley_db_cxx\7f56664
+Node: ax_blas\7f58385
+Node: ax_blas_f77_func\7f61567
+Node: ax_boost_asio\7f64309
+Node: ax_boost_atomic\7f65456
+Node: ax_boost_base\7f66723
+Node: ax_boost_chrono\7f68064
+Node: ax_boost_context\7f69169
+Node: ax_boost_coroutine\7f70394
+Node: ax_boost_date_time\7f71640
+Node: ax_boost_filesystem\7f72829
+Node: ax_boost_iostreams\7f74085
+Node: ax_boost_locale\7f75237
+Node: ax_boost_log\7f76343
+Node: ax_boost_log_setup\7f77528
+Node: ax_boost_process\7f78767
+Node: ax_boost_program_options\7f80001
+Node: ax_boost_python\7f81210
+Node: ax_boost_random\7f83818
+Node: ax_boost_regex\7f85088
+Node: ax_boost_serialization\7f86237
+Node: ax_boost_signals\7f87425
+Node: ax_boost_system\7f88594
+Node: ax_boost_test_exec_monitor\7f89818
+Node: ax_boost_thread\7f91101
+Node: ax_boost_unit_test_framework\7f92277
+Node: ax_boost_wave\7f93523
+Node: ax_boost_wserialization\7f94676
+Node: ax_build_date_epoch\7f95875
+Node: ax_c99_inline\7f98521
+Node: ax_c___attribute__\7f99551
+Node: ax_c_arithmetic_rshift\7f101762
+Node: ax_c_compile_value\7f102773
+Node: ax_c_declare_block\7f106189
+Node: ax_c_float_words_bigendian\7f109064
+Node: ax_c_long_long\7f111164
+Node: ax_c_referenceable_passed_va_list\7f112118
+Node: ax_c_var_func\7f114368
+Node: ax_cache_size\7f116821
+Node: ax_caolan_check_package\7f117913
+Node: ax_caolan_search_package\7f119717
+Node: ax_cc_for_build\7f121547
+Node: ax_cc_maxopt\7f123775
+Node: ax_cf_ebcdic\7f126509
+Node: ax_cflags_aix_option\7f128687
+Node: ax_cflags_force_c89\7f130814
+Node: ax_cflags_hpux_option\7f132337
+Node: ax_cflags_irix_option\7f134481
+Node: ax_cflags_no_writable_strings\7f136641
+Node: ax_cflags_strict_prototypes\7f138242
+Node: ax_cflags_sun_option\7f139922
+Node: ax_cflags_warn_all\7f142061
+Node: ax_check_aligned_access_required\7f146070
+Node: ax_check_allocated_ctime\7f147892
+Node: ax_check_awk__v\7f148853
+Node: ax_check_awk__x_escapes\7f150159
+Node: ax_check_awk_and\7f151481
+Node: ax_check_awk_argind\7f152764
+Node: ax_check_awk_array_delete\7f154068
+Node: ax_check_awk_array_delete_elem\7f155422
+Node: ax_check_awk_array_in\7f156816
+Node: ax_check_awk_asort\7f158139
+Node: ax_check_awk_asorti\7f159436
+Node: ax_check_awk_associative_array\7f160749
+Node: ax_check_awk_atan2\7f162128
+Node: ax_check_awk_compl\7f163433
+Node: ax_check_awk_conditional_expression\7f164743
+Node: ax_check_awk_cos\7f166182
+Node: ax_check_awk_environ\7f167478
+Node: ax_check_awk_errno\7f168783
+Node: ax_check_awk_exit\7f170075
+Node: ax_check_awk_exp\7f171349
+Node: ax_check_awk_gensub\7f172626
+Node: ax_check_awk_getline\7f173927
+Node: ax_check_awk_gsub\7f175234
+Node: ax_check_awk_ignorecase\7f176526
+Node: ax_check_awk_index\7f177856
+Node: ax_check_awk_int\7f179152
+Node: ax_check_awk_length\7f180430
+Node: ax_check_awk_log\7f181727
+Node: ax_check_awk_lshift\7f183006
+Node: ax_check_awk_match_2parms\7f184312
+Node: ax_check_awk_match_3parms\7f185691
+Node: ax_check_awk_operator_multiply_multiply\7f187095
+Node: ax_check_awk_operator_square\7f188553
+Node: ax_check_awk_or\7f189934
+Node: ax_check_awk_printf\7f191214
+Node: ax_check_awk_rand\7f192511
+Node: ax_check_awk_rshift\7f193798
+Node: ax_check_awk_sin\7f195096
+Node: ax_check_awk_split\7f196374
+Node: ax_check_awk_sprintf\7f197667
+Node: ax_check_awk_sqrt\7f198975
+Node: ax_check_awk_srand\7f200262
+Node: ax_check_awk_strftime\7f201557
+Node: ax_check_awk_strtonum\7f202877
+Node: ax_check_awk_sub\7f204195
+Node: ax_check_awk_substr\7f205476
+Node: ax_check_awk_system\7f206776
+Node: ax_check_awk_systime\7f208080
+Node: ax_check_awk_tolower\7f209392
+Node: ax_check_awk_toupper\7f210705
+Node: ax_check_awk_user_defined_functions\7f212033
+Node: ax_check_awk_var_regexp\7f213458
+Node: ax_check_awk_variable_value_pairs\7f214817
+Node: ax_check_awk_xor\7f216248
+Node: ax_check_class\7f217536
+Node: ax_check_classpath\7f220105
+Node: ax_check_compile_flag\7f222588
+Node: ax_check_define\7f224252
+Node: ax_check_docbook_dtd\7f225406
+Node: ax_check_docbook_xslt\7f228020
+Node: ax_check_docbook_xslt_min\7f230668
+Node: ax_check_dos_filesys\7f233153
+Node: ax_check_enable_debug\7f235633
+Node: ax_check_func_in\7f237800
+Node: ax_check_gd\7f238751
+Node: ax_check_gir_symbols_gjs\7f240363
+Node: ax_check_girs_gjs\7f242250
+Node: ax_check_gl\7f244076
+Node: ax_check_glu\7f248301
+Node: ax_check_glut\7f252376
+Node: ax_check_glx\7f256187
+Node: ax_check_gnu_make\7f258999
+Node: ax_check_icu\7f262092
+Node: ax_check_java_home\7f263008
+Node: ax_check_java_plugin\7f265238
+Node: ax_check_junit\7f267976
+Node: ax_check_library\7f269753
+Node: ax_check_link_flag\7f272773
+Node: ax_check_mysql\7f274365
+Node: ax_check_mysql_db\7f277540
+Node: ax_check_mysqlr\7f279863
+Node: ax_check_off64_t\7f280992
+Node: ax_check_openssl\7f282013
+Node: ax_check_page_aligned_malloc\7f283452
+Node: ax_check_pathfind\7f285369
+Node: ax_check_pathname_style\7f286377
+Node: ax_check_pcre2\7f288785
+Node: ax_check_pgsql_db\7f292438
+Node: ax_check_posix_regcomp\7f295906
+Node: ax_check_posix_sysinfo\7f296950
+Node: ax_check_postgres_db\7f297934
+Node: ax_check_preproc_flag\7f299856
+Node: ax_check_rqrd_class\7f301517
+Node: ax_check_sign\7f304144
+Node: ax_check_strcspn\7f305802
+Node: ax_check_strftime\7f307224
+Node: ax_check_struct_for\7f308121
+Node: ax_check_symbol\7f309073
+Node: ax_check_sys_siglist\7f310124
+Node: ax_check_typedef\7f311026
+Node: ax_check_uname_syscall\7f312350
+Node: ax_check_user\7f313280
+Node: ax_check_vscript\7f315729
+Node: ax_check_x86_features\7f317822
+Node: ax_check_zlib\7f321045
+Node: ax_code_coverage\7f324218
+Node: ax_compare_version\7f327292
+Node: ax_compile_check_sizeof\7f330461
+Node: ax_compiler_flags\7f334030
+Node: ax_compiler_flags_cflags\7f339416
+Node: ax_compiler_flags_cxxflags\7f340821
+Node: ax_compiler_flags_gir\7f342183
+Node: ax_compiler_flags_ldflags\7f343561
+Node: ax_compiler_vendor\7f344967
+Node: ax_compiler_version\7f347933
+Node: ax_compute_relative_paths\7f349451
+Node: ax_compute_standard_relative_paths\7f352574
+Node: ax_cond_with_level\7f356326
+Node: ax_config_feature\7f358073
+Node: ax_configure_args\7f362175
+Node: ax_count_cpus\7f363723
+Node: ax_cpu_freq\7f365148
+Node: ax_cpu_vendor\7f366021
+Node: ax_create_generic_config\7f366985
+Node: ax_create_pkgconfig_info\7f368793
+Node: ax_create_stdint_h\7f371729
+Node: ax_create_target_h\7f374411
+Node: ax_cvs\7f377761
+Node: ax_cxx_bool\7f380422
+Node: ax_cxx_compile_stdcxx\7f381473
+Node: ax_cxx_compile_stdcxx_0x\7f383816
+Node: ax_cxx_compile_stdcxx_11\7f384917
+Node: ax_cxx_compile_stdcxx_14\7f386696
+Node: ax_cxx_compile_stdcxx_17\7f388173
+Node: ax_cxx_complex_math_in_namespace_std\7f389716
+Node: ax_cxx_const_cast\7f390850
+Node: ax_cxx_cppflags_std_lang\7f391821
+Node: ax_cxx_cxxflags_std_lang\7f392963
+Node: ax_cxx_default_template_parameters\7f394323
+Node: ax_cxx_delete_method\7f395429
+Node: ax_cxx_dtor_after_atexit\7f396877
+Node: ax_cxx_dynamic_cast\7f398578
+Node: ax_cxx_enum_computations\7f399555
+Node: ax_cxx_enum_computations_with_cast\7f400588
+Node: ax_cxx_erase_iterator_type\7f401703
+Node: ax_cxx_exceptions\7f402852
+Node: ax_cxx_explicit\7f403838
+Node: ax_cxx_explicit_instantiations\7f404878
+Node: ax_cxx_explicit_template_function_qualification\7f405968
+Node: ax_cxx_extern_template\7f407199
+Node: ax_cxx_full_specialization_syntax\7f408197
+Node: ax_cxx_function_nontype_parameters\7f409312
+Node: ax_cxx_function_try_blocks\7f410449
+Node: ax_cxx_gcc_abi_demangle\7f412611
+Node: ax_cxx_gnucxx_hashmap\7f413694
+Node: ax_cxx_have_bad_function_call\7f414653
+Node: ax_cxx_have_bind\7f415831
+Node: ax_cxx_have_bit_and\7f416890
+Node: ax_cxx_have_bit_or\7f417965
+Node: ax_cxx_have_bit_xor\7f419034
+Node: ax_cxx_have_complex\7f420112
+Node: ax_cxx_have_complex_math1\7f421071
+Node: ax_cxx_have_complex_math2\7f422150
+Node: ax_cxx_have_cref\7f423204
+Node: ax_cxx_have_empty_iostream\7f424266
+Node: ax_cxx_have_ext_hash_map\7f426424
+Node: ax_cxx_have_ext_hash_set\7f428817
+Node: ax_cxx_have_ext_slist\7f431139
+Node: ax_cxx_have_freeze_sstream\7f433432
+Node: ax_cxx_have_function\7f435954
+Node: ax_cxx_have_hash\7f437047
+Node: ax_cxx_have_ieee_math\7f438099
+Node: ax_cxx_have_is_bind_expression\7f439246
+Node: ax_cxx_have_is_placeholder\7f440444
+Node: ax_cxx_have_koenig_lookup\7f441610
+Node: ax_cxx_have_long_long_for_iostream\7f442648
+Node: ax_cxx_have_mem_fn\7f445254
+Node: ax_cxx_have_numeric_limits\7f446345
+Node: ax_cxx_have_placeholders\7f447365
+Node: ax_cxx_have_ref\7f448497
+Node: ax_cxx_have_reference_wrapper\7f449551
+Node: ax_cxx_have_sstream\7f450726
+Node: ax_cxx_have_std\7f451671
+Node: ax_cxx_have_stl\7f452670
+Node: ax_cxx_have_string_push_back\7f453620
+Node: ax_cxx_have_system_v_math\7f454668
+Node: ax_cxx_have_valarray\7f455780
+Node: ax_cxx_have_vector_at\7f456750
+Node: ax_cxx_header_pre_stdcxx\7f457745
+Node: ax_cxx_header_stdcxx_0x\7f458691
+Node: ax_cxx_header_stdcxx_98\7f459642
+Node: ax_cxx_header_stdcxx_tr1\7f460609
+Node: ax_cxx_header_tr1_unordered_map\7f461572
+Node: ax_cxx_header_tr1_unordered_set\7f462636
+Node: ax_cxx_header_unordered_map\7f463703
+Node: ax_cxx_header_unordered_set\7f464738
+Node: ax_cxx_ldflags_std_lang\7f465765
+Node: ax_cxx_member_constants\7f467098
+Node: ax_cxx_member_templates\7f468107
+Node: ax_cxx_member_templates_outside_class\7f469130
+Node: ax_cxx_mutable\7f470272
+Node: ax_cxx_namespace_std\7f471338
+Node: ax_cxx_namespaces\7f472305
+Node: ax_cxx_new_for_scoping\7f473355
+Node: ax_cxx_old_for_scoping\7f474445
+Node: ax_cxx_partial_ordering\7f475680
+Node: ax_cxx_partial_specialization\7f476694
+Node: ax_cxx_reinterpret_cast\7f477757
+Node: ax_cxx_restrict_this\7f478771
+Node: ax_cxx_rtti\7f480776
+Node: ax_cxx_rvalue_references\7f481736
+Node: ax_cxx_static_cast\7f482789
+Node: ax_cxx_stlport_hashmap\7f483755
+Node: ax_cxx_template_keyword_qualifier\7f484720
+Node: ax_cxx_template_qualified_base_class\7f485885
+Node: ax_cxx_template_qualified_return_type\7f487046
+Node: ax_cxx_template_scoped_argument_matching\7f488212
+Node: ax_cxx_templates\7f489420
+Node: ax_cxx_templates_as_template_arguments\7f490404
+Node: ax_cxx_typename\7f491533
+Node: ax_cxx_use_numtrait\7f492495
+Node: ax_cxx_var_prettyfunc\7f493471
+Node: ax_cxx_verbose_terminate_handler\7f495983
+Node: ax_czmq\7f497688
+Node: ax_decl_wchar_max\7f498898
+Node: ax_define_integer_bits\7f499984
+Node: ax_define_sub_path\7f501836
+Node: ax_dirname\7f504470
+Node: ax_dist_msi\7f505571
+Node: ax_dist_rpm\7f506643
+Node: ax_dll_string\7f508482
+Node: ax_elisp\7f509606
+Node: ax_enable_builddir\7f514143
+Node: ax_execinfo\7f517905
+Node: ax_expand_prefix\7f519354
+Node: ax_ext\7f521149
+Node: ax_ext_check_header\7f523128
+Node: ax_ext_have_lib\7f524471
+Node: ax_extend_srcdir\7f526141
+Node: ax_extra_dist\7f529157
+Node: ax_f77_cmain_fflags\7f530554
+Node: ax_f90_header\7f533406
+Node: ax_f90_internal_headmod\7f535218
+Node: ax_f90_library\7f536269
+Node: ax_f90_library_setup\7f538166
+Node: ax_f90_module\7f541044
+Node: ax_f90_module_extension\7f542895
+Node: ax_f90_module_flag\7f543996
+Node: ax_fc_check_define\7f545263
+Node: ax_file_escapes\7f546477
+Node: ax_find_hamcrest\7f547360
+Node: ax_find_junit\7f548414
+Node: ax_find_scala_stdlib\7f549443
+Node: ax_forceinline\7f550531
+Node: ax_func_accept_argtypes\7f551602
+Node: ax_func_getopt_long\7f554189
+Node: ax_func_memmove\7f556585
+Node: ax_func_mkdir\7f557567
+Node: ax_func_posix_memalign\7f560118
+Node: ax_func_snprintf\7f561262
+Node: ax_func_which_gethostbyname_r\7f562509
+Node: ax_func_which_getservbyname_r\7f565419
+Node: ax_gcc_archflag\7f568009
+Node: ax_gcc_builtin\7f571353
+Node: ax_gcc_const_call\7f574310
+Node: ax_gcc_func_attribute\7f575271
+Node: ax_gcc_lib\7f577639
+Node: ax_gcc_libgcc_eh\7f579887
+Node: ax_gcc_libsupcxx\7f582031
+Node: ax_gcc_malloc_call\7f584247
+Node: ax_gcc_var_attribute\7f585216
+Node: ax_gcc_warn_unused_result\7f587156
+Node: ax_gcc_x86_avx_xgetbv\7f588179
+Node: ax_gcc_x86_cpu_supports\7f590942
+Node: ax_gcc_x86_cpuid\7f593970
+Node: ax_generate_changelog\7f596927
+Node: ax_gnu_autotest\7f598976
+Node: ax_have_adns\7f610790
+Node: ax_have_epoll\7f611890
+Node: ax_have_poll\7f613913
+Node: ax_have_qt\7f615456
+Node: ax_have_select\7f617415
+Node: ax_include_strcasecmp\7f618962
+Node: ax_install_files\7f620090
+Node: ax_int128\7f621031
+Node: ax_is_release\7f621970
+Node: ax_java_check_class\7f624239
+Node: ax_java_options\7f626896
+Node: ax_jni_include_dir\7f628213
+Node: ax_lapack\7f630056
+Node: ax_lib_beecrypt\7f633310
+Node: ax_lib_cgal_core\7f634671
+Node: ax_lib_crypto\7f636002
+Node: ax_lib_curl\7f637370
+Node: ax_lib_ev\7f638582
+Node: ax_lib_expat\7f639705
+Node: ax_lib_firebird\7f641312
+Node: ax_lib_gcrypt\7f642844
+Node: ax_lib_gdal\7f644319
+Node: ax_lib_hdf5\7f645691
+Node: ax_lib_id3\7f648984
+Node: ax_lib_libkml\7f650395
+Node: ax_lib_metis\7f651891
+Node: ax_lib_mysql\7f653582
+Node: ax_lib_mysqlcppconn\7f655096
+Node: ax_lib_netcdf4\7f656509
+Node: ax_lib_nettle\7f659729
+Node: ax_lib_nokalva\7f661120
+Node: ax_lib_oracle_occi\7f662610
+Node: ax_lib_oracle_oci\7f664448
+Node: ax_lib_orbit2\7f666266
+Node: ax_lib_postgresql\7f667448
+Node: ax_lib_readline\7f669389
+Node: ax_lib_samtools\7f671948
+Node: ax_lib_socket_nsl\7f675196
+Node: ax_lib_sqlite3\7f676540
+Node: ax_lib_tabix\7f677889
+Node: ax_lib_taglib\7f681082
+Node: ax_lib_trace\7f682316
+Node: ax_lib_upnp\7f683467
+Node: ax_lib_wad\7f684893
+Node: ax_lib_xalan\7f687025
+Node: ax_lib_xerces\7f688637
+Node: ax_lib_xml_security\7f690206
+Node: ax_libgcj_jar\7f691980
+Node: ax_libtoolize_cflags\7f694046
+Node: ax_llvm\7f695086
+Node: ax_lua\7f696111
+Node: ax_luarocks_rock\7f704745
+Node: ax_maintainer_mode_auto_silent\7f705977
+Node: ax_missing_prog\7f707409
+Node: ax_mpi\7f709879
+Node: ax_mpip\7f713131
+Node: ax_ms_cpprest\7f715532
+Node: ax_need_awk\7f716890
+Node: ax_normalize_path\7f718046
+Node: ax_not_enable_frame_pointer\7f722418
+Node: ax_numeric_namedlevel\7f723583
+Node: ax_open62541_check_h\7f726090
+Node: ax_open62541_check_lib\7f728746
+Node: ax_open62541_path\7f730807
+Node: ax_openmp\7f733396
+Node: ax_patch_libtool_changing_cmds_ifs\7f736581
+Node: ax_path_bdb\7f739421
+Node: ax_path_generic\7f742577
+Node: ax_path_lib_pcre\7f745454
+Node: ax_path_milter\7f746657
+Node: ax_path_missing\7f750454
+Node: ax_perl_ext\7f751953
+Node: ax_perl_ext_flags\7f754637
+Node: ax_perl_module_version\7f757302
+Node: ax_pgsql_priv_root\7f758684
+Node: ax_pkg_check_modules\7f762378
+Node: ax_pkg_mico\7f764785
+Node: ax_pkg_swig\7f767146
+Node: ax_prefix_config_h\7f770301
+Node: ax_prepend_flag\7f775295
+Node: ax_print_to_file\7f776624
+Node: ax_printf_size_t\7f777526
+Node: ax_prog_apache\7f779315
+Node: ax_prog_bison\7f782432
+Node: ax_prog_bison_version\7f784634
+Node: ax_prog_cc_char_subscripts\7f786210
+Node: ax_prog_cc_for_build\7f787548
+Node: ax_prog_cc_mpi\7f789179
+Node: ax_prog_cp_s\7f792828
+Node: ax_prog_crontab\7f794713
+Node: ax_prog_cxx_for_build\7f796921
+Node: ax_prog_cxx_mpi\7f798415
+Node: ax_prog_date\7f802069
+Node: ax_prog_dotnetcore_version\7f805337
+Node: ax_prog_doxygen\7f806859
+Node: ax_prog_emacs\7f811187
+Node: ax_prog_f77_mpi\7f813842
+Node: ax_prog_fasm\7f817498
+Node: ax_prog_fasm_opt\7f819808
+Node: ax_prog_fc_mpi\7f822062
+Node: ax_prog_fig2dev\7f825712
+Node: ax_prog_flex\7f826851
+Node: ax_prog_flex_version\7f829046
+Node: ax_prog_gjs\7f830594
+Node: ax_prog_guile_version\7f831765
+Node: ax_prog_haxe_version\7f833382
+Node: ax_prog_help2man\7f834830
+Node: ax_prog_hla\7f840337
+Node: ax_prog_hla_opt\7f842635
+Node: ax_prog_httpd\7f844873
+Node: ax_prog_jar\7f847795
+Node: ax_prog_java\7f849357
+Node: ax_prog_java_cc\7f853242
+Node: ax_prog_java_works\7f856100
+Node: ax_prog_javac\7f858514
+Node: ax_prog_javac_works\7f861522
+Node: ax_prog_javadoc\7f863943
+Node: ax_prog_javah\7f865580
+Node: ax_prog_masm\7f866587
+Node: ax_prog_masm_opt\7f868895
+Node: ax_prog_md5sum\7f871148
+Node: ax_prog_modprobe\7f872220
+Node: ax_prog_mysql\7f873340
+Node: ax_prog_mysqladmin\7f875785
+Node: ax_prog_mysqld\7f878191
+Node: ax_prog_mysqlimport\7f880404
+Node: ax_prog_mysqlshow\7f882655
+Node: ax_prog_nasm\7f885027
+Node: ax_prog_nasm_opt\7f887339
+Node: ax_prog_perl_modules\7f889599
+Node: ax_prog_perl_version\7f891120
+Node: ax_prog_pgclient\7f892726
+Node: ax_prog_python_version\7f895279
+Node: ax_prog_robot\7f896910
+Node: ax_prog_ruby_version\7f897931
+Node: ax_prog_scala\7f899570
+Node: ax_prog_scalac\7f900636
+Node: ax_prog_scp\7f901707
+Node: ax_prog_splint\7f903875
+Node: ax_prog_ssh\7f905341
+Node: ax_prog_tasm\7f907507
+Node: ax_prog_tasm_opt\7f909813
+Node: ax_prog_tcl\7f912060
+Node: ax_prog_xsltproc\7f914518
+Node: ax_prog_yasm\7f916928
+Node: ax_prog_yasm_opt\7f919239
+Node: ax_prototype\7f921491
+Node: ax_prototype_accept\7f925814
+Node: ax_prototype_getsockname\7f928137
+Node: ax_prototype_setsockopt\7f930526
+Node: ax_pthread\7f932807
+Node: ax_python\7f937125
+Node: ax_python_config_var\7f939495
+Node: ax_python_devel\7f941679
+Node: ax_python_embed\7f945114
+Node: ax_python_module\7f950003
+Node: ax_python_module_version\7f951056
+Node: ax_r_package\7f952294
+Node: ax_recursive_eval\7f953267
+Node: ax_require_defined\7f955437
+Node: ax_require_one_func\7f956729
+Node: ax_restore_flags\7f958063
+Node: ax_restore_flags_with_prefix\7f959622
+Node: ax_rpm_init\7f962310
+Node: ax_ruby_devel\7f968353
+Node: ax_ruby_ext\7f970966
+Node: ax_save_flags\7f973581
+Node: ax_save_flags_with_prefix\7f975113
+Node: ax_set_default_paths_system\7f978036
+Node: ax_short_sleep\7f979425
+Node: ax_silent_mode\7f980574
+Node: ax_sip_devel\7f981678
+Node: ax_spec_file\7f983111
+Node: ax_spec_package_version\7f984355
+Node: ax_split_version\7f987190
+Node: ax_string_strcasecmp\7f988147
+Node: ax_strings_strcasecmp\7f989469
+Node: ax_struct_semun\7f990464
+Node: ax_subdir_files\7f991713
+Node: ax_subdirs_configure\7f992853
+Node: ax_subst_with\7f999245
+Node: ax_swig_enable_cxx\7f1000827
+Node: ax_swig_multi_module_support\7f1003050
+Node: ax_swig_python\7f1005563
+Node: ax_switch_flags\7f1008268
+Node: ax_sys_dev_poll\7f1009829
+Node: ax_sys_largefile_sensitive\7f1011072
+Node: ax_sys_perlsharpbang\7f1013063
+Node: ax_sys_weak_alias\7f1015567
+Node: ax_sysv_ipc\7f1020047
+Node: ax_tls\7f1021008
+Node: ax_trilinos_amesos\7f1023271
+Node: ax_trilinos_base\7f1024445
+Node: ax_trilinos_epetra\7f1026362
+Node: ax_trilinos_epetraext\7f1027551
+Node: ax_trilinos_epetraext_hdf5\7f1028771
+Node: ax_trilinos_rtop\7f1029908
+Node: ax_trilinos_rythmos\7f1031089
+Node: ax_trilinos_teuchos\7f1032284
+Node: ax_trilinos_thyra\7f1033480
+Node: ax_trilinos_thyra_epetra\7f1034667
+Node: ax_trilinos_thyra_epetraext\7f1035777
+Node: ax_try_awk_anyout\7f1036907
+Node: ax_try_awk_expout\7f1038314
+Node: ax_try_compile_java\7f1039776
+Node: ax_try_run_java\7f1041171
+Node: ax_type_socklen_t\7f1042546
+Node: ax_upload\7f1044694
+Node: ax_valgrind_check\7f1046242
+Node: ax_var_pop\7f1049230
+Node: ax_var_push\7f1051855
+Node: ax_var_timezone_externals\7f1054579
+Node: ax_very_nice\7f1057069
+Node: ax_warning_default_aclocaldir\7f1059576
+Node: ax_warning_default_pkgconfig\7f1061834
+Node: ax_wint_t\7f1064104
+Node: ax_with_apxs\7f1065353
+Node: ax_with_build_path\7f1066584
+Node: ax_with_curses\7f1067890
+Node: ax_with_curses_extra\7f1077315
+Node: ax_with_dmalloc\7f1083649
+Node: ax_with_mpatrol\7f1084955
+Node: ax_with_prog\7f1086324
+Node: ax_xercesc\7f1087852
+Node: ax_xsdcxx\7f1089920
+Node: ax_xtra_classpath\7f1091146
+Node: ax_zmq\7f1093413
+Node: ax_zoneinfo\7f1094588
+Node: GNU Free Documentation License\7f1096161
+\1f
+End Tag Table
+
+\1f
+Local Variables:
+coding: utf-8
+End:
--- /dev/null
+@node ax_absolute_header
+@unnumberedsec ax_absolute_header
+
+@majorheading Synopsis
+
+@smallexample
+AX_ABSOLUTE_HEADER(HEADER1 HEADER2 ...)
+@end smallexample
+
+@majorheading Description
+
+Find the absolute name of a header file, assuming the header exists. If
+the header were sys/inttypes.h, this macro would define
+ABSOLUTE_SYS_INTTYPES_H to the `""' quoted absolute name of
+sys/inttypes.h in config.h (e.g. `#define ABSOLUTE_SYS_INTTYPES_H
+"///usr/include/sys/inttypes.h"'). The three "///" are to pacify Sun C
+5.8, which otherwise would say "warning: #include of /usr/include/...
+may be non-portable". Use `""', not `<>', so that the /// cannot be
+confused with a C99 comment.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_absolute_header.m4,latest
+version of @file{ax_absolute_header.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_absolute_header.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Derek Price} @* @w{Copyright @copyright{} 2009 Rhys Ulerich @email{rhys.ulerich@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_ac_append_to_file
+@unnumberedsec ax_ac_append_to_file
+
+@majorheading Synopsis
+
+@smallexample
+AX_AC_APPEND_TO_FILE([FILE],[DATA])
+@end smallexample
+
+@majorheading Description
+
+Appends the specified data to the specified Autoconf is run. If you want
+to append to a file when configure is run use AX_APPEND_TO_FILE instead.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ac_append_to_file.m4,latest
+version of @file{ax_ac_append_to_file.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ac_append_to_file.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Allan Caffee @email{allan.caffee@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_ac_print_to_file
+@unnumberedsec ax_ac_print_to_file
+
+@majorheading Synopsis
+
+@smallexample
+AX_AC_PRINT_TO_FILE([FILE],[DATA])
+@end smallexample
+
+@majorheading Description
+
+Writes the specified data to the specified file when Autoconf is run. If
+you want to print to a file when configure is run use AX_PRINT_TO_FILE
+instead.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ac_print_to_file.m4,latest
+version of @file{ax_ac_print_to_file.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ac_print_to_file.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Allan Caffee @email{allan.caffee@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_add_am_macro
+@unnumberedsec ax_add_am_macro
+
+@majorheading Synopsis
+
+@smallexample
+AX_ADD_AM_MACRO([RULE])
+@end smallexample
+
+@majorheading Description
+
+Adds the specified rule to $AMINCLUDE. This macro will only work
+properly with implementations of Make which allow include statements.
+See also AX_ADD_AM_MACRO_STATIC.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_am_macro.m4,latest
+version of @file{ax_add_am_macro.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_am_macro.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Tom Howard @email{tomhoward@@users.sf.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_add_am_macro_static
+@unnumberedsec ax_add_am_macro_static
+
+@majorheading Synopsis
+
+@smallexample
+AX_ADD_AM_MACRO_STATIC([RULE])
+@end smallexample
+
+@majorheading Description
+
+Adds the specified rule to $AMINCLUDE.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_am_macro_static.m4,latest
+version of @file{ax_add_am_macro_static.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_am_macro_static.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Tom Howard @email{tomhoward@@users.sf.net}} @* @w{Copyright @copyright{} 2009 Allan Caffee @email{allan.caffee@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_add_am_trilinos_makefile_export
+@unnumberedsec ax_add_am_trilinos_makefile_export
+
+@majorheading Synopsis
+
+@smallexample
+AX_ADD_AM_TRILINOS_MAKEFILE_EXPORT(EXPORT_SUFFIX [, ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+Checks if a file named <Makefile.export.EXPORT_SUFFIX> appears in the
+$TRILINOS_INCLUDE directory. If so, adds an include for it using the
+AX_AM_MACROS framework.
+
+If ACTION-IF-NOT-FOUND is not provided, configure fails.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_am_trilinos_makefile_export.m4,latest
+version of @file{ax_add_am_trilinos_makefile_export.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_am_trilinos_makefile_export.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Rhys Ulerich @email{rhys.ulerich@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_add_fortify_source
+@unnumberedsec ax_add_fortify_source
+
+@majorheading Synopsis
+
+@smallexample
+AX_ADD_FORTIFY_SOURCE
+@end smallexample
+
+@majorheading Description
+
+Check whether -D_FORTIFY_SOURCE=2 can be added to CPPFLAGS without macro
+redefinition warnings, other cpp warnings or linker. Some distributions
+(such as Gentoo Linux) enable _FORTIFY_SOURCE globally in their
+compilers, leading to unnecessary warnings in the form of
+
+@smallexample
+ <command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
+ <built-in>: note: this is the location of the previous definition
+@end smallexample
+
+which is a problem if -Werror is enabled. This macro checks whether
+_FORTIFY_SOURCE is already defined, and if not, adds -D_FORTIFY_SOURCE=2
+to CPPFLAGS.
+
+Newer mingw-w64 msys2 package comes with a bug in
+headers-git-7.0.0.5546.d200317d-1. It broke -D_FORTIFY_SOURCE support,
+and would need -lssp or -fstack-protector. See
+https://github.com/msys2/MINGW-packages/issues/5803. Try to actually
+link it.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_fortify_source.m4,latest
+version of @file{ax_add_fortify_source.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_fortify_source.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2017 David Seifert @email{soap@@gentoo.org}} @* @w{Copyright @copyright{} 2019 Reini Urban @email{rurban@@cpan.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_add_recursive_am_macro
+@unnumberedsec ax_add_recursive_am_macro
+
+@majorheading Synopsis
+
+@smallexample
+AX_ADD_RECURSIVE_AM_MACRO([TARGET],[RULE])
+@end smallexample
+
+@majorheading Description
+
+Adds the specified rule to $AMINCLUDE along with a TARGET-recursive rule
+that will call TARGET for the current directory and TARGET-am
+recursively for each subdirectory. See also
+AX_ADD_RECURSIVE_AM_MACRO_STATIC.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_recursive_am_macro.m4,latest
+version of @file{ax_add_recursive_am_macro.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_recursive_am_macro.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Tom Howard @email{tomhoward@@users.sf.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_add_recursive_am_macro_static
+@unnumberedsec ax_add_recursive_am_macro_static
+
+@majorheading Synopsis
+
+@smallexample
+AX_ADD_RECURSIVE_AM_MACRO_STATIC([TARGET],[RULE])
+@end smallexample
+
+@majorheading Description
+
+Adds the specified rule to AMINCLUDE_STATIC along with a
+TARGET-recursive rule that will call TARGET for the current directory
+and TARGET-am recursively for each subdirectory.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_recursive_am_macro_static.m4,latest
+version of @file{ax_add_recursive_am_macro_static.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_recursive_am_macro_static.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Tom Howard @email{tomhoward@@users.sf.net}} @* @w{Copyright @copyright{} 2009 Allan Caffee @email{allan.caffee@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_afs
+@unnumberedsec ax_afs
+
+@majorheading Synopsis
+
+@smallexample
+AX_AFS
+@end smallexample
+
+@majorheading Description
+
+This sets up the proper includes and libs needed for building programs
+that link with AFS. It adds a --with-afsdir option that lets you specify
+where the AFS includes and libs are (defaulting to /usr/afsws).
+
+It also adds the -I and -L options to CPPFLAGS and LDFLAGS
+
+It creates an AC_SUBST(AFSWS) that contains the directory being used.
+
+It checks for -lBSD, -lsocket and -lnsl since AFS needs those if they
+exist. It also adds -R/usr/ucblib -L/usr/ucblib -lucb if on Solaris.
+
+It sets VICE_ETC_PATH to be the directory where /usr/vice/etc lives,
+since AFS 3.4 uses a different define than AFS 3.5 does for that path.
+
+Finally, it defines AFS_int32 to be the in32 type needed. In older
+versions of afs it was 'int32', and in newer versions it's 'afs_int32'.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_afs.m4,latest
+version of @file{ax_afs.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_afs.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Scott Grosch @email{Scott.Grosch@@intel.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_am_jobserver
+@unnumberedsec ax_am_jobserver
+
+@majorheading Synopsis
+
+@smallexample
+AX_AM_JOBSERVER([default_value])
+@end smallexample
+
+@majorheading Description
+
+Enables the use of make's jobserver for the purpose of parallel building
+by passing the -j option to make.
+
+The option --enable-jobserver is added to configure which can accept a
+yes, no, or an integer. The integer is the number of separate jobs to
+allow. If 'yes' is given, then the is assumed to be one more than the
+number of CPUs (determined through AX_COUNT_CPUS). If the value of no is
+given, then the jobserver is disabled. The default value is given by the
+first argument of the macro, or 'yes' if the argument is omitted.
+
+This macro makes use of AX_AM_MACROS, so you must add the following line
+
+@smallexample
+ @@INC_AMINCLUDE@@
+@end smallexample
+
+to your Makefile.am files.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_jobserver.m4,latest
+version of @file{ax_am_jobserver.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_jobserver.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Michael Paul Bailey @email{jinxidoru@@byu.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_am_macros
+@unnumberedsec ax_am_macros
+
+@majorheading Synopsis
+
+@smallexample
+AX_AM_MACROS
+@end smallexample
+
+@majorheading Description
+
+Adds support for macros that create Make rules. You must manually add
+the following line
+
+@smallexample
+ @@INC_AMINCLUDE@@
+@end smallexample
+
+to your Makefile.in (or Makefile.am if you use Automake) files.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_macros.m4,latest
+version of @file{ax_am_macros.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_macros.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Tom Howard @email{tomhoward@@users.sf.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_am_macros_static
+@unnumberedsec ax_am_macros_static
+
+@majorheading Synopsis
+
+@smallexample
+AX_AM_MACROS_STATIC
+@end smallexample
+
+@majorheading Description
+
+Adds support for macros that create Automake rules. You must manually
+add the following line
+
+@smallexample
+ include $(top_srcdir)/aminclude_static.am
+@end smallexample
+
+to your Makefile.am files.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_macros_static.m4,latest
+version of @file{ax_am_macros_static.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_macros_static.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Tom Howard @email{tomhoward@@users.sf.net}} @* @w{Copyright @copyright{} 2009 Allan Caffee @email{allan.caffee@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_am_override_var
+@unnumberedsec ax_am_override_var
+
+@majorheading Synopsis
+
+@smallexample
+AX_AM_OVERRIDE_VAR([varname1 varname ... ])
+AX_AM_OVERRIDE_FINALIZE
+@end smallexample
+
+@majorheading Description
+
+This autoconf macro generalizes the approach given in
+<http://lists.gnu.org/archive/html/automake/2005-09/msg00108.html> which
+moves user specified values for variable 'varname' given at configure
+time into the corresponding AM_$@{varname@} variable and clears out
+'varname', allowing further manipulation by the configure script so that
+target specific variables can be given specialized versions. 'varname
+may still be specified on the make command line and will be appended as
+usual.
+
+As an example usage, consider a project which might benefit from
+different compiler flags for different components. Typically this is
+done via target specific flags, e.g.
+
+@smallexample
+ libgtest_la_CXXFLAGS = \
+ -I $(top_srcdir)/tests \
+ -I $(top_builddir)/tests \
+ $(GTEST_CXXFLAGS)
+@end smallexample
+
+automake will automatically append $(CXXFLAGS) -- provided by the user
+-- to the build rule for libgtest_la. That might be problematic, as
+CXXFLAGS may contain compiler options which are inappropriate for
+libgtest_la.
+
+The approach laid out in the referenced mailing list message is to
+supply a base value for a variable during _configure_ time, during which
+it is possible to amend it for specific targets. The user may
+subsequently specify a value for the variable during _build_ time, which
+make will apply (via the standard automake rules) to all appropriate
+targets.
+
+For example,
+
+@smallexample
+ AX_AM_OVERRIDE_VAR([CXXFLAGS])
+@end smallexample
+
+will store the value of CXXFLAGS specified at configure time into the
+AM_CXXFLAGS variable, AC_SUBST it, and clear CXXFLAGS. configure may
+then create a target specific set of flags based upon AM_CXXFLAGS, e.g.
+
+@smallexample
+ # googletest uses variadic macros, which g++ -pedantic-errors
+ # is very unhappy about
+ AC_SUBST([GTEST_CXXFLAGS],
+ [`AS_ECHO_N(["$AM_CXXFLAGS"]) \
+ | sed s/-pedantic-errors/-pedantic/`
+ ]
+ )
+@end smallexample
+
+which would be used in a Makefile.am as above. Since CXXFLAGS is
+cleared, the configure time value will not affect the build for
+libgtest_la.
+
+Prior to _any other command_ which may set $@{varname@}, call
+
+@smallexample
+ AX_AM_OVERRIDE_VAR([varname])
+@end smallexample
+
+This will preserve the value (if any) passed to configure in
+AM_$@{varname@} and AC_SUBST([AM_$@{varname@}). You may pass a space
+separated list of variable names, or may call AX_AM_OVERRIDE_VAR
+multiple times for the same effect.
+
+If any subsequent configure commands set $@{varname@} and you wish to
+capture the resultant value into AM_$@{varname@} in the case where
+$@{varname@} was _not_ provided at configure time, call
+
+@smallexample
+ AX_AM_OVERRIDE_FINALIZE
+@end smallexample
+
+after _all_ commands which might affect any of the variables specified
+in calls to AX_AM_OVERRIDE_VAR. This need be done only once, but
+repeated calls will not cause harm.
+
+There is a bit of trickery required to allow further manipulation of the
+AM_$@{varname@} in a Makefile.am file. If AM_CFLAGS is used as is in a
+Makefile.am, e.g.
+
+@smallexample
+ libfoo_la_CFLAGS = $(AM_CFLAGS)
+@end smallexample
+
+then automake will emit code in Makefile.in which sets AM_CFLAGS from
+the configure'd value.
+
+If however, AM_CFLAGS is manipulated (i.e. appended to), you will have
+to explicitly arrange for the configure'd value to be substituted:
+
+@smallexample
+ AM_CFLAGS = @@AM_CFLAGS@@
+ AM_CFLAGS += -lfoo
+@end smallexample
+
+or else automake will complain about using += before =.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_override_var.m4,latest
+version of @file{ax_am_override_var.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_override_var.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2013 Smithsonian Astrophysical Observatory} @* @w{Copyright @copyright{} 2013 Diab Jerius @email{djerius@@cfa.harvard.edu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_append_compile_flags
+@unnumberedsec ax_append_compile_flags
+
+@majorheading Synopsis
+
+@smallexample
+AX_APPEND_COMPILE_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT])
+@end smallexample
+
+@majorheading Description
+
+For every FLAG1, FLAG2 it is checked whether the compiler works with the
+flag. If it does, the flag is added FLAGS-VARIABLE
+
+If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
+CFLAGS) is used. During the check the flag is always added to the
+current language's flags.
+
+If EXTRA-FLAGS is defined, it is added to the current language's default
+flags (e.g. CFLAGS) when the check is done. The check is thus made with
+the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to
+force the compiler to issue an error when a bad flag is given.
+
+INPUT gives an alternative input source to AC_COMPILE_IFELSE.
+
+NOTE: This macro depends on the AX_APPEND_FLAG and
+AX_CHECK_COMPILE_FLAG. Please keep this macro in sync with
+AX_APPEND_LINK_FLAGS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_compile_flags.m4,latest
+version of @file{ax_append_compile_flags.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_compile_flags.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2011 Maarten Bosmans @email{mkbosmans@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_append_flag
+@unnumberedsec ax_append_flag
+
+@majorheading Synopsis
+
+@smallexample
+AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE])
+@end smallexample
+
+@majorheading Description
+
+FLAG is appended to the FLAGS-VARIABLE shell variable, with a space
+added in between.
+
+If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
+CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains
+FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly
+FLAG.
+
+NOTE: Implementation based on AX_CFLAGS_GCC_OPTION.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_flag.m4,latest
+version of @file{ax_append_flag.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_flag.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}} @* @w{Copyright @copyright{} 2011 Maarten Bosmans @email{mkbosmans@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_append_link_flags
+@unnumberedsec ax_append_link_flags
+
+@majorheading Synopsis
+
+@smallexample
+AX_APPEND_LINK_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT])
+@end smallexample
+
+@majorheading Description
+
+For every FLAG1, FLAG2 it is checked whether the linker works with the
+flag. If it does, the flag is added FLAGS-VARIABLE
+
+If FLAGS-VARIABLE is not specified, the linker's flags (LDFLAGS) is
+used. During the check the flag is always added to the linker's flags.
+
+If EXTRA-FLAGS is defined, it is added to the linker's default flags
+when the check is done. The check is thus made with the flags: "LDFLAGS
+EXTRA-FLAGS FLAG". This can for example be used to force the linker to
+issue an error when a bad flag is given.
+
+INPUT gives an alternative input source to AC_COMPILE_IFELSE.
+
+NOTE: This macro depends on the AX_APPEND_FLAG and AX_CHECK_LINK_FLAG.
+Please keep this macro in sync with AX_APPEND_COMPILE_FLAGS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_link_flags.m4,latest
+version of @file{ax_append_link_flags.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_link_flags.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2011 Maarten Bosmans @email{mkbosmans@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_append_to_file
+@unnumberedsec ax_append_to_file
+
+@majorheading Synopsis
+
+@smallexample
+AX_APPEND_TO_FILE([FILE],[DATA])
+@end smallexample
+
+@majorheading Description
+
+Appends the specified data to the specified file.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_to_file.m4,latest
+version of @file{ax_append_to_file.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_to_file.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Tom Howard @email{tomhoward@@users.sf.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_arg_with_path_style
+@unnumberedsec ax_arg_with_path_style
+
+@majorheading Synopsis
+
+@smallexample
+AX_ARG_WITH_PATH_STYLE
+@end smallexample
+
+@majorheading Description
+
+_AC_DEFINE(PATH_STYLE) describing the filesys interface. The value is
+numeric, where the basetype is encoded as 16 = dos/win, 32 = unix, 64 =
+url/www, 0 = other
+
+some extra semantics are described in other bits of the value,
+especially
+
+@smallexample
+ 1024 accepts "/" as a dir separator
+ 2048 accepts ";" as a path separator
+ 4096 accepts "," as a path separator
+@end smallexample
+
+the macro provides a configure' --with-path-style option that can be
+used with descriptive arg names. If not explicitly given, the $target_os
+will be checked to provide a sane default. Additional (lower) bits can
+be used by the user for some additional magic, higher bits are reserved
+for this macro.
+
+the mnemonic "strict" or "also" is used to instruct the code that
+additional separators shall be accepted but converted to the separator
+of the underlying pathstyle system. (or-512)
+
+@smallexample
+ example: --with-path-style=win,slash
+ to make it accept ";" as pathsep, and
+ both "/" and "\" as dirseps.
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_arg_with_path_style.m4,latest
+version of @file{ax_arg_with_path_style.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_arg_with_path_style.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_asm_inline
+@unnumberedsec ax_asm_inline
+
+@majorheading Synopsis
+
+@smallexample
+AX_ASM_INLINE()
+@end smallexample
+
+@majorheading Description
+
+Tests for C compiler support of inline assembly instructions. If inline
+assembly is supported, this macro #defines ASM_INLINE to be the
+appropriate keyword.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_asm_inline.m4,latest
+version of @file{ax_asm_inline.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_asm_inline.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Alan Woodland @email{ajw05@@aber.ac.uk}} @* @w{Copyright @copyright{} 2009 Rhys Ulerich @email{rhys.ulerich@@gmail.com}} @* @w{Copyright @copyright{} 2017 Reini Urban @email{rurban@@cpan.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_at_check_pattern
+@unnumberedsec ax_at_check_pattern
+
+@majorheading Synopsis
+
+@smallexample
+AX_AT_CHECK_PATTERN(COMMANDS, [STATUS], [STDOUT-RE], [STDERR-RE], [RUN-IF-FAIL], [RUN-IF-PASS])
+AX_AT_DIFF_PATTERN(PATTERN-FILE, TEST-FILE, [STATUS=0], [DIFFERENCES])
+@end smallexample
+
+@majorheading Description
+
+AX_AT_CHECK_PATTERN() executes a test similar to AT_CHECK(), except that
+stdout and stderr are awk regular expressions (REs).
+
+NOTE: as autoconf uses [] for quoting, the use of [brackets] in the RE
+arguments STDOUT-RE and STDERR-RE can be awkward and require careful
+extra quoting, or quadrigraphs '@@<:@@' (for '[') and '@@:>@@' (for ']').
+
+awk is invoked via $AWK, which defaults to "awk" if unset or empty.
+
+Implemented using AT_CHECK() with a custom value for $at_diff that
+invokes diff with an awk post-processor.
+
+AX_AT_DIFF_PATTERN() checks that the PATTERN-FILE applies to TEST-FILE.
+If there are differences, STATUS will be 1 and they should be
+DIFFERENCES.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_at_check_pattern.m4,latest
+version of @file{ax_at_check_pattern.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_at_check_pattern.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2013-2014 Luke Mewburn @email{luke@@mewburn.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_auto_include_headers
+@unnumberedsec ax_auto_include_headers
+
+@majorheading Synopsis
+
+@smallexample
+AX_AUTO_INCLUDE_HEADERS(INCLUDE-FILE ...)
+@end smallexample
+
+@majorheading Description
+
+Given a space-separated list of INCLUDE-FILEs, AX_AUTO_INCLUDE_HEADERS
+will output a conditional #include for each INCLUDE-FILE. The following
+example demonstrates how AX_AUTO_INCLUDE_HEADERS's might be used in a
+configure.ac script:
+
+@smallexample
+ AH_BOTTOM([
+ AX_AUTO_INCLUDE_HEADERS([sys/resource.h invent.h sys/sysinfo.h])dnl
+ ])
+@end smallexample
+
+The preceding invocation instructs autoheader to put the following code
+at the bottom of the config.h file:
+
+@smallexample
+ #ifdef HAVE_SYS_RESOURCE_H
+ # include <sys/resource.h>
+ #endif
+ #ifdef HAVE_INVENT_H
+ # include <invent.h>
+ #endif
+ #ifdef HAVE_SYS_SYSINFO_H
+ # include <sys/sysinfo.h>
+ #endif
+@end smallexample
+
+Note that AX_AUTO_INCLUDE_HEADERS merely outputs #ifdef/#include/#endif
+blocks. The configure.ac script still needs to invoke AC_CHECK_HEADERS
+to #define the various HAVE_*_H preprocessor macros.
+
+Here's an easy way to get from config.h a complete list of header files
+who existence is tested by the configure script:
+
+@smallexample
+ cat config.h | perl -ane '/ HAVE_\S+_H / && do @{$_=$F[$#F-1]; s/^HAVE_//; s/_H/.h/; s|_|/|g; tr/A-Z/a-z/; print "$_ "@}'
+@end smallexample
+
+You can then manually edit the resulting list and incorporate it into
+one or more calls to AX_AUTO_INCLUDE_HEADERS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_auto_include_headers.m4,latest
+version of @file{ax_auto_include_headers.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_auto_include_headers.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Scott Pakin @email{pakin@@uiuc.edu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_berkeley_db
+@unnumberedsec ax_berkeley_db
+
+@majorheading Synopsis
+
+@smallexample
+AX_BERKELEY_DB([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+@end smallexample
+
+@majorheading Description
+
+This macro tries to find Berkeley DB. It honors MINIMUM-VERSION if
+given.
+
+If libdb is found, DB_HEADER and DB_LIBS variables are set and
+ACTION-IF-FOUND shell code is executed if specified. DB_HEADER is set to
+location of db.h header in quotes (e.g. "db3/db.h") and
+AC_DEFINE_UNQUOTED is called on it, so that you can type
+
+@smallexample
+ #include DB_HEADER
+@end smallexample
+
+in your C/C++ code. DB_LIBS is set to linker flags needed to link
+against the library (e.g. -ldb3.1) and AC_SUBST is called on it.
+
+when specified user-selected spot (via --with-libdb) also sets
+
+@smallexample
+ DB_CPPFLAGS to the include directives required
+ DB_LDFLAGS to the -L flags required
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_berkeley_db.m4,latest
+version of @file{ax_berkeley_db.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_berkeley_db.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Vaclav Slavik @email{vaclav.slavik@@matfyz.cz}} @* @w{Copyright @copyright{} 2014 Kirill A. Korinskiy @email{catap@@catap.ru}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_berkeley_db_cxx
+@unnumberedsec ax_berkeley_db_cxx
+
+@majorheading Synopsis
+
+@smallexample
+AX_BERKELEY_DB_CXX([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+@end smallexample
+
+@majorheading Description
+
+This macro tries to find Berkeley DB C++ support. It honors
+MINIMUM-VERSION if given.
+
+If libdb_cxx is found, DB_CXX_HEADER and DB_CXX_LIBS variables are set
+and ACTION-IF-FOUND shell code is executed if specified. DB_CXX_HEADER
+is set to location of db.h header in quotes (e.g. "db3/db_cxx.h") and
+AC_DEFINE_UNQUOTED is called on it, so that you can type
+
+@smallexample
+ #include DB_CXX_HEADER
+@end smallexample
+
+in your C/C++ code. DB_CXX_LIBS is set to linker flags needed to link
+against the library (e.g. -ldb3.1_cxx) and AC_SUBST is called on it.
+
+when specified user-selected spot (via --with-libdb) also sets
+
+@smallexample
+ DB_CXX_CPPFLAGS to the include directives required
+ DB_CXX_LDFLAGS to the -L flags required
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_berkeley_db_cxx.m4,latest
+version of @file{ax_berkeley_db_cxx.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_berkeley_db_cxx.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Vaclav Slavik @email{vaclav.slavik@@matfyz.cz}} @* @w{Copyright @copyright{} 2011 Stephan Suerken @email{absurd@@debian.org}} @* @w{Copyright @copyright{} 2014 Kirill A. Korinskiy @email{catap@@catap.ru}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_blas
+@unnumberedsec ax_blas
+
+@majorheading Synopsis
+
+@smallexample
+AX_BLAS([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+This macro looks for a library that implements the BLAS linear-algebra
+interface (see http://www.netlib.org/blas/). On success, it sets the
+BLAS_LIBS output variable to hold the requisite library linkages.
+
+To link with BLAS, you should link with:
+
+@smallexample
+ $BLAS_LIBS $LIBS $FLIBS
+@end smallexample
+
+in that order. FLIBS is the output variable of the
+AC_F77_LIBRARY_LDFLAGS macro (called if necessary by AX_BLAS), and is
+sometimes necessary in order to link with F77 libraries. Users will also
+need to use AC_F77_DUMMY_MAIN (see the autoconf manual), for the same
+reason.
+
+Many libraries are searched for, from ATLAS to CXML to ESSL. The user
+may also use --with-blas=<lib> in order to use some specific BLAS
+library <lib>. In order to link successfully, however, be aware that you
+will probably need to use the same Fortran compiler (which can be set
+via the F77 env. var.) as was used to compile the BLAS library.
+
+ACTION-IF-FOUND is a list of shell commands to run if a BLAS library is
+found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it is
+not found. If ACTION-IF-FOUND is not specified, the default action will
+define HAVE_BLAS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_blas.m4,latest
+version of @file{ax_blas.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_blas.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Steven G. Johnson @email{stevenj@@alum.mit.edu}} @* @w{Copyright @copyright{} 2019 Geoffrey M. Oxberry @email{goxberry@@gmail.com}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_blas_f77_func
+@unnumberedsec ax_blas_f77_func
+
+@majorheading Synopsis
+
+@smallexample
+AX_BLAS_F77_FUNC([ACTION-IF-PASS[, ACTION-IF-FAIL[, ACTION-IF-CROSS-COMPILING]])
+AX_BLAS_WITH_F77_FUNC([ACTION-IF-FOUND-AND-PASS[, ACTION-IF-NOT-FOUND-OR-FAIL]])
+@end smallexample
+
+@majorheading Description
+
+These macros are intended as a supplement to the AX_BLAS macro, to
+verify that BLAS functions are properly callable from Fortran. This is
+necessary, for example, if you want to build the LAPACK library on top
+of the BLAS.
+
+AX_BLAS_F77_FUNC uses the defined BLAS_LIBS and Fortran environment to
+check for compatibility, and takes a specific action in case of success,
+resp. failure, resp. cross-compilation.
+
+AX_BLAS_WITH_F77_FUNC is a drop-in replacement wrapper for AX_BLAS that
+calls AX_BLAS_F77_FUNC after detecting a BLAS library and rejects it on
+failure (i.e. pretends that no library was found).
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_blas_f77_func.m4,latest
+version of @file{ax_blas_f77_func.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_blas_f77_func.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Jaroslav Hajek @email{highegg@@gmail.com}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_boost_asio
+@unnumberedsec ax_boost_asio
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_ASIO
+@end smallexample
+
+@majorheading Description
+
+Test for Asio library from the Boost C++ libraries. The macro requires a
+preceding call to AX_BOOST_BASE. Further documentation is available at
+<http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_ASIO_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_ASIO
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_asio.m4,latest
+version of @file{ax_boost_asio.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_asio.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}} @* @w{Copyright @copyright{} 2008 Pete Greenwell @email{pete@@mu.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_atomic
+@unnumberedsec ax_boost_atomic
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_ATOMIC
+@end smallexample
+
+@majorheading Description
+
+Test for the Atomic library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_ATOMIC_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_ATOMIC
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_atomic.m4,latest
+version of @file{ax_boost_atomic.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_atomic.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}} @* @w{Copyright @copyright{} 2008 Michael Tindal} @* @w{Copyright @copyright{} 2013 Daniel Casimiro @email{dan.casimiro@@gmail.com}} @* @w{Copyright @copyright{} 2021 Richard Winters @email{kirvedx@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_base
+@unnumberedsec ax_boost_base
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_BASE([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+Test for the Boost C++ libraries of a particular version (or newer)
+
+If no path to the installed boost library is given the macro searchs
+under /usr, /usr/local, /opt and /opt/local and evaluates the
+$BOOST_ROOT environment variable. Further documentation is available at
+<http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_CPPFLAGS) / AC_SUBST(BOOST_LDFLAGS)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_base.m4,latest
+version of @file{ax_boost_base.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_base.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}} @* @w{Copyright @copyright{} 2009 Peter Adolphs}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_chrono
+@unnumberedsec ax_boost_chrono
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_CHRONO
+@end smallexample
+
+@majorheading Description
+
+Test for Chrono library from the Boost C++ libraries. The macro requires
+a preceding call to AX_BOOST_BASE. Further documentation is available at
+<http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_CHRONO_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_CHRONO
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_chrono.m4,latest
+version of @file{ax_boost_chrono.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_chrono.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2012 Xiyue Deng @email{manphiz@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_context
+@unnumberedsec ax_boost_context
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_CONTEXT
+@end smallexample
+
+@majorheading Description
+
+Test for Context library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_CONTEXT_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_CONTEXT
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_context.m4,latest
+version of @file{ax_boost_context.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_context.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}} @* @w{Copyright @copyright{} 2008 Michael Tindal} @* @w{Copyright @copyright{} 2013 Daniel Casimiro @email{dan.casimiro@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_coroutine
+@unnumberedsec ax_boost_coroutine
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_COROUTINE
+@end smallexample
+
+@majorheading Description
+
+Test for Coroutine library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_COROUTINE_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_COROUTINE
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_coroutine.m4,latest
+version of @file{ax_boost_coroutine.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_coroutine.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}} @* @w{Copyright @copyright{} 2008 Michael Tindal} @* @w{Copyright @copyright{} 2013 Daniel Casimiro @email{dan.casimiro@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_date_time
+@unnumberedsec ax_boost_date_time
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_DATE_TIME
+@end smallexample
+
+@majorheading Description
+
+Test for Date_Time library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_DATE_TIME_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_DATE_TIME
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_date_time.m4,latest
+version of @file{ax_boost_date_time.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_date_time.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}} @* @w{Copyright @copyright{} 2008 Michael Tindal}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_filesystem
+@unnumberedsec ax_boost_filesystem
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_FILESYSTEM
+@end smallexample
+
+@majorheading Description
+
+Test for Filesystem library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_FILESYSTEM_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_FILESYSTEM
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_filesystem.m4,latest
+version of @file{ax_boost_filesystem.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_filesystem.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Thomas Porschberg @email{thomas@@randspringer.de}} @* @w{Copyright @copyright{} 2009 Michael Tindal} @* @w{Copyright @copyright{} 2009 Roman Rybalko @email{libtorrent@@romanr.info}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_iostreams
+@unnumberedsec ax_boost_iostreams
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_IOSTREAMS
+@end smallexample
+
+@majorheading Description
+
+Test for IOStreams library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_IOSTREAMS_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_IOSTREAMS
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_iostreams.m4,latest
+version of @file{ax_boost_iostreams.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_iostreams.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_locale
+@unnumberedsec ax_boost_locale
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_LOCALE
+@end smallexample
+
+@majorheading Description
+
+Test for System library from the Boost C++ libraries. The macro requires
+a preceding call to AX_BOOST_BASE. Further documentation is available at
+<http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_LOCALE_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_LOCALE
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_locale.m4,latest
+version of @file{ax_boost_locale.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_locale.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2012 Xiyue Deng @email{manphiz@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_log
+@unnumberedsec ax_boost_log
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_LOG
+@end smallexample
+
+@majorheading Description
+
+Test for Log library from the Boost C++ libraries. The macro requires a
+preceding call to AX_BOOST_BASE. Further documentation is available at
+<http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_LOG_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_LOG
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_log.m4,latest
+version of @file{ax_boost_log.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_log.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}} @* @w{Copyright @copyright{} 2008 Michael Tindal} @* @w{Copyright @copyright{} 2013 Daniel Casimiro @email{dan.casimiro@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_log_setup
+@unnumberedsec ax_boost_log_setup
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_LOG_SETUP
+@end smallexample
+
+@majorheading Description
+
+Test for LogSetup library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_LOG_SETUP_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_LOG_SETUP
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_log_setup.m4,latest
+version of @file{ax_boost_log_setup.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_log_setup.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}} @* @w{Copyright @copyright{} 2008 Michael Tindal} @* @w{Copyright @copyright{} 2013 Daniel Casimiro @email{dan.casimiro@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_process
+@unnumberedsec ax_boost_process
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_PROCESS
+@end smallexample
+
+@majorheading Description
+
+Test for Process library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_PROCESS_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_PROCESS
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_process.m4,latest
+version of @file{ax_boost_process.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_process.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}} @* @w{Copyright @copyright{} 2008 Michael Tindal} @* @w{Copyright @copyright{} 2008 Daniel Casimiro @email{dan.casimiro@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_program_options
+@unnumberedsec ax_boost_program_options
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_PROGRAM_OPTIONS
+@end smallexample
+
+@majorheading Description
+
+Test for program options library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_PROGRAM_OPTIONS_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_PROGRAM_OPTIONS
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_program_options.m4,latest
+version of @file{ax_boost_program_options.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_program_options.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Thomas Porschberg @email{thomas@@randspringer.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_python
+@unnumberedsec ax_boost_python
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_PYTHON
+@end smallexample
+
+@majorheading Description
+
+This macro checks to see if the Boost.Python library is installed. It
+also attempts to guess the correct library name using several attempts.
+It tries to build the library name using a user supplied name or suffix
+and then just the raw library.
+
+If the library is found, HAVE_BOOST_PYTHON is defined and
+BOOST_PYTHON_LIB is set to the name of the library.
+
+This macro calls AC_SUBST(BOOST_PYTHON_LIB).
+
+In order to ensure that the Python headers and the Boost libraries are
+specified on the include path, this macro requires AX_PYTHON_DEVEL and
+AX_BOOST_BASE to be called.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_python.m4,latest
+version of @file{ax_boost_python.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_python.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Michael Tindal} @* @w{Copyright @copyright{} 2013 Daniel M"ullner @email{daniel@@danifold.net}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_boost_random
+@unnumberedsec ax_boost_random
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_RANDOM
+@end smallexample
+
+@majorheading Description
+
+Test for the Random library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_RANDOM_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_RANDOM
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_random.m4,latest
+version of @file{ax_boost_random.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_random.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}} @* @w{Copyright @copyright{} 2008 Michael Tindal} @* @w{Copyright @copyright{} 2013 Daniel Casimiro @email{dan.casimiro@@gmail.com}} @* @w{Copyright @copyright{} 2021 Richard Winters @email{kirvedx@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_regex
+@unnumberedsec ax_boost_regex
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_REGEX
+@end smallexample
+
+@majorheading Description
+
+Test for Regex library from the Boost C++ libraries. The macro requires
+a preceding call to AX_BOOST_BASE. Further documentation is available at
+<http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_REGEX_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_REGEX
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_regex.m4,latest
+version of @file{ax_boost_regex.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_regex.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}} @* @w{Copyright @copyright{} 2008 Michael Tindal}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_serialization
+@unnumberedsec ax_boost_serialization
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_SERIALIZATION
+@end smallexample
+
+@majorheading Description
+
+Test for Serialization library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_SERIALIZATION_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_SERIALIZATION
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_serialization.m4,latest
+version of @file{ax_boost_serialization.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_serialization.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_signals
+@unnumberedsec ax_boost_signals
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_SIGNALS
+@end smallexample
+
+@majorheading Description
+
+Test for Signals library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_SIGNALS_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_SIGNALS
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_signals.m4,latest
+version of @file{ax_boost_signals.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_signals.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}} @* @w{Copyright @copyright{} 2008 Michael Tindal}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_system
+@unnumberedsec ax_boost_system
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_SYSTEM
+@end smallexample
+
+@majorheading Description
+
+Test for System library from the Boost C++ libraries. The macro requires
+a preceding call to AX_BOOST_BASE. Further documentation is available at
+<http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_SYSTEM_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_SYSTEM
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_system.m4,latest
+version of @file{ax_boost_system.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_system.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}} @* @w{Copyright @copyright{} 2008 Michael Tindal} @* @w{Copyright @copyright{} 2008 Daniel Casimiro @email{dan.casimiro@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_test_exec_monitor
+@unnumberedsec ax_boost_test_exec_monitor
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_TEST_EXEC_MONITOR
+@end smallexample
+
+@majorheading Description
+
+Test for Test_Exec_Monitor library from the Boost C++ libraries. The
+macro requires a preceding call to AX_BOOST_BASE. Further documentation
+is available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_TEST_EXEC_MONITOR_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_TEST_EXEC_MONITOR
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_test_exec_monitor.m4,latest
+version of @file{ax_boost_test_exec_monitor.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_test_exec_monitor.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Dodji Seketeli @email{dodji@@seketeli.org}} @* @w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_thread
+@unnumberedsec ax_boost_thread
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_THREAD
+@end smallexample
+
+@majorheading Description
+
+Test for Thread library from the Boost C++ libraries. The macro requires
+a preceding call to AX_BOOST_BASE. Further documentation is available at
+<http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_THREAD_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_THREAD
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_thread.m4,latest
+version of @file{ax_boost_thread.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_thread.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Thomas Porschberg @email{thomas@@randspringer.de}} @* @w{Copyright @copyright{} 2009 Michael Tindal}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_unit_test_framework
+@unnumberedsec ax_boost_unit_test_framework
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_UNIT_TEST_FRAMEWORK
+@end smallexample
+
+@majorheading Description
+
+Test for Unit_Test_Framework library from the Boost C++ libraries. The
+macro requires a preceding call to AX_BOOST_BASE. Further documentation
+is available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_UNIT_TEST_FRAMEWORK_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_UNIT_TEST_FRAMEWORK
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_unit_test_framework.m4,latest
+version of @file{ax_boost_unit_test_framework.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_unit_test_framework.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_wave
+@unnumberedsec ax_boost_wave
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_WAVE
+@end smallexample
+
+@majorheading Description
+
+Test for Wave library from the Boost C++ libraries. The macro requires a
+preceding call to AX_BOOST_BASE. Further documentation is available at
+<http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_WAVE_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_WAVE
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_wave.m4,latest
+version of @file{ax_boost_wave.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_wave.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Thomas Porschberg @email{thomas@@randspringer.de}} @* @w{Copyright @copyright{} 2009 Michael Tindal}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_boost_wserialization
+@unnumberedsec ax_boost_wserialization
+
+@majorheading Synopsis
+
+@smallexample
+AX_BOOST_WSERIALIZATION
+@end smallexample
+
+@majorheading Description
+
+Test for Serialization library from the Boost C++ libraries. The macro
+requires a preceding call to AX_BOOST_BASE. Further documentation is
+available at <http://randspringer.de/boost/index.html>.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(BOOST_WSERIALIZATION_LIB)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_BOOST_WSERIALIZATION
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_wserialization.m4,latest
+version of @file{ax_boost_wserialization.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_wserialization.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_build_date_epoch
+@unnumberedsec ax_build_date_epoch
+
+@majorheading Synopsis
+
+@smallexample
+AX_BUILD_DATE_EPOCH(VARIABLE[, FORMAT[, ACTION-IF-FAIL]])
+@end smallexample
+
+@majorheading Description
+
+Sets VARIABLE to a string representing the current time. It is
+formatted according to FORMAT if specified, otherwise it is formatted as
+the number of seconds (excluding leap seconds) since the UNIX epoch (01
+Jan 1970 00:00:00 UTC).
+
+If the SOURCE_DATE_EPOCH environment variable is set, it uses the value
+of that variable instead of the current time. See
+https://reproducible-builds.org/specs/source-date-epoch). If
+SOURCE_DATE_EPOCH is set but cannot be properly interpreted as a UNIX
+timestamp, then execute ACTION-IF-FAIL if specified, otherwise error.
+
+VARIABLE is AC_SUBST-ed.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_build_date_epoch.m4,latest
+version of @file{ax_build_date_epoch.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_build_date_epoch.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2016 Eric Bavier @email{bavier@@member.fsf.org}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_c99_inline
+@unnumberedsec ax_c99_inline
+
+@majorheading Synopsis
+
+@smallexample
+AX_C99_INLINE
+@end smallexample
+
+@majorheading Description
+
+This macro defines HAVE_C99_INLINE if the C compiler supports "inline"
+and "extern inline" correctly. An application may replace "inline" with
+"static inline" as a workaround for older compilers.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c99_inline.m4,latest
+version of @file{ax_c99_inline.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c99_inline.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Michael McMaster @email{email@@michaelmcmaster.name}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_c___attribute__
+@unnumberedsec ax_c___attribute__
+
+@majorheading Synopsis
+
+@smallexample
+AX_C___ATTRIBUTE__
+@end smallexample
+
+@majorheading Description
+
+Provides a test for the compiler support of __attribute__ extensions.
+Defines HAVE___ATTRIBUTE__ if it is found.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c___attribute__.m4,latest
+version of @file{ax_c___attribute__.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c___attribute__.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Stepan Kasal @email{skasal@@redhat.com}} @* @w{Copyright @copyright{} 2008 Christian Haggstrom} @* @w{Copyright @copyright{} 2008 Ryan McCabe @email{ryan@@numb.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_c_arithmetic_rshift
+@unnumberedsec ax_c_arithmetic_rshift
+
+@majorheading Synopsis
+
+@smallexample
+AX_C_ARITHMETIC_RSHIFT
+@end smallexample
+
+@majorheading Description
+
+Checks if the right shift operation is arithmetic.
+
+This macro uses compile-time detection and so is cross-compile ready.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_arithmetic_rshift.m4,latest
+version of @file{ax_c_arithmetic_rshift.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_arithmetic_rshift.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 YAMAMOTO Kengo @email{yamaken@@bp.iij4u.or.jp}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_c_compile_value
+@unnumberedsec ax_c_compile_value
+
+@majorheading Synopsis
+
+@smallexample
+AX_C_COMPILE_VALUE (COMPILE-VALUE, ALIAS, INCLUDES)
+@end smallexample
+
+@majorheading Description
+
+The AX_C_COMPILE_VALUE macro determines a compile time value by
+generating the object code and reading the value from the code. Static
+data initializers like sizeof(int) are unavailable to preprocessor. The
+macro calculates the values known to compiler's static initializer.
+
+Assumptions: The sought value should not exceed 65535. The shell
+interpreter and the sed utility are expected to exist and work similarly
+across possible build platforms.
+
+Result: The resulting configure script will generate the preprocessor
+symbol definition:
+
+@smallexample
+ #define COMPILE_VALUE_<ALIAS> <NUMBER>
+@end smallexample
+
+It was important that the value was embedded into the object file in a
+predefined byte order during the test. This ensured that the result was
+independent from the target platform's byte order.
+
+The existing AC_CHECK_SIZEOF macro also computes the size of the given
+type without running the test program. However, the existing macro will
+produce a piece of configure script that will take the time proportional
+to the logarithm of the sought value.
+
+Example of use in configure.in:
+
+@smallexample
+ AX_C_COMPILE_VALUE(sizeof(int), sizeof_int)
+ AX_C_COMPILE_VALUE([sizeof(int[[543]])], sizeof_int543)
+@end smallexample
+
+As a result of running the generated configure script, the following
+definition will appear in config.h:
+
+@smallexample
+ #define COMPILE_VALUE_SIZEOF_INT 4
+ #define COMPILE_VALUE_SIZEOF_INT543 2172
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_compile_value.m4,latest
+version of @file{ax_c_compile_value.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_compile_value.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Ilguiz Latypov}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_c_declare_block
+@unnumberedsec ax_c_declare_block
+
+@majorheading Synopsis
+
+@smallexample
+AX_C_DECLARE_BLOCK
+@end smallexample
+
+@majorheading Description
+
+The macro will compile a test program to see whether the compiler does
+allow new variable declarations in the middle of a C statement block,
+i.e. after some non-declaration line. New compilers will allow that
+which makes the behave a bit more like C++ - the gcc did support it for
+quite a time already.
+
+#define DECLARE_BLOCK_NEEDED says they need to be at the beginning of of
+a statement block. Additionally two defines DECLARE_BLOCK @{ and
+DECLARE_END @} are being set. That makes it possible to do the following
+in your source code (which this macro is really made up for):
+
+@smallexample
+ #define ___ DECLARE_BLOCK
+ #define ____ DECLARE_END
+@end smallexample
+
+@smallexample
+ int f() @{
+ char buffer[1024];
+ fgets(buffer, 1024, stdin);
+ ___ int i; int ii = strlen(buffer);
+ for (i=0; i < ii; i++) @{
+ fputc(buffer[i], stdout);
+ @}____;
+ @}
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_declare_block.m4,latest
+version of @file{ax_c_declare_block.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_declare_block.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_c_float_words_bigendian
+@unnumberedsec ax_c_float_words_bigendian
+
+@majorheading Synopsis
+
+@smallexample
+AX_C_FLOAT_WORDS_BIGENDIAN([ACTION-IF-TRUE], [ACTION-IF-FALSE], [ACTION-IF-UNKNOWN])
+@end smallexample
+
+@majorheading Description
+
+Checks the ordering of words within a multi-word float. This check is
+necessary because on some systems (e.g. certain ARM systems), the float
+word ordering can be different from the byte ordering. In a multi-word
+float context, "big-endian" implies that the word containing the sign
+bit is found in the memory location with the lowest address. This
+implementation was inspired by the AC_C_BIGENDIAN macro in autoconf.
+
+The endianness is detected by first compiling C code that contains a
+special double float value, then grepping the resulting object file for
+certain strings of ASCII values. The double is specially crafted to have
+a binary representation that corresponds with a simple string. In this
+implementation, the string "noonsees" was selected because the
+individual word values ("noon" and "sees") are palindromes, thus making
+this test byte-order agnostic. If grep finds the string "noonsees" in
+the object file, the target platform stores float words in big-endian
+order. If grep finds "seesnoon", float words are in little-endian order.
+If neither value is found, the user is instructed to specify the
+ordering.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_float_words_bigendian.m4,latest
+version of @file{ax_c_float_words_bigendian.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_float_words_bigendian.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Daniel Amelang @email{dan@@amelang.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_c_long_long
+@unnumberedsec ax_c_long_long
+
+@majorheading Synopsis
+
+@smallexample
+AX_C_LONG_LONG
+@end smallexample
+
+@majorheading Description
+
+Provides a test for the existence of the long long int type and defines
+HAVE_LONG_LONG if it is found.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_long_long.m4,latest
+version of @file{ax_c_long_long.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_long_long.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Caolan McNamara @email{caolan@@skynet.ie}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_c_referenceable_passed_va_list
+@unnumberedsec ax_c_referenceable_passed_va_list
+
+@majorheading Synopsis
+
+@smallexample
+AX_C_REFERENCEABLE_PASSED_VA_LIST
+@end smallexample
+
+@majorheading Description
+
+Checks whether f(va_list va)@{ &va; @} works as expected.
+
+This macro uses compile-time detection and so is cross-compile ready.
+
+C99 mentioned passing a pointer to va_list to other functions (footnote
+212 of "7.15 Variable arguments <stdarg.h>"). However, f(va_list va) @{
+&va; @} produces broken pointer on some environments such as gcc on
+x86_64, although @{ va_list va; &va; @} works as expected. See the
+detection code of this file and any of pages
+https://www.gnu.org/software/autoconf/manual/html_node/Function-Portability.html,
+http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14557, and
+http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20951 for further
+information.
+
+Although C99 does not define the operations f(va_list va) @{ &va; @} and
+&va itself as standard (footnotes are declared as "normative part,
+information only"), certain situations need it. This macro provides a
+type detection about va_list implementation to deal with the operation.
+
+Following workaround will probably work on such environments although it
+does not ensure to be safe and portable. At least it is working on
+x86_64-unknown-linux-gnu:
+
+@smallexample
+ f(va_list va)
+ @{
+ va_list *vap;
+@end smallexample
+
+@smallexample
+ #if HAVE_REFERENCEABLE_PASSED_VA_LIST
+ vap = &va;
+ #else
+ vap = (va_list *)va;
+ #endif
+ @}
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_referenceable_passed_va_list.m4,latest
+version of @file{ax_c_referenceable_passed_va_list.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_referenceable_passed_va_list.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 YAMAMOTO Kengo @email{yamaken@@bp.iij4u.or.jp}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_c_var_func
+@unnumberedsec ax_c_var_func
+
+@majorheading Synopsis
+
+@smallexample
+AX_C_VAR_FUNC
+@end smallexample
+
+@majorheading Description
+
+This macro tests if the C compiler supports the C9X standard __func__
+identifier.
+
+The new C9X standard for the C language stipulates that the identifier
+__func__ shall be implicitly declared by the compiler as if, immediately
+following the opening brace of each function definition, the declaration
+
+@smallexample
+ static const char __func__[] = "function-name";
+@end smallexample
+
+appeared, where function-name is the name of the function where the
+__func__ identifier is used.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_var_func.m4,latest
+version of @file{ax_c_var_func.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_var_func.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Christopher Currie @email{christopher@@currie.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_cache_size
+@unnumberedsec ax_cache_size
+
+@majorheading Synopsis
+
+@smallexample
+AX_CACHE_SIZE
+@end smallexample
+
+@majorheading Description
+
+Find L1 and L2 caches size by reading the corresponding file on UNIX or
+by requesting cpuid. The results are available in the defines
+CPU_L1_CACHE and CPU_L2_CACHE.
+
+This macro depends on AX_GCC_X86_CPUID, AC_PROG_SED, AX_COUNT_CPUS, and
+AX_CPU_VENDOR.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cache_size.m4,latest
+version of @file{ax_cache_size.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cache_size.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Christophe Tournayre @email{turn3r@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_caolan_check_package
+@unnumberedsec ax_caolan_check_package
+
+@majorheading Synopsis
+
+@smallexample
+AX_caolan_CHECK_PACKAGE(PACKAGE, FUNCTION, LIBRARY , HEADERFILE [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+Provides --with-PACKAGE, --with-PACKAGE-include and
+--with-PACKAGE-libdir options to configure. Supports the now standard
+--with-PACKAGE=DIR approach where the package's include dir and lib dir
+are underneath DIR, but also allows the include and lib directories to
+be specified separately
+
+adds the extra -Ipath to CFLAGS if needed adds extra -Lpath to LD_FLAGS
+if needed searches for the FUNCTION in the LIBRARY with AC_CHECK_LIBRARY
+and thus adds the lib to LIBS
+
+defines HAVE_PKG_PACKAGE if it is found, (where PACKAGE in the
+HAVE_PKG_PACKAGE is replaced with the actual first parameter passed)
+note that autoheader will complain of not having the HAVE_PKG_PACKAGE
+and you will have to add it to acconfig.h manually
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_caolan_check_package.m4,latest
+version of @file{ax_caolan_check_package.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_caolan_check_package.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Caolan McNamara @email{caolan@@skynet.ie}} @* @w{Copyright @copyright{} 2008 Alexandre Duret-Lutz @email{adl@@gnu.org}} @* @w{Copyright @copyright{} 2008 Matthew Mueller @email{donut@@azstarnet.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_caolan_search_package
+@unnumberedsec ax_caolan_search_package
+
+@majorheading Synopsis
+
+@smallexample
+AX_caolan_SEARCH_PACKAGE(PACKAGE, FUNCTION, LIBRARY LIST, HEADERFILE [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+Provides --with-PACKAGE, --with-PACKAGE-include and
+--with-PACKAGE-libdir options to configure. Supports the now standard
+--with-PACKAGE=DIR approach where the package's include dir and lib dir
+are underneath DIR, but also allows the include and lib directories to
+be specified separately
+
+adds the extra -Ipath to CFLAGS if needed adds extra -Lpath to LD_FLAGS
+if needed searches for the FUNCTION in each of the LIBRARY LIST with
+AC_SEARCH_LIBRARY and thus adds the lib to LIBS
+
+defines HAVE_PKG_PACKAGE if it is found, (where PACKAGE in the
+HAVE_PKG_PACKAGE is replaced with the actual first parameter passed)
+note that autoheader will complain of not having the HAVE_PKG_PACKAGE
+and you will have to add it to acconfig.h manually
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_caolan_search_package.m4,latest
+version of @file{ax_caolan_search_package.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_caolan_search_package.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Caolan McNamara @email{caolan@@skynet.ie}} @* @w{Copyright @copyright{} 2009 Alexandre Duret-Lutz @email{adl@@gnu.org}} @* @w{Copyright @copyright{} 2009 Matthew Mueller @email{donut@@azstarnet.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cc_for_build
+@unnumberedsec ax_cc_for_build
+
+@majorheading Synopsis
+
+@smallexample
+AX_CC_FOR_BUILD
+@end smallexample
+
+@majorheading Description
+
+Find a build-time compiler. Sets CC_FOR_BUILD and EXEEXT_FOR_BUILD.
+
+AX_CC_FOR_BUILD is deprecated; it expands into AX_PROG_CC_FOR_BUILD
+which renames EXEEXT_FOR_BUILD to BUILD_EXEEXT.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cc_for_build.m4,latest
+version of @file{ax_cc_for_build.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cc_for_build.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2010 Reuben Thomas @email{rrt@@sc3d.org}} @* @w{Copyright @copyright{} 1999 Richard Henderson @email{rth@@redhat.com}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_cc_maxopt
+@unnumberedsec ax_cc_maxopt
+
+@majorheading Synopsis
+
+@smallexample
+AX_CC_MAXOPT
+@end smallexample
+
+@majorheading Description
+
+Try to turn on "good" C optimization flags for various compilers and
+architectures, for some definition of "good". (In our case, good for
+FFTW and hopefully for other scientific codes. Modify as needed.)
+
+The user can override the flags by setting the CFLAGS environment
+variable. The user can also specify --enable-portable-binary in order to
+disable any optimization flags that might result in a binary that only
+runs on the host architecture.
+
+Note also that the flags assume that ANSI C aliasing rules are followed
+by the code (e.g. for gcc's -fstrict-aliasing), and that floating-point
+computations can be re-ordered as needed.
+
+Requires macros: AX_CHECK_COMPILE_FLAG, AX_COMPILER_VENDOR,
+AX_GCC_ARCHFLAG, AX_GCC_X86_CPUID.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cc_maxopt.m4,latest
+version of @file{ax_cc_maxopt.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cc_maxopt.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Steven G. Johnson @email{stevenj@@alum.mit.edu}} @* @w{Copyright @copyright{} 2008 Matteo Frigo}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_cf_ebcdic
+@unnumberedsec ax_cf_ebcdic
+
+@majorheading Synopsis
+
+@smallexample
+AX_CF_EBCDIC
+@end smallexample
+
+@majorheading Description
+
+If the target character set is EBCDIC, defines variables cf_cv_ebcdic,
+EBCDIC, and NOT_ASCII.
+
+I originally wrote this and submitted it to the Lynx distribution.
+Editorial revisions by Tom Dickey, et. al.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cf_ebcdic.m4,latest
+version of @file{ax_cf_ebcdic.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cf_ebcdic.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Paul Gilmartin @email{pg@@sweng.stortek.com}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_cflags_aix_option
+@unnumberedsec ax_cflags_aix_option
+
+@majorheading Synopsis
+
+@smallexample
+AX_CFLAGS_AIX_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
+@end smallexample
+
+@majorheading Description
+
+AX_CFLAGS_AIX_OPTION(-qubicle) would show a message as like "checking
+CFLAGS for aix/cc -qubicle ... yes" and adds the optionflag to CFLAGS if
+it is understood. You can override the shellvar-default of CFLAGS of
+course. The order of arguments stems from the explicit macros like
+AX_CFLAGS_WARN_ALL.
+
+The cousin AX_CXXFLAGS_AIX_OPTION would check for an option to add to
+CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
+is possible to use different compilers for C and C++).
+
+The macro is a lot simpler than any special AX_CFLAGS_* macro (or
+ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
+However, if you use this macro in a few places, it would be great if you
+would make up a new function-macro and submit it to the ac-archive.
+
+@smallexample
+ - $1 option-to-check-for : required ("-option" as non-value)
+ - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
+ - $3 action-if-found : add value to shellvariable
+ - $4 action-if-not-found : nothing
+@end smallexample
+
+note: in earlier versions, $1-$2 were swapped. We try to detect the
+situation and accept a $2=~/-/ as being the old option-to-check-for.
+
+see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_aix_option.m4,latest
+version of @file{ax_cflags_aix_option.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_aix_option.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cflags_force_c89
+@unnumberedsec ax_cflags_force_c89
+
+@majorheading Synopsis
+
+@smallexample
+AX_CFLAGS_FORCE_C89 [(shellvar [,default, [A/NA]])]
+@end smallexample
+
+@majorheading Description
+
+Try to find a compiler option that enables strict C89 mode.
+
+For the GNU CC compiler it will be -ansi -pedantic. The result is added
+to the shellvar being CFLAGS by default.
+
+Currently this macro knows about GCC, Solaris C compiler, Digital Unix C
+compiler, C for AIX Compiler, HP-UX C compiler, IRIX C compiler, NEC
+SX-5 (Super-UX 10) C compiler, and Cray J90 (Unicos 10.0.0.8) C
+compiler.
+
+@smallexample
+ - $1 shell-variable-to-add-to : CFLAGS
+ - $2 add-value-if-not-found : nothing
+ - $3 action-if-found : add value to shellvariable
+ - $4 action-if-not-found : nothing
+@end smallexample
+
+NOTE: These macros depend on AX_APPEND_FLAG.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_force_c89.m4,latest
+version of @file{ax_cflags_force_c89.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_force_c89.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cflags_hpux_option
+@unnumberedsec ax_cflags_hpux_option
+
+@majorheading Synopsis
+
+@smallexample
+AX_CFLAGS_HPUX_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
+@end smallexample
+
+@majorheading Description
+
+AX_CFLAGS_HPUX_OPTION(-Afresh) would show a message as like "checking
+CFLAGS for hpux/cc -Afresh ... yes" and adds the optionflag to CFLAGS if
+it is understood. You can override the shellvar-default of CFLAGS of
+course. The order of arguments stems from the explicit macros like
+AX_CFLAGS_WARN_ALL.
+
+The cousin AX_CXXFLAGS_HPUX_OPTION would check for an option to add to
+CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
+is possible to use different compilers for C and C++).
+
+The macro is a lot simpler than any special AX_CFLAGS_* macro (or
+ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
+However, if you use this macro in a few places, it would be great if you
+would make up a new function-macro and submit it to the ac-archive.
+
+@smallexample
+ - $1 option-to-check-for : required ("-option" as non-value)
+ - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
+ - $3 action-if-found : add value to shellvariable
+ - $4 action-if-not-found : nothing
+@end smallexample
+
+note: in earlier versions, $1-$2 were swapped. We try to detect the
+situation and accept a $2=~/-/ as being the old option-to-check-for.
+
+see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_hpux_option.m4,latest
+version of @file{ax_cflags_hpux_option.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_hpux_option.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cflags_irix_option
+@unnumberedsec ax_cflags_irix_option
+
+@majorheading Synopsis
+
+@smallexample
+AX_CFLAGS_IRIX_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
+@end smallexample
+
+@majorheading Description
+
+AX_CFLAGS_IRIX_OPTION(-go_for_it) would show a message as like "checking
+CFLAGS for irix/cc -go_for_it ... yes" and adds the optionflag to CFLAGS
+if it is understood. You can override the shellvar-default of CFLAGS of
+course. The order of arguments stems from the explicit macros like
+AX_CFLAGS_WARN_ALL.
+
+The cousin AX_CXXFLAGS_IRIX_OPTION would check for an option to add to
+CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
+is possible to use different compilers for C and C++).
+
+The macro is a lot simpler than any special AX_CFLAGS_* macro (or
+ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
+However, if you use this macro in a few places, it would be great if you
+would make up a new function-macro and submit it to the ac-archive.
+
+@smallexample
+ - $1 option-to-check-for : required ("-option" as non-value)
+ - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
+ - $3 action-if-found : add value to shellvariable
+ - $4 action-if-not-found : nothing
+@end smallexample
+
+note: in earlier versions, $1-$2 were swapped. We try to detect the
+situation and accept a $2=~/-/ as being the old option-to-check-for.
+
+see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_irix_option.m4,latest
+version of @file{ax_cflags_irix_option.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_irix_option.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cflags_no_writable_strings
+@unnumberedsec ax_cflags_no_writable_strings
+
+@majorheading Synopsis
+
+@smallexample
+AX_CFLAGS_NO_WRITABLE_STRINGS [(shellvar [,default, [A/NA]])]
+@end smallexample
+
+@majorheading Description
+
+Try to find a compiler option that makes all string literals readonly.
+
+The sanity check is done by looking at string.h which has a set of
+strcpy definitions that should be defined with const-modifiers to not
+emit a warning in all so many places.
+
+For the GNU CC compiler it will be -fno-writable-strings -Wwrite-strings
+The result is added to the shellvar being CFLAGS by default.
+
+DEFAULTS:
+
+@smallexample
+ - $1 shell-variable-to-add-to : CFLAGS
+ - $2 add-value-if-not-found : nothing
+ - $3 action-if-found : add value to shellvariable
+ - $4 action-if-not-found : nothing
+@end smallexample
+
+NOTE: These macros depend on AX_APPEND_FLAG.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_no_writable_strings.m4,latest
+version of @file{ax_cflags_no_writable_strings.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_no_writable_strings.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cflags_strict_prototypes
+@unnumberedsec ax_cflags_strict_prototypes
+
+@majorheading Synopsis
+
+@smallexample
+AX_CFLAGS_STRICT_PROTOTYPES [(shellvar [,default, [A/NA]]
+@end smallexample
+
+@majorheading Description
+
+Try to find a compiler option that requires strict prototypes.
+
+The sanity check is done by looking at sys/signal.h which has a set of
+macro-definitions SIG_DFL and SIG_IGN that are cast to the local
+signal-handler type. If that signal-handler type is not fully qualified
+then the system headers are not seen as strictly prototype clean.
+
+For the GNU CC compiler it will be -fstrict-prototypes
+-Wstrict-prototypes The result is added to the shellvar being CFLAGS by
+default.
+
+DEFAULTS:
+
+@smallexample
+ - $1 shell-variable-to-add-to : CFLAGS
+ - $2 add-value-if-not-found : nothing
+ - $3 action-if-found : add value to shellvariable
+ - $4 action-if-not-found : nothing
+@end smallexample
+
+NOTE: These macros depend on AX_APPEND_FLAG.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_strict_prototypes.m4,latest
+version of @file{ax_cflags_strict_prototypes.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_strict_prototypes.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cflags_sun_option
+@unnumberedsec ax_cflags_sun_option
+
+@majorheading Synopsis
+
+@smallexample
+AX_CFLAGS_SUN_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
+@end smallexample
+
+@majorheading Description
+
+AX_CFLAGS_SUN_OPTION(+xtreme) would show a message as like "checking
+CFLAGS for sun/cc +xtreme ... yes" and adds the optionflag to CFLAGS if
+it is understood. You can override the shellvar-default of CFLAGS of
+course. The order of arguments stems from the explicit macros like
+AX_CFLAGS_WARN_ALL.
+
+The cousin AX_CXXFLAGS_SUN_OPTION would check for an option to add to
+CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
+is possible to use different compilers for C and C++).
+
+The macro is a lot simpler than any special AX_CFLAGS_* macro (or
+ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
+However, if you use this macro in a few places, it would be great if you
+would make up a new function-macro and submit it to the ac-archive.
+
+@smallexample
+ - $1 option-to-check-for : required ("-option" as non-value)
+ - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
+ - $3 action-if-found : add value to shellvariable
+ - $4 action-if-not-found : nothing
+@end smallexample
+
+note: in earlier versions, $1-$2 were swapped. We try to detect the
+situation and accept a $2=~/-/ as being the old option-to-check-for.
+
+see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_sun_option.m4,latest
+version of @file{ax_cflags_sun_option.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_sun_option.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cflags_warn_all
+@unnumberedsec ax_cflags_warn_all
+
+@majorheading Synopsis
+
+@smallexample
+AX_CFLAGS_WARN_ALL [(shellvar[, default[, action-if-found[, action-if-not-found]]])]
+AX_CXXFLAGS_WARN_ALL [(shellvar[, default[, action-if-found[, action-if-not-found]]])]
+AX_FCFLAGS_WARN_ALL [(shellvar[, default[, action-if-found[, action-if-not-found]]])]
+@end smallexample
+
+@majorheading Description
+
+Specify compiler options that enable most reasonable warnings. For the
+GNU Compiler Collection (GCC), for example, it will be "-Wall". The
+result is added to shellvar, one of CFLAGS, CXXFLAGS or FCFLAGS if the
+first parameter is not specified.
+
+Each of these macros accepts the following optional arguments:
+
+@smallexample
+ - $1 - shellvar
+ shell variable to use (CFLAGS, CXXFLAGS or FCFLAGS if not
+ specified, depending on macro)
+@end smallexample
+
+@smallexample
+ - $2 - default
+ value to use for flags if compiler vendor cannot be determined (by
+ default, "")
+@end smallexample
+
+@smallexample
+ - $3 - action-if-found
+ action to take if the compiler vendor has been successfully
+ determined (by default, add the appropriate compiler flags to
+ shellvar)
+@end smallexample
+
+@smallexample
+ - $4 - action-if-not-found
+ action to take if the compiler vendor has not been determined or
+ is unknown (by default, add the default flags, or "" if not
+ specified, to shellvar)
+@end smallexample
+
+These macros use AX_COMPILER_VENDOR to determine which flags should be
+returned for a given compiler. Not all compilers currently have flags
+defined for them; patches are welcome. If need be, compiler flags may
+be made language-dependent: use a construct like the following:
+
+@smallexample
+ [vendor_name], [m4_if(_AC_LANG_PREFIX,[C], VAR="--relevant-c-flags",dnl
+ m4_if(_AC_LANG_PREFIX,[CXX], VAR="--relevant-c++-flags",dnl
+ m4_if(_AC_LANG_PREFIX,[FC], VAR="--relevant-fortran-flags",dnl
+ VAR="$2"; FOUND="no")))],
+@end smallexample
+
+Note: These macros also depend on AX_PREPEND_FLAG.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_warn_all.m4,latest
+version of @file{ax_cflags_warn_all.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_warn_all.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}} @* @w{Copyright @copyright{} 2010 Rhys Ulerich @email{rhys.ulerich@@gmail.com}} @* @w{Copyright @copyright{} 2018 John Zaitseff @email{J.Zaitseff@@zap.org.au}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_aligned_access_required
+@unnumberedsec ax_check_aligned_access_required
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_ALIGNED_ACCESS_REQUIRED
+@end smallexample
+
+@majorheading Description
+
+While the x86 CPUs allow access to memory objects to be unaligned it
+happens that most of the modern designs require objects to be aligned -
+or they will fail with a buserror. That mode is quite known by
+big-endian machines (sparc, etc) however the alpha cpu is little-
+endian.
+
+The following function will test for aligned access to be required and
+set a config.h define HAVE_ALIGNED_ACCESS_REQUIRED (name derived by
+standard usage). Structures loaded from a file (or mmapped to memory)
+should be accessed per-byte in that case to avoid segfault type errors.
+
+The function checks if unaligned access would ignore the lowest bit of
+the address. If that happens or if the test binary crashes, aligned
+access is required.
+
+If cross-compiling, assume that aligned access is needed to be safe. Set
+ax_cv_have_aligned_access_required=no to override that assumption.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_aligned_access_required.m4,latest
+version of @file{ax_check_aligned_access_required.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_aligned_access_required.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_allocated_ctime
+@unnumberedsec ax_check_allocated_ctime
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_ALLOCATED_CTIME
+@end smallexample
+
+@majorheading Description
+
+Check whether we need to free the memory returned by ctime.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_allocated_ctime.m4,latest
+version of @file{ax_check_allocated_ctime.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_allocated_ctime.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Bruce Korb @email{bkorb@@gnu.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk__v
+@unnumberedsec ax_check_awk__v
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK__V([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports -v option ($AWK -v var=val '<PROGRAM>'). If
+successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk__v.m4,latest
+version of @file{ax_check_awk__v.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk__v.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk__x_escapes
+@unnumberedsec ax_check_awk__x_escapes
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK__X_ESCAPES([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports \x escape codes. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk__x_escapes.m4,latest
+version of @file{ax_check_awk__x_escapes.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk__x_escapes.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_and
+@unnumberedsec ax_check_awk_and
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_AND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports and() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_and.m4,latest
+version of @file{ax_check_awk_and.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_and.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_argind
+@unnumberedsec ax_check_awk_argind
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_ARGIND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports ARGIND variable. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_argind.m4,latest
+version of @file{ax_check_awk_argind.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_argind.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_array_delete
+@unnumberedsec ax_check_awk_array_delete
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_ARRAY_DELETE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports delete on array. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_array_delete.m4,latest
+version of @file{ax_check_awk_array_delete.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_array_delete.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_array_delete_elem
+@unnumberedsec ax_check_awk_array_delete_elem
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_ARRAY_DELETE_ELEM([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports delete on array element. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_array_delete_elem.m4,latest
+version of @file{ax_check_awk_array_delete_elem.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_array_delete_elem.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_array_in
+@unnumberedsec ax_check_awk_array_in
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_ARRAY_IN([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports 'in' on array. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_array_in.m4,latest
+version of @file{ax_check_awk_array_in.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_array_in.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_asort
+@unnumberedsec ax_check_awk_asort
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_ASORT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports asort() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_asort.m4,latest
+version of @file{ax_check_awk_asort.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_asort.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_asorti
+@unnumberedsec ax_check_awk_asorti
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_ASORTI([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports asorti() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_asorti.m4,latest
+version of @file{ax_check_awk_asorti.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_asorti.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_associative_array
+@unnumberedsec ax_check_awk_associative_array
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_ASSOCIATIVE_ARRAY([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports associative array. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_associative_array.m4,latest
+version of @file{ax_check_awk_associative_array.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_associative_array.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_atan2
+@unnumberedsec ax_check_awk_atan2
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_ATAN2([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports atan2() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_atan2.m4,latest
+version of @file{ax_check_awk_atan2.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_atan2.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_compl
+@unnumberedsec ax_check_awk_compl
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_COMPL([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports compl() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_compl.m4,latest
+version of @file{ax_check_awk_compl.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_compl.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_conditional_expression
+@unnumberedsec ax_check_awk_conditional_expression
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_CONDITIONAL_EXPRESSION([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports conditional expression (e.g. x = y ? 5 : 6). If
+successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_conditional_expression.m4,latest
+version of @file{ax_check_awk_conditional_expression.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_conditional_expression.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_cos
+@unnumberedsec ax_check_awk_cos
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_COS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports cos() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_cos.m4,latest
+version of @file{ax_check_awk_cos.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_cos.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_environ
+@unnumberedsec ax_check_awk_environ
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_ENVIRON([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports ENVIRON variable. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_environ.m4,latest
+version of @file{ax_check_awk_environ.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_environ.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_errno
+@unnumberedsec ax_check_awk_errno
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_ERRNO([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports ERRNO variable. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_errno.m4,latest
+version of @file{ax_check_awk_errno.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_errno.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_exit
+@unnumberedsec ax_check_awk_exit
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_EXIT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports exit(). If successful execute ACTION-IF-SUCCESS
+otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_exit.m4,latest
+version of @file{ax_check_awk_exit.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_exit.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_exp
+@unnumberedsec ax_check_awk_exp
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_EXP([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports exp() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_exp.m4,latest
+version of @file{ax_check_awk_exp.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_exp.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_gensub
+@unnumberedsec ax_check_awk_gensub
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_GENSUB([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports gensub() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_gensub.m4,latest
+version of @file{ax_check_awk_gensub.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_gensub.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_getline
+@unnumberedsec ax_check_awk_getline
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_GETLINE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports getline function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_getline.m4,latest
+version of @file{ax_check_awk_getline.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_getline.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_gsub
+@unnumberedsec ax_check_awk_gsub
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_GSUB([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports gsub() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_gsub.m4,latest
+version of @file{ax_check_awk_gsub.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_gsub.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_ignorecase
+@unnumberedsec ax_check_awk_ignorecase
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_IGNORECASE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports IGNORECASE variable. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_ignorecase.m4,latest
+version of @file{ax_check_awk_ignorecase.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_ignorecase.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_index
+@unnumberedsec ax_check_awk_index
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_INDEX([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports index() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_index.m4,latest
+version of @file{ax_check_awk_index.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_index.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_int
+@unnumberedsec ax_check_awk_int
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_INT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports int() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_int.m4,latest
+version of @file{ax_check_awk_int.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_int.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_length
+@unnumberedsec ax_check_awk_length
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_LENGTH([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports length() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_length.m4,latest
+version of @file{ax_check_awk_length.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_length.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_log
+@unnumberedsec ax_check_awk_log
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_LOG([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports log() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_log.m4,latest
+version of @file{ax_check_awk_log.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_log.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_lshift
+@unnumberedsec ax_check_awk_lshift
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_LSHIFT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports lshift() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_lshift.m4,latest
+version of @file{ax_check_awk_lshift.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_lshift.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_match_2parms
+@unnumberedsec ax_check_awk_match_2parms
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_MATCH_2PARMS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports match() function with 2 parameters (standard). If
+successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_match_2parms.m4,latest
+version of @file{ax_check_awk_match_2parms.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_match_2parms.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_match_3parms
+@unnumberedsec ax_check_awk_match_3parms
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_MATCH_3PARMS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports match() function with 3 parameters (GNU
+extension). If successful execute ACTION-IF-SUCCESS otherwise
+ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_match_3parms.m4,latest
+version of @file{ax_check_awk_match_3parms.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_match_3parms.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_operator_multiply_multiply
+@unnumberedsec ax_check_awk_operator_multiply_multiply
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_OPERATOR_MULTIPLY_MULTIPLY([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports the '**' operator. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_operator_multiply_multiply.m4,latest
+version of @file{ax_check_awk_operator_multiply_multiply.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_operator_multiply_multiply.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_operator_square
+@unnumberedsec ax_check_awk_operator_square
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_OPERATOR_SQUARE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports the '^' operator. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_operator_square.m4,latest
+version of @file{ax_check_awk_operator_square.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_operator_square.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_or
+@unnumberedsec ax_check_awk_or
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_OR([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports or() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_or.m4,latest
+version of @file{ax_check_awk_or.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_or.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_printf
+@unnumberedsec ax_check_awk_printf
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_PRINTF([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports printf() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_printf.m4,latest
+version of @file{ax_check_awk_printf.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_printf.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_rand
+@unnumberedsec ax_check_awk_rand
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_RAND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports rand() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_rand.m4,latest
+version of @file{ax_check_awk_rand.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_rand.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_rshift
+@unnumberedsec ax_check_awk_rshift
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_RSHIFT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports rshift() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_rshift.m4,latest
+version of @file{ax_check_awk_rshift.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_rshift.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_sin
+@unnumberedsec ax_check_awk_sin
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_SIN([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports sin() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sin.m4,latest
+version of @file{ax_check_awk_sin.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sin.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_split
+@unnumberedsec ax_check_awk_split
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_SPLIT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports split() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_split.m4,latest
+version of @file{ax_check_awk_split.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_split.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_sprintf
+@unnumberedsec ax_check_awk_sprintf
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_SPRINTF([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports sprintf() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sprintf.m4,latest
+version of @file{ax_check_awk_sprintf.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sprintf.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_sqrt
+@unnumberedsec ax_check_awk_sqrt
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_SQRT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports sqrt() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sqrt.m4,latest
+version of @file{ax_check_awk_sqrt.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sqrt.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_srand
+@unnumberedsec ax_check_awk_srand
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_SRAND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports srand() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_srand.m4,latest
+version of @file{ax_check_awk_srand.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_srand.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_strftime
+@unnumberedsec ax_check_awk_strftime
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_STRFTIME([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports strftime() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_strftime.m4,latest
+version of @file{ax_check_awk_strftime.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_strftime.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_strtonum
+@unnumberedsec ax_check_awk_strtonum
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_STRTONUM([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports strtonum() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_strtonum.m4,latest
+version of @file{ax_check_awk_strtonum.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_strtonum.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_sub
+@unnumberedsec ax_check_awk_sub
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_SUB([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports sub() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sub.m4,latest
+version of @file{ax_check_awk_sub.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sub.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_substr
+@unnumberedsec ax_check_awk_substr
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_SUBSTR([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports substr() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_substr.m4,latest
+version of @file{ax_check_awk_substr.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_substr.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_system
+@unnumberedsec ax_check_awk_system
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_SYSTEM([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports system() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_system.m4,latest
+version of @file{ax_check_awk_system.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_system.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_systime
+@unnumberedsec ax_check_awk_systime
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_SYSTIME([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports systime() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_systime.m4,latest
+version of @file{ax_check_awk_systime.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_systime.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_tolower
+@unnumberedsec ax_check_awk_tolower
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_TOLOWER([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports tolower() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_tolower.m4,latest
+version of @file{ax_check_awk_tolower.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_tolower.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_toupper
+@unnumberedsec ax_check_awk_toupper
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_TOUPPER([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports toupper() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_toupper.m4,latest
+version of @file{ax_check_awk_toupper.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_toupper.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_user_defined_functions
+@unnumberedsec ax_check_awk_user_defined_functions
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_USER_DEFINED_FUNCTIONS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports user defined functions. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_user_defined_functions.m4,latest
+version of @file{ax_check_awk_user_defined_functions.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_user_defined_functions.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_var_regexp
+@unnumberedsec ax_check_awk_var_regexp
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_VAR_REGEXP([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports variable regexp. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_var_regexp.m4,latest
+version of @file{ax_check_awk_var_regexp.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_var_regexp.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_variable_value_pairs
+@unnumberedsec ax_check_awk_variable_value_pairs
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_VARIABLE_VALUE_PAIRS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports variable=value pairs ($AWK '<PROGRAM>' var=val).
+If successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_variable_value_pairs.m4,latest
+version of @file{ax_check_awk_variable_value_pairs.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_variable_value_pairs.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_awk_xor
+@unnumberedsec ax_check_awk_xor
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_AWK_XOR([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Check if AWK supports xor() function. If successful execute
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_xor.m4,latest
+version of @file{ax_check_awk_xor.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_xor.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_class
+@unnumberedsec ax_check_class
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_CLASS
+@end smallexample
+
+@majorheading Description
+
+AX_CHECK_CLASS tests the existence of a given Java class, either in a
+jar or in a '.class' file.
+
+*Warning*: its success or failure can depend on a proper setting of the
+CLASSPATH env. variable.
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission. The
+general documentation, as well as the sample configure.in, is included
+in the AX_PROG_JAVA macro.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_class.m4,latest
+version of @file{ax_check_class.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_class.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Stephane Bortzmeyer @email{bortzmeyer@@pasteur.fr}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_classpath
+@unnumberedsec ax_check_classpath
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_CLASSPATH
+@end smallexample
+
+@majorheading Description
+
+AX_CHECK_CLASSPATH just displays the CLASSPATH, for the edification of
+the user.
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission. The
+general documentation, as well as the sample configure.in, is included
+in the AX_PROG_JAVA macro.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_classpath.m4,latest
+version of @file{ax_check_classpath.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_classpath.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Stephane Bortzmeyer @email{bortzmeyer@@pasteur.fr}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_compile_flag
+@unnumberedsec ax_check_compile_flag
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
+@end smallexample
+
+@majorheading Description
+
+Check whether the given FLAG works with the current language's compiler
+or gives an error. (Warnings, however, are ignored)
+
+ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
+success/failure.
+
+If EXTRA-FLAGS is defined, it is added to the current language's default
+flags (e.g. CFLAGS) when the check is done. The check is thus made with
+the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to
+force the compiler to issue an error when a bad flag is given.
+
+INPUT gives an alternative input source to AC_COMPILE_IFELSE.
+
+NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
+macro in sync with AX_CHECK_@{PREPROC,LINK@}_FLAG.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_compile_flag.m4,latest
+version of @file{ax_check_compile_flag.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_compile_flag.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}} @* @w{Copyright @copyright{} 2011 Maarten Bosmans @email{mkbosmans@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_define
+@unnumberedsec ax_check_define
+
+@majorheading Synopsis
+
+@smallexample
+AC_CHECK_DEFINE([symbol], [ACTION-IF-FOUND], [ACTION-IF-NOT])
+AX_CHECK_DEFINE([includes],[symbol], [ACTION-IF-FOUND], [ACTION-IF-NOT])
+@end smallexample
+
+@majorheading Description
+
+Complements AC_CHECK_FUNC but it does not check for a function but for a
+define to exist. Consider a usage like:
+
+@smallexample
+ AC_CHECK_DEFINE(__STRICT_ANSI__, CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500")
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_define.m4,latest
+version of @file{ax_check_define.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_define.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_docbook_dtd
+@unnumberedsec ax_check_docbook_dtd
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_DOCBOOK_DTD([dtd-version])
+@end smallexample
+
+@majorheading Description
+
+Check for access to a docbook DTD of a particular revision. This macro
+can be used for multiple versions within the same script.
+
+Input:
+
+$1 is the version of docbook to search for; default 'current'.
+
+Output:
+
+$HAVE_DOCBOOK_DTD_VERS will be set to 'yes' or 'no' depending on the
+results of the test, where VERS is $1, with '_' substituted for '.'
+$HAVE_DOCBOOK_DTD will also be set to the same value.
+
+Example:
+
+@smallexample
+ AX_CHECK_DOCBOOK_DTD(4.3)
+ if test "x$HAVE_DOCBOOK_DTD_4_3" = "xyes"; then
+ ...
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_docbook_dtd.m4,latest
+version of @file{ax_check_docbook_dtd.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_docbook_dtd.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Zmanda Inc. @email{http://www.zmanda.com/}} @* @w{Copyright @copyright{} 2008 Dustin J. Mitchell @email{dustin@@zmanda.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_docbook_xslt
+@unnumberedsec ax_check_docbook_xslt
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_DOCBOOK_XSLT([xslt-version])
+@end smallexample
+
+@majorheading Description
+
+Check for access to docbook stylesheets of a particular revision. This
+macro can be used for multiple versions within the same script.
+
+Input:
+
+$1 is the version of docbook to search for; default 'current'.
+
+Output:
+
+$HAVE_DOCBOOK_XSLT_VERS will be set to 'yes' or 'no' depending on the
+results of the test, where VERS is $1, with '_' substituted for '.'.
+$HAVE_DOCBOOK_XSLT will also be set to the same value.
+
+Example:
+
+@smallexample
+ AX_CHECK_DOCBOOK_XSLT(1.72.0)
+ if test "x$HAVE_DOCBOOK_XSLT_1_72_0" = "xyes"; then
+ ...
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_docbook_xslt.m4,latest
+version of @file{ax_check_docbook_xslt.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_docbook_xslt.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Zmanda Inc. @email{http://www.zmanda.com/}} @* @w{Copyright @copyright{} 2008 Dustin J. Mitchell @email{dustin@@zmanda.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_docbook_xslt_min
+@unnumberedsec ax_check_docbook_xslt_min
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_DOCBOOK_XSLT_MIN(min-xslt-version)
+@end smallexample
+
+@majorheading Description
+
+Check that the 'current' version of docbook is at least version
+min-xslt-version. If the test is successful,
+$DOCBOOK_XSLT_CURRENT_VERSION will be set to the current docbook
+version; if not, it will be set to 'no'.
+
+Example:
+
+@smallexample
+ AX_CHECK_DOCBOOK_XSLT_MIN(1.72.0)
+ if test "x$DOCBOOK_XSLT_CURRENT_VERSION" = "xno"; then
+ ...
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_docbook_xslt_min.m4,latest
+version of @file{ax_check_docbook_xslt_min.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_docbook_xslt_min.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Zmanda Inc. @email{http://www.zmanda.com/}} @* @w{Copyright @copyright{} 2008 Dustin J. Mitchell @email{dustin@@zmanda.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_dos_filesys
+@unnumberedsec ax_check_dos_filesys
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_DOS_FILESYS_LIMITATIONS
+@end smallexample
+
+@majorheading Description
+
+Check if the target is running on DOS. DOS doesn't allow a dot as the
+first character, more than one dot, more than eight characters before a
+dot, and just three letters after the dot. A DOS VM running under
+Windows 9X does not have these restrictions. A DOS program can be
+running in either environment, so its important to code accordingly.
+Defines HAVE_DOS_FILESYS_LIMITATIONS if under DOS.
+
+Use in conjunction with AX_CHECK_PATHNAME_STYLE_DOS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_dos_filesys.m4,latest
+version of @file{ax_check_dos_filesys.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_dos_filesys.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Mark Elbrecht}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_enable_debug
+@unnumberedsec ax_check_enable_debug
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_ENABLE_DEBUG([enable by default=yes/info/profile/no], [ENABLE DEBUG VARIABLES ...], [DISABLE DEBUG VARIABLES NDEBUG ...], [IS-RELEASE])
+@end smallexample
+
+@majorheading Description
+
+Check for the presence of an --enable-debug option to configure, with
+the specified default value used when the option is not present. Return
+the value in the variable $ax_enable_debug.
+
+Specifying 'yes' adds '-g -O0' to the compilation flags for all
+languages. Specifying 'info' adds '-g' to the compilation flags.
+Specifying 'profile' adds '-g -pg' to the compilation flags and '-pg' to
+the linking flags. Otherwise, nothing is added.
+
+Define the variables listed in the second argument if debug is enabled,
+defaulting to no variables. Defines the variables listed in the third
+argument if debug is disabled, defaulting to NDEBUG. All lists of
+variables should be space-separated.
+
+If debug is not enabled, ensure AC_PROG_* will not add debugging flags.
+Should be invoked prior to any AC_PROG_* compiler checks.
+
+IS-RELEASE can be used to change the default to 'no' when making a
+release. Set IS-RELEASE to 'yes' or 'no' as appropriate. By default, it
+uses the value of $ax_is_release, so if you are using the AX_IS_RELEASE
+macro, there is no need to pass this parameter.
+
+@smallexample
+ AX_IS_RELEASE([git-directory])
+ AX_CHECK_ENABLE_DEBUG()
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_enable_debug.m4,latest
+version of @file{ax_check_enable_debug.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_enable_debug.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2011 Rhys Ulerich @email{rhys.ulerich@@gmail.com}} @* @w{Copyright @copyright{} 2014, 2015 Philip Withnall @email{philip@@tecnocode.co.uk}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved.
--- /dev/null
+@node ax_check_func_in
+@unnumberedsec ax_check_func_in
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_FUNC_IN(HEADER, FUNCTION [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+Checking for library functions in a given header file.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_func_in.m4,latest
+version of @file{ax_check_func_in.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_func_in.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_gd
+@unnumberedsec ax_check_gd
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_GD
+@end smallexample
+
+@majorheading Description
+
+Check for the gd library. (See http://www.boutell.com/gd/) If gd is
+found, the output variables GD_CFLAGS, GD_LDFLAGS and GD_LIBS will
+contain the compiler flags, linker flags and libraries necessary to use
+gd; otherwise, those variables will be empty. In addition, the symbol
+HAVE_GD is defined if the library is found, and the symbols HAVE_GD_GIF,
+HAVE_GD_JPEG and HAVE_GD_PNG are defined if the library supports
+creating images in gif, jpeg and png formats, respectively.
+
+The user may use --with-gd=no or --without-gd to skip checking for the
+library. (The default is --with-gd=yes.) If the library is installed in
+an unusual location, --with-gd=DIR will cause the macro to look for
+gdlib-config in DIR/bin or, failing that, for the headers and libraries
+in DIR/include and DIR/lib.
+
+Feedback welcome!
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gd.m4,latest
+version of @file{ax_check_gd.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gd.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Nick Markham @email{markhn@@rpi.edu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_gir_symbols_gjs
+@unnumberedsec ax_check_gir_symbols_gjs
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_GIR_SYMBOLS_GJS(MODULE, APIVERSION, SYMBOLS)
+@end smallexample
+
+@majorheading Description
+
+Check that each symbol from the whitespace-separated list of $SYMBOLS is
+defined inside the GObject Introspection module $MODULE with API version
+$APIVERSION, and is importable in GJS, GNOME's JavaScript engine
+(https://wiki.gnome.org/Projects/Gjs).
+
+GObject Introspection
+(https://wiki.gnome.org/Projects/GObjectIntrospection) is a tool for
+generating bindings from C libraries to higher-level languages. The
+bindings live in a GObject Introspection repository (GIR) file, which is
+what this macro checks.
+
+Note that for the purposes of GObject Introspection, the API version is
+different from the release version. For example, GTK currently has API
+version 3.0, but that could mean any release from the 3.0, 3.2, 3.4,...
+series.
+
+Example:
+
+@smallexample
+ AX_CHECK_GIR_SYMBOLS_GJS([Gtk], [3.0], [ListBox FlowBox
+ Widget.get_action_group])
+@end smallexample
+
+NOTE: This macro depends on AX_PROG_GJS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gir_symbols_gjs.m4,latest
+version of @file{ax_check_gir_symbols_gjs.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gir_symbols_gjs.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2013, 2016 Endless Mobile, Inc.; contributed by Philip Chimento @email{philip@@endlessm.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_girs_gjs
+@unnumberedsec ax_check_girs_gjs
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_GIRS_GJS(MODULE, API_VERSION [, MODULE, API_VERSION...])
+@end smallexample
+
+@majorheading Description
+
+Check that the GObject Introspection module $MODULE is importable in GJS
+(GNOME's JavaScript engine, https://wiki.gnome.org/Projects/Gjs). The
+API version must be $API_VERSION.
+
+GObject Introspection
+(https://wiki.gnome.org/Projects/GObjectIntrospection) is a tool for
+generating bindings from C libraries to higher-level languages. The
+bindings live in a GObject Introspection repository (GIR) file, which is
+what this macro checks.
+
+Note that for the purposes of GObject Introspection, the API version is
+different from the release version. For example, GTK currently has API
+version 3.0, but that could mean any release from the 3.0, 3.2, 3.4,...
+series. To check for specific API that was added in a later version, use
+AX_CHECK_GIR_SYMBOLS_GJS.
+
+Example:
+
+@smallexample
+ AX_CHECK_GIRS_GJS([Gdk], [3.0],
+ [Gtk], [3.0])
+@end smallexample
+
+NOTE: This macro depends on AX_PROG_GJS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_girs_gjs.m4,latest
+version of @file{ax_check_girs_gjs.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_girs_gjs.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2013, 2016 Endless Mobile, Inc.; contributed by Philip Chimento @email{philip@@endlessm.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_gl
+@unnumberedsec ax_check_gl
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_GL([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+Checks for an OpenGL implementation. If a valid OpenGL implementation is
+found, this macro would set C preprocessor symbol HAVE_GL to 1.
+
+If either a valid OpenGL header or library was not found, by default the
+configuration would exits on error. This behavior can be overwritten by
+providing a custom "ACTION-IF-NOT-FOUND" hook.
+
+If the header, library was found, and been tested for compiling and
+linking the configuration would export the required compiler flags to
+"GL_CFLAGS" and "GL_LIBS". These two variables can also be overwritten
+by user from the command line if they want to link against the library
+they specified instead of having the configuration script to detect the
+flags automatically. Note that having "GL_CFLAGS" or "GL_LIBS" set
+doesn't mean it can compile or link with the flags, since it could be
+overwritten by user. However the "HAVE_GL" symbol and "ACTION-IF-FOUND"
+hook is always guaranteed to reflect a valid OpenGL implementation.
+
+If user didn't specify the "ACTION-IF-FOUND" hook, the configuration
+would prepend "GL_CFLAGS" and "GL_LIBS" to "CFLAGS" and "LIBS", like
+many other autoconf macros do.
+
+OpenGL is one of the libraries that has different header names on
+different platforms. This macro does the header detection, and will
+export the following symbol: "HAVE_GL_GL_H" for having "GL/gl.h" or
+"HAVE_OPENGL_GL_H" for having "OpenGL/gl.h". To write a portable OpenGL
+code, you should include OpenGL header like so:
+
+@smallexample
+ #if defined(HAVE_WINDOWS_H) && defined(_WIN32)
+ # include <windows.h>
+ #endif
+ #ifdef HAVE_GL_GL_H
+ # include <GL/gl.h>
+ #elif defined(HAVE_OPENGL_GL_H)
+ # include <OpenGL/gl.h>
+ #else
+ # error no gl.h
+ #endif
+@end smallexample
+
+On the OSX platform, there's two possible OpenGL implementation. One is
+the OpenGL that ships with OSX, the other comes with X11/XQuartz
+(http://www.xquartz.org). To use the xquartz variant, user can use the
+option --with-xquartz-gl[=path to xquartz root]. By default the
+configuration will check "/opt/X11", which is the default X11 install
+location on OSX.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gl.m4,latest
+version of @file{ax_check_gl.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gl.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Braden McDaniel @email{braden@@endoframe.com}} @* @w{Copyright @copyright{} 2012 Bastien Roucaries @email{roucaries.bastien+autoconf@@gmail.com}} @* @w{Copyright @copyright{} 2016 Felix Chern @email{idryman@@gmail.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_glu
+@unnumberedsec ax_check_glu
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_GLU([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+Checks for GLUT. If a valid GLU implementation is found, the configure
+script would export the C preprocessor symbol "HAVE_GLU=1".
+
+If either a valid GLU header or library was not found, by default the
+configure script would exit on error. This behavior can be overwritten
+by providing a custom "ACTION-IF-NOT-FOUND" hook.
+
+If the header, library was found, and been tested for compiling and
+linking the configuration would export the required compiler flags to
+"GLU_CFLAGS" and "GLU_LIBS" environment variables. These two variables
+can also be overwritten by defining the environment variables before
+executing the configure program. If it was predefined, configure would
+not try to overwrite it, but it would still perform the compile and link
+test. Only when the tests succeeded does the configure script to export
+"HAVE_GLU=1" and to run "ACTION-IF-FOUND" hook.
+
+If user didn't specify the "ACTION-IF-FOUND" hook, the configuration
+would prepend "GLU_CFLAGS" and "GLU_LIBS" to "CFLAGS" and "LIBS", like
+many other autoconf macros do.
+
+If the header "GL/glu.h" is found, "HAVE_GL_GLU_H" is defined. If the
+header "OpenGL/glu.h" is found, HAVE_OPENGL_GLU_H is defined.
+
+You should use something like this in your headers:
+
+@smallexample
+ # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
+ # include <windows.h>
+ # endif
+ # if defined(HAVE_GL_GLU_H)
+ # include <GL/glu.h>
+ # elif defined(HAVE_OPENGL_GLU_H)
+ # include <OpenGL/glu.h>
+ # else
+ # error no glu.h
+ # endif
+@end smallexample
+
+On the OSX platform, you can use the option --with-xquartz-gl to use
+X11/Xquartz GLU implementation instead of the system built in GLU
+framework.
+
+Some implementations (in particular, some versions of Mac OS X) are
+known to treat the GLU tesselator callback function type as "GLvoid
+(*)(...)" rather than the standard "GLvoid (*)()". If the former
+condition is detected, this macro defines "HAVE_VARARGS_GLU_TESSCB".
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_glu.m4,latest
+version of @file{ax_check_glu.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_glu.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Braden McDaniel @email{braden@@endoframe.com}} @* @w{Copyright @copyright{} 2013 Bastien Roucaries @email{roucaries.bastien+autoconf@@gmail.com}} @* @w{Copyright @copyright{} 2016 Felix Chern @email{idryman@@gmail.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_glut
+@unnumberedsec ax_check_glut
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_GLUT([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+Checks for GLUT. If a valid GLUT implementation is found, the configure
+script would export the C preprocessor symbol "HAVE_GLUT=1".
+
+If either a valid GLUT header or library was not found, by default the
+configure script would exit on error. This behavior can be overwritten
+by providing a custom "ACTION-IF-NOT-FOUND" hook.
+
+If the header, library was found, and been tested for compiling and
+linking the configuration would export the required compiler flags to
+"GLUT_CFLAGS" and "GLUT_LIBS" environment variables. These two variables
+can also be overwritten by defining the environment variables before
+executing the configure program. If it was predefined, configure would
+not try to overwrite it, but it would still perform the compile and link
+test. Only when the tests succeeded does the configure script to export
+"HAVE_GLUT=1" and to run "ACTION-IF-FOUND" hook.
+
+If user didn't specify the "ACTION-IF-FOUND" hook, the configuration
+would prepend "GLUT_CFLAGS" and "GLUT_LIBS" to "CFLAGS" and "LIBS", like
+many other autoconf macros do.
+
+If the header "GL/glut.h" is found, "HAVE_GL_GLUT_H" is defined. If the
+header "GLUT/glut.h" is found, HAVE_GLUT_GLUT_H is defined.
+
+You should use something like this in your headers:
+
+@smallexample
+ # if HAVE_WINDOWS_H && defined(_WIN32)
+ # include <windows.h>
+ # endif
+ # if defined(HAVE_GL_GLUT_H)
+ # include <GL/glut.h>
+ # elif defined(HAVE_GLUT_GLUT_H)
+ # include <GLUT/glut.h>
+ # else
+ # error no glut.h
+ # endif
+@end smallexample
+
+On the OSX platform, you can use the option --with-xquartz-gl to use
+X11/Xquartz GLUT implementation instead of the system built in GLUT
+framework.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_glut.m4,latest
+version of @file{ax_check_glut.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_glut.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Braden McDaniel @email{braden@@endoframe.com}} @* @w{Copyright @copyright{} 2013 Bastien Roucaries @email{roucaries.bastien+autoconf@@gmail.com}} @* @w{Copyright @copyright{} 2016 Felix Chern @email{idryman@@gmail.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_glx
+@unnumberedsec ax_check_glx
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_GLX
+@end smallexample
+
+@majorheading Description
+
+Check for GLX. If GLX is found, the required preprocessor and linker
+flags are included in the output variables "GLX_CFLAGS" and "GLX_LIBS",
+respectively. If no GLX implementation is found, "no_glx" is set to
+"yes".
+
+If the header "GL/glx.h" is found, "HAVE_GL_GLX_H" is defined. If the
+header "OpenGL/glx.h" is found, HAVE_OPENGL_GLX_H is defined. These
+preprocessor definitions may not be mutually exclusive.
+
+You should use something like this in your headers:
+
+@smallexample
+ # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
+ # include <windows.h>
+ # endif
+ # if defined(HAVE_GL_GLX_H)
+ # include <GL/glx.h>
+ # elif defined(HAVE_OPENGL_GLX_H)
+ # include <OpenGL/glx.h>
+ # else
+ # error no glx.h
+ # endif
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_glx.m4,latest
+version of @file{ax_check_glx.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_glx.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Braden McDaniel @email{braden@@endoframe.com}} @* @w{Copyright @copyright{} 2013-2014 Bastien Roucaries @email{roucaries.bastien+autoconf@@gmail.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_gnu_make
+@unnumberedsec ax_check_gnu_make
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_GNU_MAKE([run-if-true],[run-if-false])
+@end smallexample
+
+@majorheading Description
+
+This macro searches for a GNU version of make. If a match is found:
+
+@smallexample
+ * The makefile variable `ifGNUmake' is set to the empty string, otherwise
+ it is set to "#". This is useful for including a special features in a
+ Makefile, which cannot be handled by other versions of make.
+ * The makefile variable `ifnGNUmake' is set to #, otherwise
+ it is set to the empty string. This is useful for including a special
+ features in a Makefile, which can be handled
+ by other versions of make or to specify else like clause.
+ * The variable `_cv_gnu_make_command` is set to the command to invoke
+ GNU make if it exists, the empty string otherwise.
+ * The variable `ax_cv_gnu_make_command` is set to the command to invoke
+ GNU make by copying `_cv_gnu_make_command`, otherwise it is unset.
+ * If GNU Make is found, its version is extracted from the output of
+ `make --version` as the last field of a record of space-separated
+ columns and saved into the variable `ax_check_gnu_make_version`.
+ * Additionally if GNU Make is found, run shell code run-if-true
+ else run shell code run-if-false.
+@end smallexample
+
+Here is an example of its use:
+
+Makefile.in might contain:
+
+@smallexample
+ # A failsafe way of putting a dependency rule into a makefile
+ $(DEPEND):
+ $(CC) -MM $(srcdir)/*.c > $(DEPEND)
+@end smallexample
+
+@smallexample
+ @@ifGNUmake@@ ifeq ($(DEPEND),$(wildcard $(DEPEND)))
+ @@ifGNUmake@@ include $(DEPEND)
+ @@ifGNUmake@@ else
+ fallback code
+ @@ifGNUmake@@ endif
+@end smallexample
+
+Then configure.in would normally contain:
+
+@smallexample
+ AX_CHECK_GNU_MAKE()
+ AC_OUTPUT(Makefile)
+@end smallexample
+
+Then perhaps to cause gnu make to override any other make, we could do
+something like this (note that GNU make always looks for GNUmakefile
+first):
+
+@smallexample
+ if ! test x$_cv_gnu_make_command = x ; then
+ mv Makefile GNUmakefile
+ echo .DEFAULT: > Makefile ;
+ echo \ $_cv_gnu_make_command \$@@ >> Makefile;
+ fi
+@end smallexample
+
+Then, if any (well almost any) other make is called, and GNU make also
+exists, then the other make wraps the GNU make.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gnu_make.m4,latest
+version of @file{ax_check_gnu_make.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gnu_make.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 John Darrington @email{j.darrington@@elvis.murdoch.edu.au}} @* @w{Copyright @copyright{} 2015 Enrico M. Crisostomo @email{enrico.m.crisostomo@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_icu
+@unnumberedsec ax_check_icu
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_ICU(version, action-if, action-if-not)
+@end smallexample
+
+@majorheading Description
+
+Defines ICU_LIBS, ICU_CFLAGS, ICU_CXXFLAGS. See icu-config(1) man page.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_icu.m4,latest
+version of @file{ax_check_icu.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_icu.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Akos Maroy @email{darkeye@@tyrell.hu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_java_home
+@unnumberedsec ax_check_java_home
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_JAVA_HOME
+@end smallexample
+
+@majorheading Description
+
+Check for Sun Java (JDK / JRE) installation, where the 'java' VM is in.
+If found, set environment variable JAVA_HOME = Java installation home,
+else left JAVA_HOME untouch, which in most case means JAVA_HOME is
+empty.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_java_home.m4,latest
+version of @file{ax_check_java_home.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_java_home.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Gleen Salmon @email{gleensalmon@@yahoo.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_java_plugin
+@unnumberedsec ax_check_java_plugin
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_JAVA_PLUGIN(<shell-variable>)
+@end smallexample
+
+@majorheading Description
+
+This macro sets <shell-variable> to empty on failure and to a compatible
+version of plugin.jar otherwise. Directories searched are /usr/java/*
+and /usr/local/java/*, which are assumed to be j@{dk,re@} installations.
+Apply the shell variable as you see fit. If sun changes things so
+<jre>/lib/plugin.jar is not the magic file it will stop working.
+
+This macro assumes that unzip, zipinfo or pkzipc is available (and can
+list the contents of the jar archive). The first two are assumed to work
+similarly enough to the infozip versions. The pkzipc version is assumed
+to work if I understand the documentation on pkware's site but YMMV. I
+do not have access to pwkware's version to test it.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_java_plugin.m4,latest
+version of @file{ax_check_java_plugin.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_java_plugin.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Duncan Simpson @email{dps@@simpson.demon.co.uk}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_junit
+@unnumberedsec ax_check_junit
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_JUNIT
+@end smallexample
+
+@majorheading Description
+
+AX_CHECK_JUNIT tests the availability of the Junit testing framework,
+and set some variables for conditional compilation of the test suite by
+automake.
+
+If available, JUNIT is set to a command launching the text based user
+interface of Junit, @@JAVA_JUNIT@@ is set to $JAVA_JUNIT and @@TESTS_JUNIT@@
+is set to $TESTS_JUNIT, otherwise they are set to empty values.
+
+You can use these variables in your Makefile.am file like this :
+
+@smallexample
+ # Some of the following classes are built only if junit is available
+ JAVA_JUNIT = Class1Test.java Class2Test.java AllJunitTests.java
+@end smallexample
+
+@smallexample
+ noinst_JAVA = Example1.java Example2.java @@JAVA_JUNIT@@
+@end smallexample
+
+@smallexample
+ EXTRA_JAVA = $(JAVA_JUNIT)
+@end smallexample
+
+@smallexample
+ TESTS_JUNIT = AllJunitTests
+@end smallexample
+
+@smallexample
+ TESTS = StandaloneTest1 StandaloneTest2 @@TESTS_JUNIT@@
+@end smallexample
+
+@smallexample
+ EXTRA_TESTS = $(TESTS_JUNIT)
+@end smallexample
+
+@smallexample
+ AllJunitTests :
+ echo "#! /bin/sh" > $@@
+ echo "exec @@JUNIT@@ my.package.name.AllJunitTests" >> $@@
+ chmod +x $@@
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_junit.m4,latest
+version of @file{ax_check_junit.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_junit.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_library
+@unnumberedsec ax_check_library
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_LIBRARY(VARIABLE-PREFIX, HEADER-FILE, LIBRARY-FILE,
+ [ACTION-IF-FOUND], [ACTION-IF-NOT_FOUND])
+@end smallexample
+
+@majorheading Description
+
+Provides a generic test for a given library, similar in concept to the
+PKG_CHECK_MODULES macro used by pkg-config.
+
+Most simplest libraries can be checked against simply through the
+presence of a header file and a library to link to. This macro allows to
+wrap around the test so that it doesn't have to be recreated each time.
+
+Rather than define --with-$LIBRARY arguments, it uses variables in the
+same way that PKG_CHECK_MODULES does. It doesn't, though, use the same
+names, since you shouldn't provide a value for LIBS or CFLAGS but rather
+for LDFLAGS and CPPFLAGS, to tell the linker and compiler where to find
+libraries and headers respectively.
+
+If the library is find, HAVE_PREFIX is defined, and in all cases
+PREFIX_LDFLAGS and PREFIX_CPPFLAGS are substituted.
+
+Example:
+
+@smallexample
+ AX_CHECK_LIBRARY([LIBEVENT], [event.h], [event], [],
+ [AC_MSG_ERROR([Unable to find libevent])])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_library.m4,latest
+version of @file{ax_check_library.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_library.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2010 Diego Elio Petteno` @email{flameeyes@@gmail.com}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_link_flag
+@unnumberedsec ax_check_link_flag
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_LINK_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
+@end smallexample
+
+@majorheading Description
+
+Check whether the given FLAG works with the linker or gives an error.
+(Warnings, however, are ignored)
+
+ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
+success/failure.
+
+If EXTRA-FLAGS is defined, it is added to the linker's default flags
+when the check is done. The check is thus made with the flags: "LDFLAGS
+EXTRA-FLAGS FLAG". This can for example be used to force the linker to
+issue an error when a bad flag is given.
+
+INPUT gives an alternative input source to AC_LINK_IFELSE.
+
+NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
+macro in sync with AX_CHECK_@{PREPROC,COMPILE@}_FLAG.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_link_flag.m4,latest
+version of @file{ax_check_link_flag.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_link_flag.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}} @* @w{Copyright @copyright{} 2011 Maarten Bosmans @email{mkbosmans@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_mysql
+@unnumberedsec ax_check_mysql
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_MYSQL([MYSQL-PLUGIN-NEEDED],[MYSQL-REQUIRED],[MINIMUM-VERSION],[INCLUDES-REQUIRED])
+AX_SOURCE_MYSQL()
+AX_CHECK_MYSQL_INSTALL([ROOT-DIR],[IF-FOUND],[IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+Looks for a MySQL installation in typical locations, or can take in a
+flag designating where a MySQL installation is found. Sets the variables
+stated to various attributes of the desired MySQL installation.
+
+In detail, AX_CHECK_MYSQL will automatically look for a MySQL
+installation in the directories that a mysql source or binary install
+typically install to. AX_CHECK_MYSQL will throw an error if it cannot
+find one, and it is required.
+
+AX_CHECK_MYSQL can also check for specific variables passed regarding a
+location of a MySQL installation.
+
+If a MySQL installation is found, AX_CHECK_MYSQL sets variables
+regarding the version of MySQL, its architecture (32 or 64 bit), and
+whether the version supports Plugins.
+
+AX_CHECK_MYSQL_INSTALL will check a designated root directory for a
+command, plugin, and include directory. If a mysql binary is not found
+or not found, the IF-FOUND and IF-NOT-FOUND directive will be executed,
+respectively.
+
+AX_CHECK_MYSQL adds the following flags:
+
+@smallexample
+ --with-mysql, for the root of a desired MySQL installation
+ --with-mysql-plugin, for the path to the plugin directory of the MySQL installation
+ --with-mysql-include, for the path to the include directory of the MySQL installation
+ --with-mysql-command, for the path to the binary directory of the MySQL installation
+ --with-mysql-source, for the path to a directory containing the source of the MySQL installation
+@end smallexample
+
+AX_CHECK_MYSQL sets:
+
+@smallexample
+ MYSQL to indicate whether MySQL was found or not
+ MYSQL_INCLUDES to the include directory (if one exists)
+ MYSQL_PLUGINS to the plugin directory
+ MYSQL_COMMANDS to the mysql executable directory
+ MYSQL_ARCHITECTURE to whether MySQL is 32 or 64 bit (32 if 32, 64 if 64)
+ MYSQL_VERSION to what the MySQL version is (5.1,5.5, etc)
+ MYSQL_PLUGIN_OK to whether MySQL version supports plugins (5.1 or greater)
+ MYSQL_55 to whether the version of MySQL is 5.5 or greater
+ MYSQL_SOURCE to the source directory passed by --with-mysql-source
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_mysql.m4,latest
+version of @file{ax_check_mysql.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_mysql.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2011 University of Washington} @* @w{Copyright @copyright{} 2011 Yusuke Tsutsumi @email{tsutsumi.yusuke@@gmail.com}} @* @w{Copyright @copyright{} 2011 Craig Stimmel @email{cstimmel@@uw.edu}} @* @w{Copyright @copyright{} 2011 Eric Wu}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_mysql_db
+@unnumberedsec ax_check_mysql_db
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_MYSQL_DB
+@end smallexample
+
+@majorheading Description
+
+Check if the specified MySQL database exists, if yes set your
+environment variable to that database name else unset your environment
+variable
+
+Example:
+
+@smallexample
+ AX_CHECK_MYSQL_DB(DBNAME, [fishmarket])
+ if test x$DBNAME = xfishmarket; then
+ bla..bla..bla..
+ else
+ bla..bla..bla..
+ fi
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_mysql_db.m4,latest
+version of @file{ax_check_mysql_db.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_mysql_db.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Gleen Salmon @email{gleensalmon@@yahoo.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_mysqlr
+@unnumberedsec ax_check_mysqlr
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_MYSQLR
+@end smallexample
+
+@majorheading Description
+
+First check if mysqlconfig exists. It fails if mysqlconfig is not in
+path. Then it checks for the libraries and replaces -lmysqlclient
+statement with -lmysqlclient_r statement, to enable threaded client
+library.
+
+The following are exported environment variables:
+
+@smallexample
+ MYSQL_LIBS
+ MYSQL_CFLAGS
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_mysqlr.m4,latest
+version of @file{ax_check_mysqlr.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_mysqlr.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Can Bican @email{bican@@yahoo.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_off64_t
+@unnumberedsec ax_check_off64_t
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_OFF64_T
+@end smallexample
+
+@majorheading Description
+
+Check if off64_t is defined. On true define HAVE_OFF64_T, also define
+__LARGEFILE64_SOURCE where one is needed. (Note that an appropriative
+entry must be in config.h.in.)
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_off64_t.m4,latest
+version of @file{ax_check_off64_t.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_off64_t.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Ruslan Shevchenko @email{Ruslan@@Shevchenko.Kiev.UA}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_openssl
+@unnumberedsec ax_check_openssl
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_OPENSSL([action-if-found[, action-if-not-found]])
+@end smallexample
+
+@majorheading Description
+
+Look for OpenSSL in a number of default spots, or in a user-selected
+spot (via --with-openssl). Sets
+
+@smallexample
+ OPENSSL_INCLUDES to the include directives required
+ OPENSSL_LIBS to the -l directives required
+ OPENSSL_LDFLAGS to the -L or -R flags required
+@end smallexample
+
+and calls ACTION-IF-FOUND or ACTION-IF-NOT-FOUND appropriately
+
+This macro sets OPENSSL_INCLUDES such that source files should use the
+openssl/ directory in include directives:
+
+@smallexample
+ #include <openssl/hmac.h>
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_openssl.m4,latest
+version of @file{ax_check_openssl.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_openssl.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009,2010 Zmanda Inc. @email{http://www.zmanda.com/}} @* @w{Copyright @copyright{} 2009,2010 Dustin J. Mitchell @email{dustin@@zmanda.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_page_aligned_malloc
+@unnumberedsec ax_check_page_aligned_malloc
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_PAGE_ALIGNED_MALLOC
+@end smallexample
+
+@majorheading Description
+
+Some operating systems (generally, BSD Unix variants) lack a
+posix_memalign function, a memalign function, and a working (meaning,
+the memory can be freed) valloc function. To make up for it, the malloc
+function promises to return page-aligned addresses if more than one
+page's worth of memory is allocated. AX_CHECK_PAGE_ALIGNED_MALLOC checks
+for this condition and defines HAVE_PAGE_ALIGNED_MALLOC if the condition
+holds.
+
+As an aside, note that valloc'd memory cannot safely be freed on all
+operating systems. (Again, some flavors of BSD are the troublemakers.)
+It's best to avoid using valloc in favor of posix_memalign, memalign, or
+an aligned malloc as detected by AX_CHECK_PAGE_ALIGNED_MALLOC.
+
+Caveat: AX_CHECK_PAGE_ALIGNED_MALLOC takes a probabilistic approach. If
+100 calls to malloc all return page-aligned addresses, it assumes that
+all calls will behave likewise. It is therefore possible -- albeit
+extremely unlikely -- that AX_CHECK_PAGE_ALIGNED_MALLOC can return a
+false positive.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_page_aligned_malloc.m4,latest
+version of @file{ax_check_page_aligned_malloc.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_page_aligned_malloc.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Scott Pakin @email{pakin@@uiuc.edu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_pathfind
+@unnumberedsec ax_check_pathfind
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_PATHFIND
+@end smallexample
+
+@majorheading Description
+
+Not all systems have pathfind(3). See if we need to substitute. To make
+this work, you have to do horrible things. See the doc for
+AX_CHECK_STRCSPN.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_pathfind.m4,latest
+version of @file{ax_check_pathfind.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_pathfind.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Bruce Korb @email{bkorb@@gnu.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_pathname_style
+@unnumberedsec ax_check_pathname_style
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_PATHNAME_STYLE_DOS
+@end smallexample
+
+@majorheading Description
+
+Check if host OS uses DOS-style pathnames. This includes the use of
+drive letters and backslashes. Under DOS, Windows, and OS/2, defines
+HAVE_PATHNAME_STYLE_DOS and PATH_SEPARATOR to ';'. Otherwise, defines
+PATH_SEPARATOR to ':'.
+
+This macro depends on the AC_CANONICAL_HOST.
+
+Use for enabling code to handle drive letters, backslashes in filenames
+and semicolons in the PATH.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_pathname_style.m4,latest
+version of @file{ax_check_pathname_style.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_pathname_style.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Mark Elbrecht}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_pcre2
+@unnumberedsec ax_check_pcre2
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_PCRE2([bits], [action-if-found], [action-if-not-found])
+@end smallexample
+
+@majorheading Description
+
+Search for an installed libpcre2-8 library. If nothing was specified
+when calling configure, it searches first in /usr/local and then in
+/usr, /opt/local and /sw. If the --with-pcre2=DIR is specified, it will
+try to find it in DIR/include/pcre2.h and DIR/lib/libpcre2-8. If
+--without-pcre2 is specified, the library is not searched at all.
+
+If 'bits' is empty or '8', PCRE2 8-bit character support is checked
+only. If 'bits' contains '16', PCRE2 8-bit and 16-bit character support
+are checked. If 'bits' contains '32', PCRE2 8-bit and 32-bit character
+support are checked. When 'bits' contains both '16' and '32', PCRE2
+8-bit, 16-bit, and 32-bit character support is checked.
+
+If either the header file (pcre2.h), or the library (libpcre2-8) is not
+found, or the specified PCRE2 character bit width is not supported,
+shell commands 'action-if-not-found' is run. If 'action-if-not-found' is
+not specified, the configuration exits on error, asking for a valid
+PCRE2 installation directory or --without-pcre2.
+
+If both header file and library are found, and the specified PCRE2 bit
+widths are supported, shell commands 'action-if-found' is run. If
+'action-if-found' is not specified, the default action appends
+'-I$@{PCRE2_HOME@}/include' to CPFLAGS, appends '-L$PCRE2_HOME@}/lib' to
+LDFLAGS, prepends '-lpcre2-8' to LIBS, and calls AC_DEFINE(HAVE_PCRE2).
+You should use autoheader to include a definition for this symbol in a
+config.h file. Sample usage in a C/C++ source is as follows:
+
+@smallexample
+ #ifdef HAVE_PCRE2
+ #define PCRE2_CODE_UNIT_WIDTH 8
+ #include <pcre2.h>
+ #endif /* HAVE_PCRE2 */
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_pcre2.m4,latest
+version of @file{ax_check_pcre2.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_pcre2.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2020 Robert van Engelen @email{engelen@@acm.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_pgsql_db
+@unnumberedsec ax_check_pgsql_db
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_PGSQL_DB([DB], [USER], [HOST], [PASSWORD], [ACTION_IF_FAILED], [ACTION_IF_OK])
+@end smallexample
+
+@majorheading Description
+
+This macro checks whether we can connect to a PostgreSQL server with the
+given data. The macro AX_PROG_PGCLIENT is required by this one. The
+variable $pgclient_call is set for later use in Makefiles, if you'd like
+to make use of this, you must do
+
+@smallexample
+ AC_SUBST(pgclient_call)
+@end smallexample
+
+after having called AX_CHECK_PGSQL_DB. You can then do something like
+the following in your Makefile.am:
+
+@smallexample
+ @@pgclient_call@@ -f file.sql
+@end smallexample
+
+If you want the user to set the data, you should support something like
+these configure options:
+
+@smallexample
+ AC_ARG_WITH(pgsql-host,
+ [ --with-pgsql-host=HOST server is running on HOST @@<:@@local socket@@:>@@],
+ [pg_host=$withval], [pg_host=])
+@end smallexample
+
+@smallexample
+ AC_ARG_WITH(pgsql-db,
+ [ --with-pgsql-db=DATABASE use DATABASE @@<:@@tarantoola@@:>@@],
+ [pg_db=$withval], [pg_db=tarantoola])
+@end smallexample
+
+@smallexample
+ AC_ARG_WITH(pgsql-user,
+ [ --with-pgsql-user=USER use USER @@<:@@postgres@@:>@@],
+ [pg_user=$withval], [pg_user=postgres])
+@end smallexample
+
+@smallexample
+ AC_ARG_WITH(pgsql-password,
+ [ --with-pgsql-password=PASSWORD use PASSWORD @@<:@@none@@:>@@],
+ [pg_password=$withval], [pg_password=""])
+@end smallexample
+
+You can then call the macro like this:
+
+@smallexample
+ AX_CHECK_PGSQL_DB([$pg_db], [$pg_user], [$pg_host], [$pg_password], [AC_MSG_ERROR([We need a database connection!])])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_pgsql_db.m4,latest
+version of @file{ax_check_pgsql_db.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_pgsql_db.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Moritz Sinn @email{moritz@@freesources.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_posix_regcomp
+@unnumberedsec ax_check_posix_regcomp
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_POSIX_REGCOMP
+@end smallexample
+
+@majorheading Description
+
+Check that the POSIX compliant regular expression compiler is available
+in the POSIX specified manner, and it works. If it fails, we have a
+backup -- use gnu-regex.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_posix_regcomp.m4,latest
+version of @file{ax_check_posix_regcomp.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_posix_regcomp.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Bruce Korb @email{bkorb@@gnu.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_posix_sysinfo
+@unnumberedsec ax_check_posix_sysinfo
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_POSIX_SYSINFO
+@end smallexample
+
+@majorheading Description
+
+Check that the POSIX compliant sysinfo(2) call works properly. Linux has
+its own weirdo alternative.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_posix_sysinfo.m4,latest
+version of @file{ax_check_posix_sysinfo.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_posix_sysinfo.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Bruce Korb @email{bkorb@@gnu.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_postgres_db
+@unnumberedsec ax_check_postgres_db
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_POSTGRES_DB([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+This macro tries to find the headers and libraries for the PostgreSQL
+database to build client applications.
+
+If includes are found, the variable PQINCPATH will be set, and
+have_pqinc will be 'yes'. If libraries are found, the variable PQLIBPATH
+will be set, and have_pqlib will be 'yes'. If both PQINCPATH and
+PQLIBPATH are found, HAVE_LIBPQ will be set to 'yes' (and AC_DEFINEd),
+and -lpq will be added to the beginning of LIBS. If their respective
+conditions are not met, have_pqinc, have_pqlib, HAVE_LIBPQ, will be
+'no'.
+
+This macro does fails if either the headers or the library are not
+found, unless ACTION-IF-NOT-FOUND is not empty. When both are found,
+ACTION-IF-FOUND, if defined, is executed after the variables have been
+defined. If --with-pgsql=no (or equivalents) is given, nothing happens.
+
+An automake conditional can be subsequently defined as
+
+@smallexample
+ AM_CONDITIONAL([HAVE_LIBPQ], [test x$HAVE_LIBPQ = x$yes])
+@end smallexample
+
+in configure.ac.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_postgres_db.m4,latest
+version of @file{ax_check_postgres_db.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_postgres_db.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Christian Toepp @email{c.toepp@@gmail.com}} @* @w{Copyright @copyright{} 2012 Olivier Mehani @email{shtrom-ax@@ssji.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_preproc_flag
+@unnumberedsec ax_check_preproc_flag
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_PREPROC_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
+@end smallexample
+
+@majorheading Description
+
+Check whether the given FLAG works with the current language's
+preprocessor or gives an error. (Warnings, however, are ignored)
+
+ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
+success/failure.
+
+If EXTRA-FLAGS is defined, it is added to the preprocessor's default
+flags when the check is done. The check is thus made with the flags:
+"CPPFLAGS EXTRA-FLAGS FLAG". This can for example be used to force the
+preprocessor to issue an error when a bad flag is given.
+
+INPUT gives an alternative input source to AC_PREPROC_IFELSE.
+
+NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
+macro in sync with AX_CHECK_@{COMPILE,LINK@}_FLAG.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_preproc_flag.m4,latest
+version of @file{ax_check_preproc_flag.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_preproc_flag.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}} @* @w{Copyright @copyright{} 2011 Maarten Bosmans @email{mkbosmans@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_rqrd_class
+@unnumberedsec ax_check_rqrd_class
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_RQRD_CLASS
+@end smallexample
+
+@majorheading Description
+
+AX_CHECK_RQRD_CLASS tests the existence of a given Java class, either in
+a jar or in a '.class' file and fails if it doesn't exist. Its success
+or failure can depend on a proper setting of the CLASSPATH env.
+variable.
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission. The
+general documentation, as well as the sample configure.in, is included
+in the AX_PROG_JAVA macro.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_rqrd_class.m4,latest
+version of @file{ax_check_rqrd_class.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_rqrd_class.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Stephane Bortzmeyer @email{bortzmeyer@@pasteur.fr}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_sign
+@unnumberedsec ax_check_sign
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_SIGN (TYPE, [ACTION-IF-SIGNED], [ACTION-IF-UNSIGNED], [INCLUDES])
+@end smallexample
+
+@majorheading Description
+
+Checks whether TYPE is signed or not. If no INCLUDES are specified, the
+default includes are used. If ACTION-IF-SIGNED is given, it is
+additional shell code to execute when the type is signed. If
+ACTION-IF-UNSIGNED is given, it is executed when the type is unsigned.
+
+This macro assumes that the type exists. Therefore the existence of the
+type should be checked before calling this macro. For example:
+
+@smallexample
+ AC_CHECK_HEADERS([wchar.h])
+ AC_CHECK_TYPE([wchar_t],,[ AC_MSG_ERROR([Type wchar_t not found.]) ])
+ AX_CHECK_SIGN([wchar_t],
+ [ AC_DEFINE(WCHAR_T_SIGNED, 1, [Define if wchar_t is signed]) ],
+ [ AC_DEFINE(WCHAR_T_UNSIGNED, 1, [Define if wchar_t is unsigned]) ], [
+ #ifdef HAVE_WCHAR_H
+ #include <wchar.h>
+ #endif
+ ])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_sign.m4,latest
+version of @file{ax_check_sign.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_sign.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Ville Laurikari @email{vl@@iki.fi}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_strcspn
+@unnumberedsec ax_check_strcspn
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_STRCSPN
+@end smallexample
+
+@majorheading Description
+
+Not all systems have strcspn(3). See if we need to substitute. To make
+this work, you have to do horrible things. In one of your Makefile.am
+files, you must make an explicit rule to make this object. It should
+look like this:
+
+@smallexample
+ strcspn.lo : $(top_srcdir)/compat/strcspn.c
+ $(LTCOMPILE) -o $@@ -c $(top_srcdir)/compat/strcspn.c
+@end smallexample
+
+and you must include ``@@COMPATOBJ@@'' in a LIBADD somewhere and, finally,
+you must add another artificial dependency, something like:
+
+@smallexample
+ makeshell.lo : genshell.c @@COMPATOBJ@@
+@end smallexample
+
+It is all pretty horrific, but I have found nothing else that works.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_strcspn.m4,latest
+version of @file{ax_check_strcspn.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_strcspn.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Bruce Korb @email{bkorb@@gnu.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_strftime
+@unnumberedsec ax_check_strftime
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_STRFTIME
+@end smallexample
+
+@majorheading Description
+
+Check for existence and functioning of strftime routine.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_strftime.m4,latest
+version of @file{ax_check_strftime.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_strftime.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Bruce Korb @email{bkorb@@gnu.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_struct_for
+@unnumberedsec ax_check_struct_for
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_STRUCT_FOR(INCLUDES,STRUCT,MEMBER,DEFINE,[no])
+@end smallexample
+
+@majorheading Description
+
+Checks STRUCT for MEMBER and defines DEFINE if found.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_struct_for.m4,latest
+version of @file{ax_check_struct_for.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_struct_for.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Wes Hardaker @email{wjhardaker@@ucdavis.edu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_symbol
+@unnumberedsec ax_check_symbol
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_SYMBOL(SYMBOL, HEADER... [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+A wrapper around AC_EGREP_HEADER. The shellvar $ac_found will hold the
+HEADER-name that had been containing the symbol. This value is shown to
+the user.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_symbol.m4,latest
+version of @file{ax_check_symbol.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_symbol.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_sys_siglist
+@unnumberedsec ax_check_sys_siglist
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_SYS_SIGLIST
+@end smallexample
+
+@majorheading Description
+
+Check for existence of global sys_siglist[].
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_sys_siglist.m4,latest
+version of @file{ax_check_sys_siglist.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_sys_siglist.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Bruce Korb @email{bkorb@@gnu.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_typedef
+@unnumberedsec ax_check_typedef
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_TYPEDEF(TYPEDEF, HEADER [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]])
+@end smallexample
+
+@majorheading Description
+
+Check if the given typedef-name is recognized as a type. The trick is to
+use a sizeof(TYPEDEF) and see if the compiler is happy with that.
+
+This can be thought of as a mixture of AC_CHECK_TYPE(TYPEDEF,DEFAULT)
+and AC_CHECK_LIB(LIBRARY,FUNCTION,ACTION-IF-FOUND,ACTION-IF-NOT-FOUND).
+
+A convenience macro AX_CHECK_TYPEDEF_ is provided that will not emit any
+message to the user - it just executes one of the actions.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_typedef.m4,latest
+version of @file{ax_check_typedef.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_typedef.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_uname_syscall
+@unnumberedsec ax_check_uname_syscall
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_UNAME_SYSCALL
+@end smallexample
+
+@majorheading Description
+
+Check that the POSIX compliant uname(2) call works properly.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_uname_syscall.m4,latest
+version of @file{ax_check_uname_syscall.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_uname_syscall.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Bruce Korb @email{bkorb@@gnu.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_user
+@unnumberedsec ax_check_user
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_USER
+@end smallexample
+
+@majorheading Description
+
+Check if the specified UNIX user exists, if yes set your environment
+variable to that username else unset your environment variable
+
+Example:
+
+@smallexample
+ AX_CHECK_USER(USER, [gleensalmon])
+ if test x$USER = xgleensalmon; then
+ bla..bla..bla..
+ else
+ bla..bla..bla..
+ fi
+@end smallexample
+
+Besides checking existence, this macro also set these environment
+variables upon completion:
+
+@smallexample
+ USER_HOME = home directory of user, written in /etc/passwd
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_user.m4,latest
+version of @file{ax_check_user.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_user.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Gleen Salmon @email{gleensalmon@@yahoo.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_vscript
+@unnumberedsec ax_check_vscript
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_VSCRIPT
+@end smallexample
+
+@majorheading Description
+
+Check whether the linker supports version scripts. Version scripts are
+used when building shared libraries to bind symbols to version nodes
+(helping to detect incompatibilities) or to limit the visibility of
+non-public symbols.
+
+Output:
+
+If version scripts are supported, VSCRIPT_LDFLAGS will contain the
+appropriate flag to pass to the linker. On GNU systems this would
+typically be "-Wl,--version-script", and on Solaris it would typically
+be "-Wl,-M".
+
+Two Automake conditionals are also set:
+
+@smallexample
+ HAVE_VSCRIPT is true if the linker supports version scripts with
+ entries that use simple wildcards, like "local: *".
+@end smallexample
+
+@smallexample
+ HAVE_VSCRIPT_COMPLEX is true if the linker supports version scripts with
+ pattern matching wildcards, like "global: Java_*".
+@end smallexample
+
+On systems that do not support symbol versioning, such as Mac OS X, both
+conditionals will be false. They will also be false if the user passes
+"--disable-symvers" on the configure command line.
+
+Example:
+
+@smallexample
+ configure.ac:
+@end smallexample
+
+@smallexample
+ AX_CHECK_VSCRIPT
+@end smallexample
+
+@smallexample
+ Makefile.am:
+@end smallexample
+
+@smallexample
+ if HAVE_VSCRIPT
+ libfoo_la_LDFLAGS += $(VSCRIPT_LDFLAGS),@@srcdir@@/libfoo.map
+ endif
+@end smallexample
+
+@smallexample
+ if HAVE_VSCRIPT_COMPLEX
+ libbar_la_LDFLAGS += $(VSCRIPT_LDFLAGS),@@srcdir@@/libbar.map
+ endif
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_vscript.m4,latest
+version of @file{ax_check_vscript.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_vscript.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Kevin Cernekee @email{cernekee@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_check_x86_features
+@unnumberedsec ax_check_x86_features
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_X86_FEATURES([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+Checks if the host cpu supports various x86 instruction set, the
+instructions that will get tested are "mmx, popcnt, sse, sse2, sse3,
+sse4.1, sse4.2, sse4a, avx, avx2, avx512f, fma, fma4, bmi, bmi2". If the
+instruction set is supported by the host cpu, the C preprocessor macro
+HAVE_XXX_INSTRUCTIONS is set to 1. The XXX is up-cased instruction case
+with dot replaced by underscore. For example, the test for "sse4.2"
+would export HAVE_SSE4_2_INSTRUCTIONS=1. Also the compiler flag
+"-msse4.2" would be added to X86_FEATURE_CFLAGS variable, that can be
+obtained in Makefile.am using @@X86_FEATURE_CFLAGS@@.
+
+If any of the test for the instruction set were succeeded, the configure
+script would run ACTION-IF-FOUND if it is specified, or append
+X86_FEATURE_CFLAGS to CFLAGS. If none of the instruction were found,
+ACTION-IF-NOT-FOUND hook is triggered.
+
+This macro requires gcc extended builtin function "__builtin_cpu_init"
+and "__builtin_cpu_supports" to detect the cpu features. It will error
+out if the compiler doesn't has these builtins.
+
+See also AX_GCC_X86_CPU_SUPPORTS, which is the actual macro that perform
+the checks for the instruction sets.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_x86_features.m4,latest
+version of @file{ax_check_x86_features.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_x86_features.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2016 Felix Chern @email{idryman@@gmail.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_check_zlib
+@unnumberedsec ax_check_zlib
+
+@majorheading Synopsis
+
+@smallexample
+AX_CHECK_ZLIB([action-if-found], [action-if-not-found])
+@end smallexample
+
+@majorheading Description
+
+This macro searches for an installed zlib library. If nothing was
+specified when calling configure, it searches first in /usr/local and
+then in /usr, /opt/local and /sw. If the --with-zlib=DIR is specified,
+it will try to find it in DIR/include/zlib.h and DIR/lib/libz.a. If
+--without-zlib is specified, the library is not searched at all.
+
+If either the header file (zlib.h) or the library (libz) is not found,
+shell commands 'action-if-not-found' is run. If 'action-if-not-found' is
+not specified, the configuration exits on error, asking for a valid zlib
+installation directory or --without-zlib.
+
+If both header file and library are found, shell commands
+'action-if-found' is run. If 'action-if-found' is not specified, the
+default action appends '-I$@{ZLIB_HOME@}/include' to CPFLAGS, appends
+'-L$ZLIB_HOME@}/lib' to LDFLAGS, prepends '-lz' to LIBS, and calls
+AC_DEFINE(HAVE_LIBZ). You should use autoheader to include a definition
+for this symbol in a config.h file. Sample usage in a C/C++ source is as
+follows:
+
+@smallexample
+ #ifdef HAVE_LIBZ
+ #include <zlib.h>
+ #endif /* HAVE_LIBZ */
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_zlib.m4,latest
+version of @file{ax_check_zlib.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_zlib.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Loic Dachary @email{loic@@senga.org}} @* @w{Copyright @copyright{} 2010 Bastien Chevreux @email{bach@@chevreux.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_code_coverage
+@unnumberedsec ax_code_coverage
+
+@majorheading Synopsis
+
+@smallexample
+AX_CODE_COVERAGE()
+@end smallexample
+
+@majorheading Description
+
+Defines CODE_COVERAGE_CPPFLAGS, CODE_COVERAGE_CFLAGS,
+CODE_COVERAGE_CXXFLAGS and CODE_COVERAGE_LIBS which should be included
+in the CPPFLAGS, CFLAGS CXXFLAGS and LIBS/LIBADD variables of every
+build target (program or library) which should be built with code
+coverage support. Also add rules using AX_ADD_AM_MACRO_STATIC; and
+$enable_code_coverage which can be used in subsequent configure output.
+CODE_COVERAGE_ENABLED is defined and substituted, and corresponds to the
+value of the --enable-code-coverage option, which defaults to being
+disabled.
+
+Test also for gcov program and create GCOV variable that could be
+substituted.
+
+Note that all optimization flags in CFLAGS must be disabled when code
+coverage is enabled.
+
+Usage example:
+
+configure.ac:
+
+@smallexample
+ AX_CODE_COVERAGE
+@end smallexample
+
+Makefile.am:
+
+@smallexample
+ include $(top_srcdir)/aminclude_static.am
+@end smallexample
+
+@smallexample
+ my_program_LIBS = ... $(CODE_COVERAGE_LIBS) ...
+ my_program_CPPFLAGS = ... $(CODE_COVERAGE_CPPFLAGS) ...
+ my_program_CFLAGS = ... $(CODE_COVERAGE_CFLAGS) ...
+ my_program_CXXFLAGS = ... $(CODE_COVERAGE_CXXFLAGS) ...
+@end smallexample
+
+@smallexample
+ clean-local: code-coverage-clean
+ distclean-local: code-coverage-dist-clean
+@end smallexample
+
+This results in a "check-code-coverage" rule being added to any
+Makefile.am which do "include $(top_srcdir)/aminclude_static.am"
+(assuming the module has been configured with --enable-code-coverage).
+Running `make check-code-coverage` in that directory will run the
+module's test suite (`make check`) and build a code coverage report
+detailing the code which was touched, then print the URI for the report.
+
+This code was derived from Makefile.decl in GLib, originally licensed
+under LGPLv2.1+.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_code_coverage.m4,latest
+version of @file{ax_code_coverage.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_code_coverage.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2012, 2016 Philip Withnall} @* @w{Copyright @copyright{} 2012 Xan Lopez} @* @w{Copyright @copyright{} 2012 Christian Persch} @* @w{Copyright @copyright{} 2012 Paolo Borelli} @* @w{Copyright @copyright{} 2012 Dan Winship} @* @w{Copyright @copyright{} 2015,2018 Bastien ROUCARIES}
+
+This library is free software; you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation; either version 2.1 of the License, or (at
+your option) any later version.
+
+This library is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
--- /dev/null
+@node ax_compare_version
+@unnumberedsec ax_compare_version
+
+@majorheading Synopsis
+
+@smallexample
+AX_COMPARE_VERSION(VERSION_A, OP, VERSION_B, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
+@end smallexample
+
+@majorheading Description
+
+This macro compares two version strings. Due to the various number of
+minor-version numbers that can exist, and the fact that string
+comparisons are not compatible with numeric comparisons, this is not
+necessarily trivial to do in a autoconf script. This macro makes doing
+these comparisons easy.
+
+The six basic comparisons are available, as well as checking equality
+limited to a certain number of minor-version levels.
+
+The operator OP determines what type of comparison to do, and can be one
+of:
+
+@smallexample
+ eq - equal (test A == B)
+ ne - not equal (test A != B)
+ le - less than or equal (test A <= B)
+ ge - greater than or equal (test A >= B)
+ lt - less than (test A < B)
+ gt - greater than (test A > B)
+@end smallexample
+
+Additionally, the eq and ne operator can have a number after it to limit
+the test to that number of minor versions.
+
+@smallexample
+ eq0 - equal up to the length of the shorter version
+ ne0 - not equal up to the length of the shorter version
+ eqN - equal up to N sub-version levels
+ neN - not equal up to N sub-version levels
+@end smallexample
+
+When the condition is true, shell commands ACTION-IF-TRUE are run,
+otherwise shell commands ACTION-IF-FALSE are run. The environment
+variable 'ax_compare_version' is always set to either 'true' or 'false'
+as well.
+
+Examples:
+
+@smallexample
+ AX_COMPARE_VERSION([3.15.7],[lt],[3.15.8])
+ AX_COMPARE_VERSION([3.15],[lt],[3.15.8])
+@end smallexample
+
+would both be true.
+
+@smallexample
+ AX_COMPARE_VERSION([3.15.7],[eq],[3.15.8])
+ AX_COMPARE_VERSION([3.15],[gt],[3.15.8])
+@end smallexample
+
+would both be false.
+
+@smallexample
+ AX_COMPARE_VERSION([3.15.7],[eq2],[3.15.8])
+@end smallexample
+
+would be true because it is only comparing two minor versions.
+
+@smallexample
+ AX_COMPARE_VERSION([3.15.7],[eq0],[3.15])
+@end smallexample
+
+would be true because it is only comparing the lesser number of minor
+versions of the two values.
+
+Note: The characters that separate the version numbers do not matter. An
+empty string is the same as version 0. OP is evaluated by autoconf, not
+configure, so must be a string, not a variable.
+
+The author would like to acknowledge Guido Draheim whose advice about
+the m4_case and m4_ifvaln functions make this macro only include the
+portions necessary to perform the specific comparison specified by the
+OP argument in the final configure script.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compare_version.m4,latest
+version of @file{ax_compare_version.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compare_version.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Tim Toolan @email{toolan@@ele.uri.edu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_compile_check_sizeof
+@unnumberedsec ax_compile_check_sizeof
+
+@majorheading Synopsis
+
+@smallexample
+AX_COMPILE_CHECK_SIZEOF(TYPE [, HEADERS [, EXTRA_SIZES...]])
+@end smallexample
+
+@majorheading Description
+
+This macro checks for the size of TYPE using compile checks, not run
+checks. You can supply extra HEADERS to look into. the check will cycle
+through 1 2 4 8 16 and any EXTRA_SIZES the user supplies. If a match is
+found, it will #define SIZEOF_`TYPE' to that value. Otherwise it will
+emit a configure time error indicating the size of the type could not be
+determined.
+
+The trick is that C will not allow duplicate case labels. While this is
+valid C code:
+
+@smallexample
+ switch (0) case 0: case 1:;
+@end smallexample
+
+The following is not:
+
+@smallexample
+ switch (0) case 0: case 0:;
+@end smallexample
+
+Thus, the AC_COMPILE_IFELSE will fail if the currently tried size does
+not match.
+
+Here is an example skeleton configure.in script, demonstrating the
+macro's usage:
+
+@smallexample
+ AC_PROG_CC
+ AC_CHECK_HEADERS(stddef.h unistd.h)
+ AC_TYPE_SIZE_T
+ AC_CHECK_TYPE(ssize_t, int)
+@end smallexample
+
+@smallexample
+ headers='#ifdef HAVE_STDDEF_H
+ #include <stddef.h>
+ #endif
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif
+ '
+@end smallexample
+
+@smallexample
+ AX_COMPILE_CHECK_SIZEOF(char)
+ AX_COMPILE_CHECK_SIZEOF(short)
+ AX_COMPILE_CHECK_SIZEOF(int)
+ AX_COMPILE_CHECK_SIZEOF(long)
+ AX_COMPILE_CHECK_SIZEOF(unsigned char *)
+ AX_COMPILE_CHECK_SIZEOF(void *)
+ AX_COMPILE_CHECK_SIZEOF(size_t, $headers)
+ AX_COMPILE_CHECK_SIZEOF(ssize_t, $headers)
+ AX_COMPILE_CHECK_SIZEOF(ptrdiff_t, $headers)
+ AX_COMPILE_CHECK_SIZEOF(off_t, $headers)
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compile_check_sizeof.m4,latest
+version of @file{ax_compile_check_sizeof.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compile_check_sizeof.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Kaveh Ghazi @email{ghazi@@caip.rutgers.edu}} @* @w{Copyright @copyright{} 2017 Reini Urban @email{rurban@@cpan.org}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_compiler_flags
+@unnumberedsec ax_compiler_flags
+
+@majorheading Synopsis
+
+@smallexample
+AX_COMPILER_FLAGS([CFLAGS-VARIABLE], [LDFLAGS-VARIABLE], [IS-RELEASE], [EXTRA-BASE-CFLAGS], [EXTRA-YES-CFLAGS], [UNUSED], [UNUSED], [UNUSED], [EXTRA-BASE-LDFLAGS], [EXTRA-YES-LDFLAGS], [UNUSED], [UNUSED], [UNUSED])
+@end smallexample
+
+@majorheading Description
+
+Check for the presence of an --enable-compile-warnings option to
+configure, defaulting to "error" in normal operation, or "yes" if
+IS-RELEASE is equal to "yes". Return the value in the variable
+$ax_enable_compile_warnings.
+
+Depending on the value of --enable-compile-warnings, different compiler
+warnings are checked to see if they work with the current compiler and,
+if so, are appended to CFLAGS-VARIABLE and LDFLAGS-VARIABLE. This
+allows a consistent set of baseline compiler warnings to be used across
+a code base, irrespective of any warnings enabled locally by individual
+developers. By standardising the warnings used by all developers of a
+project, the project can commit to a zero-warnings policy, using -Werror
+to prevent compilation if new warnings are introduced. This makes
+catching bugs which are flagged by warnings a lot easier.
+
+By providing a consistent --enable-compile-warnings argument across all
+projects using this macro, continuous integration systems can easily be
+configured the same for all projects. Automated systems or build
+systems aimed at beginners may want to pass the --disable-Werror
+argument to unconditionally prevent warnings being fatal.
+
+--enable-compile-warnings can take the values:
+
+@smallexample
+ * no: Base compiler warnings only; not even -Wall.
+ * yes: The above, plus a broad range of useful warnings.
+ * error: The above, plus -Werror so that all warnings are fatal.
+ Use --disable-Werror to override this and disable fatal
+ warnings.
+@end smallexample
+
+The set of base and enabled flags can be augmented using the
+EXTRA-*-CFLAGS and EXTRA-*-LDFLAGS variables, which are tested and
+appended to the output variable if --enable-compile-warnings is not
+"no". Flags should not be disabled using these arguments, as the entire
+point of AX_COMPILER_FLAGS is to enforce a consistent set of useful
+compiler warnings on code, using warnings which have been chosen for low
+false positive rates. If a compiler emits false positives for a
+warning, a #pragma should be used in the code to disable the warning
+locally. See:
+
+@smallexample
+ https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Diagnostic-Pragmas.html#Diagnostic-Pragmas
+@end smallexample
+
+The EXTRA-* variables should only be used to supply extra warning flags,
+and not general purpose compiler flags, as they are controlled by
+configure options such as --disable-Werror.
+
+IS-RELEASE can be used to disable -Werror when making a release, which
+is useful for those hairy moments when you just want to get the release
+done as quickly as possible. Set it to "yes" to disable -Werror. By
+default, it uses the value of $ax_is_release, so if you are using the
+AX_IS_RELEASE macro, there is no need to pass this parameter. For
+example:
+
+@smallexample
+ AX_IS_RELEASE([git-directory])
+ AX_COMPILER_FLAGS()
+@end smallexample
+
+CFLAGS-VARIABLE defaults to WARN_CFLAGS, and LDFLAGS-VARIABLE defaults
+to WARN_LDFLAGS. Both variables are AC_SUBST-ed by this macro, but must
+be manually added to the CFLAGS and LDFLAGS variables for each target in
+the code base.
+
+If C++ language support is enabled with AC_PROG_CXX, which must occur
+before this macro in configure.ac, warning flags for the C++ compiler
+are AC_SUBST-ed as WARN_CXXFLAGS, and must be manually added to the
+CXXFLAGS variables for each target in the code base. EXTRA-*-CFLAGS can
+be used to augment the base and enabled flags.
+
+Warning flags for g-ir-scanner (from GObject Introspection) are
+AC_SUBST-ed as WARN_SCANNERFLAGS. This variable must be manually added
+to the SCANNERFLAGS variable for each GIR target in the code base. If
+extra g-ir-scanner flags need to be enabled, the AX_COMPILER_FLAGS_GIR
+macro must be invoked manually.
+
+AX_COMPILER_FLAGS may add support for other tools in future, in addition
+to the compiler and linker. No extra EXTRA-* variables will be added
+for those tools, and all extra support will still use the single
+--enable-compile-warnings configure option. For finer grained control
+over the flags for individual tools, use AX_COMPILER_FLAGS_CFLAGS,
+AX_COMPILER_FLAGS_LDFLAGS and AX_COMPILER_FLAGS_* for new tools.
+
+The UNUSED variables date from a previous version of this macro, and are
+automatically appended to the preceding non-UNUSED variable. They should
+be left empty in new uses of the macro.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags.m4,latest
+version of @file{ax_compiler_flags.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014, 2015 Philip Withnall @email{philip@@tecnocode.co.uk}} @* @w{Copyright @copyright{} 2015 David King @email{amigadave@@amigadave.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_compiler_flags_cflags
+@unnumberedsec ax_compiler_flags_cflags
+
+@majorheading Synopsis
+
+@smallexample
+AX_COMPILER_FLAGS_CFLAGS([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
+@end smallexample
+
+@majorheading Description
+
+Add warning flags for the C compiler to VARIABLE, which defaults to
+WARN_CFLAGS. VARIABLE is AC_SUBST-ed by this macro, but must be
+manually added to the CFLAGS variable for each target in the code base.
+
+This macro depends on the environment set up by AX_COMPILER_FLAGS.
+Specifically, it uses the value of $ax_enable_compile_warnings to decide
+which flags to enable.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_cflags.m4,latest
+version of @file{ax_compiler_flags_cflags.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_cflags.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014, 2015 Philip Withnall @email{philip@@tecnocode.co.uk}} @* @w{Copyright @copyright{} 2017, 2018 Reini Urban @email{rurban@@cpan.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_compiler_flags_cxxflags
+@unnumberedsec ax_compiler_flags_cxxflags
+
+@majorheading Synopsis
+
+@smallexample
+AX_COMPILER_FLAGS_CXXFLAGS([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
+@end smallexample
+
+@majorheading Description
+
+Add warning flags for the C++ compiler to VARIABLE, which defaults to
+WARN_CXXFLAGS. VARIABLE is AC_SUBST-ed by this macro, but must be
+manually added to the CXXFLAGS variable for each target in the code
+base.
+
+This macro depends on the environment set up by AX_COMPILER_FLAGS.
+Specifically, it uses the value of $ax_enable_compile_warnings to decide
+which flags to enable.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_cxxflags.m4,latest
+version of @file{ax_compiler_flags_cxxflags.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_cxxflags.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2015 David King @email{amigadave@@amigadave.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_compiler_flags_gir
+@unnumberedsec ax_compiler_flags_gir
+
+@majorheading Synopsis
+
+@smallexample
+AX_COMPILER_FLAGS_GIR([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
+@end smallexample
+
+@majorheading Description
+
+Add warning flags for the g-ir-scanner (from GObject Introspection) to
+VARIABLE, which defaults to WARN_SCANNERFLAGS. VARIABLE is AC_SUBST-ed
+by this macro, but must be manually added to the SCANNERFLAGS variable
+for each GIR target in the code base.
+
+This macro depends on the environment set up by AX_COMPILER_FLAGS.
+Specifically, it uses the value of $ax_enable_compile_warnings to decide
+which flags to enable.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_gir.m4,latest
+version of @file{ax_compiler_flags_gir.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_gir.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2015 Philip Withnall @email{philip@@tecnocode.co.uk}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_compiler_flags_ldflags
+@unnumberedsec ax_compiler_flags_ldflags
+
+@majorheading Synopsis
+
+@smallexample
+AX_COMPILER_FLAGS_LDFLAGS([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
+@end smallexample
+
+@majorheading Description
+
+Add warning flags for the linker to VARIABLE, which defaults to
+WARN_LDFLAGS. VARIABLE is AC_SUBST-ed by this macro, but must be
+manually added to the LDFLAGS variable for each target in the code base.
+
+This macro depends on the environment set up by AX_COMPILER_FLAGS.
+Specifically, it uses the value of $ax_enable_compile_warnings to decide
+which flags to enable.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_ldflags.m4,latest
+version of @file{ax_compiler_flags_ldflags.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_ldflags.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014, 2015 Philip Withnall @email{philip@@tecnocode.co.uk}} @* @w{Copyright @copyright{} 2017, 2018 Reini Urban @email{rurban@@cpan.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_compiler_vendor
+@unnumberedsec ax_compiler_vendor
+
+@majorheading Synopsis
+
+@smallexample
+AX_COMPILER_VENDOR
+@end smallexample
+
+@majorheading Description
+
+Determine the vendor of the C, C++ or Fortran compiler. The vendor is
+returned in the cache variable $ax_cv_c_compiler_vendor for C,
+$ax_cv_cxx_compiler_vendor for C++ or $ax_cv_fc_compiler_vendor for
+(modern) Fortran. The value is one of "intel", "ibm", "pathscale",
+"clang" (LLVM), "cray", "fujitsu", "sdcc", "sx", "nvhpc" (NVIDIA HPC
+Compiler), "portland" (PGI), "gnu" (GCC), "sun" (Oracle Developer
+Studio), "hp", "dec", "borland", "comeau", "kai", "lcc", "sgi",
+"microsoft", "metrowerks", "watcom", "tcc" (Tiny CC) or "unknown" (if
+the compiler cannot be determined).
+
+To check for a Fortran compiler, you must first call AC_FC_PP_SRCEXT
+with an appropriate preprocessor-enabled extension. For example:
+
+@smallexample
+ AC_LANG_PUSH([Fortran])
+ AC_PROG_FC
+ AC_FC_PP_SRCEXT([F])
+ AX_COMPILER_VENDOR
+ AC_LANG_POP([Fortran])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_vendor.m4,latest
+version of @file{ax_compiler_vendor.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_vendor.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Steven G. Johnson @email{stevenj@@alum.mit.edu}} @* @w{Copyright @copyright{} 2008 Matteo Frigo} @* @w{Copyright @copyright{} 2018-19 John Zaitseff @email{J.Zaitseff@@zap.org.au}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_compiler_version
+@unnumberedsec ax_compiler_version
+
+@majorheading Synopsis
+
+@smallexample
+AX_COMPILER_VERSION
+@end smallexample
+
+@majorheading Description
+
+This macro retrieves the compiler version and returns it in the cache
+variable $ax_cv_c_compiler_version for C and $ax_cv_cxx_compiler_version
+for C++.
+
+Version is returned as epoch:major.minor.patchversion
+
+Epoch is used in order to have an increasing version number in case of
+marketing change.
+
+Epoch use: * borland compiler use chronologically 0turboc for turboc
+era,
+
+@smallexample
+ 1borlanc BORLANDC++ before 5, 2cppbuilder for cppbuilder era,
+ 3borlancpp for return of BORLANDC++ (after version 5.5),
+ 4cppbuilder for cppbuilder with year version,
+ and 5xe for XE era.
+@end smallexample
+
+An empty string is returned otherwise.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_version.m4,latest
+version of @file{ax_compiler_version.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_version.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Bastien ROUCARIES @email{roucaries.bastien+autoconf@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_compute_relative_paths
+@unnumberedsec ax_compute_relative_paths
+
+@majorheading Synopsis
+
+@smallexample
+AX_COMPUTE_RELATIVE_PATHS(PATH_LIST)
+@end smallexample
+
+@majorheading Description
+
+PATH_LIST is a space-separated list of colon-separated triplets of the
+form 'FROM:TO:RESULT'. This function iterates over these triplets and
+set $RESULT to the relative path from $FROM to $TO. Note that $FROM and
+$TO needs to be absolute filenames for this macro to success.
+
+For instance,
+
+@smallexample
+ first=/usr/local/bin
+ second=/usr/local/share
+ AX_COMPUTE_RELATIVE_PATHS([first:second:fs second:first:sf])
+ # $fs is set to ../share
+ # $sf is set to ../bin
+@end smallexample
+
+$FROM and $TO are both eval'ed recursively and normalized, this means
+that you can call this macro with autoconf's dirnames like `prefix' or
+`datadir'. For example:
+
+@smallexample
+ AX_COMPUTE_RELATIVE_PATHS([bindir:datadir:bin_to_data])
+@end smallexample
+
+AX_COMPUTE_RELATIVE_PATHS should also works with DOS filenames.
+
+You may want to use this macro in order to make your package
+relocatable. Instead of hardcoding $datadir into your programs just
+encode $bin_to_data and try to determine $bindir at run-time.
+
+This macro requires AX_NORMALIZE_PATH and AX_RECURSIVE_EVAL.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compute_relative_paths.m4,latest
+version of @file{ax_compute_relative_paths.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compute_relative_paths.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Alexandre Duret-Lutz @email{adl@@gnu.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_compute_standard_relative_paths
+@unnumberedsec ax_compute_standard_relative_paths
+
+@majorheading Synopsis
+
+@smallexample
+AX_COMPUTE_STANDARD_RELATIVE_PATHS
+@end smallexample
+
+@majorheading Description
+
+Here is the standard hierarchy of paths, as defined by the GNU Coding
+Standards:
+
+@smallexample
+ prefix
+ exec_prefix
+ bindir
+ libdir
+ libexecdir
+ sbindir
+ datarootdir
+ docdir
+ infodir
+ htmldir
+ dvidir
+ psdir
+ pdfdir
+ localedir
+ datadir (only for autoconf >= 2.59c)
+ infodir (only for autoconf >= 2.59c)
+ mandir (only for autoconf >= 2.59c)
+ lispdir (only for autoconf >= 2.59c)
+ datadir (only for autoconf < 2.59c)
+ infodir (only for autoconf < 2.59c)
+ mandir (only for autoconf < 2.59c)
+ lispdir (only for autoconf < 2.59c)
+ sysconfdir
+ sharedstatedir
+ localstatedir
+ runstatedir (only for autoconf >= 2.70)
+ includedir
+ oldincludedir
+@end smallexample
+
+This macro will setup a set of variables of the form
+'xxx_forward_relative_path' and 'xxx_backward_relative_path' where xxx
+is one of the above directories. The latter variable is set to the
+relative path to go from xxx to its parent directory, while the former
+hold the other way.
+
+For instance `bindir_relative_path' will contains the value to add to
+$exec_prefix to reach the $bindir directory (usually 'bin'), and
+`bindir_backward_relative_path' the value to append to $bindir to reach
+the $exec_prefix directory (usually '..').
+
+This macro requires AX_COMPUTE_RELATIVE_PATHS which itself requires
+AX_NORMALIZE_PATH.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compute_standard_relative_paths.m4,latest
+version of @file{ax_compute_standard_relative_paths.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compute_standard_relative_paths.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Alexandre Duret-Lutz @email{adl@@gnu.org}} @* @w{Copyright @copyright{} 2015 Bastien Roucaries @email{roucaries.bastien+autoconf@@gmail.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_cond_with_level
+@unnumberedsec ax_cond_with_level
+
+@majorheading Synopsis
+
+@smallexample
+AX_COND_WITH_LEVEL(PACKAGE [,DEFAULT [,YESLEVEL]])
+@end smallexample
+
+@majorheading Description
+
+Actually used after an AC_ARG_WITH(PKG,...) option-directive, where
+AC_ARG_WITH is a part of the standard autoconf to define a `configure`
+--with-PKG option.
+
+This macros works almost like AC_COND_WITH(PACKAGE [,DEFAULT]), but the
+definition is set to a numeric value. The level of a simple "yes" is
+given (or assumed "2" if absent), otherwise the level can be given in
+mnemonic names, being:
+
+@smallexample
+ 1 = some
+ 2 = many
+ 3 = all
+ 4 = extra
+ 5 = extrasome more
+ 6 = extramany muchmore much
+ 7 = super everything
+ 8 = ultra experimental
+ 9 = insane
+@end smallexample
+
+this macro is most handily it making Makefile.in/Makefile.am that have a
+set of with-level declarations, especially optimization-levels
+
+the $withval shell-variable is set for further examination (it carries
+the numeric value of the various mnemonics above)
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cond_with_level.m4,latest
+version of @file{ax_cond_with_level.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cond_with_level.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_config_feature
+@unnumberedsec ax_config_feature
+
+@majorheading Synopsis
+
+@smallexample
+AX_CONFIG_FEATURE(FEATURE-NAME, FEATURE-DESCRIPTION, DEFINE, DEFINE-DESCRIPTION, [ACTION-IF-ENABLED [, ACTION-IF-NOT-ENABLED]])
+@end smallexample
+
+@majorheading Description
+
+AX_CONFIG_FEATURE is a simple wrapper for AC_ARG_ENABLE, it enables the
+feature FEATURE-NAME and AC_DEFINEs the passed DEFINE, depending on the
+user choice. DESCRIPTION will be used for AC_DEFINEs. ACTION-IF-ENABLED
+and ACTION-IF-NOT-ENABLED are the actions that will be run. A feature is
+enabled by default, in order to change this behaviour use the
+AX_CONFIG_FEATURE_DEFAULT_ENABLED and AX_CONFIG_FEATURE_DEFAULT_DISABLED
+macros.
+
+A simple example:
+
+@smallexample
+ AX_CONFIG_FEATURE_DEFAULT_ENABLED
+ AX_CONFIG_FEATURE(feature_xxxxx, [turns on/off XXXXX support],
+ HAVE_XXXXX, [Define if you want XXXXX support])
+@end smallexample
+
+@smallexample
+ ...
+@end smallexample
+
+@smallexample
+ AX_CONFIG_FEATURE_DEFAULT_DISABLED
+ AX_CONFIG_FEATURE(feature_yyyyy, [turns on/off YYYYY support],
+ HAVE_YYYYY, [Define if you want YYYYY support],
+ [enable_yyyyy="yes"], [enable_yyyyy="no"])
+ AM_CONDITIONAL(YYYYY, [test "$enable_yyyyy" = "yes"])
+@end smallexample
+
+@smallexample
+ AX_CONFIG_FEATURE_DEFAULT_ENABLED
+ AX_CONFIG_FEATURE(...)
+@end smallexample
+
+@smallexample
+ ...
+@end smallexample
+
+If you have lot of features and you want a verbose dumping of each user
+selection use AX_CONFIG_FEATURE_VERBOSE. Use AX_CONFIG_FEATURE_SILENT in
+order to remove a previously AX_CONFIG_FEATURE_VERBOSE. By default
+features are silent.
+
+Use AX_CONFIG_FEATURE_ENABLE or AX_CONFIG_FEATURE_DISABLE in order to
+enable or disable a specific feature.
+
+Another simple example:
+
+@smallexample
+ AS_IF([some_test_here],[AX_CONFIG_FEATURE_ENABLE(feature_xxxxx)],[])
+@end smallexample
+
+@smallexample
+ AX_CONFIG_FEATURE(feature_xxxxx, [turns on/off XXXXX support],
+ HAVE_XXXXX, [Define if you want XXXXX support])
+ AX_CONFIG_FEATURE(feature_yyyyy, [turns on/off YYYYY support],
+ HAVE_YYYYY, [Define if you want YYYYY support],
+ [enable_yyyyy="yes"], [enable_yyyyy="no"])
+@end smallexample
+
+@smallexample
+ ...
+@end smallexample
+
+NOTE: AX_CONFIG_FEATURE_ENABLE() must be placed first of the relative
+AX_CONFIG_FEATURE() macro ...
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_config_feature.m4,latest
+version of @file{ax_config_feature.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_config_feature.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_configure_args
+@unnumberedsec ax_configure_args
+
+@majorheading Synopsis
+
+@smallexample
+AX_CONFIGURE_ARGS
+@end smallexample
+
+@majorheading Description
+
+Helper macro for AX_ENABLE_BUILDDIR.
+
+The traditional way of starting a subdir-configure is running the script
+with $@{1+"$@@"@} but since autoconf 2.60 this is broken. Instead we have
+to rely on eval'ing $ac_configure_args however some old autoconf
+versions do not provide that. To ensure maximum portability of autoconf
+extension macros this helper can be AC_REQUIRE'd so that
+$ac_configure_args will always be present.
+
+Sadly, the traditional "exec $SHELL" of the enable_builddir macros is
+spoiled now and must be replaced by "eval + exit $?".
+
+Example:
+
+@smallexample
+ AC_DEFUN([AX_ENABLE_SUBDIR],[dnl
+ AC_REQUIRE([AX_CONFIGURE_ARGS])dnl
+ eval $SHELL $ac_configure_args || exit $?
+ ...])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_configure_args.m4,latest
+version of @file{ax_configure_args.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_configure_args.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_count_cpus
+@unnumberedsec ax_count_cpus
+
+@majorheading Synopsis
+
+@smallexample
+AX_COUNT_CPUS([ACTION-IF-DETECTED],[ACTION-IF-NOT-DETECTED])
+@end smallexample
+
+@majorheading Description
+
+Attempt to count the number of logical processor cores (including
+virtual and HT cores) currently available to use on the machine and
+place detected value in CPU_COUNT variable.
+
+On successful detection, ACTION-IF-DETECTED is executed if present. If
+the detection fails, then ACTION-IF-NOT-DETECTED is triggered. The
+default ACTION-IF-NOT-DETECTED is to set CPU_COUNT to 1.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_count_cpus.m4,latest
+version of @file{ax_count_cpus.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_count_cpus.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014,2016 Karlson2k (Evgeny Grin) @email{k2k@@narod.ru}} @* @w{Copyright @copyright{} 2012 Brian Aker @email{brian@@tangent.org}} @* @w{Copyright @copyright{} 2008 Michael Paul Bailey @email{jinxidoru@@byu.net}} @* @w{Copyright @copyright{} 2008 Christophe Tournayre @email{turn3r@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cpu_freq
+@unnumberedsec ax_cpu_freq
+
+@majorheading Synopsis
+
+@smallexample
+AX_CPU_FREQ
+@end smallexample
+
+@majorheading Description
+
+Compute the CPU frequency and define CPU_FREQ accordingly.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cpu_freq.m4,latest
+version of @file{ax_cpu_freq.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cpu_freq.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Christophe Tournayre @email{turn3r@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cpu_vendor
+@unnumberedsec ax_cpu_vendor
+
+@majorheading Synopsis
+
+@smallexample
+AX_CPU_VENDOR
+@end smallexample
+
+@majorheading Description
+
+Find your CPU's vendor by requesting cpuid and define "ax_cv_cpu_vendor"
+accordingly. This macro depends on AX_GCC_X86_CPUID.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cpu_vendor.m4,latest
+version of @file{ax_cpu_vendor.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cpu_vendor.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Christophe Tournayre @email{turn3r@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_create_generic_config
+@unnumberedsec ax_create_generic_config
+
+@majorheading Synopsis
+
+@smallexample
+AX_CREATE_GENERIC_CONFIG [(PACKAGEnlibs [, VERSION])]
+@end smallexample
+
+@majorheading Description
+
+Creates a generic PACKAGE-config file that has all the things that you
+want, hmm, well, at least it has --cflags, --version, --libs. Ahhm, did
+you see ax_path_generic in the autoconf-archive? ;-)
+
+this macros saves you all the typing for a pkg-config.in script, you
+don't even need to distribute one along. Place this macro in your
+configure.ac, et voila, you got one that you want to install.
+
+oh, btw, if the first arg looks like "mylib -lwhat' then it will go to
+be added to the --libs, and mylib is extracted.
+
+the defaults: $1 = $PACKAGE $LIBS $2 = $VERSION there is also an
+AC_SUBST(GENERIC_CONFIG) that will be set to the name of the file that
+we did output in this macro. Use as:
+
+@smallexample
+ install-exec-local: install-generic-config
+@end smallexample
+
+@smallexample
+ install-generic-config:
+ $(mkinstalldirs) $(DESTDIR)$(bindir)
+ $(INSTALL_SCRIPT) @@GENERIC_CONFIG@@ $(DESTDIR)$(bindir)
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_generic_config.m4,latest
+version of @file{ax_create_generic_config.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_generic_config.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_create_pkgconfig_info
+@unnumberedsec ax_create_pkgconfig_info
+
+@majorheading Synopsis
+
+@smallexample
+AX_CREATE_PKGCONFIG_INFO [(outputfile, [requires [,libs [,summary [,cflags [, ldflags]]]]])]
+@end smallexample
+
+@majorheading Description
+
+Defaults:
+
+@smallexample
+ $1 = $PACKAGE_NAME.pc
+ $2 = (empty)
+ $3 = $PACKAGE_LIBS $LIBS (as set at that point in configure.ac)
+ $4 = $PACKAGE_SUMMARY (or $1 Library)
+ $5 = $PACKAGE_CFLAGS (as set at the point in configure.ac)
+ $6 = $PACKAGE_LDFLAGS (as set at the point in configure.ac)
+@end smallexample
+
+@smallexample
+ PACKAGE_NAME defaults to $PACKAGE if not set.
+ PACKAGE_LIBS defaults to -l$PACKAGE_NAME if not set.
+@end smallexample
+
+The resulting file is called $PACKAGE.pc.in / $PACKAGE.pc
+
+You will find this macro most useful in conjunction with
+ax_spec_defaults that can read good initializers from the .spec file. In
+consequence, most of the generatable installable stuff can be made from
+information being updated in a single place for the whole project.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_pkgconfig_info.m4,latest
+version of @file{ax_create_pkgconfig_info.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_pkgconfig_info.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}} @* @w{Copyright @copyright{} 2008 Sven Verdoolaege @email{skimo@@kotnet.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_create_stdint_h
+@unnumberedsec ax_create_stdint_h
+
+@majorheading Synopsis
+
+@smallexample
+AX_CREATE_STDINT_H [( HEADER-TO-GENERATE [, HEDERS-TO-CHECK])]
+@end smallexample
+
+@majorheading Description
+
+the "ISO C9X: 7.18 Integer types <stdint.h>" section requires the
+existence of an include file <stdint.h> that defines a set of typedefs,
+especially uint8_t,int32_t,uintptr_t. Many older installations will not
+provide this file, but some will have the very same definitions in
+<inttypes.h>. In other environments we can use the inet-types in
+<sys/types.h> which would define the typedefs int8_t and u_int8_t
+respectively.
+
+This macros will create a local "_stdint.h" or the headerfile given as
+an argument. In many cases that file will just "#include <stdint.h>" or
+"#include <inttypes.h>", while in other environments it will provide the
+set of basic 'stdint's definitions/typedefs:
+
+@smallexample
+ int8_t,uint8_t,int16_t,uint16_t,int32_t,uint32_t,intptr_t,uintptr_t
+ int_least32_t.. int_fast32_t.. intmax_t
+@end smallexample
+
+which may or may not rely on the definitions of other files, or using
+the AC_CHECK_SIZEOF macro to determine the actual sizeof each type.
+
+if your header files require the stdint-types you will want to create an
+installable file mylib-int.h that all your other installable header may
+include. So if you have a library package named "mylib", just use
+
+@smallexample
+ AX_CREATE_STDINT_H(mylib-int.h)
+@end smallexample
+
+in configure.ac and go to install that very header file in Makefile.am
+along with the other headers (mylib.h) - and the mylib-specific headers
+can simply use "#include <mylib-int.h>" to obtain the stdint-types.
+
+Remember, if the system already had a valid <stdint.h>, the generated
+file will include it directly. No need for fuzzy HAVE_STDINT_H things...
+(oops, GCC 4.2.x has deliberately disabled its stdint.h for non-c99
+compilation and the c99-mode is not the default. Therefore this macro
+will not use the compiler's stdint.h - please complain to the GCC
+developers).
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_stdint_h.m4,latest
+version of @file{ax_create_stdint_h.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_stdint_h.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_create_target_h
+@unnumberedsec ax_create_target_h
+
+@majorheading Synopsis
+
+@smallexample
+AX_CREATE_TARGET_H [(HEADER-FILE [,PREFIX)]
+@end smallexample
+
+@majorheading Description
+
+Create the header-file and let it contain '#defines' for the target
+platform. This macro is used for libraries that have platform-specific
+quirks. Instead of inventing a target-specific target.h.in files, just
+let it create a header file from the definitions of AC_CANONICAL_SYSTEM
+and put only ifdef's in the installed header-files.
+
+@smallexample
+ if the HEADER-FILE is absent, [target.h] is used.
+ if the PREFIX is absent, [TARGET] is used.
+ the prefix can be the packagename. (y:a-z-:A-Z_:)
+@end smallexample
+
+The defines look like...
+
+@smallexample
+ #ifndef TARGET_CPU_M68K
+ #define TARGET_CPU_M68K "m68k"
+ #endif
+@end smallexample
+
+@smallexample
+ #ifndef TARGET_OS_LINUX
+ #define TARGET_OS_LINUX "linux-gnu"
+ #endif
+@end smallexample
+
+@smallexample
+ #ifndef TARGET_OS_TYPE /* the string itself */
+ #define TARGET_OS_TYPE "linux-gnu"
+ #endif
+@end smallexample
+
+Detail: in the case of hppa1.1, the three idents "hppa1_1" "hppa1" and
+"hppa" are derived, for an m68k it just two, "m68k" and "m".
+
+The CREATE_TARGET_H__ variant is almost the same function, but
+everything is lowercased instead of uppercased, and there is a "__" in
+front of each prefix, so it looks like...
+
+@smallexample
+ #ifndef __target_os_linux
+ #define __target_os_linux "linux-gnulibc2"
+ #endif
+@end smallexample
+
+@smallexample
+ #ifndef __target_os__ /* the string itself */
+ #define __target_os__ "linux-gnulibc2"
+ #endif
+@end smallexample
+
+@smallexample
+ #ifndef __target_cpu_i586
+ #define __target_cpu_i586 "i586"
+ #endif
+@end smallexample
+
+@smallexample
+ #ifndef __target_arch_i386
+ #define __target_arch_i386 "i386"
+ #endif
+@end smallexample
+
+@smallexample
+ #ifndef __target_arch__ /* cpu family arch */
+ #define __target_arch__ "i386"
+ #endif
+@end smallexample
+
+Other differences: the default string-define is "__" instead of "_TYPE".
+
+Personally, I prefer the second variant (which had been the first in the
+devprocess of this file but I assume people will often fallback to the
+primary variant presented herein).
+
+NOTE: CREATE_TARGET_H does also fill HOST_OS-defines Functionality has
+been split over functions called CREATE_TARGET_H_UPPER,
+CREATE_TARGET_H_LOWER, CREATE_TARGET_HOST_UPPER, and
+CREATE_TARGET_HOST_LOWER.
+
+@smallexample
+ CREATE_TARGET_H uses CREATE_TARGET_H_UPPER CREATE_TARGET_HOST_UPPER
+ CREATE_TARGET_H_ uses CREATE_TARGET_H_LOWER CREATE_TARGET_HOST_LOWER
+@end smallexample
+
+There is now a CREATE_PREFIX_TARGET_H in this file as a shorthand for
+PREFIX_CONFIG_H from a target.h file, however w/o the target.h ever
+created (the prefix is a bit different, since we add an extra -target-
+and -host-).
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_target_h.m4,latest
+version of @file{ax_create_target_h.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_target_h.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cvs
+@unnumberedsec ax_cvs
+
+@majorheading Synopsis
+
+@smallexample
+AX_CVS([ANON_CVSROOT])
+@end smallexample
+
+@majorheading Description
+
+Adds support cvs targets within your Makefile.
+
+Branching and releasing relies on you using the following version
+format:
+
+@smallexample
+ MAJOR.MINOR.POINT
+@end smallexample
+
+where MAJOR is the major version number, MINOR is the minor version
+number and POINT is the point release number.
+
+make update
+
+@smallexample
+ performs a cvs update
+@end smallexample
+
+make commitlog
+
+@smallexample
+ Generates a ChangeLog template with the modified, added
+ and removed files and opens it up for editing. This is
+ not normally used directly, but is instead called by
+ commit. It is useful however if you want to document
+ the work you have done, but don't want to commit just
+ yet.
+@end smallexample
+
+make commit
+
+@smallexample
+ performs a cvs commit after first performing a cvs
+ update and generating a commit log.
+@end smallexample
+
+make cvs-rm FILES="file1 file2 ..."
+
+@smallexample
+ removes a file or files specified by the FILES
+ variable from the file system and from cvs. It will
+ interactively ask you to confirm the file removal,
+ unless the file does not exist on the file system.
+@end smallexample
+
+make cvs-add FILES="file1 file2 ..."
+
+@smallexample
+ adds a file or files specified by the FILES variable
+ to cvs.
+@end smallexample
+
+make branch-major
+
+@smallexample
+ creates a branch based on the major version number,
+ increments the major version number, sets the minor
+ and point versions to zero and checks out the branch
+ into a new directory.
+@end smallexample
+
+make branch-minor
+
+@smallexample
+ creates a branch based on the minor version number,
+ increments the minor version, sets the point version
+ to zero number and checks out the branch into a new
+ directory.
+@end smallexample
+
+make release
+
+@smallexample
+ performs a cvs update, followed by a distcheck, then
+ creates a release for the current version, increments
+ the point release number and checks out the release
+ into a new directory
+@end smallexample
+
+make quick-release
+
+@smallexample
+ same as release, but distcheck is not performed
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cvs.m4,latest
+version of @file{ax_cvs.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cvs.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Tom Howard @email{tomhoward@@users.sf.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_bool
+@unnumberedsec ax_cxx_bool
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_BOOL
+@end smallexample
+
+@majorheading Description
+
+If the compiler recognizes bool as a separate built-in type, define
+HAVE_BOOL. Note that a typedef is not a separate type since you cannot
+overload a function such that it accepts either the basic type or the
+typedef.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_bool.m4,latest
+version of @file{ax_cxx_bool.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_bool.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_compile_stdcxx
+@unnumberedsec ax_cxx_compile_stdcxx
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_COMPILE_STDCXX(VERSION, [ext|noext], [mandatory|optional])
+@end smallexample
+
+@majorheading Description
+
+Check for baseline language coverage in the compiler for the specified
+version of the C++ standard. If necessary, add switches to CXX and
+CXXCPP to enable support. VERSION may be '11', '14', '17', or '20' for
+the respective C++ standard version.
+
+The second argument, if specified, indicates whether you insist on an
+extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g.
+-std=c++11). If neither is specified, you get whatever works, with
+preference for no added switch, and then for an extended mode.
+
+The third argument, if specified 'mandatory' or if left unspecified,
+indicates that baseline support for the specified C++ standard is
+required and that the macro should error out if no mode with that
+support is found. If specified 'optional', then configuration proceeds
+regardless, after defining HAVE_CXX$@{VERSION@} if and only if a
+supporting mode is found.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx.m4,latest
+version of @file{ax_cxx_compile_stdcxx.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Benjamin Kosnik @email{bkoz@@redhat.com}} @* @w{Copyright @copyright{} 2012 Zack Weinberg @email{zackw@@panix.com}} @* @w{Copyright @copyright{} 2013 Roy Stogner @email{roystgnr@@ices.utexas.edu}} @* @w{Copyright @copyright{} 2014, 2015 Google Inc.; contributed by Alexey Sokolov @email{sokolov@@google.com}} @* @w{Copyright @copyright{} 2015 Paul Norman @email{penorman@@mac.com}} @* @w{Copyright @copyright{} 2015 Moritz Klammler @email{moritz@@klammler.eu}} @* @w{Copyright @copyright{} 2016, 2018 Krzesimir Nowak @email{qdlacz@@gmail.com}} @* @w{Copyright @copyright{} 2019 Enji Cooper @email{yaneurabeya@@gmail.com}} @* @w{Copyright @copyright{} 2020 Jason Merrill @email{jason@@redhat.com}} @* @w{Copyright @copyright{} 2021 Jörn Heusipp @email{osmanx@@problemloesungsmaschine.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_compile_stdcxx_0x
+@unnumberedsec ax_cxx_compile_stdcxx_0x
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_COMPILE_STDCXX_0X
+@end smallexample
+
+@majorheading Description
+
+Check for baseline language coverage in the compiler for the C++0x
+standard.
+
+This macro is deprecated and has been superseded by the
+AX_CXX_COMPILE_STDCXX_11 macro which should be used instead.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_0x.m4,latest
+version of @file{ax_cxx_compile_stdcxx_0x.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_0x.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Benjamin Kosnik @email{bkoz@@redhat.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_compile_stdcxx_11
+@unnumberedsec ax_cxx_compile_stdcxx_11
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_COMPILE_STDCXX_11([ext|noext], [mandatory|optional])
+@end smallexample
+
+@majorheading Description
+
+Check for baseline language coverage in the compiler for the C++11
+standard; if necessary, add switches to CXX and CXXCPP to enable
+support.
+
+This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
+macro with the version set to C++11. The two optional arguments are
+forwarded literally as the second and third argument respectively.
+Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
+more information. If you want to use this macro, you also need to
+download the ax_cxx_compile_stdcxx.m4 file.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_11.m4,latest
+version of @file{ax_cxx_compile_stdcxx_11.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_11.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Benjamin Kosnik @email{bkoz@@redhat.com}} @* @w{Copyright @copyright{} 2012 Zack Weinberg @email{zackw@@panix.com}} @* @w{Copyright @copyright{} 2013 Roy Stogner @email{roystgnr@@ices.utexas.edu}} @* @w{Copyright @copyright{} 2014, 2015 Google Inc.; contributed by Alexey Sokolov @email{sokolov@@google.com}} @* @w{Copyright @copyright{} 2015 Paul Norman @email{penorman@@mac.com}} @* @w{Copyright @copyright{} 2015 Moritz Klammler @email{moritz@@klammler.eu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_compile_stdcxx_14
+@unnumberedsec ax_cxx_compile_stdcxx_14
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_COMPILE_STDCXX_14([ext|noext], [mandatory|optional])
+@end smallexample
+
+@majorheading Description
+
+Check for baseline language coverage in the compiler for the C++14
+standard; if necessary, add switches to CXX and CXXCPP to enable
+support.
+
+This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
+macro with the version set to C++14. The two optional arguments are
+forwarded literally as the second and third argument respectively.
+Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
+more information. If you want to use this macro, you also need to
+download the ax_cxx_compile_stdcxx.m4 file.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_14.m4,latest
+version of @file{ax_cxx_compile_stdcxx_14.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_14.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2015 Moritz Klammler @email{moritz@@klammler.eu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_compile_stdcxx_17
+@unnumberedsec ax_cxx_compile_stdcxx_17
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_COMPILE_STDCXX_17([ext|noext], [mandatory|optional])
+@end smallexample
+
+@majorheading Description
+
+Check for baseline language coverage in the compiler for the C++17
+standard; if necessary, add switches to CXX and CXXCPP to enable
+support.
+
+This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
+macro with the version set to C++17. The two optional arguments are
+forwarded literally as the second and third argument respectively.
+Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
+more information. If you want to use this macro, you also need to
+download the ax_cxx_compile_stdcxx.m4 file.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_17.m4,latest
+version of @file{ax_cxx_compile_stdcxx_17.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_17.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2015 Moritz Klammler @email{moritz@@klammler.eu}} @* @w{Copyright @copyright{} 2016 Krzesimir Nowak @email{qdlacz@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_complex_math_in_namespace_std
+@unnumberedsec ax_cxx_complex_math_in_namespace_std
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_COMPLEX_MATH_IN_NAMESPACE_STD
+@end smallexample
+
+@majorheading Description
+
+If the C math functions are in the cmath header file and std::
+namespace, define HAVE_MATH_FN_IN_NAMESPACE_STD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_complex_math_in_namespace_std.m4,latest
+version of @file{ax_cxx_complex_math_in_namespace_std.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_complex_math_in_namespace_std.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_const_cast
+@unnumberedsec ax_cxx_const_cast
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_CONST_CAST
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports const_cast<>, define HAVE_CONST_CAST.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_const_cast.m4,latest
+version of @file{ax_cxx_const_cast.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_const_cast.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_cppflags_std_lang
+@unnumberedsec ax_cxx_cppflags_std_lang
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_CPPFLAGS_STD_LANG(CPP-FLAGS)
+@end smallexample
+
+@majorheading Description
+
+Append to CPP-FLAGS the set of flags that should be passed to the C++
+preprocessor in order to enable use of C++ features as defined in the
+ANSI C++ standard (eg. use of standard iostream classes in the `std'
+namespace, etc.).
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_cppflags_std_lang.m4,latest
+version of @file{ax_cxx_cppflags_std_lang.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_cppflags_std_lang.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Ludovic Courtes @email{ludo@@chbouib.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_cxxflags_std_lang
+@unnumberedsec ax_cxx_cxxflags_std_lang
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_CXXFLAGS_STD_LANG(CXX-FLAGS)
+@end smallexample
+
+@majorheading Description
+
+Append to variable CXX-FLAGS the set of compile-time flags that should
+be passed to the C++ compiler in order to enable use of C++ features as
+defined in the ANSI C++ standard (eg. use of standard iostream classes
+in the `std' namespace, etc.). Note that if you use GNU Libtool you may
+need to prefix each of those flags with `-Xcompiler' so that Libtool
+doesn't discard them (see Libtool's manual and `AC_LIBTOOLIZE_CFLAGS').
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_cxxflags_std_lang.m4,latest
+version of @file{ax_cxx_cxxflags_std_lang.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_cxxflags_std_lang.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Ludovic Courtes @email{ludo@@chbouib.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_default_template_parameters
+@unnumberedsec ax_cxx_default_template_parameters
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_DEFAULT_TEMPLATE_PARAMETERS
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports default template parameters, define
+HAVE_DEFAULT_TEMPLATE_PARAMETERS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_default_template_parameters.m4,latest
+version of @file{ax_cxx_default_template_parameters.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_default_template_parameters.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_delete_method
+@unnumberedsec ax_cxx_delete_method
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_DELETE_METHOD
+@end smallexample
+
+@majorheading Description
+
+Check whether the C++11 '= delete' syntax, for suppressing undesired
+implicit methods, is supported. If it is, the macro DELETE_METHOD is
+defined to '= delete'; otherwise it is defined to nothing. Thus, you
+can write
+
+@smallexample
+ class foo @{
+ ...
+ private:
+ foo(foo const&) DELETE_METHOD;
+ @};
+@end smallexample
+
+to delete the 'foo' copy constructor or fall back to the idiom of a
+private undefined method if the compiler doesn't support this.
+
+Does not test '= delete' on a template specialization. Does not ensure
+that the compiler is in C++11 mode.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_delete_method.m4,latest
+version of @file{ax_cxx_delete_method.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_delete_method.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2012 Zack Weinberg @email{zackw@@panix.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_dtor_after_atexit
+@unnumberedsec ax_cxx_dtor_after_atexit
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_DTOR_AFTER_ATEXIT
+@end smallexample
+
+@majorheading Description
+
+If the C++ compiler calls global destructors after atexit functions,
+define HAVE_DTOR_AFTER_ATEXIT.
+
+Conformant behavior is to have global destructors after atexit
+
+Per Paragraph 3.6.3/1 of the C++11 Standard:
+
+Destructors (12.4) for initialized objects [..] with static storage
+duration are called as a result of returning from main and as a result
+of calling std::exit (18.5).
+
+And per Paragraph 3.6.3/3:
+
+If the completion of the initialization of an object with static storage
+duration is sequenced before a call to std::atexit [..], the call to the
+function passed to std::atexit is sequenced before the call to the
+destructor for the object.
+
+WARNING: If cross-compiling, the test cannot be performed, the default
+action is to define HAVE_DTOR_AFTER_ATEXIT.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_dtor_after_atexit.m4,latest
+version of @file{ax_cxx_dtor_after_atexit.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_dtor_after_atexit.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_dynamic_cast
+@unnumberedsec ax_cxx_dynamic_cast
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_DYNAMIC_CAST
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports dynamic_cast<>, define HAVE_DYNAMIC_CAST.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_dynamic_cast.m4,latest
+version of @file{ax_cxx_dynamic_cast.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_dynamic_cast.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_enum_computations
+@unnumberedsec ax_cxx_enum_computations
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_ENUM_COMPUTATIONS
+@end smallexample
+
+@majorheading Description
+
+If the compiler handle computations inside an enum, define
+HAVE_ENUM_COMPUTATIONS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_enum_computations.m4,latest
+version of @file{ax_cxx_enum_computations.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_enum_computations.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_enum_computations_with_cast
+@unnumberedsec ax_cxx_enum_computations_with_cast
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_ENUM_COMPUTATIONS_WITH_CAST
+@end smallexample
+
+@majorheading Description
+
+If the compiler handle (int) casts in enum computations, define
+HAVE_ENUM_COMPUTATIONS_WITH_CAST.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_enum_computations_with_cast.m4,latest
+version of @file{ax_cxx_enum_computations_with_cast.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_enum_computations_with_cast.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_erase_iterator_type
+@unnumberedsec ax_cxx_erase_iterator_type
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_ERASE_ITERATOR_TYPE
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports define erase with constant iterator or with
+classical iterator.
+
+Define autoconfigured_erase_iterator to const_iterator if supported and
+iterator if not supported.
+
+Define HAVE_ERASE_CONSTANT_ITERATOR if supported
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_erase_iterator_type.m4,latest
+version of @file{ax_cxx_erase_iterator_type.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_erase_iterator_type.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2015 Bastien ROUCARIES}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_exceptions
+@unnumberedsec ax_cxx_exceptions
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_EXCEPTIONS
+@end smallexample
+
+@majorheading Description
+
+If the C++ compiler supports exceptions handling (try, throw and catch),
+define HAVE_EXCEPTIONS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_exceptions.m4,latest
+version of @file{ax_cxx_exceptions.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_exceptions.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_explicit
+@unnumberedsec ax_cxx_explicit
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_EXPLICIT
+@end smallexample
+
+@majorheading Description
+
+If the compiler can be asked to prevent using implicitly one argument
+constructors as converting constructors with the explicit keyword,
+define HAVE_EXPLICIT.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_explicit.m4,latest
+version of @file{ax_cxx_explicit.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_explicit.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_explicit_instantiations
+@unnumberedsec ax_cxx_explicit_instantiations
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_EXPLICIT_INSTANTIATIONS
+@end smallexample
+
+@majorheading Description
+
+If the C++ compiler supports explicit instantiations syntax, define
+HAVE_INSTANTIATIONS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_explicit_instantiations.m4,latest
+version of @file{ax_cxx_explicit_instantiations.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_explicit_instantiations.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_explicit_template_function_qualification
+@unnumberedsec ax_cxx_explicit_template_function_qualification
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports explicit template function qualification,
+define HAVE_EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_explicit_template_function_qualification.m4,latest
+version of @file{ax_cxx_explicit_template_function_qualification.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_explicit_template_function_qualification.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_extern_template
+@unnumberedsec ax_cxx_extern_template
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_EXTERN_TEMPLATE
+@end smallexample
+
+@majorheading Description
+
+Test whether the C++ compiler supports "extern template".
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_extern_template.m4,latest
+version of @file{ax_cxx_extern_template.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_extern_template.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Patrick Mauritz @email{oxygene@@studentenbude.ath.cx}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_full_specialization_syntax
+@unnumberedsec ax_cxx_full_specialization_syntax
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_FULL_SPECIALIZATION_SYNTAX
+@end smallexample
+
+@majorheading Description
+
+If the compiler recognizes the full specialization syntax, define
+HAVE_FULL_SPECIALIZATION_SYNTAX.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_full_specialization_syntax.m4,latest
+version of @file{ax_cxx_full_specialization_syntax.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_full_specialization_syntax.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_function_nontype_parameters
+@unnumberedsec ax_cxx_function_nontype_parameters
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_FUNCTION_NONTYPE_PARAMETERS
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports function templates with non-type parameters,
+define HAVE_FUNCTION_NONTYPE_PARAMETERS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_function_nontype_parameters.m4,latest
+version of @file{ax_cxx_function_nontype_parameters.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_function_nontype_parameters.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_function_try_blocks
+@unnumberedsec ax_cxx_function_try_blocks
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_FUNCTION_TRY_BLOCKS
+@end smallexample
+
+@majorheading Description
+
+If the C++ compiler supports function try blocks, define
+`HAVE_FUNCTION_TRY_BLOCKS'.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_function_try_blocks.m4,latest
+version of @file{ax_cxx_function_try_blocks.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_function_try_blocks.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Matthew D. Langston}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_cxx_gcc_abi_demangle
+@unnumberedsec ax_cxx_gcc_abi_demangle
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_GCC_ABI_DEMANGLE
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports GCC C++ ABI name demangling (has header
+cxxabi.h and abi::__cxa_demangle() function), define
+HAVE_GCC_ABI_DEMANGLE
+
+Adapted from AX_CXX_RTTI by Luc Maisonobe
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_gcc_abi_demangle.m4,latest
+version of @file{ax_cxx_gcc_abi_demangle.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_gcc_abi_demangle.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Neil Ferguson @email{nferguso@@eso.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_gnucxx_hashmap
+@unnumberedsec ax_cxx_gnucxx_hashmap
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_GNUCXX_HASHMAP
+@end smallexample
+
+@majorheading Description
+
+Test for the presence of GCC's hashmap STL extension.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_gnucxx_hashmap.m4,latest
+version of @file{ax_cxx_gnucxx_hashmap.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_gnucxx_hashmap.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Patrick Mauritz @email{oxygene@@studentenbude.ath.cx}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_bad_function_call
+@unnumberedsec ax_cxx_have_bad_function_call
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_BAD_FUNCTION_CALL()
+@end smallexample
+
+@majorheading Description
+
+This macro checks if std::bad_function_call, added in C++11, is defined
+in the <functional> header.
+
+If it is, define the ax_cv_cxx_have_bad_function_call environment
+variable to "yes" and define HAVE_CXX_BAD_FUNCTION_CALL.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bad_function_call.m4,latest
+version of @file{ax_cxx_have_bad_function_call.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bad_function_call.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Enrico M. Crisostomo @email{enrico.m.crisostomo@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_bind
+@unnumberedsec ax_cxx_have_bind
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_BIND()
+@end smallexample
+
+@majorheading Description
+
+This macro checks if std::bind, added in C++11, is defined in the
+<functional> header.
+
+If it is, define the ax_cv_cxx_have_bind environment variable to "yes"
+and define HAVE_CXX_BIND.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bind.m4,latest
+version of @file{ax_cxx_have_bind.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bind.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Enrico M. Crisostomo @email{enrico.m.crisostomo@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_bit_and
+@unnumberedsec ax_cxx_have_bit_and
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_BIT_AND()
+@end smallexample
+
+@majorheading Description
+
+This macro checks if std::bit_and, added in C++11, is defined in the
+<functional> header.
+
+If it is, define the ax_cv_cxx_have_bit_and environment variable to
+"yes" and define HAVE_CXX_BIT_AND.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bit_and.m4,latest
+version of @file{ax_cxx_have_bit_and.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bit_and.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Enrico M. Crisostomo @email{enrico.m.crisostomo@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_bit_or
+@unnumberedsec ax_cxx_have_bit_or
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_BIT_OR()
+@end smallexample
+
+@majorheading Description
+
+This macro checks if std::bit_or, added in C++11, is defined in the
+<functional> header.
+
+If it is, define the ax_cv_cxx_have_bit_or environment variable to "yes"
+and define HAVE_CXX_BIT_OR.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bit_or.m4,latest
+version of @file{ax_cxx_have_bit_or.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bit_or.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Enrico M. Crisostomo @email{enrico.m.crisostomo@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_bit_xor
+@unnumberedsec ax_cxx_have_bit_xor
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_BIT_XOR()
+@end smallexample
+
+@majorheading Description
+
+This macro checks if std::bit_xor, added in C++11, is defined in the
+<functional> header.
+
+If it is, define the ax_cv_cxx_have_bit_xor environment variable to
+"yes" and define HAVE_CXX_BIT_XOR.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bit_xor.m4,latest
+version of @file{ax_cxx_have_bit_xor.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bit_xor.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Enrico M. Crisostomo @email{enrico.m.crisostomo@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_complex
+@unnumberedsec ax_cxx_have_complex
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_COMPLEX
+@end smallexample
+
+@majorheading Description
+
+If the compiler has complex<T>, define HAVE_COMPLEX.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_complex.m4,latest
+version of @file{ax_cxx_have_complex.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_complex.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_complex_math1
+@unnumberedsec ax_cxx_have_complex_math1
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_COMPLEX_MATH1
+@end smallexample
+
+@majorheading Description
+
+If the compiler has the complex math functions cos, cosh, exp, log, pow,
+sin, sinh, sqrt, tan and tanh, define HAVE_COMPLEX_MATH1.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_complex_math1.m4,latest
+version of @file{ax_cxx_have_complex_math1.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_complex_math1.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_complex_math2
+@unnumberedsec ax_cxx_have_complex_math2
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_COMPLEX_MATH2
+@end smallexample
+
+@majorheading Description
+
+If the compiler has the complex math functions acos, asin, atan, atan2
+and log10, define HAVE_COMPLEX_MATH2.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_complex_math2.m4,latest
+version of @file{ax_cxx_have_complex_math2.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_complex_math2.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_cref
+@unnumberedsec ax_cxx_have_cref
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_CREF()
+@end smallexample
+
+@majorheading Description
+
+This macro checks if std::cref, added in C++11, is defined in the
+<functional> header.
+
+If it is, define the ax_cv_cxx_have_cref environment variable to "yes"
+and define HAVE_CXX_CREF.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_cref.m4,latest
+version of @file{ax_cxx_have_cref.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_cref.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Enrico M. Crisostomo @email{enrico.m.crisostomo@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_empty_iostream
+@unnumberedsec ax_cxx_have_empty_iostream
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_EMPTY_IOSTREAM
+@end smallexample
+
+@majorheading Description
+
+Check if the compiler allow the empty iostream constructor. Ok before
+gcc3, not after.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_empty_iostream.m4,latest
+version of @file{ax_cxx_have_empty_iostream.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_empty_iostream.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Alain BARBET @email{alian@@cpan.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_cxx_have_ext_hash_map
+@unnumberedsec ax_cxx_have_ext_hash_map
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_EXT_HASH_MAP
+@end smallexample
+
+@majorheading Description
+
+Check if the compiler has ext/hash_map Eg:
+
+@smallexample
+ #if defined(HAVE_EXT_HASH_MAP)
+ #include <ext/hash_map>
+ #else
+ #if defined(HAVE_STL)
+ #include <hash_map>
+ #else
+ # Can't find hash_map header !
+ #endif
+ #endif
+@end smallexample
+
+This file is Alain BARBET's AC_CXX_HAVE_EXT_HASH_SET 1.1 with
+s/set/map/g :)
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ext_hash_map.m4,latest
+version of @file{ax_cxx_have_ext_hash_map.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ext_hash_map.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Perceval ANICHINI}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_cxx_have_ext_hash_set
+@unnumberedsec ax_cxx_have_ext_hash_set
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_EXT_HASH_SET
+@end smallexample
+
+@majorheading Description
+
+Check if the compiler has ext/hash_set Eg:
+
+@smallexample
+ #if defined(HAVE_EXT_HASH_SET)
+ #include <ext/hash_set>
+ #else
+ #if defined(HAVE_STL)
+ #include <hash_set>
+ #else
+ # Can't find hash_set header !
+ #endif
+ #endif
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ext_hash_set.m4,latest
+version of @file{ax_cxx_have_ext_hash_set.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ext_hash_set.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Alain BARBET @email{alian@@cpan.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_cxx_have_ext_slist
+@unnumberedsec ax_cxx_have_ext_slist
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_EXT_SLIST
+@end smallexample
+
+@majorheading Description
+
+Check if the compiler has ext/slist. Eg:
+
+@smallexample
+ #if defined(HAVE_EXT_SLIST)
+ #include <ext/slist>
+ #else
+ #if defined(HAVE_STL)
+ #include <slist>
+ #else
+ # Can't find slist header !
+ #endif
+ #endif
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ext_slist.m4,latest
+version of @file{ax_cxx_have_ext_slist.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ext_slist.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Alain BARBET @email{alian@@cpan.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_cxx_have_freeze_sstream
+@unnumberedsec ax_cxx_have_freeze_sstream
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_FREEZE_SSTREAM
+@end smallexample
+
+@majorheading Description
+
+Check if the compiler has (need) freeze method call in stringstream/
+strstream. Seems that Win32 and STLPort have it, libstdc++ not ...
+
+Eg:
+
+@smallexample
+ #include <sstream>
+ #ifdef HAVE_NAMESPACES
+ using namespace std;
+ #endif
+ #ifdef HAVE_SSTREAM
+ stringstream message;
+ #else
+ strstream message;
+ #endif
+ message << "Hello";
+ #ifdef HAVE_FREEZE_SSTREAM
+ message.freeze(0);
+ #endif
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_freeze_sstream.m4,latest
+version of @file{ax_cxx_have_freeze_sstream.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_freeze_sstream.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Alain BARBET @email{alian@@cpan.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_cxx_have_function
+@unnumberedsec ax_cxx_have_function
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_FUNCTION()
+@end smallexample
+
+@majorheading Description
+
+This macro checks if std::function, added in C++11, is defined in the
+<functional> header.
+
+If it is, define the ax_cv_cxx_have_function environment variable to
+"yes" and define HAVE_CXX_FUNCTION.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_function.m4,latest
+version of @file{ax_cxx_have_function.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_function.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Enrico M. Crisostomo @email{enrico.m.crisostomo@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_hash
+@unnumberedsec ax_cxx_have_hash
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_HASH()
+@end smallexample
+
+@majorheading Description
+
+This macro checks if std::hash, added in C++11, is defined in the
+<functional> header.
+
+If it is, define the ax_cv_cxx_have_hash environment variable to "yes"
+and define HAVE_CXX_HASH.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_hash.m4,latest
+version of @file{ax_cxx_have_hash.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_hash.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Enrico M. Crisostomo @email{enrico.m.crisostomo@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_ieee_math
+@unnumberedsec ax_cxx_have_ieee_math
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_IEEE_MATH
+@end smallexample
+
+@majorheading Description
+
+If the compiler has the double math functions acosh, asinh, atanh, cbrt,
+expm1, erf, erfc, isnan, j0, j1, jn, gamma, lgamma, ilogb, logb, log1p,
+rint, y0, y1, yn, hypot, nextafter, remainder and scalb, define
+HAVE_IEEE_MATH.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ieee_math.m4,latest
+version of @file{ax_cxx_have_ieee_math.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ieee_math.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_is_bind_expression
+@unnumberedsec ax_cxx_have_is_bind_expression
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_IS_BIND_EXPRESSION()
+@end smallexample
+
+@majorheading Description
+
+This macro checks if std::is_bind_expression, added in C++11, is defined
+in the <functional> header.
+
+If it is, define the ax_cv_cxx_have_is_bind_expression environment
+variable to "yes" and define HAVE_CXX_IS_BIND_EXPRESSION.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_is_bind_expression.m4,latest
+version of @file{ax_cxx_have_is_bind_expression.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_is_bind_expression.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Enrico M. Crisostomo @email{enrico.m.crisostomo@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_is_placeholder
+@unnumberedsec ax_cxx_have_is_placeholder
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_IS_PLACEHOLDER()
+@end smallexample
+
+@majorheading Description
+
+This macro checks if std::is_placeholder, added in C++11, is defined in
+the <functional> header.
+
+If it is, define the ax_cv_cxx_have_is_placeholder environment variable
+to "yes" and define HAVE_CXX_IS_PLACEHOLDER.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_is_placeholder.m4,latest
+version of @file{ax_cxx_have_is_placeholder.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_is_placeholder.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Enrico M. Crisostomo @email{enrico.m.crisostomo@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_koenig_lookup
+@unnumberedsec ax_cxx_have_koenig_lookup
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_KOENIG_LOOKUP
+@end smallexample
+
+@majorheading Description
+
+Define CXX_HAVE_KOENIG_LOOKUP if the C++ compiler has argument-dependent
+name lookup (a.k.a. Koenig lookup).
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_koenig_lookup.m4,latest
+version of @file{ax_cxx_have_koenig_lookup.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_koenig_lookup.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Steve M. Robbins @email{smr@@debian.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_long_long_for_iostream
+@unnumberedsec ax_cxx_have_long_long_for_iostream
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_LONG_LONG_FOR_IOSTREAM
+@end smallexample
+
+@majorheading Description
+
+Check if the compiler allow long long for [i|o]stream Seems that OpenBSD
+/ gcc-3 don't have it.
+
+Eg:
+
+@smallexample
+ #include <iostream>
+ #ifdef HAVE_SSTREAM
+ #include <strstream>
+ #else
+ #include <sstream>
+ #endif
+ #ifdef HAVE_NAMESPACES
+ using namespace std;
+ #endif
+ ostream str((streambuf *)0);
+ long long lo=1;
+ str <<
+ #ifdef HAVE_LONG_LONG_FOR_IOSTREAM
+ (long int)
+ #endif
+ lo;
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_long_long_for_iostream.m4,latest
+version of @file{ax_cxx_have_long_long_for_iostream.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_long_long_for_iostream.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Alain BARBET @email{alian@@cpan.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_cxx_have_mem_fn
+@unnumberedsec ax_cxx_have_mem_fn
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_MEM_FN()
+@end smallexample
+
+@majorheading Description
+
+This macro checks if std::mem_fn, added in C++11, is defined in the
+<functional> header.
+
+If it is, define the ax_cv_cxx_have_mem_fn environment variable to "yes"
+and define HAVE_CXX_MEM_FN.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_mem_fn.m4,latest
+version of @file{ax_cxx_have_mem_fn.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_mem_fn.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Enrico M. Crisostomo @email{enrico.m.crisostomo@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_numeric_limits
+@unnumberedsec ax_cxx_have_numeric_limits
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_NUMERIC_LIMITS
+@end smallexample
+
+@majorheading Description
+
+If the compiler has numeric_limits<T>, define HAVE_NUMERIC_LIMITS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_numeric_limits.m4,latest
+version of @file{ax_cxx_have_numeric_limits.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_numeric_limits.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_placeholders
+@unnumberedsec ax_cxx_have_placeholders
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_PLACEHOLDERS()
+@end smallexample
+
+@majorheading Description
+
+This macro checks if std::placeholders, added in C++11, is defined in
+the <functional> header.
+
+If it is, define the ax_cv_cxx_have_placeholders environment variable to
+"yes" and define HAVE_CXX_PLACEHOLDERS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_placeholders.m4,latest
+version of @file{ax_cxx_have_placeholders.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_placeholders.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Enrico M. Crisostomo @email{enrico.m.crisostomo@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_ref
+@unnumberedsec ax_cxx_have_ref
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_REF()
+@end smallexample
+
+@majorheading Description
+
+This macro checks if std::ref, added in C++11, is defined in the
+<functional> header.
+
+If it is, define the ax_cv_cxx_have_ref environment variable to "yes"
+and define HAVE_CXX_REF.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ref.m4,latest
+version of @file{ax_cxx_have_ref.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ref.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Enrico M. Crisostomo @email{enrico.m.crisostomo@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_reference_wrapper
+@unnumberedsec ax_cxx_have_reference_wrapper
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_REFERENCE_WRAPPER()
+@end smallexample
+
+@majorheading Description
+
+This macro checks if std::reference_wrapper, added in C++11, is defined
+in the <functional> header.
+
+If it is, define the ax_cv_cxx_have_reference_wrapper environment
+variable to "yes" and define HAVE_CXX_REFERENCE_WRAPPER.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_reference_wrapper.m4,latest
+version of @file{ax_cxx_have_reference_wrapper.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_reference_wrapper.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Enrico M. Crisostomo @email{enrico.m.crisostomo@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_sstream
+@unnumberedsec ax_cxx_have_sstream
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_SSTREAM
+@end smallexample
+
+@majorheading Description
+
+If the C++ library has a working stringstream, define HAVE_SSTREAM.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_sstream.m4,latest
+version of @file{ax_cxx_have_sstream.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_sstream.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Ben Stanley @email{Ben.Stanley@@exemail.com.au}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_std
+@unnumberedsec ax_cxx_have_std
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_STD
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports ISO C++ standard library (i.e., can include the
+files iostream, map, iomanip and cmath), define HAVE_STD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_std.m4,latest
+version of @file{ax_cxx_have_std.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_std.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_stl
+@unnumberedsec ax_cxx_have_stl
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_STL
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports the Standard Template Library, define HAVE_STL.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_stl.m4,latest
+version of @file{ax_cxx_have_stl.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_stl.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_string_push_back
+@unnumberedsec ax_cxx_have_string_push_back
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_STRING_PUSH_BACK
+@end smallexample
+
+@majorheading Description
+
+If the implementation of the C++ library provides the method
+std::string::push_back (char), define HAVE_STRING_PUSH_BACK.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_string_push_back.m4,latest
+version of @file{ax_cxx_have_string_push_back.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_string_push_back.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Jan Langer @email{jan@@langernetz.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_system_v_math
+@unnumberedsec ax_cxx_have_system_v_math
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_SYSTEM_V_MATH
+@end smallexample
+
+@majorheading Description
+
+If the compiler has the double math functions _class, trunc, itrunc,
+nearest, rsqrt, uitrunc, copysign, drem, finite, and unordered, define
+HAVE_SYSTEM_V_MATH.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_system_v_math.m4,latest
+version of @file{ax_cxx_have_system_v_math.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_system_v_math.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_valarray
+@unnumberedsec ax_cxx_have_valarray
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_VALARRAY
+@end smallexample
+
+@majorheading Description
+
+If the compiler has valarray<T>, define HAVE_VALARRAY.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_valarray.m4,latest
+version of @file{ax_cxx_have_valarray.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_valarray.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_have_vector_at
+@unnumberedsec ax_cxx_have_vector_at
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HAVE_VECTOR_AT
+@end smallexample
+
+@majorheading Description
+
+If the implementation of the C++ library provides the method
+std::vector::at(std::size_t), define HAVE_VECTOR_AT.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_vector_at.m4,latest
+version of @file{ax_cxx_have_vector_at.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_vector_at.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Jan Langer @email{jan@@langernetz.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_header_pre_stdcxx
+@unnumberedsec ax_cxx_header_pre_stdcxx
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HEADER_PRE_STDCXX
+@end smallexample
+
+@majorheading Description
+
+Check whether pre-ISO-C++ headers exist.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_pre_stdcxx.m4,latest
+version of @file{ax_cxx_header_pre_stdcxx.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_pre_stdcxx.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Benjamin Kosnik @email{bkoz@@redhat.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_header_stdcxx_0x
+@unnumberedsec ax_cxx_header_stdcxx_0x
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HEADER_STDCXX_0X
+@end smallexample
+
+@majorheading Description
+
+Check for library coverage of the C++0x standard.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_stdcxx_0x.m4,latest
+version of @file{ax_cxx_header_stdcxx_0x.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_stdcxx_0x.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Benjamin Kosnik @email{bkoz@@redhat.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_header_stdcxx_98
+@unnumberedsec ax_cxx_header_stdcxx_98
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HEADER_STDCXX_98
+@end smallexample
+
+@majorheading Description
+
+Check for complete library coverage of the C++1998/2003 standard.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_stdcxx_98.m4,latest
+version of @file{ax_cxx_header_stdcxx_98.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_stdcxx_98.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Benjamin Kosnik @email{bkoz@@redhat.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_header_stdcxx_tr1
+@unnumberedsec ax_cxx_header_stdcxx_tr1
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HEADER_STDCXX_TR1
+@end smallexample
+
+@majorheading Description
+
+Check for library coverage of the TR1 standard.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_stdcxx_tr1.m4,latest
+version of @file{ax_cxx_header_stdcxx_tr1.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_stdcxx_tr1.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Benjamin Kosnik @email{bkoz@@redhat.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_header_tr1_unordered_map
+@unnumberedsec ax_cxx_header_tr1_unordered_map
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HEADER_TR1_UNORDERED_MAP
+@end smallexample
+
+@majorheading Description
+
+Check whether the TR1 include <unordered_map> exists and define
+HAVE_TR1_UNORDERED_MAP if it does.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_tr1_unordered_map.m4,latest
+version of @file{ax_cxx_header_tr1_unordered_map.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_tr1_unordered_map.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Benjamin Kosnik @email{bkoz@@redhat.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_header_tr1_unordered_set
+@unnumberedsec ax_cxx_header_tr1_unordered_set
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HEADER_TR1_UNORDERED_SET
+@end smallexample
+
+@majorheading Description
+
+Check whether the TR1 include <unordered_set> exists and define
+HAVE_TR1_UNORDERED_SET if it does.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_tr1_unordered_set.m4,latest
+version of @file{ax_cxx_header_tr1_unordered_set.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_tr1_unordered_set.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Benjamin Kosnik @email{bkoz@@redhat.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_header_unordered_map
+@unnumberedsec ax_cxx_header_unordered_map
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HEADER_UNORDERED_MAP
+@end smallexample
+
+@majorheading Description
+
+Check whether the C++ include <unordered_map> exists and define
+HAVE_UNORDERED_MAP if it does.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_unordered_map.m4,latest
+version of @file{ax_cxx_header_unordered_map.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_unordered_map.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Benjamin Kosnik @email{bkoz@@redhat.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_header_unordered_set
+@unnumberedsec ax_cxx_header_unordered_set
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_HEADER_UNORDERED_SET
+@end smallexample
+
+@majorheading Description
+
+Check whether the C++ include <unordered_set> exists and define
+HAVE_UNORDERED_SET if it does.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_unordered_set.m4,latest
+version of @file{ax_cxx_header_unordered_set.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_unordered_set.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Benjamin Kosnik @email{bkoz@@redhat.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_ldflags_std_lang
+@unnumberedsec ax_cxx_ldflags_std_lang
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_LDFLAGS_STD_LANG(LD-FLAGS)
+@end smallexample
+
+@majorheading Description
+
+Append to LD-FLAGS the set of link-time flags that should be passed to
+the C++ compiler in order to enable use of C++ features as defined in
+the ANSI C++ standard (eg. use of standard iostream classes in the `std'
+namespace, etc.). Note that if you use GNU Libtool you may need to
+prefix each of those switches with `-Xlinker' so that Libtool doesn't
+discard them (see Libtool's manual and `AC_LIBTOOLIZE_LDFLAGS').
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_ldflags_std_lang.m4,latest
+version of @file{ax_cxx_ldflags_std_lang.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_ldflags_std_lang.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Ludovic Courtes @email{ludo@@chbouib.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_member_constants
+@unnumberedsec ax_cxx_member_constants
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_MEMBER_CONSTANTS
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports member constants, define HAVE_MEMBER_CONSTANTS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_member_constants.m4,latest
+version of @file{ax_cxx_member_constants.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_member_constants.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_member_templates
+@unnumberedsec ax_cxx_member_templates
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_MEMBER_TEMPLATES
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports member templates, define HAVE_MEMBER_TEMPLATES.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_member_templates.m4,latest
+version of @file{ax_cxx_member_templates.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_member_templates.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_member_templates_outside_class
+@unnumberedsec ax_cxx_member_templates_outside_class
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_MEMBER_TEMPLATES_OUTSIDE_CLASS
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports member templates outside the class declaration,
+define HAVE_MEMBER_TEMPLATES_OUTSIDE_CLASS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_member_templates_outside_class.m4,latest
+version of @file{ax_cxx_member_templates_outside_class.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_member_templates_outside_class.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_mutable
+@unnumberedsec ax_cxx_mutable
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_MUTABLE
+@end smallexample
+
+@majorheading Description
+
+If the compiler allows modifying class data members flagged with the
+mutable keyword even in const objects (for example in the body of a
+const member function), define HAVE_MUTABLE.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_mutable.m4,latest
+version of @file{ax_cxx_mutable.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_mutable.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_namespace_std
+@unnumberedsec ax_cxx_namespace_std
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_NAMESPACE_STD
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports namespace std, define HAVE_NAMESPACE_STD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_namespace_std.m4,latest
+version of @file{ax_cxx_namespace_std.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_namespace_std.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Todd Veldhuizen} @* @w{Copyright @copyright{} 2009 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_namespaces
+@unnumberedsec ax_cxx_namespaces
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_NAMESPACES
+@end smallexample
+
+@majorheading Description
+
+If the compiler can prevent names clashes using namespaces, define
+HAVE_NAMESPACES.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_namespaces.m4,latest
+version of @file{ax_cxx_namespaces.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_namespaces.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}} @* @w{Copyright @copyright{} 2013 Bastien Roucaries @email{roucaries.bastien+autoconf@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_new_for_scoping
+@unnumberedsec ax_cxx_new_for_scoping
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_NEW_FOR_SCOPING
+@end smallexample
+
+@majorheading Description
+
+If the compiler accepts the new for scoping rules (the scope of a
+variable declared inside the parentheses is restricted to the for-body),
+define HAVE_NEW_FOR_SCOPING.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_new_for_scoping.m4,latest
+version of @file{ax_cxx_new_for_scoping.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_new_for_scoping.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_old_for_scoping
+@unnumberedsec ax_cxx_old_for_scoping
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_OLD_FOR_SCOPING
+@end smallexample
+
+@majorheading Description
+
+If the compiler accepts the old for scoping rules (the scope of a
+variable declared inside the parentheses extends outside the for-body),
+define HAVE_OLD_FOR_SCOPING. Note that some compilers (notably g++ and
+egcs) support both new and old rules since they accept the old rules and
+only generate a warning.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_old_for_scoping.m4,latest
+version of @file{ax_cxx_old_for_scoping.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_old_for_scoping.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_partial_ordering
+@unnumberedsec ax_cxx_partial_ordering
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_PARTIAL_ORDERING
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports partial ordering, define HAVE_PARTIAL_ORDERING.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_partial_ordering.m4,latest
+version of @file{ax_cxx_partial_ordering.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_partial_ordering.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_partial_specialization
+@unnumberedsec ax_cxx_partial_specialization
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_PARTIAL_SPECIALIZATION
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports partial specialization, define
+HAVE_PARTIAL_SPECIALIZATION.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_partial_specialization.m4,latest
+version of @file{ax_cxx_partial_specialization.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_partial_specialization.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_reinterpret_cast
+@unnumberedsec ax_cxx_reinterpret_cast
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_REINTERPRET_CAST
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports reinterpret_cast<>, define
+HAVE_REINTERPRET_CAST.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_reinterpret_cast.m4,latest
+version of @file{ax_cxx_reinterpret_cast.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_reinterpret_cast.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_restrict_this
+@unnumberedsec ax_cxx_restrict_this
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_RESTRICT_THIS
+@end smallexample
+
+@majorheading Description
+
+Determine whether the C++ compiler supports qualifying a member function
+with a restricted "this" pointer. Define "restrict_this" to the correct
+spelling; use like this:
+
+@smallexample
+ T::fn() restrict_this @{ /* code */ @}
+@end smallexample
+
+Otherwise, define "restrict_this" to be empty.
+
+Note: the syntax above is a GCC extension. If your C++ compiler has a
+different way of applying the 'restricted' qualifier to the "this"
+pointer, please consider reporting it.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_restrict_this.m4,latest
+version of @file{ax_cxx_restrict_this.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_restrict_this.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2010 Riccardo Murri @email{riccardo.murri@@gmail.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+Under Section 7 of GPL version 3, you are granted additional permissions
+described in the Autoconf Configure Script Exception, version 3.0, as
+published by the Free Software Foundation.
+
+You should have received a copy of the GNU General Public License and a
+copy of the Autoconf Configure Script Exception along with this program;
+see the files COPYINGv3 and COPYING.EXCEPTION respectively. If not, see
+<https://www.gnu.org/licenses/>.
--- /dev/null
+@node ax_cxx_rtti
+@unnumberedsec ax_cxx_rtti
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_RTTI
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports Run-Time Type Identification (typeinfo header
+and typeid keyword), define HAVE_RTTI.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_rtti.m4,latest
+version of @file{ax_cxx_rtti.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_rtti.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_rvalue_references
+@unnumberedsec ax_cxx_rvalue_references
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_RVALUE_REFERENCES
+@end smallexample
+
+@majorheading Description
+
+Check whether C++11 rvalue references are supported. If they are, the
+macro HAVE_RVALUE_REFERENCES is defined.
+
+Does not ensure that the compiler is in C++11 mode.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_rvalue_references.m4,latest
+version of @file{ax_cxx_rvalue_references.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_rvalue_references.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2012 Tudor Bosman @email{tudorb@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_static_cast
+@unnumberedsec ax_cxx_static_cast
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_STATIC_CAST
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports static_cast<>, define HAVE_STATIC_CAST.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_static_cast.m4,latest
+version of @file{ax_cxx_static_cast.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_static_cast.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_stlport_hashmap
+@unnumberedsec ax_cxx_stlport_hashmap
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_STLPORT_HASHMAP
+@end smallexample
+
+@majorheading Description
+
+Test for the presence of STLport's hashmap extension.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_stlport_hashmap.m4,latest
+version of @file{ax_cxx_stlport_hashmap.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_stlport_hashmap.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Patrick Mauritz @email{oxygene@@studentenbude.ath.cx}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_template_keyword_qualifier
+@unnumberedsec ax_cxx_template_keyword_qualifier
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_TEMPLATE_KEYWORD_QUALIFIER
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports use of the template keyword as a qualifier,
+define HAVE_TEMPLATE_KEYWORD_QUALIFIER.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_keyword_qualifier.m4,latest
+version of @file{ax_cxx_template_keyword_qualifier.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_keyword_qualifier.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Bernardo Innocenti} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_template_qualified_base_class
+@unnumberedsec ax_cxx_template_qualified_base_class
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_TEMPLATE_QUALIFIED_BASE_CLASS
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports template-qualified base class specifiers,
+define HAVE_TEMPLATE_QUALIFIED_BASE_CLASS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_qualified_base_class.m4,latest
+version of @file{ax_cxx_template_qualified_base_class.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_qualified_base_class.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_template_qualified_return_type
+@unnumberedsec ax_cxx_template_qualified_return_type
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_TEMPLATE_QUALIFIED_RETURN_TYPE
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports template-qualified return types, define
+HAVE_TEMPLATE_QUALIFIED_RETURN_TYPE.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_qualified_return_type.m4,latest
+version of @file{ax_cxx_template_qualified_return_type.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_qualified_return_type.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_template_scoped_argument_matching
+@unnumberedsec ax_cxx_template_scoped_argument_matching
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_TEMPLATE_SCOPED_ARGUMENT_MATCHING
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports function matching with argument types which are
+template scope-qualified, define HAVE_TEMPLATE_SCOPED_ARGUMENT_MATCHING.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_scoped_argument_matching.m4,latest
+version of @file{ax_cxx_template_scoped_argument_matching.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_scoped_argument_matching.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_templates
+@unnumberedsec ax_cxx_templates
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_TEMPLATES
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports basic templates, define HAVE_TEMPLATES.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_templates.m4,latest
+version of @file{ax_cxx_templates.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_templates.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_templates_as_template_arguments
+@unnumberedsec ax_cxx_templates_as_template_arguments
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_TEMPLATES_AS_TEMPLATE_ARGUMENTS
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports templates as template arguments, define
+HAVE_TEMPLATES_AS_TEMPLATE_ARGUMENTS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_templates_as_template_arguments.m4,latest
+version of @file{ax_cxx_templates_as_template_arguments.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_templates_as_template_arguments.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_typename
+@unnumberedsec ax_cxx_typename
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_TYPENAME
+@end smallexample
+
+@majorheading Description
+
+If the compiler recognizes the typename keyword, define HAVE_TYPENAME.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_typename.m4,latest
+version of @file{ax_cxx_typename.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_typename.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_use_numtrait
+@unnumberedsec ax_cxx_use_numtrait
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_USE_NUMTRAIT
+@end smallexample
+
+@majorheading Description
+
+If the compiler supports numeric traits promotions, define
+HAVE_USE_NUMTRAIT.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_use_numtrait.m4,latest
+version of @file{ax_cxx_use_numtrait.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_use_numtrait.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Todd Veldhuizen} @* @w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_cxx_var_prettyfunc
+@unnumberedsec ax_cxx_var_prettyfunc
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_VAR_PRETTYFUNC
+@end smallexample
+
+@majorheading Description
+
+This function tries to determine the best C++ macro/identifier that
+contains the current function name. Depending on the compiler, this may
+be __PRETTY_FUNCTION__ (GCC), __FUNCSIG__ (MSVC), __func__ (C++
+standard), __FUNCTION__ (fallback).
+
+The function will define HAVE_PRETTYFUNC if a macro exists, and define
+__PRETTYFUNC__ to the best possible macro. When HAVE_PRETTYFUNC is not
+defined, __PRETTYFUNC__ will contain the constant string "<<unknown>>".
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_var_prettyfunc.m4,latest
+version of @file{ax_cxx_var_prettyfunc.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_var_prettyfunc.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Olaf Lenz @email{olenz@@icp.uni-stuttgart.de}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_cxx_verbose_terminate_handler
+@unnumberedsec ax_cxx_verbose_terminate_handler
+
+@majorheading Synopsis
+
+@smallexample
+AX_CXX_VERBOSE_TERMINATE_HANDLER
+@end smallexample
+
+@majorheading Description
+
+Check if the terminate handler for the current compiler/standard library
+prints useful information to stdout/stderr (i.e. the type of the
+uncaught exception and/or the what() string).
+
+The intended use case for this check is to help program authors decide
+if they need to add a top-level try-catch or custom terminate handler to
+print useful information if an uncaught exception occurs, or if this
+task can be left to the standard library implementation. Alternatively,
+it can be used to detect if such output needs to be silenced with a
+custom terminate handler.
+
+Output:
+
+Define HAVE_VERBOSE_TERMINATE_HANDLER if useful information is printed.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_verbose_terminate_handler.m4,latest
+version of @file{ax_cxx_verbose_terminate_handler.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_verbose_terminate_handler.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Kevin Locke @email{klocke@@digitalenginesoftware.com}} @* @w{Copyright @copyright{} 2008 Lapo Luchini @email{lapo@@lapo.it}}
+
+Copying and distribution of this file, with or without modification, is
+permitted in any medium, without royalty, provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty. This file is offered as-is, without any warranty.
--- /dev/null
+@node ax_czmq
+@unnumberedsec ax_czmq
+
+@majorheading Synopsis
+
+@smallexample
+AX_CZMQ([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+Test for the CZMQ libraries of a particular version (or newer). The
+default version tested for is 3.0.0.
+
+The macro tests for CZMQ libraries in the library/include path, and,
+when provided, also in the path given by --with-czmq.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(CZMQ_CPPFLAGS) / AC_SUBST(CZMQ_LDFLAGS) / AC_SUBST(CZMQ_LIBS)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_CZMQ
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_czmq.m4,latest
+version of @file{ax_czmq.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_czmq.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2016 Jeroen Meijer @email{jjgmeijer@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_decl_wchar_max
+@unnumberedsec ax_decl_wchar_max
+
+@majorheading Synopsis
+
+@smallexample
+AX_DECL_WCHAR_MAX
+@end smallexample
+
+@majorheading Description
+
+Checks whether the system headers define WCHAR_MAX or not. If it is
+already defined, does nothing. Otherwise checks the size and signedness
+of `wchar_t', and defines WCHAR_MAX to the maximum value that can be
+stored in a variable of type `wchar_t'.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_decl_wchar_max.m4,latest
+version of @file{ax_decl_wchar_max.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_decl_wchar_max.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Ville Laurikari @email{vl@@iki.fi}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_define_integer_bits
+@unnumberedsec ax_define_integer_bits
+
+@majorheading Synopsis
+
+@smallexample
+AX_DEFINE_INTEGER_BITS (TYPE [, CANDIDATE-TYPE]...)
+@end smallexample
+
+@majorheading Description
+
+Given a TYPE of the form "int##_t" or "uint##_t", see if the datatype
+TYPE is predefined. If not, then define TYPE -- both with AC_DEFINE and
+as a shell variable -- to the first datatype of exactly ## bits in a
+list of CANDIDATE-TYPEs. If none of the CANDIDATE-TYPEs contains exactly
+## bits, then set the TYPE shell variable to "no".
+
+For example, the following ensures that uint64_t is defined as a 64-bit
+datatype:
+
+@smallexample
+ AX_DEFINE_INTEGER_BITS(uint64_t, unsigned long long, unsigned __int64, long)
+ if test "$uint64_t" = no; then
+ AC_MSG_ERROR([unable to continue without a 64-bit datatype])
+ fi
+@end smallexample
+
+You should then put the following in your C code to ensure that all
+datatypes defined by AX_DEFINE_INTEGER_BITS are visible to your program:
+
+@smallexample
+ #include "config.h"
+@end smallexample
+
+@smallexample
+ #if HAVE_INTTYPES_H
+ # include <inttypes.h>
+ #else
+ # if HAVE_STDINT_H
+ # include <stdint.h>
+ # endif
+ #endif
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_define_integer_bits.m4,latest
+version of @file{ax_define_integer_bits.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_define_integer_bits.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Scott Pakin @email{pakin@@uiuc.edu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_define_sub_path
+@unnumberedsec ax_define_sub_path
+
+@majorheading Synopsis
+
+@smallexample
+AX_DEFINE_SUB_PATH(DEFNAME, varname, description)
+@end smallexample
+
+@majorheading Description
+
+Look at varname and detect the subpath that it contains relative to
+$prefix/$exec_prefix. If the path is indeed relative to
+$prefix/$exec_prefix, then a single "./" (dotslash) is prepended,
+otherwise it can be seen as an absolute path that cannot be moved, which
+you possibly do for "/etc" files, or even those ending up in
+"/lib/modules" or "/winnt/system".
+
+This macro is not very intelligent, it's just a first try in this
+direction. It does currently just look into the current patterns, and
+replaces a $@{prefix@} with a simple dot. Amazingly, it works quite well
+for most packages.
+
+Example (configure.ac):
+
+@smallexample
+ AX_DEFINE_DIR([EPREFIX], [exec_prefix], [--exec-prefix or default])
+ AX_DEFINE_SUB_PATH([PATH_LIBDIR], [libdir], [--bindir subdir])
+ AC_DEFINE_UNQUOTED([PACKAGE],"$PACKAGE", [Name of package])
+@end smallexample
+
+Example (in C):
+
+@smallexample
+ static const char _libdir[] = PATH_LIBDIR; /* configure default */
+ char* libdir;
+ char* eprefix = getenv (PACKAGE "DIR");
+ if (! eprefix) eprefix = EPREFIX; /* default */
+ if (*_libdir != '.') libdir = strdup(_libdir);
+ else @{
+ libdir = malloc(strlen(eprefix) + strlen(_libdir) + 2);
+ strcpy(libdir, eprefix);
+ strcat(libdir, PATH_DELIMITER_STRING);
+ strcat(libdir, _libdir);
+ @}
+ ...
+ free (libdir);
+@end smallexample
+
+The AX_DEFINE_SUB_PATHS(varnames) macro looks for the given various
+install-paths that largely depend on either $@{prefix@} or $@{exec_prefix@}.
+Just cut out the prefix and ac_define the value. The value is uppercased
+and PATH_ prepended ie. ax_define_sub_paths(bindir libdir pkgdatadir)
+will create the defines PATH_BINDIR PATH_LIBDIR PATH_PKGDATADIR - see
+posix' include/paths.h that creates _PATH_DEV and friends.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_define_sub_path.m4,latest
+version of @file{ax_define_sub_path.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_define_sub_path.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_dirname
+@unnumberedsec ax_dirname
+
+@majorheading Synopsis
+
+@smallexample
+AX_DIRNAME(PATHNAME)
+@end smallexample
+
+@majorheading Description
+
+Parts of the implementation have been taken from AS_DIRNAME from the
+main autoconf package in generation 2.5x. However, we do only use "sed"
+to cut out the dirname, and we do additionally clean up some dir/..
+parts in the resulting pattern.
+
+this macro may be used in autoconf 2.13 scripts as well.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dirname.m4,latest
+version of @file{ax_dirname.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dirname.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_dist_msi
+@unnumberedsec ax_dist_msi
+
+@majorheading Synopsis
+
+@smallexample
+AX_DIST_MSI([File])
+@end smallexample
+
+@majorheading Description
+
+Adds support for a msi (Microsoft Installer) dist target.
+
+You must manually build the msi file yourself (probably from another
+computer). But it will be added to the list of extra bin dists and
+flagged for uploading (see ax_extra_dist.m4 and ax_upload.m4 for
+details).
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dist_msi.m4,latest
+version of @file{ax_dist_msi.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dist_msi.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Tom Howard @email{tomhoward@@users.sf.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_dist_rpm
+@unnumberedsec ax_dist_rpm
+
+@majorheading Synopsis
+
+@smallexample
+AX_DIST_RPM([SPEC])
+@end smallexample
+
+@majorheading Description
+
+Adds support for a rpm dist target.
+
+You will need to create a spec template with everything except the files
+and the Changelog. Use @@PACKAGE@@ and @@VERSION@@ to refer to the package
+name and version respectively. The files and ChangeLog will be filled
+in automatically. For instance:
+
+@smallexample
+ Summary: Foobar
+ Name: @@PACKAGE@@
+ Version: @@VERSION@@
+ Release: 0
+ License: GPL
+ Group: Productivity/Networking
+ Source0: http://somewhere/Foobar/%@{name@}-%@{version@}.tar.gz
+ URL: http://somewhere
+ BuildRoot: %@{_tmppath@}/%@{name@}-root
+ Prefix: %@{_prefix@}
+@end smallexample
+
+@smallexample
+ %description
+ Foobar does something
+@end smallexample
+
+@smallexample
+ %prep
+ %setup
+@end smallexample
+
+@smallexample
+ %build
+ %configure
+ make
+@end smallexample
+
+@smallexample
+ %install
+ %makeinstall
+@end smallexample
+
+@smallexample
+ %clean
+ rm -rf $RPM_BUILD_ROOT
+@end smallexample
+
+@smallexample
+ %files
+ %defattr(-,root,root)
+@end smallexample
+
+@smallexample
+ %doc AUTHORS BUGS COPYING INSTALL NEWS README
+@end smallexample
+
+@smallexample
+ %changelog
+@end smallexample
+
+Make sure ax_upload.am is added to aminclude_static.am and you have
+'include aminclude_static.am' in Makefile.am
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dist_rpm.m4,latest
+version of @file{ax_dist_rpm.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dist_rpm.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Tom Howard @email{tomhoward@@users.sf.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_dll_string
+@unnumberedsec ax_dll_string
+
+@majorheading Synopsis
+
+@smallexample
+AX_DLL_STRING
+@end smallexample
+
+@majorheading Description
+
+Tests for a bug currently in g++ 3.4.4 on Cygwin (maybe other targets
+with statically linked libstdc++?) where passing an empty std::string to
+a dll will cause a crash on destruction due to incorrect memory
+handling. See bug 24196 in gcc's bugzilla for more details:
+http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24196
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dll_string.m4,latest
+version of @file{ax_dll_string.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dll_string.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Steven Brown @email{swbrown@@variadic.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_elisp
+@unnumberedsec ax_elisp
+
+@majorheading Synopsis
+
+@smallexample
+AX_ELISP_CONFIG_FILE(FILENAME)
+AX_ELISP_CHECK(SYMBOL,DESCRIPTION,BODY,SUCCESS-EXPR)
+AX_ELISP_CHECK_FEATURE(SYMBOL)
+AX_ELISP_CHECK_FBOUNDP(SYMBOL,[FEATURE [...]])
+AX_ELISP_CHECK_BOUNDP(SYMBOL,[FEATURE [...]])
+@end smallexample
+
+@majorheading Description
+
+This is a simple library to check the Emacs reality by way of Emacs Lisp
+forms evaluated under $EMACS --batch -Q. This means you MUST have the
+shell variable EMACS set to a valid Emacs executable prior to the first
+call to any of the AX_ELISP_CHECK et al macros. Those work by saving
+their results to the file defined by calling AX_ELISP_CONFIG_FILE so you
+MUST call that prior, too. For example:
+
+@smallexample
+ dnl Arrange to save config answers in $top_builddir/lisp/config.el.
+ AX_ELISP_CONFIG_FILE([lisp/config.el])
+@end smallexample
+
+@smallexample
+ dnl Set shell variable EMACS and AC_SUBST it, too.
+ dnl (NB: This is a separate Autoconf Archive macro.)
+ AX_PROG_EMACS
+@end smallexample
+
+In the following detailed descriptions, SYMBOL stands for an Emacs Lisp
+symbol, which may contain hyphens, e.g., 'define-error' or 'org-src'.
+Likewise, FEATURE is an Emacs Lisp symbol (naming a feature). BODY and
+SUCCESS-EXPR are Emacs Lisp forms, zero or more for BODY and exactly one
+for SUCCESS-EXPR. In these forms you must take care to avoid apostrophe
+(U+27). Instead of 'foo, write (quote foo).
+
+* AX_ELISP_CONFIG_FILE(FILENAME)
+
+This arranges for future AX_ELISP_CHECK (et al) calls to save their
+results in FILENAME. May be called multiple times. FILENAME should be
+relative to the top build dir.
+
+* AX_ELISP_CHECK(SYMBOL,DESCRIPTION,BODY,SUCCESS-EXPR)
+
+This is the general macro that the other AX_ELISP_CHECK* macros use. It
+constructs a short Emacs Lisp file comprising BODY and evaluates it via
+$EMACS --batch -Q. The exit value of this script depends on the result
+of evaluating SUCCESS-EXPR: non-nil is success and nil is failure. On
+success, append SYMBOL on a line of its own to the config file. This
+macro uses AC_CACHE_CHECK and passes DESCRIPTION to it.
+
+* AX_ELISP_CHECK_FEATURE(FEATURE)
+
+This checks if (require (quote FEATURE)) is successful. If so, add
+featurep-FEATURE to the config file (NB the "featurep-" prefix).
+
+* AX_ELISP_CHECK_FBOUNDP(SYMBOL,[FEATURE [...]])
+
+This checks if (fboundp (quote SYMBOL)) is successful. If so, append
+SYMBOL to the config file. Optional 2nd arg is a space-separated list of
+features to require prior to the fboundp check.
+
+* AX_ELISP_CHECK_BOUNDP(SYMBOL,[FEATURE [...]])
+
+This checks if (boundp (quote SYMBOL)) is successful. If so, append
+SYMBOL to the config file. Optional 2nd arg is a space-separated list of
+features to require prior to the boundp check.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_elisp.m4,latest
+version of @file{ax_elisp.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_elisp.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2016-2017 Thien-Thi Nguyen}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_enable_builddir
+@unnumberedsec ax_enable_builddir
+
+@majorheading Synopsis
+
+@smallexample
+AX_ENABLE_BUILDDIR [(dirstring-or-command [,Makefile.mk [,-all]])]
+@end smallexample
+
+@majorheading Description
+
+If the current configure was run within the srcdir then we move all
+configure-files into a subdir and let the configure steps continue
+there. We provide an option --disable-builddir to suppress the move into
+a separate builddir.
+
+Defaults:
+
+@smallexample
+ $1 = $host (overridden with $HOST)
+ $2 = Makefile.mk
+ $3 = -all
+@end smallexample
+
+This macro must be called before AM_INIT_AUTOMAKE. It creates a default
+toplevel srcdir Makefile from the information found in the created
+toplevel builddir Makefile. It just copies the variables and
+rule-targets, each extended with a default rule-execution that recurses
+into the build directory of the current "HOST". You can override the
+auto-detection through `config.guess` and build-time of course, as in
+
+@smallexample
+ make HOST=i386-mingw-cross
+@end smallexample
+
+which can of course set at configure time as well using
+
+@smallexample
+ configure --host=i386-mingw-cross
+@end smallexample
+
+After the default has been created, additional rules can be appended
+that will not just recurse into the subdirectories and only ever exist
+in the srcdir toplevel makefile - these parts are read from the $2 =
+Makefile.mk file
+
+The automatic rules are usually scanning the toplevel Makefile for lines
+like '#### $host |$builddir' to recognize the place where to recurse
+into. Usually, the last one is the only one used. However, almost all
+targets have an additional "*-all" rule which makes the script to
+recurse into _all_ variants of the current HOST (!!) setting. The "-all"
+suffix can be overridden for the macro as well.
+
+a special rule is only given for things like "dist" that will copy the
+tarball from the builddir to the sourcedir (or $(PUB)) for reason of
+convenience.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_enable_builddir.m4,latest
+version of @file{ax_enable_builddir.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_enable_builddir.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Guido U. Draheim @email{guidod@@gmx.de}} @* @w{Copyright @copyright{} 2009 Alan Jenkins @email{alan-jenkins@@tuffmail.co.uk}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_execinfo
+@unnumberedsec ax_execinfo
+
+@majorheading Synopsis
+
+@smallexample
+AX_EXECINFO([ACTION-IF-EXECINFO-H-IS-FOUND], [ACTION-IF-EXECINFO-H-IS-NOT-FOUND], [ADDITIONAL-TYPES-LIST])
+@end smallexample
+
+@majorheading Description
+
+Checks for execinfo.h header and if the len parameter/return type can be
+found from a list, also define backtrace_size_t to that type.
+
+By default the list of types to try contains int and size_t, but should
+some yet undiscovered system use e.g. unsigned, the 3rd argument can be
+used for extensions. I'd like to hear of further suggestions.
+
+Executes ACTION-IF-EXECINFO-H-IS-FOUND when present and the execinfo.h
+header is found or ACTION-IF-EXECINFO-H-IS-NOT-FOUND in case the header
+seems unavailable.
+
+Also adds -lexecinfo to LIBS on BSD if needed.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_execinfo.m4,latest
+version of @file{ax_execinfo.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_execinfo.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Thomas Jahns @email{jahns@@dkrz.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_expand_prefix
+@unnumberedsec ax_expand_prefix
+
+@majorheading Synopsis
+
+@smallexample
+AX_EXPAND_PREFIX
+@end smallexample
+
+@majorheading Description
+
+When $prefix and $exec_prefix are still set to NONE then set them to the
+usual default values - being based on $ac_default_prefix. - this macro
+can be AC_REQUIREd by other macros that need to compute values for
+installation directories. It has been observed that it was done wrong
+over and over again, so this is a bit more safe to do.
+
+remember - setting exec_prefix='$@{prefix@}' needs you interpolate
+directories multiple times, it is not sufficient to just say
+MYVAR="$@{datadir@}/putter" but you do have to run `eval` a few times,
+sth. like MYVAR=`eval "echo \"$MYVAR\""` done at least two times.
+
+The implementation of this macro simply picks up the lines that would be
+run at the start of AC_OUTPUT anyway to set the prefix/exec_prefix
+defaults. Between AC_INIT and the first command to AC_REQUIRE this macro
+you can set the two variables to something explicit instead. Probably,
+any command to compute installation directories should be run _after_
+AM_INIT_AUTOMAKE
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_expand_prefix.m4,latest
+version of @file{ax_expand_prefix.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_expand_prefix.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_ext
+@unnumberedsec ax_ext
+
+@majorheading Synopsis
+
+@smallexample
+AX_EXT
+@end smallexample
+
+@majorheading Description
+
+Find supported SIMD extensions by requesting cpuid. When a SIMD
+extension is found, the -m"simdextensionname" is added to SIMD_FLAGS if
+compiler supports it. For example, if "sse2" is available then "-msse2"
+is added to SIMD_FLAGS.
+
+Find other supported CPU extensions by requesting cpuid. When a
+processor extension is found, the -m"extensionname" is added to
+CPUEXT_FLAGS if compiler supports it. For example, if "bmi2" is
+available then "-mbmi2" is added to CPUEXT_FLAGS.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(SIMD_FLAGS)
+ AC_SUBST(CPUEXT_FLAGS)
+@end smallexample
+
+And defines:
+
+@smallexample
+ HAVE_RDRND / HAVE_BMI1 / HAVE_BMI2 / HAVE_ADX / HAVE_MPX
+ HAVE_PREFETCHWT1 / HAVE_ABM / HAVE_MMX / HAVE_SSE / HAVE_SSE2
+ HAVE_SSE3 / HAVE_SSSE3 / HAVE_SSE4_1 / HAVE_SSE4_2 / HAVE_SSE4a
+ HAVE_SHA / HAVE_AES / HAVE_AVX / HAVE_FMA3 / HAVE_FMA4 / HAVE_XOP
+ HAVE_AVX2 / HAVE_AVX512_F / HAVE_AVX512_CD / HAVE_AVX512_PF
+ HAVE_AVX512_ER / HAVE_AVX512_VL / HAVE_AVX512_BW / HAVE_AVX512_DQ
+ HAVE_AVX512_IFMA / HAVE_AVX512_VBMI / HAVE_ALTIVEC / HAVE_VSX
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ext.m4,latest
+version of @file{ax_ext.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ext.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2007 Christophe Tournayre @email{turn3r@@users.sourceforge.net}} @* @w{Copyright @copyright{} 2013,2015 Michael Petch @email{mpetch@@capp-sysware.com}} @* @w{Copyright @copyright{} 2017 Rafael de Lucena Valle @email{rafaeldelucena@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_ext_check_header
+@unnumberedsec ax_ext_check_header
+
+@majorheading Synopsis
+
+@smallexample
+AX_EXT_CHECK_HEADER(<header>, <paths>).
+@end smallexample
+
+@majorheading Description
+
+Check for <header> with -I<path> for each path in <paths> if need be.
+The first sucecssful path is chosen (eg if you say
+AX_EXT_CHECK_HEADER(foo.h, bar baz qux) and -Ibaz works then -Iqux will
+not be tested.
+
+Any -I flags that locate a header are added to CFLAGS and CPPFLAGS. AS
+with AC_CHECK_HEADERS it causes HAVE_<header>_H to be defined as 1.
+
+Example:
+
+@smallexample
+ AX_EXT_HAVE_HEADER(openssl/rsa.h, /usr/local/include /usr/local/ssl/include /usr/local/openssl/include)
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ext_check_header.m4,latest
+version of @file{ax_ext_check_header.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ext_check_header.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Duncan Simpson @email{dps@@simpson.demon.co.uk}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_ext_have_lib
+@unnumberedsec ax_ext_have_lib
+
+@majorheading Synopsis
+
+@smallexample
+AX_EXT_HAVE_LIB(<directories>, <library>, <function>, <extra libraries>)
+@end smallexample
+
+@majorheading Description
+
+AX_EXT_HAVE_LIB is identical to AC_SEARCH_LIBS with the exception that
+will add -L<directory> when looking, and use a different variable for
+each directory.
+
+Any required -L<directory> flags are added to LDFLAGS and located
+libraies are added to LIBS
+
+Some libraries are unlinkable without other extra libraries, which can
+be specified in the 4th argument. The mysql client library needs -lz,
+for example.
+
+Example:
+
+@smallexample
+ AX_EXT_HAVE_LIB(/lib /usr/lib /usr/local/lib /usr/lib/mysql /usr/local/mysql/lib, mysqlclient, mysql_init, [-lz])
+@end smallexample
+
+which finds the mysql client library if succeeds system when it tries
+with -L/usr/lib/mysql then it adds -lmysqlclient to LIBS and
+-L/usr/lib/mysql to LDFLAGS.
+
+The test itself is based on the autoconf 2.53 version of AC_SEARCH_LIBS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ext_have_lib.m4,latest
+version of @file{ax_ext_have_lib.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ext_have_lib.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Duncan Simpson @email{dps@@simpson.demon.co.uk}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_extend_srcdir
+@unnumberedsec ax_extend_srcdir
+
+@majorheading Synopsis
+
+@smallexample
+AX_EXTEND_SRCDIR
+@end smallexample
+
+@majorheading Description
+
+The AX_EXTEND_SRCDIR macro extends $srcdir by one path component.
+
+As an example, when working in /home/michael/i3-4.12/build and calling
+../configure, your $srcdir is "..". After calling AX_EXTEND_SRCDIR,
+$srcdir will be set to "../../i3-4.12".
+
+The result of extending $srcdir is that filenames (e.g. in the output of
+the "backtrace" gdb command) will include one more path component of the
+absolute source path. The additional path component makes it easy for
+users to recognize which files belong to the PACKAGE, and -- provided a
+dist tarball was unpacked -- which version of PACKAGE was used.
+
+As an example, in "backtrace", you will see:
+
+@smallexample
+ #0 main (argc=1, argv=0x7fffffff1fc8) at ../../i3-4.12/src/main.c:187
+@end smallexample
+
+instead of:
+
+@smallexample
+ #0 main (argc=1, argv=0x7fffffff1fc8) at ../src/main.c:187
+@end smallexample
+
+In case your code uses the __FILE__ preprocessor directive to refer to
+the filename of the current source file (e.g. in debug messages), using
+the extended path might be undesirable. For this purpose,
+AX_EXTEND_SRCDIR defines the output variable AX_EXTEND_SRCDIR_CPPFLAGS,
+which can be added to AM_CPPFLAGS in Makefile.am in order to define the
+preprocessor directive STRIPPED__FILE__. As an example, when compiling
+the file "../../i3-4.12/src/main.c", STRIPPED__FILE__ evaluates to
+"main.c".
+
+There are some caveats: When $srcdir is "." (i.e. when ./configure was
+called instead of ../configure in a separate build directory),
+AX_EXTEND_SRCDIR will still extend $srcdir, but the intended effect will
+not be achieved because of the way automake specifies file paths:
+automake defines COMPILE to use "`test -f '$source' || echo
+'\$(srcdir)/'`$source" in order to prefer files in the current directory
+over specifying $srcdir explicitly.
+
+The AX_EXTEND_SRCDIR author is not aware of any way to influence this
+automake behavior. Patches very welcome.
+
+To work around this issue, you can use AX_ENABLE_BUILDDIR i.e. by adding
+the following code to configure.ac:
+
+@smallexample
+ AX_ENABLE_BUILDDIR
+ dnl ...
+ AX_EXTEND_SRCDIR
+@end smallexample
+
+Then also add this bit to Makefile.am (if you wish to use
+STRIPPED__FILE__ in your code):
+
+@smallexample
+ AM_CPPFLAGS = @@AX_EXTEND_SRCDIR_CPPFLAGS@@
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_extend_srcdir.m4,latest
+version of @file{ax_extend_srcdir.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_extend_srcdir.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2016 Michael Stapelberg @email{michael@@i3wm.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_extra_dist
+@unnumberedsec ax_extra_dist
+
+@majorheading Synopsis
+
+@smallexample
+AX_EXTRA_DIST
+@end smallexample
+
+@majorheading Description
+
+Allow support for custom dist targets.
+
+To add custom dist targets, you must create a dist-<TYPE> target within
+your Makefile.am, where <TYPE> is the name of the dist and then add
+<TYPE> to EXTRA_SRC_DISTS or EXTRA_BIN_DISTS. For example:
+
+@smallexample
+ dist-foobar:
+ <rules for making the foobar dist>
+@end smallexample
+
+@smallexample
+ EXTRA_BIN_DISTS += foobar
+@end smallexample
+
+You can then build all the src dist targets by running:
+
+@smallexample
+ make dist-src
+@end smallexample
+
+You can build all the binary dist targets by running:
+
+@smallexample
+ make dist-bin
+@end smallexample
+
+and you can build both the src and dist targets by running:
+
+@smallexample
+ make all-dist
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_extra_dist.m4,latest
+version of @file{ax_extra_dist.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_extra_dist.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Tom Howard @email{tomhoward@@users.sf.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_f77_cmain_fflags
+@unnumberedsec ax_f77_cmain_fflags
+
+@majorheading Synopsis
+
+@smallexample
+AX_F77_CMAIN_FFLAGS([ACTION-IF-SUCCEED], [ACTION-IF-FAIL])
+@end smallexample
+
+@majorheading Description
+
+This macro figures out if extra Fortran compiler flags are required in
+order to use the Fortran linker to link programs where the main()
+function is defined via C (or other language). On some systems, notably
+the Alpha with Compaq compilers, the Fortran libraries have their own
+main() function which must be disabled.
+
+Runs ACTION-IF-SUCCEED if successful, and ACTION-IF-FAIL if not. Defines
+the output variable F77_CMAIN_FFLAGS to any discovered flags. (If
+ACTION-IF-FAIL is not specified, defaults to halting with an error.)
+
+This macro is especially useful in conjunction with automake, since by
+default automake uses $F77 to link programs mixing C and Fortran,
+leading to a link error on some systems. In this case, you should set
+the FFLAGS for that program to include F77_CMAIN_FFLAGS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f77_cmain_fflags.m4,latest
+version of @file{ax_f77_cmain_fflags.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f77_cmain_fflags.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Steven G. Johnson @email{stevenj@@alum.mit.edu}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_f90_header
+@unnumberedsec ax_f90_header
+
+@majorheading Synopsis
+
+@smallexample
+AX_F90_HEADER(HEADER, HEADER-REGEXP, FUNCTION-BODY [, SEARCH-PATH [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+@end smallexample
+
+@majorheading Description
+
+Set up the compiler flags to use a given fortran 90 header. HEADER is
+the name of the header. HEADER-REGEXP is a regular expression (used by
+find) matched by the filename of the header. FUNCTION-BODY is the body
+of a function (including the 'use' statement and the call to a function
+defined by the module) SEARCH-PATH is a colon-separated list of
+directories that will be recursively searched for header files. If
+empty, the search path will be composed of $prefix, $ac_default_prefix,
+and all directories exactly one level *above* the directories in
+$LD_LIBRARY_PATH (the rationale is that when libraries are put in
+/some/path/lib, the headers are often put in a directory like
+/some/path/include). An output variable named F90_HEADER_xxx will be set
+up with the proper flag for substitution in Makefiles (xxx is built from
+the first argument, with autoconf traditional escapes).
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_header.m4,latest
+version of @file{ax_f90_header.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_header.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_f90_internal_headmod
+@unnumberedsec ax_f90_internal_headmod
+
+@majorheading Synopsis
+
+@smallexample
+AX_F90_INTERNAL_HEADMOD(MESSAGE, FILE-REGEXP, FLAG, FUNCTION-BODY, OUTPUT-VAR[, SEARCH-PATH [, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
+@end smallexample
+
+@majorheading Description
+
+Internal macro used by AX_F90_HEADER and AX_F90_MODULE.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_internal_headmod.m4,latest
+version of @file{ax_f90_internal_headmod.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_internal_headmod.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_f90_library
+@unnumberedsec ax_f90_library
+
+@majorheading Synopsis
+
+@smallexample
+AX_F90_LIBRARY(LIBRARY, LIB-REGEXP, FUNCTION-BODY [, SEARCH-PATH [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+@end smallexample
+
+@majorheading Description
+
+Set up the compiler flags to link a given fortran 90 library LIBRARY is
+the name of the library. LIB-REGEXP is a regular expression (used by
+find) matched by the filename of the library, this is useful either if
+the library filename does not follow the traditional libxxx.a or
+libxxx.so pattern, or if some specific information is embedded into the
+name, like compiler used, debugging status ...). FUNCTION-BODY is the
+body of a function (including the 'use' statements and the call to a
+function defined by the library) SEARCH-PATH is a colon-separated list
+of directories that will be used as the base directories for 'find' to
+look for the library file. If empty, the search path will be composed of
+$prefix/lib, $ac_default_prefix/lib, and $LD_LIBRARY_PATH. Two output
+variables named F90_LDFLAGS_xxx and F90_LIBS_xxx will be set up with the
+proper flag for substitution in Makefiles (xxx is built from the first
+argument, with autoconf traditional escapes).
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_library.m4,latest
+version of @file{ax_f90_library.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_library.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_f90_library_setup
+@unnumberedsec ax_f90_library_setup
+
+@majorheading Synopsis
+
+@smallexample
+AX_F90_LIBRARY_SETUP(LIBRARY, HEADER-REGEXP, MODULE-REGEXP, LIB-REGEXP, FUNCTION-BODY)
+@end smallexample
+
+@majorheading Description
+
+Convenience macro to set up a fortran 90 library in a simplified way.
+LIBRARY is the name of the library. HEADER-REGEXP is a regular
+expression (used by find) matched by the header file to look for (may be
+empty). MODULE-REGEXP is a regular expression (used by find) matched by
+the filename of the module (may be empty). LIB-REGEXP is a regular
+expression (used by find) matched by the filename of the library, this
+is useful either if the library filename does not follow the traditional
+libxxx.a or libxxx.so pattern, or if some specific information is
+embedded into the name, like compiler used, debugging status ...).
+FUNCTION-BODY is the body of a function (including the 'use' statements
+and the call to a function defined by the library).
+
+This macro is a simple wrapper around AX_F90_MODULE and AX_F90_LIBRARY
+that uses the parameters provided by the end user through a --with-xxx
+option to set up the search path. Both a module and a library will be
+tested, the same path will be used for both tests, so the path must be
+set up with a common parent directory of both the library file and the
+module file. The macro also automatically updates the FCFLAGS, LDFLAGS
+and LIBS variables in addition to providing the F90_HEADER_xxx,
+F90_MODULE_xxx, F90_LDFLAGS_xxx and F90_LIBS_xxx output variables.
+
+Example: suppose you have /home/nostradamus/esoteric/lib/libalchemy.a
+and /home/nostradamus/esoteric/mod/alchemy.mod which provides a function
+transmute_into_gold, you can use the following in you configure.ac:
+
+@smallexample
+ AX_F90_MODULE_EXTENSION
+ if test x$ax_cv_f90_modext = xunknown ; then
+ AC_MSG_ERROR([unable to find f90 modules extension])
+ fi
+ AX_F90_LIBRARY_SETUP(alchemy,[],alchemy.$ax_cv_f90_modext,libalchemy*,[
+ use alchemy
+ call transmute_into_gold('lead')
+ ])
+@end smallexample
+
+and the user could configure your package using a command like this:
+
+@smallexample
+ ./configure --with-alchemy=$HOME/esoteric
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_library_setup.m4,latest
+version of @file{ax_f90_library_setup.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_library_setup.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_f90_module
+@unnumberedsec ax_f90_module
+
+@majorheading Synopsis
+
+@smallexample
+AX_F90_MODULE(MODULE, MODULE-REGEXP, FUNCTION-BODY [, SEARCH-PATH [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+@end smallexample
+
+@majorheading Description
+
+Set up the compiler flags to use a given fortran 90 module MODULE is the
+name of the module. MODULE-REGEXP is a regular expression (used by find)
+matched by the filename of the module. FUNCTION-BODY is the body of a
+function (including the 'use' statement and the call to a function
+defined by the module) SEARCH-PATH is a colon-separated list of
+directories that will be recursively searched for modules files. If
+empty, the search path will be composed of $prefix, $ac_default_prefix,
+and all directories exactly one level *above* the directories in
+$LD_LIBRARY_PATH (the rationale is that when libraries are put in
+/some/path/lib, the modules are often put in a directory like
+/some/path/include or /some/path/mod or something similar). An output
+variable named F90_MODULE_xxx will be set up with the proper flag for
+substitution in Makefiles (xxx is built from the first argument, with
+autoconf traditional escapes).
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_module.m4,latest
+version of @file{ax_f90_module.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_module.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_f90_module_extension
+@unnumberedsec ax_f90_module_extension
+
+@majorheading Synopsis
+
+@smallexample
+AX_F90_MODULE_EXTENSION
+@end smallexample
+
+@majorheading Description
+
+Find Fortran 90 modules file extension. The module extension is stored
+in the cached variable ax_f90_modext, or "unknown" if the extension
+cannot be found.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_module_extension.m4,latest
+version of @file{ax_f90_module_extension.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_module_extension.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Luc Maisonobe @email{luc@@spaceroots.org}} @* @w{Copyright @copyright{} 2009 Alexander Pletzer @email{pletzer@@txcorp.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_f90_module_flag
+@unnumberedsec ax_f90_module_flag
+
+@majorheading Synopsis
+
+@smallexample
+AX_F90_MODULE_FLAG
+@end smallexample
+
+@majorheading Description
+
+Find Fortran 90 modules inclusion flag. The module inclusion flag is
+stored in the cached variable ax_f90_modflag. An error is triggered if
+the flag cannot be found. Supported are the -I GNU compilers flag, the
+-M SUN compilers flag, and the -p Absoft Pro Fortran compiler flag.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_module_flag.m4,latest
+version of @file{ax_f90_module_flag.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_module_flag.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Luc Maisonobe @email{luc@@spaceroots.org}} @* @w{Copyright @copyright{} 2009 Julian C. Cummings @email{cummings@@cacr.caltech.edu}} @* @w{Copyright @copyright{} 2009 Alexander Pletzer @email{pletzer@@txcorp.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_fc_check_define
+@unnumberedsec ax_fc_check_define
+
+@majorheading Synopsis
+
+@smallexample
+AX_FC_CHECK_DEFINE([symbol], [ACTION-IF-FOUND], [ACTION-IF-NOT])
+@end smallexample
+
+@majorheading Description
+
+This macro checks to see if the Fortran pre-processor has a symbol
+defined.
+
+Consider a usage like:
+
+@smallexample
+ AC_FC_PP_DEFINE()
+ AX_FC_CHECK_DEFINE(__BIGGEST_ALIGNMENT__, [],
+ AX_APPEND_FLAG([$@{FC_DEFINE@}__BIGGEST_ALIGNMENT__=64],
+ [FCFLAGS]))
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_fc_check_define.m4,latest
+version of @file{ax_fc_check_define.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_fc_check_define.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2016 Timothy Brown @email{tbrown@@freeshell.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_file_escapes
+@unnumberedsec ax_file_escapes
+
+@majorheading Synopsis
+
+@smallexample
+AX_FILE_ESCAPES
+@end smallexample
+
+@majorheading Description
+
+Writes the specified data to the specified file.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_file_escapes.m4,latest
+version of @file{ax_file_escapes.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_file_escapes.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Tom Howard @email{tomhoward@@users.sf.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_find_hamcrest
+@unnumberedsec ax_find_hamcrest
+
+@majorheading Synopsis
+
+@smallexample
+AX_FIND_HAMCREST
+@end smallexample
+
+@majorheading Description
+
+AX_FIND_HAMCREST will look for the Hamcrest java library. When found its
+path will be put in HAMCREST_CPF as a classpath fragment.
+
+To override the location define HAMCREST_JAR to the wanted path.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_find_hamcrest.m4,latest
+version of @file{ax_find_hamcrest.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_find_hamcrest.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2013 Sveinung Kvilhaugsvik @email{sveinung84@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_find_junit
+@unnumberedsec ax_find_junit
+
+@majorheading Synopsis
+
+@smallexample
+AX_FIND_JUNIT
+@end smallexample
+
+@majorheading Description
+
+AX_FIND_JUNIT will look for the JUnit java library. When found its path
+will be put in JUNIT_CPF as a classpath fragment.
+
+To override the location define JUNIT_JAR to the wanted path.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_find_junit.m4,latest
+version of @file{ax_find_junit.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_find_junit.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2013 Sveinung Kvilhaugsvik @email{sveinung84@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_find_scala_stdlib
+@unnumberedsec ax_find_scala_stdlib
+
+@majorheading Synopsis
+
+@smallexample
+AX_FIND_SCALA_STDLIB
+@end smallexample
+
+@majorheading Description
+
+AX_FIND_SCALA_STDLIB will look for the Scala Standard Library. When
+found its path will be put in SCALA_STDLIB_CPF as a classpath fragment.
+
+To override the location define SCALA_STDLIB to the wanted path
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_find_scala_stdlib.m4,latest
+version of @file{ax_find_scala_stdlib.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_find_scala_stdlib.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2013 Sveinung Kvilhaugsvik @email{sveinung84@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification,are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_forceinline
+@unnumberedsec ax_forceinline
+
+@majorheading Synopsis
+
+@smallexample
+AX_FORCEINLINE()
+@end smallexample
+
+@majorheading Description
+
+Provides a test for C compiler support of forced inlining. If usable,
+#define FORCEINLINE to the appropriate force inline keyword. Otherwise
+#define FORCEINLINE to be 'inline'.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_forceinline.m4,latest
+version of @file{ax_forceinline.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_forceinline.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Alan Woodland @email{ajw05@@aber.ac.uk}} @* @w{Copyright @copyright{} 2009 Rhys Ulerich @email{rhys.ulerich@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_func_accept_argtypes
+@unnumberedsec ax_func_accept_argtypes
+
+@majorheading Synopsis
+
+@smallexample
+AX_FUNC_ACCEPT_ARGTYPES
+@end smallexample
+
+@majorheading Description
+
+Checks the data types of the three arguments to accept(). Results are
+placed into the symbols ACCEPT_TYPE_ARG[123], consistent with the
+following example:
+
+@smallexample
+ #define ACCEPT_TYPE_ARG1 int
+ #define ACCEPT_TYPE_ARG2 struct sockaddr *
+ #define ACCEPT_TYPE_ARG3 socklen_t *
+@end smallexample
+
+This macro requires AC_CHECK_HEADERS to have already verified the
+presence or absence of sys/types.h and sys/socket.h.
+
+NOTE: This is just a modified version of the AC_FUNC_SELECT_ARGTYPES
+macro. Credit for that one goes to David MacKenzie et. al.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_accept_argtypes.m4,latest
+version of @file{ax_func_accept_argtypes.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_accept_argtypes.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Daniel Richard G. @email{skunk@@iskunk.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_func_getopt_long
+@unnumberedsec ax_func_getopt_long
+
+@majorheading Synopsis
+
+@smallexample
+AX_FUNC_GETOPT_LONG
+@end smallexample
+
+@majorheading Description
+
+Check for getopt_long support.
+
+This assume that the standard getopt.h file (from GNU libc) is available
+as lib/gnugetopt.h. If needed, this file will be linked as getopt.h, but
+we want to default to the system's getopt.h file. (See
+http://sources.redhat.com/ml/automake/2000-09/msg00041.html for an
+explanation about why using the system's getopt.h file is important.)
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_getopt_long.m4,latest
+version of @file{ax_func_getopt_long.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_getopt_long.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Alexandre Duret-Lutz @email{adl@@gnu.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_func_memmove
+@unnumberedsec ax_func_memmove
+
+@majorheading Synopsis
+
+@smallexample
+AX_FUNC_MEMMOVE
+@end smallexample
+
+@majorheading Description
+
+Checks for a memmove that can handle overlaps correctly. If no working
+memmove is found, request a replacement and warn the user about it.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_memmove.m4,latest
+version of @file{ax_func_memmove.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_memmove.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Ruediger Kuhlmann @email{info@@ruediger-kuhlmann.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_func_mkdir
+@unnumberedsec ax_func_mkdir
+
+@majorheading Synopsis
+
+@smallexample
+AX_FUNC_MKDIR
+@end smallexample
+
+@majorheading Description
+
+Check whether mkdir() is mkdir or _mkdir, and whether it takes one or
+two arguments.
+
+This macro can define HAVE_MKDIR, HAVE__MKDIR, and MKDIR_TAKES_ONE_ARG,
+which are expected to be used as follows:
+
+@smallexample
+ #if HAVE_MKDIR
+ # if MKDIR_TAKES_ONE_ARG
+ /* MinGW32 */
+ # define mkdir(a, b) mkdir(a)
+ # endif
+ #else
+ # if HAVE__MKDIR
+ /* plain Windows 32 */
+ # define mkdir(a, b) _mkdir(a)
+ # else
+ # error "Don't know how to create a directory on this system."
+ # endif
+ #endif
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_mkdir.m4,latest
+version of @file{ax_func_mkdir.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_mkdir.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Alexandre Duret-Lutz @email{adl@@gnu.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_func_posix_memalign
+@unnumberedsec ax_func_posix_memalign
+
+@majorheading Synopsis
+
+@smallexample
+AX_FUNC_POSIX_MEMALIGN
+@end smallexample
+
+@majorheading Description
+
+Some versions of posix_memalign (notably glibc 2.2.5) incorrectly apply
+their power-of-two check to the size argument, not the alignment
+argument. AX_FUNC_POSIX_MEMALIGN defines HAVE_POSIX_MEMALIGN if the
+power-of-two check is correctly applied to the alignment argument.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_posix_memalign.m4,latest
+version of @file{ax_func_posix_memalign.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_posix_memalign.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Scott Pakin @email{pakin@@uiuc.edu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_func_snprintf
+@unnumberedsec ax_func_snprintf
+
+@majorheading Synopsis
+
+@smallexample
+AX_FUNC_SNPRINTF
+@end smallexample
+
+@majorheading Description
+
+Checks for a fully C99 compliant snprintf, in particular checks whether
+it does bounds checking and returns the correct string length; does the
+same check for vsnprintf. If no working snprintf or vsnprintf is found,
+request a replacement and warn the user about it. Note: the mentioned
+replacement is freely available and may be used in any project
+regardless of it's license.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_snprintf.m4,latest
+version of @file{ax_func_snprintf.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_snprintf.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Ruediger Kuhlmann @email{info@@ruediger-kuhlmann.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_func_which_gethostbyname_r
+@unnumberedsec ax_func_which_gethostbyname_r
+
+@majorheading Synopsis
+
+@smallexample
+AX_FUNC_WHICH_GETHOSTBYNAME_R
+@end smallexample
+
+@majorheading Description
+
+Determines which historical variant of the gethostbyname_r() call
+(taking three, five, or six arguments) is available on the system and
+defines one of the following macros accordingly:
+
+@smallexample
+ HAVE_FUNC_GETHOSTBYNAME_R_6
+ HAVE_FUNC_GETHOSTBYNAME_R_5
+ HAVE_FUNC_GETHOSTBYNAME_R_3
+@end smallexample
+
+as well as
+
+@smallexample
+ HAVE_GETHOSTBYNAME_R
+@end smallexample
+
+If used in conjunction with gethostname.c, the API demonstrated in
+test.c can be used regardless of which gethostbyname_r() is available.
+These example files can be found at
+http://www.csn.ul.ie/~caolan/publink/gethostbyname_r
+
+based on David Arnold's autoconf suggestion in the threads faq
+
+Originally named "AC_caolan_FUNC_WHICH_GETHOSTBYNAME_R". Rewritten for
+Autoconf 2.5x, and updated for 2.68 by Daniel Richard G.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_which_gethostbyname_r.m4,latest
+version of @file{ax_func_which_gethostbyname_r.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_which_gethostbyname_r.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Caolan McNamara @email{caolan@@skynet.ie}} @* @w{Copyright @copyright{} 2008 Daniel Richard G. @email{skunk@@iskunk.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_func_which_getservbyname_r
+@unnumberedsec ax_func_which_getservbyname_r
+
+@majorheading Synopsis
+
+@smallexample
+AX_FUNC_WHICH_GETSERVBYNAME_R
+@end smallexample
+
+@majorheading Description
+
+Provides a test to determine the correct way to call getservbyname_r:
+
+@smallexample
+ - defines HAVE_FUNC_GETSERVBYNAME_R_6 if it needs 6 arguments (e.g linux)
+ - defines HAVE_FUNC_GETSERVBYNAME_R_5 if it needs 5 arguments (e.g. solaris)
+ - defines HAVE_FUNC_GETSERVBYNAME_R_4 if it needs 4 arguments (e.g. osf/1)
+@end smallexample
+
+An example use can be found at
+http://raf.org/autoconf/net_getservbyname.c
+
+Based on Caolan McNamara's gethostbyname_r macro. Based on David
+Arnold's autoconf suggestion in the threads faq.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_which_getservbyname_r.m4,latest
+version of @file{ax_func_which_getservbyname_r.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_which_getservbyname_r.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 raf @email{raf@@raf.org}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_gcc_archflag
+@unnumberedsec ax_gcc_archflag
+
+@majorheading Synopsis
+
+@smallexample
+AX_GCC_ARCHFLAG([PORTABLE?], [ACTION-SUCCESS], [ACTION-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+This macro tries to guess the "native" arch corresponding to the target
+architecture for use with gcc's -march=arch or -mtune=arch flags. If
+found, the cache variable $ax_cv_gcc_archflag is set to this flag and
+ACTION-SUCCESS is executed; otherwise $ax_cv_gcc_archflag is set to
+"unknown" and ACTION-FAILURE is executed. The default ACTION-SUCCESS is
+to add $ax_cv_gcc_archflag to the end of $CFLAGS.
+
+PORTABLE? should be either [yes] (default) or [no]. In the former case,
+the flag is set to -mtune (or equivalent) so that the architecture is
+only used for tuning, but the instruction set used is still portable. In
+the latter case, the flag is set to -march (or equivalent) so that
+architecture-specific instructions are enabled.
+
+The user can specify --with-gcc-arch=<arch> in order to override the
+macro's choice of architecture, or --without-gcc-arch to disable this.
+
+When cross-compiling, or if $CC is not gcc, then ACTION-FAILURE is
+called unless the user specified --with-gcc-arch manually.
+
+Requires macros: AX_CHECK_COMPILE_FLAG, AX_GCC_X86_CPUID
+
+(The main emphasis here is on recent CPUs, on the principle that doing
+high-performance computing on old hardware is uncommon.)
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_archflag.m4,latest
+version of @file{ax_gcc_archflag.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_archflag.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Steven G. Johnson @email{stevenj@@alum.mit.edu}} @* @w{Copyright @copyright{} 2008 Matteo Frigo} @* @w{Copyright @copyright{} 2014 Tsukasa Oi} @* @w{Copyright @copyright{} 2017-2018 Alexey Kopytov}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_gcc_builtin
+@unnumberedsec ax_gcc_builtin
+
+@majorheading Synopsis
+
+@smallexample
+AX_GCC_BUILTIN(BUILTIN)
+@end smallexample
+
+@majorheading Description
+
+This macro checks if the compiler supports one of GCC's built-in
+functions; many other compilers also provide those same built-ins.
+
+The BUILTIN parameter is the name of the built-in function.
+
+If BUILTIN is supported define HAVE_<BUILTIN>. Keep in mind that since
+builtins usually start with two underscores they will be copied over
+into the HAVE_<BUILTIN> definition (e.g. HAVE___BUILTIN_EXPECT for
+__builtin_expect()).
+
+The macro caches its result in the ax_cv_have_<BUILTIN> variable (e.g.
+ax_cv_have___builtin_expect).
+
+The macro currently supports the following built-in functions:
+
+@smallexample
+ __builtin_assume_aligned
+ __builtin_bswap16
+ __builtin_bswap32
+ __builtin_bswap64
+ __builtin_choose_expr
+ __builtin___clear_cache
+ __builtin_clrsb
+ __builtin_clrsbl
+ __builtin_clrsbll
+ __builtin_clz
+ __builtin_clzl
+ __builtin_clzll
+ __builtin_complex
+ __builtin_constant_p
+ __builtin_cpu_init
+ __builtin_cpu_is
+ __builtin_cpu_supports
+ __builtin_ctz
+ __builtin_ctzl
+ __builtin_ctzll
+ __builtin_expect
+ __builtin_ffs
+ __builtin_ffsl
+ __builtin_ffsll
+ __builtin_fpclassify
+ __builtin_huge_val
+ __builtin_huge_valf
+ __builtin_huge_vall
+ __builtin_inf
+ __builtin_infd128
+ __builtin_infd32
+ __builtin_infd64
+ __builtin_inff
+ __builtin_infl
+ __builtin_isinf_sign
+ __builtin_nan
+ __builtin_nand128
+ __builtin_nand32
+ __builtin_nand64
+ __builtin_nanf
+ __builtin_nanl
+ __builtin_nans
+ __builtin_nansf
+ __builtin_nansl
+ __builtin_object_size
+ __builtin_parity
+ __builtin_parityl
+ __builtin_parityll
+ __builtin_popcount
+ __builtin_popcountl
+ __builtin_popcountll
+ __builtin_powi
+ __builtin_powif
+ __builtin_powil
+ __builtin_prefetch
+ __builtin_trap
+ __builtin_types_compatible_p
+ __builtin_unreachable
+@end smallexample
+
+Unsupported built-ins will be tested with an empty parameter set and the
+result of the check might be wrong or meaningless so use with care.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_builtin.m4,latest
+version of @file{ax_gcc_builtin.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_builtin.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2013 Gabriele Svelto @email{gabriele.svelto@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_gcc_const_call
+@unnumberedsec ax_gcc_const_call
+
+@majorheading Synopsis
+
+@smallexample
+AX_GCC_CONST_CALL
+@end smallexample
+
+@majorheading Description
+
+The macro will compile a test program to see whether the compiler does
+understand the per-function postfix pragma.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_const_call.m4,latest
+version of @file{ax_gcc_const_call.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_const_call.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_gcc_func_attribute
+@unnumberedsec ax_gcc_func_attribute
+
+@majorheading Synopsis
+
+@smallexample
+AX_GCC_FUNC_ATTRIBUTE(ATTRIBUTE)
+@end smallexample
+
+@majorheading Description
+
+This macro checks if the compiler supports one of GCC's function
+attributes; many other compilers also provide function attributes with
+the same syntax. Compiler warnings are used to detect supported
+attributes as unsupported ones are ignored by default so quieting
+warnings when using this macro will yield false positives.
+
+The ATTRIBUTE parameter holds the name of the attribute to be checked.
+
+If ATTRIBUTE is supported define HAVE_FUNC_ATTRIBUTE_<ATTRIBUTE>.
+
+The macro caches its result in the ax_cv_have_func_attribute_<attribute>
+variable.
+
+The macro currently supports the following function attributes:
+
+@smallexample
+ alias
+ aligned
+ alloc_size
+ always_inline
+ artificial
+ cold
+ const
+ constructor
+ constructor_priority for constructor attribute with priority
+ deprecated
+ destructor
+ dllexport
+ dllimport
+ error
+ externally_visible
+ fallthrough
+ flatten
+ format
+ format_arg
+ gnu_format
+ gnu_inline
+ hot
+ ifunc
+ leaf
+ malloc
+ noclone
+ noinline
+ nonnull
+ noreturn
+ nothrow
+ optimize
+ pure
+ sentinel
+ sentinel_position
+ unused
+ used
+ visibility
+ warning
+ warn_unused_result
+ weak
+ weakref
+@end smallexample
+
+Unsupported function attributes will be tested with a prototype
+returning an int and not accepting any arguments and the result of the
+check might be wrong or meaningless so use with care.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_func_attribute.m4,latest
+version of @file{ax_gcc_func_attribute.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_func_attribute.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2013 Gabriele Svelto @email{gabriele.svelto@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_gcc_lib
+@unnumberedsec ax_gcc_lib
+
+@majorheading Synopsis
+
+@smallexample
+AX_GCC_LIB(LIBRARY,[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+AX_GCC_LIB looks for LIBRARY inside gcc install directory, performs
+ACTION-IF-FOUND if the library is available, ACTION-IF-NOT-FOUND
+otherwise. The gcc install directory is retrieved using
+AX_GCC_INSTALL_DIR macro.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_lib.m4,latest
+version of @file{ax_gcc_lib.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_lib.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_gcc_libgcc_eh
+@unnumberedsec ax_gcc_libgcc_eh
+
+@majorheading Synopsis
+
+@smallexample
+AX_GCC_LIBGCC_EH(VARIABLE)
+@end smallexample
+
+@majorheading Description
+
+AX_GCC_LIBGCC_EH defines VARIABLE as the absolute path to libgcc_eh.a if
+it is available on the system, empty otherwise
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_libgcc_eh.m4,latest
+version of @file{ax_gcc_libgcc_eh.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_libgcc_eh.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_gcc_libsupcxx
+@unnumberedsec ax_gcc_libsupcxx
+
+@majorheading Synopsis
+
+@smallexample
+AX_GCC_LIBSUPCXX(VARIABLE)
+@end smallexample
+
+@majorheading Description
+
+AX_GCC_LIBSUPCXX defines VARIABLE as the absolute path to libsupc++.a if
+it is available on the system, empty otherwise.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_libsupcxx.m4,latest
+version of @file{ax_gcc_libsupcxx.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_libsupcxx.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}} @* @w{Copyright @copyright{} 2009 Alessandro Massignan @email{ff0000.it@@gmail.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_gcc_malloc_call
+@unnumberedsec ax_gcc_malloc_call
+
+@majorheading Synopsis
+
+@smallexample
+AX_GCC_MALLOC_CALL
+@end smallexample
+
+@majorheading Description
+
+The macro will compile a test program to see whether the compiler does
+understand the per-function postfix pragma.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_malloc_call.m4,latest
+version of @file{ax_gcc_malloc_call.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_malloc_call.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_gcc_var_attribute
+@unnumberedsec ax_gcc_var_attribute
+
+@majorheading Synopsis
+
+@smallexample
+AX_GCC_VAR_ATTRIBUTE(ATTRIBUTE)
+@end smallexample
+
+@majorheading Description
+
+This macro checks if the compiler supports one of GCC's variable
+attributes; many other compilers also provide variable attributes with
+the same syntax. Compiler warnings are used to detect supported
+attributes as unsupported ones are ignored by default so quieting
+warnings when using this macro will yield false positives.
+
+The ATTRIBUTE parameter holds the name of the attribute to be checked.
+
+If ATTRIBUTE is supported define HAVE_VAR_ATTRIBUTE_<ATTRIBUTE>.
+
+The macro caches its result in the ax_cv_have_var_attribute_<attribute>
+variable.
+
+The macro currently supports the following variable attributes:
+
+@smallexample
+ aligned
+ cleanup
+ common
+ nocommon
+ deprecated
+ mode
+ packed
+ tls_model
+ unused
+ used
+ vector_size
+ weak
+ dllimport
+ dllexport
+ init_priority
+@end smallexample
+
+Unsupported variable attributes will be tested against a global integer
+variable and without any arguments given to the attribute itself; the
+result of this check might be wrong or meaningless so use with care.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_var_attribute.m4,latest
+version of @file{ax_gcc_var_attribute.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_var_attribute.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2013 Gabriele Svelto @email{gabriele.svelto@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_gcc_warn_unused_result
+@unnumberedsec ax_gcc_warn_unused_result
+
+@majorheading Synopsis
+
+@smallexample
+AX_GCC_WARN_UNUSED_RESULT
+@end smallexample
+
+@majorheading Description
+
+The macro will compile a test program to see whether the compiler does
+understand the per-function postfix pragma.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_warn_unused_result.m4,latest
+version of @file{ax_gcc_warn_unused_result.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_warn_unused_result.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_gcc_x86_avx_xgetbv
+@unnumberedsec ax_gcc_x86_avx_xgetbv
+
+@majorheading Synopsis
+
+@smallexample
+AX_GCC_X86_AVX_XGETBV
+@end smallexample
+
+@majorheading Description
+
+On later x86 processors with AVX SIMD support, with gcc or a compiler
+that has a compatible syntax for inline assembly instructions, run a
+small program that executes the xgetbv instruction with input OP. This
+can be used to detect if the OS supports AVX instruction usage.
+
+On output, the values of the eax and edx registers are stored as
+hexadecimal strings as "eax:edx" in the cache variable
+ax_cv_gcc_x86_avx_xgetbv.
+
+If the xgetbv instruction fails (because you are running a
+cross-compiler, or because you are not using gcc, or because you are on
+a processor that doesn't have this instruction),
+ax_cv_gcc_x86_avx_xgetbv_OP is set to the string "unknown".
+
+This macro mainly exists to be used in AX_EXT.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_x86_avx_xgetbv.m4,latest
+version of @file{ax_gcc_x86_avx_xgetbv.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_x86_avx_xgetbv.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2013 Michael Petch @email{mpetch@@capp-sysware.com}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_gcc_x86_cpu_supports
+@unnumberedsec ax_gcc_x86_cpu_supports
+
+@majorheading Synopsis
+
+@smallexample
+AX_GCC_X86_CPU_SUPPORTS(X86-INSTRUCTION-SET,
+ [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+Checks if the host cpu supports X86-INSTRUCTION-SET. The instruction set
+that can be tested are "mmx, popcnt, sse, sse2, sse3, sse4.1, sse4.2,
+sse4a, avx, avx2, avx512f, fma, fma4, bmi, bmi2". If the instruction set
+is supported by the host cpu, the C preprocessor macro
+HAVE_XXX_INSTRUCTIONS is set to 1. The XXX is up-cased instruction case
+with dot replaced by underscore. For example, the test for "sse4.2"
+would export HAVE_SSE4_2_INSTRUCTIONS=1. This macro requires gcc
+extended builtin function "__builtin_cpu_init" and
+"__builtin_cpu_supports" to detect the cpu features. It will error out
+if the compiler doesn't has these builtins.
+
+If the test for the instruction set succeeded, the hook ACTION-IF-FOUND
+would run. Otherwise the hook ACTION-IF-NOT-FOUND would run if
+specified.
+
+See also AX_CHECK_X86_FEATURES, which checks all the possible
+instruction set and export the corresponding CFLAGS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_x86_cpu_supports.m4,latest
+version of @file{ax_gcc_x86_cpu_supports.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_x86_cpu_supports.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2016 Felix Chern @email{idryman@@gmail.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_gcc_x86_cpuid
+@unnumberedsec ax_gcc_x86_cpuid
+
+@majorheading Synopsis
+
+@smallexample
+AX_GCC_X86_CPUID(OP)
+AX_GCC_X86_CPUID_COUNT(OP, COUNT)
+@end smallexample
+
+@majorheading Description
+
+On Pentium and later x86 processors, with gcc or a compiler that has a
+compatible syntax for inline assembly instructions, run a small program
+that executes the cpuid instruction with input OP. This can be used to
+detect the CPU type. AX_GCC_X86_CPUID_COUNT takes an additional COUNT
+parameter that gets passed into register ECX before calling cpuid.
+
+On output, the values of the eax, ebx, ecx, and edx registers are stored
+as hexadecimal strings as "eax:ebx:ecx:edx" in the cache variable
+ax_cv_gcc_x86_cpuid_OP.
+
+If the cpuid instruction fails (because you are running a
+cross-compiler, or because you are not using gcc, or because you are on
+a processor that doesn't have this instruction), ax_cv_gcc_x86_cpuid_OP
+is set to the string "unknown".
+
+This macro mainly exists to be used in AX_GCC_ARCHFLAG.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_x86_cpuid.m4,latest
+version of @file{ax_gcc_x86_cpuid.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_x86_cpuid.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Steven G. Johnson @email{stevenj@@alum.mit.edu}} @* @w{Copyright @copyright{} 2008 Matteo Frigo} @* @w{Copyright @copyright{} 2015 Michael Petch @email{mpetch@@capp-sysware.com}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_generate_changelog
+@unnumberedsec ax_generate_changelog
+
+@majorheading Synopsis
+
+@smallexample
+AX_GENERATE_CHANGELOG()
+@end smallexample
+
+@majorheading Description
+
+Builds a rule for generating a ChangeLog file from version control
+system commit messages. Currently, the only supported VCS is git, but
+support for others could be added in future.
+
+Defines GENERATE_CHANGELOG_RULES which should be substituted in your
+Makefile.
+
+Usage example:
+
+configure.ac:
+
+@smallexample
+ AX_GENERATE_CHANGELOG
+@end smallexample
+
+Makefile.am:
+
+@smallexample
+ @@GENERATE_CHANGELOG_RULES@@
+ CHANGELOG_START = 0.2.3^
+ dist-hook: dist-ChangeLog
+@end smallexample
+
+ChangeLog (stub committed to VCS):
+
+@smallexample
+ The ChangeLog is auto-generated when releasing.
+ If you are seeing this, use 'git log' for a detailed list of changes.
+@end smallexample
+
+This results in a "dist-ChangeLog" rule being added to the Makefile.
+When run, "dist-ChangeLog" will generate a ChangeLog in the
+$(top_distdir), using $(CHANGELOG_GIT_FLAGS) to format the output from
+"git log" being run in $(CHANGELOG_GIT_DIR).
+
+Unless Automake is initialised with the 'foreign' option, a dummy
+ChangeLog file must be committed to VCS in $(top_srcdir), containing the
+text above (for example). It will be substituted by the automatically
+generated ChangeLog during "make dist".
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_generate_changelog.m4,latest
+version of @file{ax_generate_changelog.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_generate_changelog.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2015 David King @email{amigadave@@amigadave.com}} @* @w{Copyright @copyright{} 2015 Philip Withnall @email{philip.withnall@@collabora.co.uk}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_gnu_autotest
+@unnumberedsec ax_gnu_autotest
+
+@majorheading Synopsis
+
+@smallexample
+AX_GNU_AUTOTEST([testdir = `tests'], [testsuites = `testsuite'],
+ [atlocal-sources = `'], [gen-package = `yes'],
+ [force = `no'])
+@end smallexample
+
+@majorheading Description
+
+Sets up one or multiple GNU Autotest test suites [1].
+
+TL;DR:
+
+@smallexample
+ * Write tests/testsuite.at as normal
+ * Add to configure.ac: AX_GNU_AUTOTEST
+ * Add to Makefile.am or Makefile.in in top_srcdir:
+ @@AX_GNU_AUTOTEST_DEFAULT@@
+ * autoreconf && ./configure && make check
+@end smallexample
+
+GNU Autotest is a very powerful testing framework to script executing
+binaries, observing their output and logging failures, all in the same
+portable manner as configure itself. But the only help given the
+developer in setting up the framework is the AC_CONFIG_TESTDIR()
+command, which leaves several additional steps up to the developer
+copying examples from the manual:
+
+@smallexample
+ * generating the "package.m4" file used in generating the "testsuite"
+ * generating the "testsuite" executable by calling autom4te
+ * adding Makefile rules to keep both "package.m4" and "testsuite"
+ current
+ * figuring out how to do all the above if the Makefile does not reside
+ in the testdir
+@end smallexample
+
+This command takes care of all of the above. It is designed to be called
+multiple times for different testdir directories, to have multiple
+testsuites scripts per directory and to handle the optional "package.m4"
+and "atlocal" (re)generation.
+
+The various actions taken by this command happen in different phases of
+the build process:
+
+@smallexample
+ 1) During the autoconf execution, generate the testsuites and any
+ "package.m4" files. So these are already available before configure
+ ran. The reasoning for deviating from the examples in [1] is that
+ these files are distributed and must be placed in the srcdir: it
+ seems cleaner to not generate anything in srcdir during any of the
+ later phases.
+ 2) During the config.status execution (following the configure
+ execution), generate "atconfig" and any "atlocal" files in the
+ buildir. The "atconfig" generation is handled by calling
+ AC_CONFIG_TESTDIR() so the developer does not have to do so
+ themselves.
+ 3) During the execution of make, several additional rules and file
+ lists are made available via AC_SUBST(). The rules are intended
+ to be called where appropriate (e.g. make check can depend on
+ check-autotest) and the file lists are intended to be added
+ to the appropriate lists (i.e. to DISTCLEANFILES and EXTRA_DIST).
+@end smallexample
+
+Description of AX_GNU_AUTOTEST() arguments:
+
+@smallexample
+ * testdir: directory-name containing the testsuites. AX_GNU_AUTOTEST()
+ must be called exactly once for each directory containing testsuites.
+ If empty, defaults to "tests".
+ * testsuites: space-separated list of words, where each word is the
+ name of a test suite script optionally followed by a colon and the
+ name of the scripts source file. If the source file is not given,
+ it defaults to the script name suffixed by ".at". So these words
+ are all equivalent: "foo", "foo:" and "foo:foo.at". If the argument
+ is empty, it defaults to "testsuite". The script filenames must not
+ contain any path, but that is allowed for the source filenames.
+ * atlocal-sources: space- or colon-separated list of filenames, which
+ are registered with AC_CONFIG_FILES() as the sources of atlocal.
+ If empty, no atlocal file is generated.
+ * gen-package: boolean ("yes" or "no") indicating whether "package.m4"
+ should be generated. If empty, defaults to "yes".
+ * force: boolean ("yes" or "no") whether to treat errors in arguments
+ as errors and abort (for "no") or whether to ignore any such errors
+ (for "yes"). If empty, defaults to "no".
+@end smallexample
+
+All filenames above must be relative. The testdir name is interpreted
+relative to top_srcdir. All other names are interpreted relative to the
+testdir. The boolean values are interpreted as "yes" for any non-empty
+value except "0", "n", "no" and their mixed-case variants.
+
+Description of Makefile.am / Makefile.in substitutions:
+
+@smallexample
+ * AX_GNU_AUTOTEST_RULES: the make rules provided here. Substitute this
+ in a separate line.
+ * AX_GNU_AUTOTEST_DCLEAN: the list of files to be added to
+ DISTCLEANFILES.
+ * AX_GNU_AUTOTEST_DIST: the list of files to be added to EXTRA_DIST.
+ * AX_GNU_AUTOTEST_DEFAULT: includes all other substitutions and uses
+ them in a "default" way.
+@end smallexample
+
+All must be used as a substitution (@@...@@) instead of as a variable
+($(...) or $@{...@}). These substitutions are generated multiple times,
+once for each directory where an affected Makefile may be located. All
+substitutions start with the base as given above but may have suffixes
+for the directories. Assuming this example in configure.ac:
+
+@smallexample
+ AX_GNU_AUTOTEST([foo/bar])
+ AX_GNU_AUTOTEST([baz])
+@end smallexample
+
+Then the following substitutions are available (where <base> stands for
+one of the above prefixes):
+
+@smallexample
+ * <base> : for use in top_srcdir/Makefile
+ * <base>_foo : for use in top_srcdir/foo/Makefile
+ * <base>_foo_bar : for use in top_srcdir/foo/bar/Makefile
+ * <base>_baz : for use in top_srcdir/baz/Makefile
+@end smallexample
+
+The <base> substitutions cover both foo/bar and baz, so none of the
+other substitutions should be used. Indeed, no Makefiles are needed in
+the other directories. But if sub-directory Makefiles are used, then
+both <base>_baz and either of <base>_foo or <base>_foo_bar must be used
+in their respective Makefiles.
+
+Description of Makefile targets defined by AX_GNU_AUTOTEST_RULES*:
+
+@smallexample
+ * check-autotest: The equivalent of check.
+ * installcheck-autotest: The equivalent of installcheck.
+ * clean-autotest: The equivalent of clean.
+@end smallexample
+
+The developer can either define the above targets as dependencies of
+their appropriate equivalent rule or of their *-local equivalent rule
+for automake or they can define a rule with a sub-make call as they
+wish.
+
+All rules are dependent on like-named rules for each sub-directory and
+for each testsuite. Only the testsuite rules actually do any work, the
+rest are just collectors and convenience names. Assuming this example in
+configure.ac:
+
+@smallexample
+ AX_GNU_AUTOTEST([foo], [testsuite bar])
+ AX_GNU_AUTOTEST([baz])
+@end smallexample
+
+Then AX_GNU_AUTOTEST_RULES defines these check rules (likewise for
+installcheck and clean):
+
+@smallexample
+ check-autotest: check-autotest-foo check-autotest-baz
+ check-autotest-foo: check-autotest-foo-testsuite check-autotest-foo-bar
+ check-autotest-baz: check-autotest-baz-testsuite
+ check-autotest-foo-testsuite # Executes foo/testsuite -C foo
+ check-autotest-foo-bar # Executes foo/bar -C foo
+ check-autotest-baz-testsuite # Executes baz/testsuite -C baz
+@end smallexample
+
+And AX_GNU_AUTOTEST_RULES_baz defines these check rules:
+
+@smallexample
+ check-autotest: check-autotest-testsuite
+ check-autotest-testsuite # Executes testsuite (which is baz/testsuite)
+@end smallexample
+
+Note how the rule names only contain the directory and testsuite paths
+relative to the Makefile location. Also note how each testsuite is
+executed in its respective testdir.
+
+In addition to the above, AX_GNU_AUTOTEST_RULES* also contains the rules
+to keep the testsuites, "package.m4" and "atconfig" updated. The
+matching rules to keep "atlocal" updated are generated by automake if
+that is used or are the responsibility of the developer.
+
+All testsuite executions (except for clean) use variables
+AX_GNU_AUTOTEST_FLAGS, AX_GNU_AUTOTEST_CHECK_FLAGS,
+AX_GNU_AUTOTEST_INSTALLCHECK_FLAGS and more path-and-script-specific
+variants for additional command line options. These variables can be
+defined by the developer to pass options to the testsuite. In the
+example above, the rule check-autotest-foo-bar would look like this:
+
+@smallexample
+ check-autotest-foo-bar:
+ foo/bar -C foo $(AX_GNU_AUTOTEST_FLAGS) \
+ $(AX_GNU_AUTOTEST_CHECK_FLAGS) \
+ $(AX_GNU_AUTOTEST_FLAGS_foo) \
+ $(AX_GNU_AUTOTEST_CHECK_FLAGS_foo) \
+ $(AX_GNU_AUTOTEST_FLAGS_foo_bar) \
+ $(AX_GNU_AUTOTEST_CHECK_FLAGS_foo_bar)
+@end smallexample
+
+Description of Makefile file lists:
+
+These lists are intended to be added to DISTCLEANFILES and EXTRA_DIST.
+The *_DCLEAN list contains all "atconfig" files and the *_DIST list
+contains all testsuites and "package.m4" files. The lists are again
+generated per directory: so AX_GNU_AUTOTEST_DCLEAN contains all
+"atconfig" files while e.g. AX_GNU_AUTOTEST_DIST_foo contains only files
+below the "foo" directory. These file lists are prevented from becoming
+Makefile variables by calling AM_SUBST_NOTMAKE(): that way, only the
+single version used by the Makefile is substituted, not all lists for
+all other paths as well. So use either like this:
+
+@smallexample
+ DISTCLEANFILES = @@AX_GNU_AUTOTEST_DCLEAN@@
+ EXTRA_DIST = @@AX_GNU_AUTOTEST_DIST_foo@@
+@end smallexample
+
+Or like this:
+
+@smallexample
+ AX_GNU_AUTOTEST_DCLEAN_foo = @@AX_GNU_AUTOTEST_DCLEAN_foo@@
+ AX_GNU_AUTOTEST_DIST_foo = @@AX_GNU_AUTOTEST_DIST_foo@@
+ DISTCLEANFILES = $@{AX_GNU_AUTOTEST_DCLEAN_foo@}
+ EXTRA_DIST = $@{AX_GNU_AUTOTEST_DIST_foo@}
+@end smallexample
+
+Description of shorthand default Makefile contents defined by
+AX_GNU_AUTOTEST_DEFAULT*:
+
+This shorthand defines the appropriate rules, adds the file lists to the
+proper variables and makes the new targets dependencies of the standard
+"check", "installcheck" and "clean" targets. AX_GNU_AUTOTEST_DEFAULT is
+for example equivalent to:
+
+@smallexample
+ @@AX_GNU_AUTOTEST_RULES@@
+ check: check-autotest
+ installcheck: installcheck-autotest
+ clean: clean-autotest
+ distclean: distclean-autotest
+ distclean-autotest: clean-autotest
+ -rm -f @@AX_GNU_AUTOTEST_DCLEAN@@
+ .PHONY: distclean-autotest
+ EXTRA_DIST += @@AX_GNU_AUTOTEST_DIST@@
+@end smallexample
+
+Note that this is copied verbatim into the Makefile (after expansion of
+the contained @@...@@ substitutions): it does not shadow the default
+targets as would happen if the same lines were written in a Makefile.am
+file. And also note the use of the += operator: this will not be
+compatible with all versions of Make. Finally, the DISTCLEANFILES list
+is not used because automake only uses that list if it saw the variable
+in the Makefile.am file: in a substitution, it gets ignored unless the
+user already used the list.
+
+Alternative standard GNU test suites not supported here:
+
+@smallexample
+ * Automake test suites configured by the TESTS variable [2]
+ * DejaGnu test suites [3,4]
+@end smallexample
+
+[1]:
+<https://www.gnu.org/software/autoconf/manual/html_node/Using-Autotest.html>
+
+[2]: <https://www.gnu.org/software/automake/manual/html_node/Tests.html>
+
+[3]: <https://www.gnu.org/software/dejagnu/>
+
+[4]:
+<https://www.gnu.org/software/automake/manual/html_node/DejaGnu-Tests.html>
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gnu_autotest.m4,latest
+version of @file{ax_gnu_autotest.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gnu_autotest.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2015 Olaf Mandel @email{olaf@@mandel.name}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_have_adns
+@unnumberedsec ax_have_adns
+
+@majorheading Synopsis
+
+@smallexample
+AX_HAVE_ADNS([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+Check whether the GNU ADNS library available from
+http://www.chiark.greenend.org.uk/~ian/adns/ is installed on this
+system. The test is known to work with version 1.4 (or later). If the
+library is found, the flags necessary to link it are added to $LIBS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_adns.m4,latest
+version of @file{ax_have_adns.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_adns.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Peter Simons @email{simons@@cryp.to}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_have_epoll
+@unnumberedsec ax_have_epoll
+
+@majorheading Synopsis
+
+@smallexample
+AX_HAVE_EPOLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+AX_HAVE_EPOLL_PWAIT([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+This macro determines whether the system supports the epoll I/O event
+interface. A neat usage example would be:
+
+@smallexample
+ AX_HAVE_EPOLL(
+ [AX_CONFIG_FEATURE_ENABLE(epoll)],
+ [AX_CONFIG_FEATURE_DISABLE(epoll)])
+ AX_CONFIG_FEATURE(
+ [epoll], [This platform supports epoll(7)],
+ [HAVE_EPOLL], [This platform supports epoll(7).])
+@end smallexample
+
+The epoll interface was added to the Linux kernel in version 2.5.45, and
+the macro verifies that a kernel newer than this is installed. This
+check is somewhat unreliable if <linux/version.h> doesn't match the
+running kernel, but it is necessary regardless, because glibc comes with
+stubs for the epoll_create(), epoll_wait(), etc. that allow programs to
+compile and link even if the kernel is too old; the problem would then
+be detected only at runtime.
+
+Linux kernel version 2.6.19 adds the epoll_pwait() call in addition to
+epoll_wait(). The availability of that function can be tested with the
+second macro. Generally speaking, it is safe to assume that
+AX_HAVE_EPOLL would succeed if AX_HAVE_EPOLL_PWAIT has, but not the
+other way round.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_epoll.m4,latest
+version of @file{ax_have_epoll.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_epoll.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Peter Simons @email{simons@@cryp.to}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_have_poll
+@unnumberedsec ax_have_poll
+
+@majorheading Synopsis
+
+@smallexample
+AX_HAVE_POLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+AX_HAVE_PPOLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+This macro determines whether the system supports the poll I/O event
+interface. A neat usage example would be:
+
+@smallexample
+ AX_HAVE_POLL(
+ [AX_CONFIG_FEATURE_ENABLE(poll)],
+ [AX_CONFIG_FEATURE_DISABLE(poll)])
+ AX_CONFIG_FEATURE(
+ [poll], [This platform supports poll(7)],
+ [HAVE_POLL], [This platform supports poll(7).])
+@end smallexample
+
+Some systems -- most notably Linux kernel 2.6.16 and later -- also have
+the variant ppoll(). The availability of that function can be tested
+with the second macro. Generally speaking, it is safe to assume that
+AX_HAVE_POLL would succeed if AX_HAVE_PPOLL has, but not the other way
+round.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_poll.m4,latest
+version of @file{ax_have_poll.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_poll.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Peter Simons @email{simons@@cryp.to}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_have_qt
+@unnumberedsec ax_have_qt
+
+@majorheading Synopsis
+
+@smallexample
+AX_HAVE_QT
+@end smallexample
+
+@majorheading Description
+
+Searches $PATH and queries qmake for Qt include files, libraries and Qt
+binary utilities. The macro only supports Qt5 or later.
+
+The following shell variable is set to either "yes" or "no":
+
+@smallexample
+ have_qt
+@end smallexample
+
+Additionally, the following variables are exported:
+
+@smallexample
+ QT_CXXFLAGS
+ QT_LIBS
+ QT_MOC
+ QT_UIC
+ QT_RCC
+ QT_LRELEASE
+ QT_LUPDATE
+ QT_DIR
+@end smallexample
+
+which respectively contain an "-I" flag pointing to the Qt include
+directory, link flags necessary to link with Qt and X, the full path to
+the meta object compiler and the user interface compiler both, and
+finally the variable QTDIR as Qt likes to see it defined.
+
+Example lines for Makefile.in:
+
+@smallexample
+ CXXFLAGS = @@QT_CXXFLAGS@@
+ MOC = @@QT_MOC@@
+@end smallexample
+
+After the variables have been set, a trial compile and link is performed
+to check the correct functioning of the meta object compiler. This test
+may fail when the different detected elements stem from different
+releases of the Qt framework. In that case, an error message is emitted
+and configure stops.
+
+No common variables such as $LIBS or $CFLAGS are polluted.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_qt.m4,latest
+version of @file{ax_have_qt.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_qt.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Bastiaan Veelo @email{Bastiaan@@Veelo.net}} @* @w{Copyright @copyright{} 2014 Alex Henrie @email{alexhenrie24@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_have_select
+@unnumberedsec ax_have_select
+
+@majorheading Synopsis
+
+@smallexample
+AX_HAVE_SELECT([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+AX_HAVE_PSELECT([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+This macro determines whether the system supports the select I/O event
+interface. A neat usage example would be:
+
+@smallexample
+ AX_HAVE_SELECT(
+ [AX_CONFIG_FEATURE_ENABLE(select)],
+ [AX_CONFIG_FEATURE_DISABLE(select)])
+ AX_CONFIG_FEATURE(
+ [select], [This platform supports select(7)],
+ [HAVE_SELECT], [This platform supports select(7).])
+@end smallexample
+
+Some systems also have the variant pselect(). The availability of that
+function can be tested with the second macro. Generally speaking, it is
+safe to assume that AX_HAVE_SELECT would succeed if AX_HAVE_SELECT_PWAIT
+has, but not the other way round.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_select.m4,latest
+version of @file{ax_have_select.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_select.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Peter Simons @email{simons@@cryp.to}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_include_strcasecmp
+@unnumberedsec ax_include_strcasecmp
+
+@majorheading Synopsis
+
+@smallexample
+AX_INCLUDE_STRCASECMP
+@end smallexample
+
+@majorheading Description
+
+This macro tries to find a header for strcasecmp() in strings.h, then
+string.h, and AC_DEFINEs AX_STRCASECMP_HEADER to the value it found. Use
+it in your source like so:
+
+@smallexample
+ #ifdef AX_STRCASECMP_HEADER
+ #include AX_STRCASECMP_HEADER
+ #endif
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_include_strcasecmp.m4,latest
+version of @file{ax_include_strcasecmp.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_include_strcasecmp.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2012 Leo Davis @email{ldavis@@speechfxinc.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_install_files
+@unnumberedsec ax_install_files
+
+@majorheading Synopsis
+
+@smallexample
+AX_INSTALL_FILES
+@end smallexample
+
+@majorheading Description
+
+Adds target for creating a install_files file, which contains the list
+of files that will be installed.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_install_files.m4,latest
+version of @file{ax_install_files.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_install_files.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Tom Howard @email{tomhoward@@users.sf.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_int128
+@unnumberedsec ax_int128
+
+@majorheading Synopsis
+
+@smallexample
+AX_HAVE_INT128
+@end smallexample
+
+@majorheading Description
+
+Check whether the compiler provides __int128. If so, define HAVE_INT128.
+
+Works with GCC >= 4.6.
+
+TODO: Provide int128[u]_t & work with other compilers.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_int128.m4,latest
+version of @file{ax_int128.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_int128.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2019 Reuben Thomas @email{rrt@@sc3d.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_is_release
+@unnumberedsec ax_is_release
+
+@majorheading Synopsis
+
+@smallexample
+AX_IS_RELEASE(POLICY)
+@end smallexample
+
+@majorheading Description
+
+Determine whether the code is being configured as a release, or from
+git. Set the ax_is_release variable to 'yes' or 'no'.
+
+If building a release version, it is recommended that the configure
+script disable compiler errors and debug features, by conditionalising
+them on the ax_is_release variable. If building from git, these
+features should be enabled.
+
+The POLICY parameter specifies how ax_is_release is determined. It can
+take the following values:
+
+@smallexample
+ * git-directory: ax_is_release will be 'no' if a '.git'
+ directory or git worktree exists
+ * minor-version: ax_is_release will be 'no' if the minor version number
+ in $PACKAGE_VERSION is odd; this assumes
+ $PACKAGE_VERSION follows the 'major.minor.micro' scheme
+ * micro-version: ax_is_release will be 'no' if the micro version number
+ in $PACKAGE_VERSION is odd; this assumes
+ $PACKAGE_VERSION follows the 'major.minor.micro' scheme
+ * dash-version: ax_is_release will be 'no' if there is a dash '-'
+ in $PACKAGE_VERSION, for example 1.2-pre3, 1.2.42-a8b9
+ or 2.0-dirty (in particular this is suitable for use
+ with git-version-gen)
+ * always: ax_is_release will always be 'yes'
+ * never: ax_is_release will always be 'no'
+@end smallexample
+
+Other policies may be added in future.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_is_release.m4,latest
+version of @file{ax_is_release.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_is_release.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2015 Philip Withnall @email{philip@@tecnocode.co.uk}} @* @w{Copyright @copyright{} 2016 Collabora Ltd.}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved.
--- /dev/null
+@node ax_java_check_class
+@unnumberedsec ax_java_check_class
+
+@majorheading Synopsis
+
+@smallexample
+AX_JAVA_CHECK_CLASS(<class>,<action-if-found>,<action-if-not-found>)
+@end smallexample
+
+@majorheading Description
+
+Test if a Java class is available. Based on AX_PROG_JAVAC_WORKS. This
+version uses a cache variable which is both compiler, options and
+classpath dependent (so if you switch from javac to gcj it correctly
+notices and redoes the test).
+
+The macro tries to compile a minimal program importing <class>. Some
+newer compilers moan about the failure to use this but fail or produce a
+class file anyway. All moaning is sunk to /dev/null since I only wanted
+to know if the class could be imported. This is a recommended followup
+to AX_CHECK_JAVA_PLUGIN with classpath appropriately adjusted.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_java_check_class.m4,latest
+version of @file{ax_java_check_class.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_java_check_class.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Duncan Simpson @email{dps@@simpson.demon.co.uk}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_java_options
+@unnumberedsec ax_java_options
+
+@majorheading Synopsis
+
+@smallexample
+AX_JAVA_OPTIONS
+@end smallexample
+
+@majorheading Description
+
+AX_JAVA_OPTIONS adds configure command line options used for Java m4
+macros. This Macro is optional.
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission. The
+general documentation, as well as the sample configure.in, is included
+in the AX_PROG_JAVA macro.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_java_options.m4,latest
+version of @file{ax_java_options.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_java_options.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Devin Weaver @email{ktohg@@tritarget.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_jni_include_dir
+@unnumberedsec ax_jni_include_dir
+
+@majorheading Synopsis
+
+@smallexample
+AX_JNI_INCLUDE_DIR
+@end smallexample
+
+@majorheading Description
+
+AX_JNI_INCLUDE_DIR finds include directories needed for compiling
+programs using the JNI interface.
+
+JNI include directories are usually in the Java distribution. This is
+deduced from the value of $JAVA_HOME, $JAVAC, or the path to "javac", in
+that order. When this macro completes, a list of directories is left in
+the variable JNI_INCLUDE_DIRS.
+
+Example usage follows:
+
+@smallexample
+ AX_JNI_INCLUDE_DIR
+@end smallexample
+
+@smallexample
+ for JNI_INCLUDE_DIR in $JNI_INCLUDE_DIRS
+ do
+ CPPFLAGS="$CPPFLAGS -I$JNI_INCLUDE_DIR"
+ done
+@end smallexample
+
+If you want to force a specific compiler:
+
+- at the configure.in level, set JAVAC=yourcompiler before calling
+AX_JNI_INCLUDE_DIR
+
+- at the configure level, setenv JAVAC
+
+This macro depends on AC_CANONICAL_HOST which requires that config.guess
+and config.sub be distributed along with the source code. See autoconf
+manual for details.
+
+Note: This macro can work with the autoconf M4 macros for Java programs.
+This particular macro is not part of the original set of macros.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_jni_include_dir.m4,latest
+version of @file{ax_jni_include_dir.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_jni_include_dir.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Don Anderson @email{dda@@sleepycat.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lapack
+@unnumberedsec ax_lapack
+
+@majorheading Synopsis
+
+@smallexample
+AX_LAPACK([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+This macro looks for a library that implements the LAPACK linear-algebra
+interface (see http://www.netlib.org/lapack/). On success, it sets the
+LAPACK_LIBS output variable to hold the requisite library linkages.
+
+To link with LAPACK, you should link with:
+
+@smallexample
+ $LAPACK_LIBS $BLAS_LIBS $LIBS $FLIBS
+@end smallexample
+
+in that order. BLAS_LIBS is the output variable of the AX_BLAS macro,
+called automatically. FLIBS is the output variable of the
+AC_F77_LIBRARY_LDFLAGS macro (called if necessary by AX_BLAS), and is
+sometimes necessary in order to link with F77 libraries. Users will also
+need to use AC_F77_DUMMY_MAIN (see the autoconf manual), for the same
+reason.
+
+The user may also use --with-lapack=<lib> in order to use some specific
+LAPACK library <lib>. In order to link successfully, however, be aware
+that you will probably need to use the same Fortran compiler (which can
+be set via the F77 env. var.) as was used to compile the LAPACK and BLAS
+libraries.
+
+ACTION-IF-FOUND is a list of shell commands to run if a LAPACK library
+is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
+is not found. If ACTION-IF-FOUND is not specified, the default action
+will define HAVE_LAPACK.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lapack.m4,latest
+version of @file{ax_lapack.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lapack.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Steven G. Johnson @email{stevenj@@alum.mit.edu}} @* @w{Copyright @copyright{} 2019 Geoffrey M. Oxberry @email{goxberry@@gmail.com}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_lib_beecrypt
+@unnumberedsec ax_lib_beecrypt
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_BEECRYPT([yes|no|auto])
+@end smallexample
+
+@majorheading Description
+
+Searches for the 'beecrypt' library with the --with... option.
+
+If found, define HAVE_BEECRYPT and macro BEECRYPT_LIBS. Also defines
+BEECRYPT_WITH_<algo> for the algorithms found available. Possible
+algorithms: BASE64 AES BF MD5 SHA1 SHA256 SHA384 SHA512.
+
+The argument is used if no --with...-beecrypt option is set. Value "yes"
+requires the configuration by default. Value "no" does not require it by
+default. Value "auto" configures the library only if available.
+
+See also AX_LIB_CRYPTO and AX_LIB_GCRYPT.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_beecrypt.m4,latest
+version of @file{ax_lib_beecrypt.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_beecrypt.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Fabien Coelho @email{autoconf.archive@@coelho.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_cgal_core
+@unnumberedsec ax_lib_cgal_core
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_CGAL_CORE([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+Test for the CGAL_Core library.
+
+By using the "--with-cgal=" option, define a special installation
+directory. If CGAL is not found there, the script will fail immediately.
+Otherwise, $CGAL_HOME is searched, then standard system locations.
+
+NOTE: This script depends on BOOST_CPPFLAGS, so be sure to run
+AX_BOOST_BASE in advance.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(CGAL_CPPFLAGS)
+ AC_SUBST(CGAL_LDFLAGS)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_CGAL
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_cgal_core.m4,latest
+version of @file{ax_lib_cgal_core.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_cgal_core.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2010 Sebastian Hegler @email{sebastian.hegler@@tu-dresden.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_crypto
+@unnumberedsec ax_lib_crypto
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_CRYPTO([yes|no|auto])
+@end smallexample
+
+@majorheading Description
+
+Searches for the 'crypto' library with the --with... option.
+
+If found, define HAVE_CRYPTO and macro CRYPTO_LIBS. Also defines
+CRYPTO_WITH_<algo> for the algorithms found available. Possible
+algorithms: AES BF CAMELLIA CAST DES IDEA RC2 RC5 MD2 MD4 MD5 SHA RIPEMD
+RSA DSA DH
+
+The argument is used if no --with...-crypto option is set. Value "yes"
+requires the configuration by default. Value "no" does not require it by
+default. Value "auto" configures the library only if available.
+
+See also AX_LIB_BEECRYPT and AX_LIB_GCRYPT.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_crypto.m4,latest
+version of @file{ax_lib_crypto.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_crypto.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Fabien Coelho @email{autoconf.archive@@coelho.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_curl
+@unnumberedsec ax_lib_curl
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_CURL([VERSION],[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Checks for minimum curl library version VERSION. If successful executes
+ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+Defines CURL_LIBS and CURL_CFLAGS.
+
+A simple example:
+
+@smallexample
+ AX_LIB_CURL([7.19.4],,[
+ AC_MSG_ERROR([Your system lacks libcurl >= 7.19.4])
+ ])
+@end smallexample
+
+This macro is a rearranged version of AC_LIB_CURL from Akos Maroy.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_curl.m4,latest
+version of @file{ax_lib_curl.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_curl.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_ev
+@unnumberedsec ax_lib_ev
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_EV([VERSION],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+Checks for libev mimicking pkg-config's way of doing things for as long
+as upstream doesn't provide a .pc file. If successful and provided
+expand ACTION-IF-FOUND, otherwise expand ACTION-IF-NOT-FOUND, or, if
+omitted, error out like pkg-config does.
+
+Defines libev_LIBS and libev_CFLAGS.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_ev.m4,latest
+version of @file{ax_lib_ev.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_ev.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2012 Sebastian Freundt @email{freundt@@fresse.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_expat
+@unnumberedsec ax_lib_expat
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_EXPAT([MINIMUM-VERSION])
+@end smallexample
+
+@majorheading Description
+
+This macro provides tests of availability of Expat XML Parser of
+particular version or newer. This macro checks for Expat XML Parser
+headers and libraries and defines compilation flags
+
+Macro supports following options and their values:
+
+1) Single-option usage:
+
+@smallexample
+ --with-expat -- yes, no, or path to Expat XML Parser
+ installation prefix
+@end smallexample
+
+2) Three-options usage (all options are required):
+
+@smallexample
+ --with-expat=yes
+ --with-expat-inc -- path to base directory with Expat headers
+ --with-expat-lib -- linker flags for Expat
+@end smallexample
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(EXPAT_CFLAGS)
+ AC_SUBST(EXPAT_LIBS)
+ AC_SUBST(EXPAT_LDFLAGS)
+ AC_SUBST(EXPAT_VERSION) -- only if version requirement is used
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_EXPAT
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_expat.m4,latest
+version of @file{ax_lib_expat.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_expat.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Mateusz Loskot @email{mateusz@@loskot.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_firebird
+@unnumberedsec ax_lib_firebird
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_FIREBIRD([MINIMUM-VERSION])
+@end smallexample
+
+@majorheading Description
+
+Test for the Firebird client library of a particular version (or newer).
+This macro takes only one optional argument, the required version of
+Firebird library. If required version is not passed, then 1.5.0 is used
+in test of existence of Firebird client library.
+
+For more information about Firebird API versioning check: API Identifies
+Client Version http://www.firebirdsql.org/rlsnotes20/rnfbtwo-apiods.html
+
+If no installation prefix to the installed Firebird library is given the
+macro searches under /usr, /usr/local, and /opt.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(FIREBIRD_CFLAGS)
+ AC_SUBST(FIREBIRD_LDFLAGS)
+ AC_SUBST(FIREBIRD_VERSION)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_FIREBIRD
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_firebird.m4,latest
+version of @file{ax_lib_firebird.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_firebird.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Mateusz Loskot @email{mateusz@@loskot.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_gcrypt
+@unnumberedsec ax_lib_gcrypt
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_GCRYPT([yes|no|auto])
+@end smallexample
+
+@majorheading Description
+
+Searches for the 'gcrypt' library with the --with... option.
+
+If found, define HAVE_GCRYPT and macro GCRYPT_LIBS and GCRYPT_CFLAGS.
+Also defines GCRYPT_WITH_<algo> for the algorithms found available.
+Possible algorithms are: AES ARCFOUR BLOWFISH CAST5 DES IDEA RFC2268
+SERPENT TWOFISH CRC HAVAL MD2 MD4 MD5 RMD160 SHA0 SHA1 SHA224 SHA256
+SHA384 SHA512 TIGER WHIRLPOOL DSA ELGAMAL RSA
+
+The argument is used if no --with...-gcrypt option is set. Value "yes"
+requires the configuration by default. Value "no" does not require it by
+default. Value "auto" configures the library only if available.
+
+See also AX_LIB_BEECRYPT and AX_LIB_CRYPTO.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_gcrypt.m4,latest
+version of @file{ax_lib_gcrypt.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_gcrypt.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Fabien Coelho @email{autoconf.archive@@coelho.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_gdal
+@unnumberedsec ax_lib_gdal
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_GDAL([MINIMUM-VERSION])
+@end smallexample
+
+@majorheading Description
+
+This macro provides tests of availability of GDAL/OGR library of
+particular version or newer.
+
+AX_LIB_GDAL macro takes only one argument which is optional. If there is
+no required version passed, then macro does not run version test.
+
+The --with-gdal option takes complete path to gdal-config utility,
+
+This macro calls AC_SUBST for:
+
+@smallexample
+ GDAL_VERSION
+ GDAL_CFLAGS
+ GDAL_LDFLAGS
+ GDAL_DEP_LDFLAGS
+ GDAL_OGR_ENABLED
+@end smallexample
+
+and AC_DEFINE for:
+
+@smallexample
+ HAVE_GDAL
+ HAVE_GDAL_OGR
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_gdal.m4,latest
+version of @file{ax_lib_gdal.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_gdal.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2011 Mateusz Loskot @email{mateusz@@loskot.net}} @* @w{Copyright @copyright{} 2011 Alessandro Candini @email{candini@@meeo.it}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_hdf5
+@unnumberedsec ax_lib_hdf5
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_HDF5([serial/parallel])
+@end smallexample
+
+@majorheading Description
+
+This macro provides tests of the availability of HDF5 library.
+
+The optional macro argument should be either 'serial' or 'parallel'. The
+former only looks for serial HDF5 installations via h5cc. The latter
+only looks for parallel HDF5 installations via h5pcc. If the optional
+argument is omitted, serial installations will be preferred over
+parallel ones.
+
+The macro adds a --with-hdf5 option accepting one of three values:
+
+@smallexample
+ no - do not check for the HDF5 library.
+ yes - do check for HDF5 library in standard locations.
+ path - complete path to the HDF5 helper script h5cc or h5pcc.
+@end smallexample
+
+If HDF5 is successfully found, this macro calls
+
+@smallexample
+ AC_SUBST(HDF5_VERSION)
+ AC_SUBST(HDF5_CC)
+ AC_SUBST(HDF5_CFLAGS)
+ AC_SUBST(HDF5_CPPFLAGS)
+ AC_SUBST(HDF5_LDFLAGS)
+ AC_SUBST(HDF5_LIBS)
+ AC_SUBST(HDF5_FC)
+ AC_SUBST(HDF5_FFLAGS)
+ AC_SUBST(HDF5_FLIBS)
+ AC_SUBST(HDF5_TYPE)
+ AC_DEFINE(HAVE_HDF5)
+@end smallexample
+
+and sets with_hdf5="yes". Additionally, the macro sets
+with_hdf5_fortran="yes" if a matching Fortran wrapper script is found.
+Note that Autoconf's Fortran support is not used to perform this check.
+H5CC and H5FC will contain the appropriate serial or parallel HDF5
+wrapper script locations.
+
+If HDF5 is disabled or not found, this macros sets with_hdf5="no" and
+with_hdf5_fortran="no".
+
+Your configuration script can test $with_hdf to take any further
+actions. HDF5_@{C,CPP,LD@}FLAGS may be used when building with C or C++.
+HDF5_F@{FLAGS,LIBS@} should be used when building Fortran applications.
+
+To use the macro, one would code one of the following in "configure.ac"
+before AC_OUTPUT:
+
+@smallexample
+ 1) dnl Check for HDF5 support
+ AX_LIB_HDF5()
+@end smallexample
+
+@smallexample
+ 2) dnl Check for serial HDF5 support
+ AX_LIB_HDF5([serial])
+@end smallexample
+
+@smallexample
+ 3) dnl Check for parallel HDF5 support
+ AX_LIB_HDF5([parallel])
+@end smallexample
+
+One could test $with_hdf5 for the outcome or display it as follows
+
+@smallexample
+ echo "HDF5 support: $with_hdf5"
+@end smallexample
+
+You could also for example, override the default CC in "configure.ac" to
+enforce compilation with the compiler that HDF5 uses:
+
+@smallexample
+ AX_LIB_HDF5([parallel])
+ if test "$with_hdf5" = "yes"; then
+ CC="$HDF5_CC"
+ else
+ AC_MSG_ERROR([Unable to find HDF5, we need parallel HDF5.])
+ fi
+@end smallexample
+
+The HDF5_TYPE environment variable returns "parallel" or "serial",
+depending on which type of library is found.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_hdf5.m4,latest
+version of @file{ax_lib_hdf5.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_hdf5.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Timothy Brown @email{tbrown@@freeshell.org}} @* @w{Copyright @copyright{} 2010 Rhys Ulerich @email{rhys.ulerich@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_id3
+@unnumberedsec ax_lib_id3
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_ID3([ACTION-IF-TRUE], [ACTION-IF-FALSE])
+@end smallexample
+
+@majorheading Description
+
+This macro will check for the existence of id3lib
+(http://id3lib.sourceforge.net/). It does this by checking for the
+header file id3.h and the id3 library object file. A --with-id3lib
+option is supported as well. The following output variables are set with
+AC_SUBST:
+
+@smallexample
+ ID3_CPPFLAGS
+ ID3_LDFLAGS
+ ID3_LIBS
+@end smallexample
+
+You can use them like this in Makefile.am:
+
+@smallexample
+ AM_CPPFLAGS = $(ID3_CPPFLAGS)
+ AM_LDFLAGS = $(ID3_LDFLAGS)
+ program_LDADD = $(ID3_LIBS)
+@end smallexample
+
+Additionally, the C preprocessor symbol HAVE_ID3LIB will be defined with
+AC_DEFINE if id3lib is available.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_id3.m4,latest
+version of @file{ax_lib_id3.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_id3.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Oskar Liljeblad @email{oskar@@osk.mine.nu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_libkml
+@unnumberedsec ax_lib_libkml
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_LIBKML([MINIMUM-VERSION])
+@end smallexample
+
+@majorheading Description
+
+This macro tests whether Google's libkml library
+<http://code.google.com/p/libkml/> is available in particular version or
+newer. The generated configure script will support the following
+options:
+
+1) Single-option usage:
+
+@smallexample
+ --with-libkml - yes, no or path to Google libkml installation prefix
+@end smallexample
+
+2) Three-options usage (all options are required):
+
+@smallexample
+ --with-libkml=yes
+ --with-libkml-inc - path to base directory with headers
+ --with-libkml-lib - linker flags for
+@end smallexample
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(LIBKML_CFLAGS)
+ AC_SUBST(LIBKML_LDFLAGS)
+ AC_SUBST(LIBKML_VERSION) - only if version requirement is used
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_LIBKML
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_libkml.m4,latest
+version of @file{ax_lib_libkml.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_libkml.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2010 Mateusz Loskot @email{mateusz@@loskot.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_metis
+@unnumberedsec ax_lib_metis
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_METIS([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+This macro searches for the METIS library in the user specified
+location. The user may specify the location either by defining the
+environment variable METIS or by using the --with-metis option to
+configure. If the environment variable is defined it has precedent over
+everything else. If no location was specified then it searches in
+/usr/lib and /usr/local/lib for the library and in /usr/include and
+/usr/local/include for the header files. Upon successful completion the
+variables METIS_LIB and METIS_INCLUDE are set.
+
+ACTION-IF-FOUND is a list of shell commands to run if a METIS library is
+found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it is
+not found. If ACTION-IF-FOUND is not specified, the default action will
+define HAVE_METIS. If ACTION-IF-NOT-FOUND is not specified then an error
+will be generated halting configure.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_metis.m4,latest
+version of @file{ax_lib_metis.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_metis.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Ben Bergen @email{ben@@cs.fau.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_mysql
+@unnumberedsec ax_lib_mysql
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_MYSQL([MINIMUM-VERSION])
+@end smallexample
+
+@majorheading Description
+
+This macro provides tests of availability of MySQL client library of
+particular version or newer.
+
+AX_LIB_MYSQL macro takes only one argument which is optional. If there
+is no required version passed, then macro does not run version test.
+
+The --with-mysql option takes one of three possible values:
+
+no - do not check for MySQL client library
+
+yes - do check for MySQL library in standard locations (mysql_config
+should be in the PATH)
+
+path - complete path to mysql_config utility, use this option if
+mysql_config can't be found in the PATH
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(MYSQL_CFLAGS)
+ AC_SUBST(MYSQL_LDFLAGS)
+ AC_SUBST(MYSQL_VERSION)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_MYSQL
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_mysql.m4,latest
+version of @file{ax_lib_mysql.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_mysql.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Mateusz Loskot @email{mateusz@@loskot.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_mysqlcppconn
+@unnumberedsec ax_lib_mysqlcppconn
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_MYSQLCPPCONN([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+Test for the MySQL Connector/C++ libraries
+
+If no path to the installed library is given the macro searches under
+/usr, /usr/local, /opt and /opt/local.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(LIBMYSQLCPPCONN_CXXFLAGS) / AC_SUBST(LIBMYSQLCPPCONN_LDFLAGS)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_LIBMYSQLCPPCONN
+@end smallexample
+
+Note that this library needs to link with either MySQL client library or
+MySQL Connector/C to work. The macros defined here don't take care of
+external dependencies so you have to do it on your own. See also
+AX_LIB_MYSQL macro.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_mysqlcppconn.m4,latest
+version of @file{ax_lib_mysqlcppconn.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_mysqlcppconn.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2011 Xiyue Deng @email{manphiz@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_netcdf4
+@unnumberedsec ax_lib_netcdf4
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_NETCDF4([serial/parallel])
+@end smallexample
+
+@majorheading Description
+
+This macro provides tests of the availability of the NetCDF v4 library.
+
+The optional macro argument should be either 'serial' or 'parallel'. The
+macro will call nc-config to check the output of the '--has-pnetcdf'
+option and error out if the requested parallel isn't supported.
+
+If the optional argument is omitted, no check is made to see if NetCDF
+has parallel support.
+
+The macro adds a --with-netcdf4 option accepting one of three values:
+
+@smallexample
+ no - do not check for the NetCDF4 library.
+ yes - do check for NetCDF4 library in standard locations.
+ path - installation prefix for NetCDF version 4.
+@end smallexample
+
+If NetCDF4 is successfully found, this macro calls
+
+@smallexample
+ AC_SUBST(NETCDF4_VERSION)
+ AC_SUBST(NETCDF4_CC)
+ AC_SUBST(NETCDF4_CFLAGS)
+ AC_SUBST(NETCDF4_CPPFLAGS)
+ AC_SUBST(NETCDF4_LDFLAGS)
+ AC_SUBST(NETCDF4_LIBS)
+ AC_SUBST(NETCDF4_FC)
+ AC_SUBST(NETCDF4_FFLAGS)
+ AC_SUBST(NETCDF4_FLIBS)
+ AC_DEFINE(HAVE_NETCDF4)
+@end smallexample
+
+It also sets
+
+@smallexample
+ with_netcdf4="yes"
+ with_netcdf4_fortran="yes" (if NetCDF has Fortran support)
+ with_netcdf4_parallel="yes" (if NetCDF has MPI support)
+@end smallexample
+
+If NetCDF4 is disabled or not found, this macros sets
+
+@smallexample
+ with_netcdf4="no"
+ with_netcdf4_fortran="no"
+@end smallexample
+
+Note it does not set with_netcdf4_parallel in this case.
+
+Your configuration script can test $with_netcdf4 to take any further
+actions. NETCDF4_@{C,CPP,LD@}FLAGS may be used when building with C or
+C++. NETCDF4_F@{FLAGS,LIBS@} and NETCDF4_LDFLAGS should be used when
+building Fortran applications.
+
+To use the macro, one would code one of the following in "configure.ac"
+before AC_OUTPUT:
+
+@smallexample
+ 1) dnl Check for NetCDF4 support
+ AX_LIB_NETCDF4()
+@end smallexample
+
+@smallexample
+ 2) dnl Check for serial NetCDF4 support
+ AX_LIB_NETCDF4([serial])
+@end smallexample
+
+@smallexample
+ 3) dnl Check for parallel NetCDF4 support
+ AX_LIB_NETCDF4([parallel])
+@end smallexample
+
+One could test $with_netcdf4 for the outcome or display it as follows
+
+@smallexample
+ echo "NetCDF v4 support: $with_netcdf4"
+@end smallexample
+
+One could also for example, override the default CC in "configure.ac" to
+enforce compilation with the compiler that NetCDF v4 was built with:
+
+@smallexample
+ AX_LIB_NETCDF4([parallel])
+ if test "$with_netcdf4" = "yes"; then
+ CC="$NETCDF4_CC"
+ else
+ AC_MSG_ERROR([Unable to find NetCDF4, we need parallel NetCDF4.])
+ fi
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_netcdf4.m4,latest
+version of @file{ax_lib_netcdf4.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_netcdf4.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2016 Timothy Brown @email{tbrown@@freeshell.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_nettle
+@unnumberedsec ax_lib_nettle
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_NETTLE([yes|no|auto])
+@end smallexample
+
+@majorheading Description
+
+Searches for the 'nettle' library with the --with... option.
+
+If found, define HAVE_NETTLE and macro NETTLE_LIBS. Also defines
+NETTLE_WITH_<algo> for the algorithms found available. Possible
+algorithms: AES ARCTWO BLOWFISH CAST128 DES DES3 SERPENT TWOFISH MD2 MD4
+MD5 SHA1 SHA256.
+
+The argument is used if no --with...-nettle option is set. Value "yes"
+requires the configuration by default. Value "no" does not require it by
+default. Value "auto" configures the library only if available.
+
+See also AX_LIB_BEECRYPT, AX_LIB_CRYPTO, and AX_LIB_GCRYPT.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_nettle.m4,latest
+version of @file{ax_lib_nettle.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_nettle.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Fabien Coelho @email{autoconf.archive@@coelho.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_nokalva
+@unnumberedsec ax_lib_nokalva
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_NOKALVA([ACTION-IF-TRUE], [ACTION-IF-FALSE])
+@end smallexample
+
+@majorheading Description
+
+This macro will check for the existence of OSS Nokalva
+(http://www.oss.com/products/). It does this by checking for the header
+file asn1.h and the cppsoed library object file. A --with-nokalva option
+is supported as well. The following output variables are set with
+AC_SUBST:
+
+@smallexample
+ NOKALVA_CPPFLAGS
+ NOKALVA_LDFLAGS
+ NOKALVA_LIBS
+@end smallexample
+
+You can use them like this in Makefile.am:
+
+@smallexample
+ AM_CPPFLAGS = $(NOKALVA_CPPFLAGS)
+ AM_LDFLAGS = $(NOKALVA_LDFLAGS)
+ program_LDADD = $(NOKALVA_LIBS)
+@end smallexample
+
+Additionally, the C preprocessor symbol HAVE_NOKALVA will be defined
+with AC_DEFINE if Nokalva is available.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_nokalva.m4,latest
+version of @file{ax_lib_nokalva.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_nokalva.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Krzysztof Burghardt @email{krzysztof@@burghardt.pl}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_oracle_occi
+@unnumberedsec ax_lib_oracle_occi
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_ORACLE_OCCI([MINIMUM-VERSION])
+@end smallexample
+
+@majorheading Description
+
+This macro provides tests of availability of Oracle OCCI API of
+particular version or newer. This macros checks for Oracle OCCI headers
+and libraries and defines compilation flags.
+
+Macro supports following options and their values:
+
+1) Single-option usage:
+
+@smallexample
+ --with-occi -- path to ORACLE_HOME directory
+@end smallexample
+
+2) Two-options usage (both options are required):
+
+@smallexample
+ --with-occi-include -- path to directory with OCCI headers
+ --with-occi-lib -- path to directory with OCCI libraries
+@end smallexample
+
+NOTE: These options described above do not take yes|no values. If 'yes'
+value is passed, then WARNING message will be displayed, 'no' value, as
+well as the --without-occi-* variations will cause the macro to not
+check anything.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(ORACLE_OCCI_CPPFLAGS)
+ AC_SUBST(ORACLE_OCCI_LDFLAGS)
+ AC_SUBST(ORACLE_OCCI_VERSION)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_ORACLE_OCCI
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_oracle_occi.m4,latest
+version of @file{ax_lib_oracle_occi.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_oracle_occi.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Mateusz Loskot @email{mateusz@@loskot.net}} @* @w{Copyright @copyright{} 2012 Krzysztof Burghardt @email{krzysztof@@burghardt.pl}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_oracle_oci
+@unnumberedsec ax_lib_oracle_oci
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_ORACLE_OCI([MINIMUM-VERSION])
+@end smallexample
+
+@majorheading Description
+
+This macro provides tests of availability of Oracle OCI API of
+particular version or newer. This macros checks for Oracle OCI headers
+and libraries and defines compilation flags.
+
+Macro supports following options and their values:
+
+1) Single-option usage:
+
+@smallexample
+ --with-oci -- path to ORACLE_HOME directory
+@end smallexample
+
+2) Two-options usage (both options are required):
+
+@smallexample
+ --with-oci-include -- path to directory with OCI headers
+ --with-oci-lib -- path to directory with OCI libraries
+@end smallexample
+
+NOTE: These options described above do not take yes|no values. If 'yes'
+value is passed, then WARNING message will be displayed, 'no' value, as
+well as the --without-oci-* variations will cause the macro to not check
+anything.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(ORACLE_OCI_CFLAGS)
+ AC_SUBST(ORACLE_OCI_LDFLAGS)
+ AC_SUBST(ORACLE_OCI_VERSION)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_ORACLE_OCI
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_oracle_oci.m4,latest
+version of @file{ax_lib_oracle_oci.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_oracle_oci.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Mateusz Loskot @email{mateusz@@loskot.net}} @* @w{Copyright @copyright{} 2015 Joost van Baal-Ilic @email{joostvb+autoconf@@uvt.nl}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_orbit2
+@unnumberedsec ax_lib_orbit2
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_ORBIT2([VERSION],[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Checks for minimum Orbit2 library version VERSION. If successful
+executes ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+Defines ORBIT2_LIBS and ORBIT2_CFLAGS.
+
+A simple example:
+
+@smallexample
+ AX_LIB_ORBIT2([2.14.16],,[
+ AC_MSG_ERROR([Your system lacks of orbit2 >= 2.14.16])
+ ])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_orbit2.m4,latest
+version of @file{ax_lib_orbit2.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_orbit2.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_postgresql
+@unnumberedsec ax_lib_postgresql
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_POSTGRESQL([MINIMUM-VERSION],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+This macro provides tests of availability of PostgreSQL 'libpq' library
+of particular version or newer.
+
+AX_LIB_POSTGRESQL macro takes only one argument which is optional. If
+there is no required version passed, then macro does not run version
+test.
+
+The --with-postgresql option takes one of three possible values:
+
+no - do not check for PostgreSQL client library
+
+yes - do check for PostgreSQL library in standard locations (pg_config
+should be in the PATH)
+
+path - complete path to pg_config utility, use this option if pg_config
+can't be found in the PATH (You could set also PG_CONFIG variable)
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(POSTGRESQL_CPPFLAGS)
+ AC_SUBST(POSTGRESQL_LDFLAGS)
+ AC_SUBST(POSTGRESQL_LIBS)
+ AC_SUBST(POSTGRESQL_VERSION)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_POSTGRESQL
+@end smallexample
+
+It execute if found ACTION-IF-FOUND (empty by default) and
+ACTION-IF-NOT-FOUND (AC_MSG_FAILURE by default) if not found.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_postgresql.m4,latest
+version of @file{ax_lib_postgresql.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_postgresql.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Mateusz Loskot @email{mateusz@@loskot.net}} @* @w{Copyright @copyright{} 2014 Sree Harsha Totakura @email{sreeharsha@@totakura.in}} @* @w{Copyright @copyright{} 2018 Bastien Roucaries @email{rouca@@debian.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_readline
+@unnumberedsec ax_lib_readline
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_READLINE
+@end smallexample
+
+@majorheading Description
+
+Searches for a readline compatible library. If found, defines
+`HAVE_LIBREADLINE'. If the found library has the `add_history' function,
+sets also `HAVE_READLINE_HISTORY'. Also checks for the locations of the
+necessary include files and sets `HAVE_READLINE_H' or
+`HAVE_READLINE_READLINE_H' and `HAVE_READLINE_HISTORY_H' or
+'HAVE_HISTORY_H' if the corresponding include files exists.
+
+The libraries that may be readline compatible are `libedit',
+`libeditline' and `libreadline'. Sometimes we need to link a termcap
+library for readline to work, this macro tests these cases too by trying
+to link with `libtermcap', `libcurses' or `libncurses' before giving up.
+
+Here is an example of how to use the information provided by this macro
+to perform the necessary includes or declarations in a C file:
+
+@smallexample
+ #ifdef HAVE_LIBREADLINE
+ # if defined(HAVE_READLINE_READLINE_H)
+ # include <readline/readline.h>
+ # elif defined(HAVE_READLINE_H)
+ # include <readline.h>
+ # else /* !defined(HAVE_READLINE_H) */
+ extern char *readline ();
+ # endif /* !defined(HAVE_READLINE_H) */
+ char *cmdline = NULL;
+ #else /* !defined(HAVE_READLINE_READLINE_H) */
+ /* no readline */
+ #endif /* HAVE_LIBREADLINE */
+@end smallexample
+
+@smallexample
+ #ifdef HAVE_READLINE_HISTORY
+ # if defined(HAVE_READLINE_HISTORY_H)
+ # include <readline/history.h>
+ # elif defined(HAVE_HISTORY_H)
+ # include <history.h>
+ # else /* !defined(HAVE_HISTORY_H) */
+ extern void add_history ();
+ extern int write_history ();
+ extern int read_history ();
+ # endif /* defined(HAVE_READLINE_HISTORY_H) */
+ /* no history */
+ #endif /* HAVE_READLINE_HISTORY */
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_readline.m4,latest
+version of @file{ax_lib_readline.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_readline.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Ville Laurikari @email{vl@@iki.fi}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_samtools
+@unnumberedsec ax_lib_samtools
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_SAMTOOLS()
+@end smallexample
+
+@majorheading Description
+
+This macro searches for an installed samtools library. If nothing was
+specified when calling configure, it searches first in /usr/local and
+then tries with ld's default library search path. If the
+--with-samtools=DIR is specified, it will try to find it in
+DIR/include/bam/sam.h and DIR/lib/libbam.a. As a final try it will look
+in DIR/sam.h and DIR/libbam.a as the samtools library does not contain
+an install rule.
+
+If --without-samtools is specified, the library is not searched at all.
+
+If either the header file (sam.h) or the library (libbam) is not found,
+the configuration exits on error, asking for a valid samtools
+installation directory or --without-samtools.
+
+The macro defines the symbol HAVE_SAMTOOLS if the library is found. You
+should use autoheader to include a definition for this symbol in a
+config.h file. Sample usage in a C/C++ source is as follows:
+
+@smallexample
+ #ifdef HAVE_SAMTOOLS
+ #include <sam.h>
+ #endif /* HAVE_SAMTOOLS */
+@end smallexample
+
+The following output variables are set with AC_SUBST:
+
+@smallexample
+ SAMTOOLS_CPPFLAGS
+ SAMTOOLS_LDFLAGS
+ SAMTOOLS_LIBS
+@end smallexample
+
+You can use them like this in Makefile.am:
+
+@smallexample
+ AM_CPPFLAGS = $(SAMTOOLS_CPPFLAGS)
+ AM_LDFLAGS = $(SAMTOOLS_LDFLAGS)
+ program_LDADD = $(SAMTOOLS_LIBS)
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_samtools.m4,latest
+version of @file{ax_lib_samtools.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_samtools.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2013 Timothy Brown @email{tbrown@@freeshell.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_lib_socket_nsl
+@unnumberedsec ax_lib_socket_nsl
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_SOCKET_NSL
+@end smallexample
+
+@majorheading Description
+
+This macro figures out what libraries are required on this platform to
+link sockets programs.
+
+The common cases are not to need any extra libraries, or to need
+-lsocket and -lnsl. We need to avoid linking with libnsl unless we need
+it, though, since on some OSes where it isn't necessary it will totally
+break networking. Unisys also includes gethostbyname() in libsocket but
+needs libnsl for socket().
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_socket_nsl.m4,latest
+version of @file{ax_lib_socket_nsl.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_socket_nsl.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Russ Allbery @email{rra@@stanford.edu}} @* @w{Copyright @copyright{} 2008 Stepan Kasal @email{kasal@@ucw.cz}} @* @w{Copyright @copyright{} 2008 Warren Young @email{warren@@etr-usa.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_sqlite3
+@unnumberedsec ax_lib_sqlite3
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_SQLITE3([MINIMUM-VERSION])
+@end smallexample
+
+@majorheading Description
+
+Test for the SQLite 3 library of a particular version (or newer)
+
+This macro takes only one optional argument, required version of SQLite
+3 library. If required version is not passed, 3.0.0 is used in the test
+of existence of SQLite 3.
+
+If no installation prefix to the installed SQLite library is given the
+macro searches under /usr, /usr/local, and /opt.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(SQLITE3_CFLAGS)
+ AC_SUBST(SQLITE3_LDFLAGS)
+ AC_SUBST(SQLITE3_VERSION)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_SQLITE3
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_sqlite3.m4,latest
+version of @file{ax_lib_sqlite3.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_sqlite3.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Mateusz Loskot @email{mateusz@@loskot.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_tabix
+@unnumberedsec ax_lib_tabix
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_TABIX()
+@end smallexample
+
+@majorheading Description
+
+This macro searches for an installed tabix library. If nothing was
+specified when calling configure, it searches first in /usr/local and
+then tries with ld's default library search path. If the
+--with-tabix=DIR is specified, it will try to find it in
+DIR/include/tabix/tabix.h and DIR/lib/libtabix.a. As a final try it will
+look in DIR/tabix.h and DIR/libtabix.a as the tabix library does not
+contain an install rule.
+
+If --without-tabix is specified, the library is not searched at all.
+
+If either the header file (tabix.h) or the library (libtabix) is not
+found, the configuration exits on error, asking for a valid tabix
+installation directory or --without-tabix.
+
+The macro defines the symbol HAVE_TABIX if the library is found. You
+should use autoheader to include a definition for this symbol in a
+config.h file. Sample usage in a C/C++ source is as follows:
+
+@smallexample
+ #ifdef HAVE_TABIX
+ #include <tabix.h>
+ #endif /* HAVE_TABIX */
+@end smallexample
+
+The following output variables are set with AC_SUBST:
+
+@smallexample
+ TABIX_CPPFLAGS
+ TABIX_LDFLAGS
+ TABIX_LIBS
+@end smallexample
+
+You can use them like this in Makefile.am:
+
+@smallexample
+ AM_CPPFLAGS = $(TABIX_CPPFLAGS)
+ AM_LDFLAGS = $(TABIX_LDFLAGS)
+ program_LDADD = $(TABIX_LIBS)
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_tabix.m4,latest
+version of @file{ax_lib_tabix.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_tabix.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2013 Timothy Brown @email{tbrown@@freeshell.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_lib_taglib
+@unnumberedsec ax_lib_taglib
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_TAGLIB([VERSION],[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Checks for minimum taglib library version VERSION. If successful
+executes ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
+
+Defines TAGLIB_LIBS and TAGLIB_CFLAGS.
+
+A simple example:
+
+@smallexample
+ AX_LIB_TAGLIB([1.5],,[
+ AC_MSG_ERROR([Your system lacks of taglib >= 1.5])
+ ])
+@end smallexample
+
+This macro is a rearranged version of AC_LIB_TAGLIB from Akos Maroy.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_taglib.m4,latest
+version of @file{ax_lib_taglib.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_taglib.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_trace
+@unnumberedsec ax_lib_trace
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_TRACE([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+Test for the libtrace libraries of a particular version (or newer)
+
+If no path to the installed library is given the macro searches under
+/usr, /usr/local, /opt and /opt/local.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(LIBTRACE_CFLAGS) / AC_SUBST(LIBTRACE_LDFLAGS)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_LIBTRACE
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_trace.m4,latest
+version of @file{ax_lib_trace.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_trace.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2011 Xiyue Deng @email{manphiz@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_upnp
+@unnumberedsec ax_lib_upnp
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_UPNP([ACTION-IF-TRUE], [ACTION-IF-FALSE])
+@end smallexample
+
+@majorheading Description
+
+This macro will check for the existence of libupnp
+(http://upnp.sourceforge.net/). It does this by checking for the header
+file upnp.h and the upnp library object file. A --with-libupnp option is
+supported as well. The following output variables are set with AC_SUBST:
+
+@smallexample
+ UPNP_CPPFLAGS
+ UPNP_LDFLAGS
+ UPNP_LIBS
+@end smallexample
+
+You can use them like this in Makefile.am:
+
+@smallexample
+ AM_CPPFLAGS = $(UPNP_CPPFLAGS)
+ AM_LDFLAGS = $(UPNP_LDFLAGS)
+ program_LDADD = $(UPNP_LIBS)
+@end smallexample
+
+Additionally, the C preprocessor symbol HAVE_LIBUPNP will be defined
+with AC_DEFINE if libupnp is available.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_upnp.m4,latest
+version of @file{ax_lib_upnp.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_upnp.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Oskar Liljeblad @email{oskar@@osk.mine.nu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_wad
+@unnumberedsec ax_lib_wad
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_WAD
+@end smallexample
+
+@majorheading Description
+
+This macro searches for an installed WAD library.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_wad.m4,latest
+version of @file{ax_lib_wad.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_wad.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Sebastian Huber @email{sebastian-huber@@web.de}} @* @w{Copyright @copyright{} 2008 Alan W. Irwin} @* @w{Copyright @copyright{} 2008 Rafael Laboissiere @email{rafael@@laboissiere.net}} @* @w{Copyright @copyright{} 2008 Andrew Collier}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_lib_xalan
+@unnumberedsec ax_lib_xalan
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_XALAN([MINIMUM-VERSION])
+@end smallexample
+
+@majorheading Description
+
+This macro provides tests of availability of Apache Xalan C++ XSLT
+processor of a particular version or newer. This macros checks for
+Apache Xalan C++ XSLT processor headers and libraries and defines
+compilation flags
+
+Macro supports following options and their values:
+
+1) Single-option usage:
+
+@smallexample
+ --with-xalan - yes, no or path to Xalan installation prefix
+@end smallexample
+
+2) Three-options usage (all options are required):
+
+@smallexample
+ --with-xalan=yes
+ --with-xalan-inc - path to base directory with Xalan headers
+ --with-xalan-lib - linker flags for Xalan
+@end smallexample
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(XALAN_CPPFLAGS)
+ AC_SUBST(XALAN_LDFLAGS)
+ AC_SUBST(XALAN_VERSION) - only if version requirement is used
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_XALAN
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_xalan.m4,latest
+version of @file{ax_lib_xalan.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_xalan.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Mateusz Loskot @email{mateusz@@loskot.net}} @* @w{Copyright @copyright{} 2009 Bill Blough @email{bblough@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_xerces
+@unnumberedsec ax_lib_xerces
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_XERCES([MINIMUM-VERSION])
+@end smallexample
+
+@majorheading Description
+
+This macro provides tests of availability of Apache Xerces C++ Parser of
+particular version or newer. This macros checks for Apache Xerces C++
+Parser headers and libraries and defines compilation flags
+
+Macro supports following options and their values:
+
+1) Single-option usage:
+
+@smallexample
+ --with-xerces - yes, no or path to Xerces installation prefix
+@end smallexample
+
+2) Three-options usage (all options are required):
+
+@smallexample
+ --with-xerces=yes
+ --with-xerces-inc - path to base directory with Xerces headers
+ --with-xerces-lib - linker flags for Xerces
+@end smallexample
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(XERCES_CFLAGS)
+ AC_SUBST(XERCES_LDFLAGS)
+ AC_SUBST(XERCES_VERSION) - only if version requirement is used
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_XERCES
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_xerces.m4,latest
+version of @file{ax_lib_xerces.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_xerces.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Mateusz Loskot @email{mateusz@@loskot.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lib_xml_security
+@unnumberedsec ax_lib_xml_security
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIB_XML_SECURITY([MINIMUM-VERSION])
+@end smallexample
+
+@majorheading Description
+
+This macro provides tests of availability of Apache Xml-Security C++
+library <http://santuario.apache.org/index.html> of particular version
+or newer. This macros checks for Apache Xml-Security C++ headers and
+libraries and defines compilation flags
+
+Macro supports following options and their values:
+
+1) Single-option usage:
+
+@smallexample
+ --with-xml-security - yes, no or path to Xml-Security installation prefix
+@end smallexample
+
+2) Three-options usage (all options are required):
+
+@smallexample
+ --with-xml-security=yes
+ --with-xml-security-inc - path to base directory with Xml-Security headers
+ --with-xml-security-lib - linker flags for Xml-Security
+@end smallexample
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(XML_SECURITY_CFLAGS)
+ AC_SUBST(XML_SECURITY_LDFLAGS)
+ AC_SUBST(XML_SECURITY_VERSION) - only if version requirement is used
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_XML_SECURITY
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_xml_security.m4,latest
+version of @file{ax_lib_xml_security.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_xml_security.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Alexander Petry @email{petry@@itwm.fhg.de}} @* @w{Copyright @copyright{} 2008 Mateusz Loskot @email{mateusz@@loskot.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_libgcj_jar
+@unnumberedsec ax_libgcj_jar
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIBGCJ_JAR
+@end smallexample
+
+@majorheading Description
+
+Locate libgcj.jar so you can place it before everything else when using
+gcj.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_libgcj_jar.m4,latest
+version of @file{ax_libgcj_jar.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_libgcj_jar.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Duncan Simpson @email{dps@@simpson.demon.co.uk}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_libtoolize_cflags
+@unnumberedsec ax_libtoolize_cflags
+
+@majorheading Synopsis
+
+@smallexample
+AX_LIBTOOLIZE_CFLAGS(COMPILER-FLAGS-VAR)
+@end smallexample
+
+@majorheading Description
+
+Change the contents of variable COMPILER-FLAGS-VAR so that they are
+Libtool friendly, ie. prefix each of them with `-Xcompiler' so that
+Libtool doesn't remove them.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_libtoolize_cflags.m4,latest
+version of @file{ax_libtoolize_cflags.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_libtoolize_cflags.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Ludovic Courtes @email{ludo@@chbouib.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_llvm
+@unnumberedsec ax_llvm
+
+@majorheading Synopsis
+
+@smallexample
+AX_LLVM([llvm-libs])
+@end smallexample
+
+@majorheading Description
+
+Test for the existence of llvm, and make sure that it can be linked with
+the llvm-libs argument that is passed on to llvm-config i.e.:
+
+@smallexample
+ llvm --libs <llvm-libs>
+@end smallexample
+
+llvm-config will also include any libraries that are depended upon.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_llvm.m4,latest
+version of @file{ax_llvm.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_llvm.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Andy Kitchen @email{agimbleinthewabe@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_lua
+@unnumberedsec ax_lua
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_LUA[([MINIMUM-VERSION], [TOO-BIG-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
+AX_LUA_HEADERS[([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
+AX_LUA_LIBS[([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
+AX_LUA_READLINE[([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
+@end smallexample
+
+@majorheading Description
+
+Detect a Lua interpreter, optionally specifying a minimum and maximum
+version number. Set up important Lua paths, such as the directories in
+which to install scripts and modules (shared libraries).
+
+Also detect Lua headers and libraries. The Lua version contained in the
+header is checked to match the Lua interpreter version exactly. When
+searching for Lua libraries, the version number is used as a suffix.
+This is done with the goal of supporting multiple Lua installs (5.1,
+5.2, and 5.3 side-by-side).
+
+A note on compatibility with previous versions: This file has been
+mostly rewritten for serial 18. Most developers should be able to use
+these macros without needing to modify configure.ac. Care has been taken
+to preserve each macro's behavior, but there are some differences:
+
+1) AX_WITH_LUA is deprecated; it now expands to the exact same thing as
+AX_PROG_LUA with no arguments.
+
+2) AX_LUA_HEADERS now checks that the version number defined in lua.h
+matches the interpreter version. AX_LUA_HEADERS_VERSION is therefore
+unnecessary, so it is deprecated and does not expand to anything.
+
+3) The configure flag --with-lua-suffix no longer exists; the user
+should instead specify the LUA precious variable on the command line.
+See the AX_PROG_LUA description for details.
+
+Please read the macro descriptions below for more information.
+
+This file was inspired by Andrew Dalke's and James Henstridge's
+python.m4 and Tom Payne's, Matthieu Moy's, and Reuben Thomas's ax_lua.m4
+(serial 17). Basically, this file is a mash-up of those two files. I
+like to think it combines the best of the two!
+
+AX_PROG_LUA: Search for the Lua interpreter, and set up important Lua
+paths. Adds precious variable LUA, which may contain the path of the Lua
+interpreter. If LUA is blank, the user's path is searched for an
+suitable interpreter.
+
+If MINIMUM-VERSION is supplied, then only Lua interpreters with a
+version number greater or equal to MINIMUM-VERSION will be accepted. If
+TOO-BIG-VERSION is also supplied, then only Lua interpreters with a
+version number greater or equal to MINIMUM-VERSION and less than
+TOO-BIG-VERSION will be accepted.
+
+The Lua version number, LUA_VERSION, is found from the interpreter, and
+substituted. LUA_PLATFORM is also found, but not currently supported (no
+standard representation).
+
+Finally, the macro finds four paths:
+
+@smallexample
+ luadir Directory to install Lua scripts.
+ pkgluadir $luadir/$PACKAGE
+ luaexecdir Directory to install Lua modules.
+ pkgluaexecdir $luaexecdir/$PACKAGE
+@end smallexample
+
+These paths are found based on $prefix, $exec_prefix, Lua's
+package.path, and package.cpath. The first path of package.path
+beginning with $prefix is selected as luadir. The first path of
+package.cpath beginning with $exec_prefix is used as luaexecdir. This
+should work on all reasonable Lua installations. If a path cannot be
+determined, a default path is used. Of course, the user can override
+these later when invoking make.
+
+@smallexample
+ luadir Default: $prefix/share/lua/$LUA_VERSION
+ luaexecdir Default: $exec_prefix/lib/lua/$LUA_VERSION
+@end smallexample
+
+These directories can be used by Automake as install destinations. The
+variable name minus 'dir' needs to be used as a prefix to the
+appropriate Automake primary, e.g. lua_SCRIPS or luaexec_LIBRARIES.
+
+If an acceptable Lua interpreter is found, then ACTION-IF-FOUND is
+performed, otherwise ACTION-IF-NOT-FOUND is preformed. If ACTION-IF-NOT-
+FOUND is blank, then it will default to printing an error. To prevent
+the default behavior, give ':' as an action.
+
+AX_LUA_HEADERS: Search for Lua headers. Requires that AX_PROG_LUA be
+expanded before this macro. Adds precious variable LUA_INCLUDE, which
+may contain Lua specific include flags, e.g. -I/usr/include/lua5.1. If
+LUA_INCLUDE is blank, then this macro will attempt to find suitable
+flags.
+
+LUA_INCLUDE can be used by Automake to compile Lua modules or
+executables with embedded interpreters. The *_CPPFLAGS variables should
+be used for this purpose, e.g. myprog_CPPFLAGS = $(LUA_INCLUDE).
+
+This macro searches for the header lua.h (and others). The search is
+performed with a combination of CPPFLAGS, CPATH, etc, and LUA_INCLUDE.
+If the search is unsuccessful, then some common directories are tried.
+If the headers are then found, then LUA_INCLUDE is set accordingly.
+
+The paths automatically searched are:
+
+@smallexample
+ * /usr/include/luaX.Y
+ * /usr/include/lua/X.Y
+ * /usr/include/luaXY
+ * /usr/local/include/luaX.Y
+ * /usr/local/include/lua-X.Y
+ * /usr/local/include/lua/X.Y
+ * /usr/local/include/luaXY
+@end smallexample
+
+(Where X.Y is the Lua version number, e.g. 5.1.)
+
+The Lua version number found in the headers is always checked to match
+the Lua interpreter's version number. Lua headers with mismatched
+version numbers are not accepted.
+
+If headers are found, then ACTION-IF-FOUND is performed, otherwise
+ACTION-IF-NOT-FOUND is performed. If ACTION-IF-NOT-FOUND is blank, then
+it will default to printing an error. To prevent the default behavior,
+set the action to ':'.
+
+AX_LUA_LIBS: Search for Lua libraries. Requires that AX_PROG_LUA be
+expanded before this macro. Adds precious variable LUA_LIB, which may
+contain Lua specific linker flags, e.g. -llua5.1. If LUA_LIB is blank,
+then this macro will attempt to find suitable flags.
+
+LUA_LIB can be used by Automake to link Lua modules or executables with
+embedded interpreters. The *_LIBADD and *_LDADD variables should be used
+for this purpose, e.g. mymod_LIBADD = $(LUA_LIB).
+
+This macro searches for the Lua library. More technically, it searches
+for a library containing the function lua_load. The search is performed
+with a combination of LIBS, LIBRARY_PATH, and LUA_LIB.
+
+If the search determines that some linker flags are missing, then those
+flags will be added to LUA_LIB.
+
+If libraries are found, then ACTION-IF-FOUND is performed, otherwise
+ACTION-IF-NOT-FOUND is performed. If ACTION-IF-NOT-FOUND is blank, then
+it will default to printing an error. To prevent the default behavior,
+set the action to ':'.
+
+AX_LUA_READLINE: Search for readline headers and libraries. Requires the
+AX_LIB_READLINE macro, which is provided by ax_lib_readline.m4 from the
+Autoconf Archive.
+
+If a readline compatible library is found, then ACTION-IF-FOUND is
+performed, otherwise ACTION-IF-NOT-FOUND is performed.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lua.m4,latest
+version of @file{ax_lua.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lua.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2015 Reuben Thomas @email{rrt@@sc3d.org}} @* @w{Copyright @copyright{} 2014 Tim Perkins @email{tprk77@@gmail.com}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_luarocks_rock
+@unnumberedsec ax_luarocks_rock
+
+@majorheading Synopsis
+
+@smallexample
+AX_LUAROCKS_ROCK([ROCK])
+@end smallexample
+
+@majorheading Description
+
+Checks for a rock, and fails if it is not installed.
+
+Example usage:
+
+@smallexample
+ AX_LUAROCKS_ROCK(stdlib)
+@end smallexample
+
+Note: use of this macro is not normally recommended. Normally, LuaRocks
+should be used to drive the build system, and it takes care of rock
+dependencies. Use this macro only if LuaRocks cannot be used at the top
+level, for example, in a build system that uses Lua only incidentally.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_luarocks_rock.m4,latest
+version of @file{ax_luarocks_rock.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_luarocks_rock.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2016 Reuben Thomas @email{rrt@@sc3d.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_maintainer_mode_auto_silent
+@unnumberedsec ax_maintainer_mode_auto_silent
+
+@majorheading Synopsis
+
+@smallexample
+AX_MAINTAINER_MODE_AUTO_SILENT
+@end smallexample
+
+@majorheading Description
+
+Set autotools to error/sleep settings so that they are not run when
+being erroneously triggered. Likewise make libtool-silent when libtool
+has been used.
+
+I use the macro quite a lot since some automake versions have the
+tendency to try to rerun some autotools on a mere make even when not
+quite in --maintainer-mode. That is very annoying. Likewise, a user who
+installs from source does not want to see doubled compiler messages.
+
+I did not put an AC_REQUIRE(MAINTAINER_MODE) in here - should I?
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_maintainer_mode_auto_silent.m4,latest
+version of @file{ax_maintainer_mode_auto_silent.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_maintainer_mode_auto_silent.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_missing_prog
+@unnumberedsec ax_missing_prog
+
+@majorheading Synopsis
+
+@smallexample
+AX_MISSING_PROG(VARIABLE,PROGRAM,[MESSAGE])
+@end smallexample
+
+@majorheading Description
+
+Simple wrapper for the AM_MISSING_PROG which displays a warning MESSAGE
+if provided. A typical use is the following:
+
+@smallexample
+ AC_PROG_AWK
+ AS_IF([test -z "$AWK"],[
+ AX_MISSING_PROG(AWK,[awk],[awk seems missing ...])
+ ])
+@end smallexample
+
+Programs wrapped with AX_MISSING_PROG should be used only in the package
+building phase (because they will be wrapped with the automake 'missing'
+script, which will not be installed).
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_missing_prog.m4,latest
+version of @file{ax_missing_prog.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_missing_prog.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_mpi
+@unnumberedsec ax_mpi
+
+@majorheading Synopsis
+
+@smallexample
+AX_MPI([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+This macro tries to find out how to compile programs that use MPI
+(Message Passing Interface), a standard API for parallel process
+communication (see http://www-unix.mcs.anl.gov/mpi/)
+
+On success, it sets the MPICC, MPICXX, MPIF77, or MPIFC output variable
+to the name of the MPI compiler, depending upon the current language.
+(This may just be $CC/$CXX/$F77/$FC, but is more often something like
+mpicc/mpiCC/mpif77/mpif90.) It also sets MPILIBS to any libraries that
+are needed for linking MPI (e.g. -lmpi or -lfmpi, if a special
+MPICC/MPICXX/MPIF77/MPIFC was not found).
+
+Note that this macro should be used only if you just have a few source
+files that need to be compiled using MPI. In particular, you should
+neither overwrite CC/CXX/F77/FC with the values of
+MPICC/MPICXX/MPIF77/MPIFC, nor assume that you can use the same flags
+etc. as the standard compilers. If you want to compile a whole program
+using the MPI compiler commands, use one of the macros
+AX_PROG_@{CC,CXX,FC@}_MPI.
+
+ACTION-IF-FOUND is a list of shell commands to run if an MPI library is
+found, and ACTION-IF-NOT-FOUND is a list of commands to run if it is not
+found. If ACTION-IF-FOUND is not specified, the default action will
+define HAVE_MPI.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_mpi.m4,latest
+version of @file{ax_mpi.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_mpi.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Steven G. Johnson @email{stevenj@@alum.mit.edu}} @* @w{Copyright @copyright{} 2008 Julian C. Cummings @email{cummings@@cacr.caltech.edu}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_mpip
+@unnumberedsec ax_mpip
+
+@majorheading Synopsis
+
+@smallexample
+AX_MPIP([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+Test for mpiP: Lightweight, Scalable MPI Profiling
+(http://mpip.sourceforge.net/)
+
+Provides a --with-mpiP=DIR option. Searches --with-mpiP location and the
+usual places for mpiP and required libraries. Marks MPIP as a precious
+environment variable.
+
+On success, sets MPIP_LDFLAGS, MPIP_LIBS, #defines HAVE_MPIP, and calls
+ACTION-IF-FOUND. When ACTION-IF-NOT-FOUND is not specified, the default
+behavior is for configure to fail.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_mpip.m4,latest
+version of @file{ax_mpip.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_mpip.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2010 Rhys Ulerich @email{rhys.ulerich@@gmail.com}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Macro Archive. When you make and
+distribute a modified version of the Autoconf Macro, you may extend this
+special exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_ms_cpprest
+@unnumberedsec ax_ms_cpprest
+
+@majorheading Synopsis
+
+@smallexample
+AX_MS_CPPREST([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+Test for the Microsoft C++ Rest SDK library of a particular version (or
+newer)
+
+If no path to the installed cpprest library is given the macro searchs
+under /usr, /usr/local, /opt and /opt/local and evaluates the
+$CPPREST_ROOT environment variable.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(cpprest_CPPFLAGS) / AC_SUBST(cpprest_LDFLAGS) /
+ AC_SUBST(cpprest_LIBS)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_MS_CPPREST
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ms_cpprest.m4,latest
+version of @file{ax_ms_cpprest.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ms_cpprest.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}} @* @w{Copyright @copyright{} 2009 Peter Adolphs} @* @w{Copyright @copyright{} 2021 Richard Winters @email{kirvedx@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_need_awk
+@unnumberedsec ax_need_awk
+
+@majorheading Synopsis
+
+@smallexample
+AX_NEED_AWK
+@end smallexample
+
+@majorheading Description
+
+Check if an awk implementation is available. Bail-out if not found.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_need_awk.m4,latest
+version of @file{ax_need_awk.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_need_awk.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_normalize_path
+@unnumberedsec ax_normalize_path
+
+@majorheading Synopsis
+
+@smallexample
+AX_NORMALIZE_PATH(VARNAME, [REFERENCE_STRING])
+@end smallexample
+
+@majorheading Description
+
+Perform some cleanups on the value of $VARNAME (interpreted as a path):
+
+@smallexample
+ - empty paths are changed to '.'
+ - trailing slashes are removed
+ - repeated slashes are squeezed except a leading doubled slash '//'
+ (which might indicate a networked disk on some OS).
+@end smallexample
+
+REFERENCE_STRING is used to turn '/' into '\' and vice-versa: if
+REFERENCE_STRING contains some backslashes, all slashes and backslashes
+are turned into backslashes, otherwise they are all turned into slashes.
+
+This makes processing of DOS filenames quite easier, because you can
+turn a filename to the Unix notation, make your processing, and turn it
+back to original notation.
+
+@smallexample
+ filename='A:\FOO\\BAR\'
+ old_filename="$filename"
+ # Switch to the unix notation
+ AX_NORMALIZE_PATH([filename], ["/"])
+ # now we have $filename = 'A:/FOO/BAR' and we can process it as if
+ # it was a Unix path. For instance let's say that you want
+ # to append '/subpath':
+ filename="$filename/subpath"
+ # finally switch back to the original notation
+ AX_NORMALIZE_PATH([filename], ["$old_filename"])
+ # now $filename equals to 'A:\FOO\BAR\subpath'
+@end smallexample
+
+One good reason to make all path processing with the unix convention is
+that backslashes have a special meaning in many cases. For instance
+
+@smallexample
+ expr 'A:\FOO' : 'A:\Foo'
+@end smallexample
+
+will return 0 because the second argument is a regex in which
+backslashes have to be backslashed. In other words, to have the two
+strings to match you should write this instead:
+
+@smallexample
+ expr 'A:\Foo' : 'A:\\Foo'
+@end smallexample
+
+Such behavior makes DOS filenames extremely unpleasant to work with. So
+temporary turn your paths to the Unix notation, and revert them to the
+original notation after the processing. See the macro
+AX_COMPUTE_RELATIVE_PATHS for a concrete example of this.
+
+REFERENCE_STRING defaults to $VARIABLE, this means that slashes will be
+converted to backslashes if $VARIABLE already contains some backslashes
+(see $thirddir below).
+
+@smallexample
+ firstdir='/usr/local//share'
+ seconddir='C:\Program Files\\'
+ thirddir='C:\home/usr/'
+ AX_NORMALIZE_PATH([firstdir])
+ AX_NORMALIZE_PATH([seconddir])
+ AX_NORMALIZE_PATH([thirddir])
+ # $firstdir = '/usr/local/share'
+ # $seconddir = 'C:\Program Files'
+ # $thirddir = 'C:\home\usr'
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_normalize_path.m4,latest
+version of @file{ax_normalize_path.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_normalize_path.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Alexandre Duret-Lutz @email{adl@@gnu.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_not_enable_frame_pointer
+@unnumberedsec ax_not_enable_frame_pointer
+
+@majorheading Synopsis
+
+@smallexample
+AX_NOT_ENABLE_FRAME_POINTER ([shellvar])
+@end smallexample
+
+@majorheading Description
+
+add --enable-frame-pointer option, the default will add the gcc
+-fomit-frame-pointer option to the shellvar (per default CFLAGS) and
+remove the " -g " debuginfo option from it. In other words, the default
+is "--disable-frame-pointer"
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_not_enable_frame_pointer.m4,latest
+version of @file{ax_not_enable_frame_pointer.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_not_enable_frame_pointer.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_numeric_namedlevel
+@unnumberedsec ax_numeric_namedlevel
+
+@majorheading Synopsis
+
+@smallexample
+AX_NUMERIC_NAMEDLEVEL(VARNAME [,FROMVAR [,DEFAULT [,YESLEVEL]]])
+@end smallexample
+
+@majorheading Description
+
+The levelstring FROMVAR is expanded and checked for verbal names that
+will map on to eight different levels - the VARNAME will receive this
+numeric level where "all" maps to 7 (lower three bits set) higher levels
+for 8 and 9 exist too. This macro is a nice helper to convert user input
+of a --with-opt=level into a numeric form that can be simply pushed as a
+#define like with AC_DEFINE:
+
+@smallexample
+ default YESLEVEL = 2 /* including unknown levelspec */
+ default DEFAULT = 0 /* when named level is empty */
+ default FROMVAR = VARNAME
+@end smallexample
+
+The DEFAULT value is used if the NAMED levelstring has become empty and
+it is copied without further conversion - a default of "0" is used if
+absent - identical to "no". A "yes" will be set to the YESLEVEL - and
+note that "yes" has "2" as its default value not "1". (which comes from
+its original use to set a "gcc -O2").
+
+the mnemonic names are:
+
+@smallexample
+ 9| insane |ultrasome|experimentalplus
+ 8| ultra |ultra|experimental)
+ 7| all |muchmore|somemanymore|manymoreplus
+ 6| most |manymore|most)
+ 5| strict |somemore|almost
+ 4| more |more
+ 3| extra |manyplus|plusmuch|somemany|plusmany
+ 2| many |many|much|(yes)
+ 1| some |some|plus
+@end smallexample
+
+note that a level can be constructed of (some|plus) = bit-0, (many|much)
+= bit-1, (more) = bit-2, (ultra|experimental) = bit-3 at least in a
+left-to-right order, ie. plusmanymore=7
+
+Example usage:
+
+@smallexample
+ AX_NUMERIC_NAMEDLEVEL(OPTLEVEL,with_optlevel,1,3)
+ AC_DEFINE(OPTLEVEL)
+ test "$GCC" = "yes" && CFLAGS="$CFLAGS -O$OPTLEVEL)
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_numeric_namedlevel.m4,latest
+version of @file{ax_numeric_namedlevel.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_numeric_namedlevel.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_open62541_check_h
+@unnumberedsec ax_open62541_check_h
+
+@majorheading Synopsis
+
+@smallexample
+AX_OPEN62541_CHECK_H([HEADERS = `...see_below...'], [ACTION-IF-FOUND],
+ [ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+Searches for the header file(s) of the open62541 library [1].
+
+The open62541 library is a cmake-based project, that provides its header
+files in one of two layouts:
+
+@smallexample
+ 1) As individual files, e.g. ua_config.h, ua_server.h, ua_types.h, ...
+ 2) As a single amalgamation file open62541.h
+@end smallexample
+
+The second case is enabled when configuring open62541 with the options
+"-D UA_ENABLE_AMALGAMATION=true to" cmake, which seems to be preferred.
+Code using the library can distinguish which layout is used by checking
+for the macro "UA_NO_AMALGAMATION": if it is defined, the first layout
+is used.
+
+The AX_OPEN62541_CHECK_H macro checks first for the amalgamation and, if
+that is not found, for the individual headers. It defines
+"UA_NO_AMALGAMATION" if necessary.
+
+The individual headers to check for if no amalgamation is found can be
+provided as a space-separated list in the first argument. If that is
+empty, it defaults to all files known to be contained in the
+amalgamation as of v0.2.0 of the library:
+
+@smallexample
+ * ms_stdint.h
+ * ua_client.h
+ * ua_client_highlevel.h
+ * ua_config.h
+ * ua_config_standard.h
+ * ua_connection.h
+ * ua_constants.h
+ * ua_job.h
+ * ua_log.h
+ * ua_log_stdout.h
+ * ua_network_tcp.h
+ * ua_nodeids.h
+ * ua_server.h
+ * ua_server_external_ns.h
+ * ua_types.h
+ * ua_types_generated.h
+ * ua_types_generated_handling.h
+@end smallexample
+
+If the with_open62541 shell variable is set to "no" (e.g. from running
+the AX_OPEN62541_PATH macro and the user giving configure the option
+"--without-open62541"), then expands ACTION-IF-NOT-FOUND without any
+checks.
+
+[1]: <http://open62541.org/>
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_open62541_check_h.m4,latest
+version of @file{ax_open62541_check_h.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_open62541_check_h.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2016,2017 Olaf Mandel @email{olaf@@mandel.name}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_open62541_check_lib
+@unnumberedsec ax_open62541_check_lib
+
+@majorheading Synopsis
+
+@smallexample
+AX_OPEN62541_CHECK_LIB([STATIC-FIRST = `no'], [ACTION-IF-FOUND],
+ [ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+Searches for the library file of the open62541 library [1].
+
+The open62541 library is a cmake-based project, that supplies both a
+shared and a static library (with different names). The
+AX_OPEN62541_CHECK_LIB macro can search for both and adds the first one
+found to the LIBS Makefile variable. The search can be in either order
+(shared first or static first), which is selectable on macro invocation
+with the STATIC-FIRST parameter. The user can change this default by
+invoking configure with either the --with-open62541-shared or
+--with-open62541-static option (the named one is checked first).
+
+Either shared or static library can be excluded from checking completely
+with the options --without-open62541-shared and
+--without-open62541-static.
+
+If the with_open62541 shell variable is set to "no" (e.g. from running
+the AX_OPEN62541_PATH macro and the user giving configure the option
+"--without-open62541"), then expands ACTION-IF-NOT-FOUND without any
+checks. The same is true if both --without-open62541-shared and
+--without-open62541-static are given.
+
+[1]: <http://open62541.org/>
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_open62541_check_lib.m4,latest
+version of @file{ax_open62541_check_lib.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_open62541_check_lib.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2016 Olaf Mandel @email{olaf@@mandel.name}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_open62541_path
+@unnumberedsec ax_open62541_path
+
+@majorheading Synopsis
+
+@smallexample
+AX_OPEN62541_PATH()
+@end smallexample
+
+@majorheading Description
+
+Sets pre-processor and linker search paths for the open62541 library
+[1].
+
+The open62541 library is a cmake-based project, that is not always
+installed to the system: it does not even provide an install target by
+default. In that case, the location of several directories need to be
+added to the pre-processor and linker search paths:
+
+@smallexample
+ * -I<src>/deps
+ * -I<src>/include
+ * -I<src>/plugins
+ * -I<build>/src_generated
+ * -I<build>
+ * -L<build>
+@end smallexample
+
+Here "src" indicates the location of the library source directory and
+"build" the location of the out-of-source build.
+
+This macro provides the configure options --with-open62541=dir and
+--with-open62541-build=dir to set the two directories. This macro will
+append to CPPFLAGS and LDFLAGS if a dir is supplied. It will also export
+LD_LIBRARY_PATH with the absolute path of the build dir for the rest of
+the configure script to use and define a Makefile variable
+OPEN62541_LDPATH, which contains
+LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<abs_path_to_build> : this is intended
+to be used for all commands that need to execute a program using the
+library (e.g. make check). If paths are set, they are forwarded to
+distcheck.
+
+For --with-open62541, the dir is optional: if either the values "no"
+(from --without-open62541) or "yes" (for no argument) are specified,
+this macro does nothing but these values may be used by other code. If
+--with-open62541 is not specified, the variable with_open62541 is not
+set.
+
+For --with-open62541-build, the dir is compulsory.
+--with-open62541-build must not be given without also specifying
+--with-open62541. If --with-open62541 is given but
+--with-open62541-build is not, the default value is "<src>/build".
+
+[1]: <http://open62541.org/>
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_open62541_path.m4,latest
+version of @file{ax_open62541_path.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_open62541_path.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2016,2017 Olaf Mandel @email{olaf@@mandel.name}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_openmp
+@unnumberedsec ax_openmp
+
+@majorheading Synopsis
+
+@smallexample
+AX_OPENMP([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+This macro tries to find out how to compile programs that use OpenMP a
+standard API and set of compiler directives for parallel programming
+(see http://www-unix.mcs/)
+
+On success, it sets the OPENMP_CFLAGS/OPENMP_CXXFLAGS/OPENMP_F77FLAGS
+output variable to the flag (e.g. -omp) used both to compile *and* link
+OpenMP programs in the current language.
+
+NOTE: You are assumed to not only compile your program with these flags,
+but also link it with them as well.
+
+If you want to compile everything with OpenMP, you should set:
+
+@smallexample
+ CFLAGS="$CFLAGS $OPENMP_CFLAGS"
+ #OR# CXXFLAGS="$CXXFLAGS $OPENMP_CXXFLAGS"
+ #OR# FFLAGS="$FFLAGS $OPENMP_FFLAGS"
+@end smallexample
+
+(depending on the selected language).
+
+The user can override the default choice by setting the corresponding
+environment variable (e.g. OPENMP_CFLAGS).
+
+ACTION-IF-FOUND is a list of shell commands to run if an OpenMP flag is
+found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it is
+not found. If ACTION-IF-FOUND is not specified, the default action will
+define HAVE_OPENMP.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_openmp.m4,latest
+version of @file{ax_openmp.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_openmp.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Steven G. Johnson @email{stevenj@@alum.mit.edu}} @* @w{Copyright @copyright{} 2015 John W. Peterson @email{jwpeterson@@gmail.com}} @* @w{Copyright @copyright{} 2016 Nick R. Papior @email{nickpapior@@gmail.com}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_patch_libtool_changing_cmds_ifs
+@unnumberedsec ax_patch_libtool_changing_cmds_ifs
+
+@majorheading Synopsis
+
+@smallexample
+AX_PATCH_LIBTOOL_CHANGING_CMDS_IFS
+@end smallexample
+
+@majorheading Description
+
+Do a `grep "^[a-z]*_cmds=" libtool` - these are "subroutines" encoded by
+libtool.m4 into the generated libtool script. Since libtool assumes that
+there is no subroutine-facility in the shell invoked, these are not
+actually subroutines, but actually a "list of commands". This looks
+correct, but the command separator is not ";" - it is "~", the tilde
+character.
+
+Now, grep again, look for `grep 'IFS="~"' libtool` and see that libtool
+scripting uses a for-loop on the command-list, i.e for cmd in
+$some_cmds. This works correctly when the IFS was modified, where IFS
+stands for "input field separator" which is whitespace characters by
+default.
+
+The problem: I have some real-world filesystems where there are
+directories using "~" inside of them, to be more to the point, it is a
+change control management software that uses source repositories of the
+form "path/master/project~version/src" and libtool has the tendency to
+resolve any symlinks so that it will paste such path into the $_cmds
+script when it gets evaluated a number of times.
+
+This script is a workaround: I do not know why the ";" was not chosen as
+the IFS, perhaps it has some weird interactions in some shells since it
+is also the default record separator being one time bigger in context
+than the argument separator. I have made good success however with using
+"?" as the IFS, since there is no path-name that uses a question mark,
+and there is no _cmds ever around that uses "?" for some thing.
+
+Oh yes, there are some usages of "*" to match shell-wise at the output
+file of some tool, so that might have triggered the choice to not use
+"?" in the first place - but in real life it never occurred that a _cmds
+script was created that has gone to use "?". And so, this ac-macro
+exchanges the s/~/?/g in configured _cmds variables and replaces all
+occurrences of s/IFS="~"/IFS="?"/ - and it all works smooth now.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_patch_libtool_changing_cmds_ifs.m4,latest
+version of @file{ax_patch_libtool_changing_cmds_ifs.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_patch_libtool_changing_cmds_ifs.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_path_bdb
+@unnumberedsec ax_path_bdb
+
+@majorheading Synopsis
+
+@smallexample
+AX_PATH_BDB([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+This macro finds the latest version of Berkeley DB on the system, and
+ensures that the header file and library versions match. If
+MINIMUM-VERSION is specified, it will ensure that the library found is
+at least that version.
+
+It determines the name of the library as well as the path to the header
+file and library. It will check both the default environment as well as
+the default Berkeley DB install location. When found, it sets BDB_LIBS,
+BDB_CPPFLAGS, and BDB_LDFLAGS to the necessary values to add to LIBS,
+CPPFLAGS, and LDFLAGS, as well as setting BDB_VERSION to the version
+found (these variables are AC_SUBST). HAVE_DB_H is defined also.
+
+The option --with-bdb-dir=DIR can be used to specify a specific Berkeley
+DB installation to use.
+
+An example of it's use is:
+
+@smallexample
+ AX_PATH_BDB([3],[
+ LIBS="$BDB_LIBS $LIBS"
+ LDFLAGS="$BDB_LDFLAGS $LDFLAGS"
+ CPPFLAGS="$CPPFLAGS $BDB_CPPFLAGS"
+ ])
+@end smallexample
+
+which will locate the latest version of Berkeley DB on the system, and
+ensure that it is version 3.0 or higher.
+
+Details: This macro does not use either AC_CHECK_HEADERS or AC_CHECK_LIB
+because, first, the functions inside the library are sometimes renamed
+to contain a version code that is only available from the db.h on the
+system, and second, because it is common to have multiple db.h and libdb
+files on a system it is important to make sure the ones being used
+correspond to the same version. Additionally, there are many different
+possible names for libdb when installed by an OS distribution, and these
+need to be checked if db.h does not correspond to libdb.
+
+The format for the list of library names to search came from the Cyrus
+IMAP distribution, although they are generated dynamically here, and
+only for the version found in db.h.
+
+The macro AX_COMPARE_VERSION is required to use this macro, and should
+be available from the Autoconf Macro Archive.
+
+The author would like to acknowledge the generous and valuable feedback
+from Guido Draheim, without which this macro would be far less robust,
+and have poor and inconsistent cross compilation support.
+
+Changes:
+
+@smallexample
+ 1/5/05 applied patch from Rafal Rzepecki to eliminate compiler
+ warning about unused variable, argv
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_bdb.m4,latest
+version of @file{ax_path_bdb.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_bdb.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Tim Toolan @email{toolan@@ele.uri.edu}} @* @w{Copyright @copyright{} 2020 Bastien Roucaries @email{rouca@@debian.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_path_generic
+@unnumberedsec ax_path_generic
+
+@majorheading Synopsis
+
+@smallexample
+AX_PATH_GENERIC(LIBRARY,[MINIMUM-VERSION,[SED-EXPR-EXTRACTOR]],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND],[CONFIG-SCRIPTS],[CFLAGS-ARG],[LIBS-ARG])
+@end smallexample
+
+@majorheading Description
+
+Runs the LIBRARY-config script and defines LIBRARY_CFLAGS and
+LIBRARY_LIBS unless the user had predefined them in the environment.
+
+The script must support `--cflags' and `--libs' args. If MINIMUM-VERSION
+is specified, the script must also support the `--version' arg. If the
+`--with-library-[exec-]prefix' arguments to ./configure are given, it
+must also support `--prefix' and `--exec-prefix'. Preferably use
+CONFIG-SCRIPTS as config script, CFLAGS-ARG instead of `--cflags` and
+LIBS-ARG instead of `--libs`, if given.
+
+The SED-EXPR-EXTRACTOR parameter represents the expression used in sed
+to extract the version number. Use it if your 'foo-config --version'
+dumps something like 'Foo library v1.0.0 (alfa)' instead of '1.0.0'.
+
+The macro respects LIBRARY_CONFIG, LIBRARY_CFLAGS and LIBRARY_LIBS
+variables. If the first one is defined, it specifies the name of the
+config script to use. If the latter two are defined, the script is not
+ran at all and their values are used instead (if only one of them is
+defined, the empty value of the remaining one is still used).
+
+Example:
+
+@smallexample
+ AX_PATH_GENERIC(Foo, 1.0.0)
+@end smallexample
+
+would run `foo-config --version' and check that it is at least 1.0.0, if
+successful the following variables would be defined and substituted:
+
+@smallexample
+ FOO_CFLAGS to `foo-config --cflags`
+ FOO_LIBS to `foo-config --libs`
+@end smallexample
+
+Example:
+
+@smallexample
+ AX_PATH_GENERIC([Bar],,,[
+ AC_MSG_ERROR([Cannot find Bar library])
+ ])
+@end smallexample
+
+would check for bar-config program, defining and substituting the
+following variables:
+
+@smallexample
+ BAR_CFLAGS to `bar-config --cflags`
+ BAR_LIBS to `bar-config --libs`
+@end smallexample
+
+Example:
+
+@smallexample
+ ./configure BAZ_LIBS=/usr/lib/libbaz.a
+@end smallexample
+
+would link with a static version of baz library even if `baz-config
+--libs` returns just "-lbaz" that would normally result in using the
+shared library.
+
+This macro is a rearranged version of AC_PATH_GENERIC from Angus Lees.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_generic.m4,latest
+version of @file{ax_path_generic.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_generic.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_path_lib_pcre
+@unnumberedsec ax_path_lib_pcre
+
+@majorheading Synopsis
+
+@smallexample
+AX_PATH_LIB_PCRE [(A/NA)]
+@end smallexample
+
+@majorheading Description
+
+check for pcre lib and set PCRE_LIBS and PCRE_CFLAGS accordingly.
+
+also provide --with-pcre option that may point to the $prefix of the
+pcre installation - the macro will check $pcre/include and $pcre/lib to
+contain the necessary files.
+
+the usual two ACTION-IF-FOUND / ACTION-IF-NOT-FOUND are supported and
+they can take advantage of the LIBS/CFLAGS additions.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_lib_pcre.m4,latest
+version of @file{ax_path_lib_pcre.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_lib_pcre.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_path_milter
+@unnumberedsec ax_path_milter
+
+@majorheading Synopsis
+
+@smallexample
+AX_PATH_MILTER([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+@end smallexample
+
+@majorheading Description
+
+This macro tries to automatically find the library libmilter.a and the
+header file "libmilter/mfapi.h", which are required when compiling a
+milter for Sendmail. When successful, it sets the output variable
+MILTER_LIBS to "-lmilter", MILTER_LDFLAGS to contain an -Lpathtolib
+option, and MILTER_CPPFLAGS to contain an -Ipathtoinclude option, if
+they are necessary.
+
+The easiest way to use this macro is something like:
+
+@smallexample
+ AX_PATH_MILTER([8.12],[
+ LIBS="$MILTER_LIBS $LIBS"
+ LDFLAGS="$MILTER_LDFLAGS $LDFLAGS"
+ CPPFLAGS="$CPPFLAGS $MILTER_CPPFLAGS"
+ ],[
+ AC_MSG_ERROR([required milter library and header not found])
+ ])
+@end smallexample
+
+If the macro is successful, it just adds any flags to the necessary
+environment. If it is not successful, it would likely be a fatal error,
+because if an application is linking with libmilter.a, it is probably
+because it is a milter.
+
+There are two optional "--with" options for configure which are added.
+If they are specified, they override any searching that is done. They
+are:
+
+@smallexample
+ --with-sendmail-base=<DIR> This option is used to explicitly
+ specify the base of the sendmail distribution.
+@end smallexample
+
+@smallexample
+ --with-sendmail-obj=<DIR> The option is used to explicitly specify
+ the "obj.*" subdirectory in the sendmail distribution
+ that should be used.
+@end smallexample
+
+When sendmail-base is not specified, the current environment is first
+tested to see if the header and library are available, and if so
+MILTER_LDFLAGS and MILTER_CPPFLAGS are left empty.
+
+There are two places that are searched for the sendmail base directory.
+The first location is one directory down from the current directory. It
+checks if there is a directory of the form sendmail-8.1*, limited to
+version 8.12.x or higher, then chooses the directory with the highest
+version number. If that method does not succeed, it then looks in the
+file /etc/mail/sendmail.cf for the directory it was built from, and uses
+the base of that distribution. If neither of these methods work, then it
+fails.
+
+There are two methods for finding the "obj.*" directory when it is not
+specified. The first is to try to run sendmail's Build program with the
+-M option which will print out the name of the obj. directory for the
+tool in the directory where it is run from. If this does not work, is
+looks for the newest directory of the form "obj.*" in the sendmail base
+directory.
+
+Two addition output variables that are defined, whether or not the files
+are found are SENDMAIL_BASE_DIR and SENDMAIL_OBJ_DIR, which are the
+suspected location of the sendmail base directory and obj.*
+subdirectory.
+
+NOTE: POSIX threads MUST be configured BEFORE this function is called or
+it will not find libmilter.a even if it exists. The easiest way is to
+use the AX_PTHREAD macro by Steven G. Johnson and Alejandro Forero
+Cuervo which is available from the Autoconf Macro Archive.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_milter.m4,latest
+version of @file{ax_path_milter.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_milter.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Tim Toolan @email{toolan@@ele.uri.edu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_path_missing
+@unnumberedsec ax_path_missing
+
+@majorheading Synopsis
+
+@smallexample
+AX_PATH_MISSING(VARIABLE, PROG-TO-CHECK-FOR, WARNING-IF-NOT-FOUND, PATH)
+@end smallexample
+
+@majorheading Description
+
+Check whether program PROG-TO-CHECK-FOR exists in path. If it is found,
+set VARIABLE to the full path of PROG-TO-CHECK-FOR, otherwise warn using
+the string WARNING-IF-NOT-FOUND and set VARIABLE to the full path of the
+Automake missing script with PROG-TO-CHECK-FOR as the command to run.
+
+A typical use is the following:
+
+@smallexample
+ AX_PATH_MISSING([AUTOGEN],[autogen],[autogen seems missing ...])
+@end smallexample
+
+This macro is the combination of AC_PATH_PROG and AX_MISSING_PROG. If
+you do not want to run AC_PATH_PROG, simply use AX_MISSING_PROG or
+AM_MISSING.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_missing.m4,latest
+version of @file{ax_path_missing.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_missing.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Noah Slater @email{nslater@@bytesexual.org}} @* @w{Copyright @copyright{} 2008 Francesco Salvestrini @email{salvestrini@@sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_perl_ext
+@unnumberedsec ax_perl_ext
+
+@majorheading Synopsis
+
+@smallexample
+AX_PERL_EXT
+@end smallexample
+
+@majorheading Description
+
+Fetches the linker flags and C compiler flags for compiling and linking
+Perl binary extensions. The macro substitutes PERL_EXT_PREFIX,
+PERL_EXT_INC, PERL_EXT_LIB, PERL_EXT_CPPFLAGS, PERL_EXT_LDFLAGS and
+PERL_EXT_DLEXT variables if Perl executable was found. It also checks
+the same variables before trying to retrieve them from the Perl
+configuration.
+
+@smallexample
+ PERL_EXT_PREFIX: top-level perl installation path (--prefix)
+ PERL_EXT_INC: XS include directory
+ PERL_EXT_LIB: Perl extensions destination directory
+ PERL_EXT_CPPFLAGS: C preprocessor flags to compile extensions
+ PERL_EXT_LDFLAGS: linker flags to build extensions
+ PERL_EXT_DLEXT: extensions suffix for perl modules (e.g. ".so")
+@end smallexample
+
+Examples:
+
+@smallexample
+ AX_PERL_EXT
+ if test x"$PERL" = x; then
+ AC_ERROR(["cannot find Perl"])
+ fi
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_perl_ext.m4,latest
+version of @file{ax_perl_ext.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_perl_ext.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2011 Stanislav Sedov @email{stas@@FreeBSD.org}} @* @w{Copyright @copyright{} 2014 Thomas Klausner @email{tk@@giga.or.at}}
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGE.
--- /dev/null
+@node ax_perl_ext_flags
+@unnumberedsec ax_perl_ext_flags
+
+@majorheading Synopsis
+
+@smallexample
+AX_PERL_EXT_FLAGS([CFLAGS-VARIABLE], [LDFLAGS-VARIABLE], [EXTRA-MODULES])
+AX_PERL_EXT_CFLAGS([CFLAGS-VARIABLE])
+AX_PERL_EXT_LDFLAGS([LDFLAGS-VARIABLE], [EXTRA-MODULES])
+@end smallexample
+
+@majorheading Description
+
+Fetches the linker flags and C compiler flags for compiling and linking
+programs that embed a Perl interpreter. If the EXTRA-MODULES argument is
+submitted, it is a space separated list of extra modules to link. The
+flags will be stored in the provided variables.
+
+Examples:
+
+@smallexample
+ AX_PERL_EXT_FLAGS([PERLXS_CFLAGS], [PERLXS_LDFLAGS])
+ AC_SUBST([PERLXS_CFLAGS])
+ AC_SUBST([PERLXS_LDFLAGS])
+@end smallexample
+
+@smallexample
+ AX_PERL_EXT_CFLAGS([PERLXS_CFLAGS])
+ AC_SUBST([PERLXS_CFLAGS])
+@end smallexample
+
+@smallexample
+ AX_PERL_EXT_LDFLAGS([PERLXS_LDFLAGS], [-std Socket])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_perl_ext_flags.m4,latest
+version of @file{ax_perl_ext_flags.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_perl_ext_flags.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Mats Kindahl of Sun Microsystems @email{mats@@sun.com}}
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+3. The name of the author may not be used to endorse or promote products
+derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
--- /dev/null
+@node ax_perl_module_version
+@unnumberedsec ax_perl_module_version
+
+@majorheading Synopsis
+
+@smallexample
+AX_PERL_MODULE_VERSION([MODULE VERSION], [ACTION-IF-TRUE], [ACTION-IF-FALSE])
+@end smallexample
+
+@majorheading Description
+
+Checks to see if the list of 'Module Version' are available in the
+system. If all the modules in the list are available ACTION-IF-TRUE is
+executed. Case one module is not available ACTION-IF-FALSE is executed
+and the macro execution is aborted. NOTE: Perl is needed.
+
+Example:
+
+@smallexample
+ AX_PERL_MODULE_VERSION(CGI::Test 0.104 CGI::Ajax 0.694, ,
+ AC_MSG_ERROR(Need some Perl modules))
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_perl_module_version.m4,latest
+version of @file{ax_perl_module_version.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_perl_module_version.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Marco Gomes @email{mpglesi@@gmail.com}} @* @w{Copyright @copyright{} 2009 Ruben Fonseca @email{fonseka@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_pgsql_priv_root
+@unnumberedsec ax_pgsql_priv_root
+
+@majorheading Synopsis
+
+@smallexample
+AX_PGSQL_PRIV_ROOT(DB, USER, [HOST], [PASSWORD], [ACTION_IF_FAILED], [ACTION_IF_OK])
+@end smallexample
+
+@majorheading Description
+
+This macro checks whether the given PostgreSQL user has root privileges
+(can create and drop databases) It is recommended to first call
+AX_CHECK_PGSQL_DB, this makes it easier to locate the cause of error.
+The macro AX_PROG_PGCLIENT is required by this one.
+
+The variable $pgclient_root_call is set for later use in Makefiles, if
+you'd like to make use of this, you must do
+
+@smallexample
+ AC_SUBST(pgclient_root_call)
+@end smallexample
+
+after having called AX_CHECK_PGSQL_PRIV_ROOT. You can then do something
+like the following in your Makefile.am:
+
+@smallexample
+ @@pgclient_root_call@@ -f file.sql
+@end smallexample
+
+If you want the user to set the data, you should support something like
+these configure options:
+
+@smallexample
+ AC_ARG_WITH(pgsql-host,
+ [ --with-pgsql-host=HOST server is running on HOST @@<:@@local socket@@:>@@],
+ [pg_host=$withval], [pg_host=])
+@end smallexample
+
+@smallexample
+ AC_ARG_WITH(pgsql-db,
+ [ --with-pgsql-db=DBNAME use database DBNAME @@<:@@test@@:>@@],
+ [pg_db=$withval], [pg_db=test])
+@end smallexample
+
+@smallexample
+ AC_ARG_WITH(pgsql-root-user,
+ [ --with-pgsql-root-user=USER use user USER, must have root (all) privileges @@<:@@postgres@@:>@@],
+ [pg_root_user=$withval], [pg_root_user=postgres])
+@end smallexample
+
+@smallexample
+ AC_ARG_WITH(pgsql-password,
+ [ --with-pgsql-password=PASSWORD use password PASSWORD @@<:@@none@@:>@@],
+ [pg_password=$withval], [pg_password=""])
+@end smallexample
+
+You can then call the macro like this:
+
+@smallexample
+ AX_CHECK_PGSQL_PRIV_ROOT([$pg_db], [$pg_root_user], [$pg_host], [$pg_password], [AC_MSG_ERROR([We need root privileges on database!])])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pgsql_priv_root.m4,latest
+version of @file{ax_pgsql_priv_root.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pgsql_priv_root.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Moritz Sinn @email{moritz@@freesources.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_pkg_check_modules
+@unnumberedsec ax_pkg_check_modules
+
+@majorheading Synopsis
+
+@smallexample
+AX_PKG_CHECK_MODULES(PREFIX, PUBLIC-MODULES, PRIVATE-MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], [PUBLIC-VARIABLE], [PRIVATE-VARIABLE])
+@end smallexample
+
+@majorheading Description
+
+A wrapper around PKG_CHECK_MODULES which splits the list of modules into
+public and private dependencies, and produces two variables listing the
+dependencies across all invocations of AX_PKG_CHECK_MODULES. These two
+variables are exposed via AC_SUBST, and should be used in a pkg-config
+file as the substituted values for Requires and Requires.private.
+
+The PREFIX, PUBLIC-MODULES and PRIVATE-MODULES arguments should be
+specified as for PKG_CHECK_MODULES, with the concatenation of
+PUBLIC-MODULES and PRIVATE-MODULES equaling the LIST-OF-MODULES from
+PKG_CHECK_MODULES. The ACTION-IF-FOUND and ACTION-IF-NOT-FOUND
+arguments are optional, and should also be specified as for
+PKG_CHECK_MODULES. ACTION-IF-FOUND is evaluated if the full
+LIST-OF-MODULES is found; ACTION-IF-NOT-FOUND similarly.
+
+PUBLIC-VARIABLE defaults to AX_PACKAGE_REQUIRES, and PRIVATE-VARIABLE
+defaults to AX_PACKAGE_REQUIRES_PRIVATE. Both variables are AC_SUBST-ed
+by this macro.
+
+For example:
+
+@smallexample
+ AX_PKG_CHECK_MODULES([GLIB],[glib-2.0 gio-2.0],[gthread-2.0])
+ AX_PKG_CHECK_MODULES([DBUS],[],[dbus-glib-1 >= 0.98 dbus-1])
+@end smallexample
+
+results in the substitutions:
+
+@smallexample
+ AX_PACKAGE_REQUIRES="glib-2.0 gio-2.0"
+ AX_PACKAGE_REQUIRES_PRIVATE="gthread-2.0 dbus-glib-1 >= 0.98 dbus-1"
+@end smallexample
+
+and can be used with a template pkg-config file (.pc.in) using:
+
+@smallexample
+ Requires: @@AX_PACKAGE_REQUIRES@@
+ Requires.private: @@AX_PACKAGE_REQUIRES_PRIVATE@@
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pkg_check_modules.m4,latest
+version of @file{ax_pkg_check_modules.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pkg_check_modules.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Philip Withnall @email{philip@@tecnocode.co.uk}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_pkg_mico
+@unnumberedsec ax_pkg_mico
+
+@majorheading Synopsis
+
+@smallexample
+AX_PKG_MICO([X.X.X optional required])
+@end smallexample
+
+@majorheading Description
+
+This macro searches for a MICO installation on your system. MICO (Mico
+Is COrba) installs the file 'mico-setup.sh' under MICO_INSTALL_BASE/lib,
+where MICO_INSTALL_BASE is probably /usr/local or /usr. If nothing was
+specified when calling configure or just --with-mico, it searches in
+$prefix/lib:/usr/local/lib:/usr/lib The argument of s--with-mico
+specifies the full pathname of the mico-setup.sh file. For instance
+--with-mico=/usr/local/mico-2.2.6/lib/mico-setup.sh.
+
+If the version argument is given (e.g. 2.2.6), AX_PKG_MICO checks that
+the mico package is this version number or higher.
+
+The other optional argument to AX_PKG_MICO are 'optional' and
+'required'. by default, placing AX_PKG_MICO in your configure.in does
+not enforce using mico, if it is not found on the system. If MICO
+existence is critical for the building of your package, then you
+probably want to specify something like "AX_PKG_MICO(2.2.6 required)".
+Then, even if the --with-mico was not specified on the command line of
+the configure script, an error will be raised if mico was not found.
+
+If the mico package is not found, abort configuration with error
+message.
+
+It defines the symbol MICOSETUP, MICOVERSION, MICOSHAREDDIR
+MICO_INCLUDE, MICO_LIB and MICO_CXX if mico is found. In addition, the
+mico script mico-c++ (set in (MICO_CXX) is scaned for a string match
+"-I.*ministl" and if foundMICO_USE_MINISTL is set to 1, otherwise to 0.
+
+Example of use of these variables in your Makefile.in:
+
+@smallexample
+ INCLUDES += @@MICO_INCLUDE@@
+ LDFLAGS += @@MICO_LIB@@
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pkg_mico.m4,latest
+version of @file{ax_pkg_mico.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pkg_mico.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Tal Shalif @email{tal@@shalif.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_pkg_swig
+@unnumberedsec ax_pkg_swig
+
+@majorheading Synopsis
+
+@smallexample
+AX_PKG_SWIG([major.minor.micro], [action-if-found], [action-if-not-found])
+@end smallexample
+
+@majorheading Description
+
+This macro searches for a SWIG installation on your system. If found,
+then SWIG is AC_SUBST'd; if not found, then $SWIG is empty. If SWIG is
+found, then SWIG_LIB is set to the SWIG library path, and AC_SUBST'd.
+
+You can use the optional first argument to check if the version of the
+available SWIG is greater than or equal to the value of the argument. It
+should have the format: N[.N[.N]] (N is a number between 0 and 999. Only
+the first N is mandatory.) If the version argument is given (e.g.
+1.3.17), AX_PKG_SWIG checks that the swig package is this version number
+or higher.
+
+As usual, action-if-found is executed if SWIG is found, otherwise
+action-if-not-found is executed.
+
+In configure.in, use as:
+
+@smallexample
+ AX_PKG_SWIG(1.3.17, [], [ AC_MSG_ERROR([SWIG is required to build..]) ])
+ AX_SWIG_ENABLE_CXX
+ AX_SWIG_MULTI_MODULE_SUPPORT
+ AX_SWIG_PYTHON
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pkg_swig.m4,latest
+version of @file{ax_pkg_swig.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pkg_swig.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Sebastian Huber @email{sebastian-huber@@web.de}} @* @w{Copyright @copyright{} 2008 Alan W. Irwin} @* @w{Copyright @copyright{} 2008 Rafael Laboissiere @email{rafael@@laboissiere.net}} @* @w{Copyright @copyright{} 2008 Andrew Collier} @* @w{Copyright @copyright{} 2011 Murray Cumming @email{murrayc@@openismus.com}} @* @w{Copyright @copyright{} 2021 Vincent Danjean @email{Vincent.Danjean@@ens-lyon.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prefix_config_h
+@unnumberedsec ax_prefix_config_h
+
+@majorheading Synopsis
+
+@smallexample
+AX_PREFIX_CONFIG_H [(OUTPUT-HEADER [,PREFIX [,ORIG-HEADER]])]
+@end smallexample
+
+@majorheading Description
+
+Generate an installable config.h.
+
+A package should not normally install its config.h as a system header,
+but if it must, this macro can be used to avoid namespace pollution by
+making a copy of config.h with a prefix added to all the macro names.
+
+Each "#define SOMEDEF" line of the configuration header has the given
+prefix added, in the same case as the first character of the macro name.
+
+Defaults:
+
+@smallexample
+ OUTPUT-HEADER = $PACKAGE-config.h
+ PREFIX = $PACKAGE
+ ORIG-HEADER, from AM_CONFIG_HEADER(config.h)
+@end smallexample
+
+Your configure.ac script should contain both macros in this order.
+
+Example:
+
+@smallexample
+ AC_INIT(config.h.in) # config.h.in as created by "autoheader"
+ AM_INIT_AUTOMAKE(testpkg, 0.1.1) # makes #undef VERSION and PACKAGE
+ AM_CONFIG_HEADER(config.h) # prep config.h from config.h.in
+ AX_PREFIX_CONFIG_H(mylib/_config.h) # prep mylib/_config.h from it..
+ AC_MEMORY_H # makes "#undef NEED_MEMORY_H"
+ AC_C_CONST_H # makes "#undef const"
+ AC_OUTPUT(Makefile) # creates the "config.h" now
+ # and also mylib/_config.h
+@end smallexample
+
+If the argument to AX_PREFIX_CONFIG_H would have been omitted then the
+default output file would have been called simply "testpkg-config.h",
+but even under the name "mylib/_config.h" it contains prefix-defines
+like
+
+@smallexample
+ #ifndef TESTPKG_VERSION
+ #define TESTPKG_VERSION "0.1.1"
+ #endif
+ #ifndef TESTPKG_NEED_MEMORY_H
+ #define TESTPKG_NEED_MEMORY_H 1
+ #endif
+ #ifndef _testpkg_const
+ #define _testpkg_const _const
+ #endif
+@end smallexample
+
+and this "mylib/_config.h" can be installed along with other header
+files, which is most convenient when creating a shared library (that has
+some headers) whose functionality depends on features detected at
+compile-time. No need to invent some "mylib-confdefs.h.in" manually.
+
+Note that some AC_DEFINEs that end up in the config.h file are actually
+self-referential - e.g. AC_C_INLINE, AC_C_CONST, and the AC_TYPE_OFF_T
+say that they "will define inline|const|off_t if the system does not do
+it by itself". You might want to clean up about these - consider an
+extra mylib/conf.h that reads something like:
+
+@smallexample
+ #include <mylib/_config.h>
+ #ifndef _testpkg_const
+ #define _testpkg_const const
+ #endif
+@end smallexample
+
+and then start using _testpkg_const in the header files. That is also a
+good thing to differentiate whether some library-user has starting to
+take up with a different compiler, so perhaps it could read something
+like this:
+
+@smallexample
+ #ifdef _MSC_VER
+ #include <mylib/_msvc.h>
+ #else
+ #include <mylib/_config.h>
+ #endif
+ #ifndef _testpkg_const
+ #define _testpkg_const const
+ #endif
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prefix_config_h.m4,latest
+version of @file{ax_prefix_config_h.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prefix_config_h.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Reuben Thomas @email{rrt@@sc3d.org}} @* @w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}} @* @w{Copyright @copyright{} 2008 Marten Svantesson} @* @w{Copyright @copyright{} 2008 Gerald Point @email{Gerald.Point@@labri.fr}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prepend_flag
+@unnumberedsec ax_prepend_flag
+
+@majorheading Synopsis
+
+@smallexample
+AX_PREPEND_FLAG(FLAG, [FLAGS-VARIABLE])
+@end smallexample
+
+@majorheading Description
+
+FLAG is added to the front of the FLAGS-VARIABLE shell variable, with a
+space added in between.
+
+If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
+CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains
+FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly
+FLAG.
+
+NOTE: Implementation based on AX_APPEND_FLAG.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prepend_flag.m4,latest
+version of @file{ax_prepend_flag.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prepend_flag.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}} @* @w{Copyright @copyright{} 2011 Maarten Bosmans @email{mkbosmans@@gmail.com}} @* @w{Copyright @copyright{} 2018 John Zaitseff @email{J.Zaitseff@@zap.org.au}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_print_to_file
+@unnumberedsec ax_print_to_file
+
+@majorheading Synopsis
+
+@smallexample
+AX_PRINT_TO_FILE([FILE],[DATA])
+@end smallexample
+
+@majorheading Description
+
+Writes the specified data to the specified file.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_print_to_file.m4,latest
+version of @file{ax_print_to_file.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_print_to_file.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Tom Howard @email{tomhoward@@users.sf.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_printf_size_t
+@unnumberedsec ax_printf_size_t
+
+@majorheading Synopsis
+
+@smallexample
+AX_PRINTF_SIZE_T
+@end smallexample
+
+@majorheading Description
+
+Check for the appropriate printf() format string modifier to use with a
+size_t argument. If a suitable modifier is found, it is AC_DEFINE'd as
+PRI_SIZE_T_MODIFIER, and can be used in C code as e.g.
+
+@smallexample
+ printf("Size = %" PRI_SIZE_T_MODIFIER "u bytes.\n", sizeof(foo));
+@end smallexample
+
+If you use the PRIxNN macros from ISO C99's <inttypes.h>, you may wish
+to define a supplemental set of macros along similar lines:
+
+@smallexample
+ #define PRIdSIZE PRI_SIZE_T_MODIFIER "d"
+ #define PRIiSIZE PRI_SIZE_T_MODIFIER "i"
+ #define PRIoSIZE PRI_SIZE_T_MODIFIER "o"
+ #define PRIuSIZE PRI_SIZE_T_MODIFIER "u"
+ #define PRIxSIZE PRI_SIZE_T_MODIFIER "x"
+ #define PRIXSIZE PRI_SIZE_T_MODIFIER "X"
+@end smallexample
+
+Note: This macro invokes a test program to check whether a given format
+modifier is understood by the system's sprintf() function. If the user
+is cross-compiling, then this check cannot be performed, and thereby
+PRI_SIZE_T_MODIFIER will remain undefined.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_printf_size_t.m4,latest
+version of @file{ax_printf_size_t.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_printf_size_t.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2012 Daniel Richard G. @email{skunk@@iSKUNK.ORG}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_apache
+@unnumberedsec ax_prog_apache
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_APACHE([version])
+@end smallexample
+
+@majorheading Description
+
+This macro searches for an installed apache server. If nothing was
+specified when calling configure or just --with-apache, it searches in
+/usr/local/apache/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin
+The argument of --with-apache specifies the full pathname of the httpd
+argument. For instance --with-apache=/usr/sbin/httpd.
+
+If the version argument is given, AX_PROG_APACHE checks that the apache
+server is this version number or higher.
+
+If the apache server is not found, abort configuration with error
+message.
+
+It defines the symbol APACHE if the server is found.
+
+Files using apache should do the following:
+
+@smallexample
+ @@APACHE@@ -d /etc/httpd
+@end smallexample
+
+It defines the symbol APACHE_MODULES if a directory containing mod_env.*
+is found in the default server root directory (obtained with httpd -V).
+
+The httpd.conf file listing modules to be loaded dynamically can use
+@@APACHE_MODULES@@ to grab them in the appropriate sub directory. For
+instance:
+
+@smallexample
+ ...
+ <IfModule mod_so.c>
+ LoadModule env_module @@APACHE_MODULES@@/mod_env.so
+ LoadModule config_log_module @@APACHE_MODULES@@/mod_log_config.so
+ ...
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_apache.m4,latest
+version of @file{ax_prog_apache.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_apache.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Loic Dachary @email{loic@@senga.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_bison
+@unnumberedsec ax_prog_bison
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_BISON(ACTION-IF-TRUE,ACTION-IF-FALSE)
+@end smallexample
+
+@majorheading Description
+
+Check whether bison is the parser generator. Run ACTION-IF-TRUE if
+successful, ACTION-IF-FALSE otherwise
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_bison.m4,latest
+version of @file{ax_prog_bison.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_bison.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}} @* @w{Copyright @copyright{} 2010 Diego Elio Petteno` @email{flameeyes@@gmail.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_bison_version
+@unnumberedsec ax_prog_bison_version
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_BISON_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
+@end smallexample
+
+@majorheading Description
+
+Makes sure that bison version is greater or equal to the version
+indicated. If true the shell commands in ACTION-IF-TRUE are executed. If
+not the shell commands in commands in ACTION-IF-TRUE are executed. If
+not the shell commands in ACTION-IF-FALSE are run. Note if $BISON is not
+set (for example by running AC_CHECK_PROG or AC_PATH_PROG) the macro
+will fail.
+
+Example:
+
+@smallexample
+ AC_PATH_PROG([BISON],[bison])
+ AX_PROG_BISON_VERSION([3.0.2],[ ... ],[ ... ])
+@end smallexample
+
+This will check to make sure that the bison you have is at least version
+3.0.2 or greater.
+
+NOTE: This macro uses the $BISON variable to perform the check.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_bison_version.m4,latest
+version of @file{ax_prog_bison_version.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_bison_version.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2015 Jonathan Rajotte-Julien @email{jonathan.rajotte-julien@@efficios.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_cc_char_subscripts
+@unnumberedsec ax_prog_cc_char_subscripts
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_CC_CHAR_SUBSCRIPTS(substvar [,hard])
+@end smallexample
+
+@majorheading Description
+
+Try to find a compiler option that enables usage of char-type to index a
+value-field. This one needs unsigned-chars and it must suppress warnings
+about usage of chars for subscripting. for gcc -funsigned-char
+-Wno-char-subscripts
+
+Currently this macro knows about GCC. hopefully will evolve to use:
+Solaris C compiler, Digital Unix C compiler, C for AIX Compiler, HP-UX C
+compiler, and IRIX C compiler.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cc_char_subscripts.m4,latest
+version of @file{ax_prog_cc_char_subscripts.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cc_char_subscripts.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_cc_for_build
+@unnumberedsec ax_prog_cc_for_build
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_CC_FOR_BUILD
+@end smallexample
+
+@majorheading Description
+
+This macro searches for a C compiler that generates native executables,
+that is a C compiler that surely is not a cross-compiler. This can be
+useful if you have to generate source code at compile-time like for
+example GCC does.
+
+The macro sets the CC_FOR_BUILD and CPP_FOR_BUILD macros to anything
+needed to compile or link (CC_FOR_BUILD) and preprocess (CPP_FOR_BUILD).
+The value of these variables can be overridden by the user by specifying
+a compiler with an environment variable (like you do for standard CC).
+
+It also sets BUILD_EXEEXT and BUILD_OBJEXT to the executable and object
+file extensions for the build platform, and GCC_FOR_BUILD to `yes' if
+the compiler we found is GCC. All these variables but GCC_FOR_BUILD are
+substituted in the Makefile.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cc_for_build.m4,latest
+version of @file{ax_prog_cc_for_build.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cc_for_build.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Paolo Bonzini @email{bonzini@@gnu.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_cc_mpi
+@unnumberedsec ax_prog_cc_mpi
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_CC_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
+@end smallexample
+
+@majorheading Description
+
+This macro tries to find out how to compile C programs that use MPI
+(Message Passing Interface), a standard API for parallel process
+communication (see http://www-unix.mcs.anl.gov/mpi/). The macro has to
+be used instead of the standard macro AC_PROG_CC and will replace the
+standard variable CC with the found compiler.
+
+MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
+user. If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
+try to find out how to use MPI, if it fails, the macro will call
+AC_PROG_CC to find a standard C compiler instead.
+
+When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
+(or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed. If
+ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
+
+The following example demonstrates usage of the macro:
+
+@smallexample
+ # If --with-mpi=auto is used, try to find MPI, but use standard C compiler if it is not found.
+ # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
+ # If --with-mpi=no is used, use a standard C compiler instead.
+ AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
+ [compile with MPI (parallelization) support. If none is found,
+ MPI is not used. Default: auto])
+ ],,[with_mpi=auto])
+ #
+ AX_PROG_CC_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
+ use_mpi=no
+ if test x"$with_mpi" = xyes; then
+ AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
+ else
+ AC_MSG_WARN([No MPI compiler found, won't use MPI.])
+ fi
+ ])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cc_mpi.m4,latest
+version of @file{ax_prog_cc_mpi.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cc_mpi.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2010,2011 Olaf Lenz @email{olenz@@icp.uni-stuttgart.de}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_cp_s
+@unnumberedsec ax_prog_cp_s
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_CP_S
+@end smallexample
+
+@majorheading Description
+
+Check how to make a copy by creating a symbolic link to the original -
+it defines the variable CP_S for further use, which you should in fact
+treat like it used to be with be LN_S. The actual value is assured to be
+either LN_S (if the filesystem supports symbolic links) or CP (if the
+filesystem does not know about symbolic links and you need a copy of
+original file to have the same text in both places). In a gnu
+environment it will simply set CP_S="cp -s" since the gnu "cp"-command
+has the "-s" flag. You shall not try to use this command on directories
+since it would require a "-r" in the case of a copy that is not
+supported explicitly here. (I'm not sure if some "cp"-commands out there
+would barf at usage of "-r" on a normal file).
+
+Use CP_S to create a copy of read-only data - if your filesystem
+supports it then a symbolic link is created - a process that is quicker
+and space-saving. However, if the target fs does not support symbolic
+links, just copy the data. Unlike ac_prog_ln_s this macro will never
+fail to set the CP_S ac_subst to something that works.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cp_s.m4,latest
+version of @file{ax_prog_cp_s.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cp_s.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_crontab
+@unnumberedsec ax_prog_crontab
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_CRONTAB
+@end smallexample
+
+@majorheading Description
+
+Check for the program crontab, if exists let script continue, else pops
+an error message
+
+Besides checking existence, this macro also set these environment
+variables upon completion:
+
+@smallexample
+ CRONTAB = which crontab
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_crontab.m4,latest
+version of @file{ax_prog_crontab.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_crontab.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Gleen Salmon @email{gleensalmon@@yahoo.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_cxx_for_build
+@unnumberedsec ax_prog_cxx_for_build
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_CXX_FOR_BUILD
+@end smallexample
+
+@majorheading Description
+
+This macro searches for a C++ compiler that generates native
+executables, that is a C++ compiler that surely is not a cross-compiler.
+This can be useful if you have to generate source code at compile-time
+like for example GCC does.
+
+The macro sets the CXX_FOR_BUILD and CXXCPP_FOR_BUILD macros to anything
+needed to compile or link (CXX_FOR_BUILD) and preprocess
+(CXXCPP_FOR_BUILD). The value of these variables can be overridden by
+the user by specifying a compiler with an environment variable (like you
+do for standard CXX).
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cxx_for_build.m4,latest
+version of @file{ax_prog_cxx_for_build.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cxx_for_build.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Paolo Bonzini @email{bonzini@@gnu.org}} @* @w{Copyright @copyright{} 2012 Avionic Design GmbH}
+
+Based on the AX_PROG_CC_FOR_BUILD macro by Paolo Bonzini.
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_cxx_mpi
+@unnumberedsec ax_prog_cxx_mpi
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_CXX_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
+@end smallexample
+
+@majorheading Description
+
+This macro tries to find out how to compile C++ programs that use MPI
+(Message Passing Interface), a standard API for parallel process
+communication (see http://www-unix.mcs.anl.gov/mpi/). The macro has to
+be used instead of the standard macro AC_PROG_CXX and will replace the
+standard variable CXX with the found compiler.
+
+MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
+user. If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
+try to find out how to use MPI, if it fails, the macro will call
+AC_PROG_CC to find a standard C compiler instead.
+
+When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
+(or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed. If
+ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
+
+The following example demonstrates usage of the macro:
+
+@smallexample
+ # If --with-mpi=auto is used, try to find MPI, but use standard C compiler if it is not found.
+ # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
+ # If --with-mpi=no is used, use a standard C compiler instead.
+ AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
+ [compile with MPI (parallelization) support. If none is found,
+ MPI is not used. Default: auto])
+ ],,[with_mpi=auto])
+@end smallexample
+
+@smallexample
+ AX_PROG_CXX_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
+ use_mpi=no
+ if test x"$with_mpi" = xyes; then
+ AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
+ else
+ AC_MSG_WARN([No MPI compiler found, won't use MPI.])
+ fi
+ ])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cxx_mpi.m4,latest
+version of @file{ax_prog_cxx_mpi.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cxx_mpi.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2010,2011 Olaf Lenz @email{olenz@@icp.uni-stuttgart.de}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_date
+@unnumberedsec ax_prog_date
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_DATE()
+@end smallexample
+
+@majorheading Description
+
+This macro tries to determine the type of the date (1) command and some
+of its non-standard capabilities.
+
+The type is determined as follow:
+
+@smallexample
+ * If the version string contains "GNU", then:
+ - The variable ax_cv_prog_date_gnu is set to "yes".
+ - The variable ax_cv_prog_date_type is set to "gnu".
+@end smallexample
+
+@smallexample
+ * If date supports the "-v 1d" option, then:
+ - The variable ax_cv_prog_date_bsd is set to "yes".
+ - The variable ax_cv_prog_date_type is set to "bsd".
+@end smallexample
+
+@smallexample
+ * If both previous checks fail, then:
+ - The variable ax_cv_prog_date_type is set to "unknown".
+@end smallexample
+
+The following capabilities of GNU date are checked:
+
+@smallexample
+ * If date supports the --date arg option, then:
+ - The variable ax_cv_prog_date_gnu_date is set to "yes".
+@end smallexample
+
+@smallexample
+ * If date supports the --utc arg option, then:
+ - The variable ax_cv_prog_date_gnu_utc is set to "yes".
+@end smallexample
+
+The following capabilities of BSD date are checked:
+
+@smallexample
+ * If date supports the -v 1d option, then:
+ - The variable ax_cv_prog_date_bsd_adjust is set to "yes".
+@end smallexample
+
+@smallexample
+ * If date supports the -r arg option, then:
+ - The variable ax_cv_prog_date_bsd_date is set to "yes".
+@end smallexample
+
+All the aforementioned variables are set to "no" before a check is
+performed.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_date.m4,latest
+version of @file{ax_prog_date.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_date.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2017 Enrico M. Crisostomo @email{enrico.m.crisostomo@@gmail.com}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <http://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_dotnetcore_version
+@unnumberedsec ax_prog_dotnetcore_version
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_DOTNETCORE_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
+@end smallexample
+
+@majorheading Description
+
+Makes sure that .NET Core supports the version indicated. If true the
+shell commands in ACTION-IF-TRUE are executed. If not the shell commands
+in ACTION-IF-FALSE are run. The $dotnetcore_version variable will be
+filled with the detected version.
+
+This macro uses the $DOTNETCORE variable to perform the check. If
+$DOTNETCORE is not set prior to calling this macro, the macro will fail.
+
+Example:
+
+@smallexample
+ AC_PATH_PROG([DOTNETCORE],[dotnet])
+ AC_PROG_DOTNETCORE_VERSION([1.0.2],[ ... ],[ ... ])
+@end smallexample
+
+Searches for .NET Core, then checks if at least version 1.0.2 is
+present.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_dotnetcore_version.m4,latest
+version of @file{ax_prog_dotnetcore_version.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_dotnetcore_version.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2016 Jens Geyer @email{jensg@@apache.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_doxygen
+@unnumberedsec ax_prog_doxygen
+
+@majorheading Synopsis
+
+@smallexample
+DX_INIT_DOXYGEN(PROJECT-NAME, [DOXYFILE-PATH], [OUTPUT-DIR], ...)
+DX_DOXYGEN_FEATURE(ON|OFF)
+DX_DOT_FEATURE(ON|OFF)
+DX_HTML_FEATURE(ON|OFF)
+DX_CHM_FEATURE(ON|OFF)
+DX_CHI_FEATURE(ON|OFF)
+DX_MAN_FEATURE(ON|OFF)
+DX_RTF_FEATURE(ON|OFF)
+DX_XML_FEATURE(ON|OFF)
+DX_PDF_FEATURE(ON|OFF)
+DX_PS_FEATURE(ON|OFF)
+@end smallexample
+
+@majorheading Description
+
+The DX_*_FEATURE macros control the default setting for the given
+Doxygen feature. Supported features are 'DOXYGEN' itself, 'DOT' for
+generating graphics, 'HTML' for plain HTML, 'CHM' for compressed HTML
+help (for MS users), 'CHI' for generating a separate .chi file by the
+.chm file, and 'MAN', 'RTF', 'XML', 'PDF' and 'PS' for the appropriate
+output formats. The environment variable DOXYGEN_PAPER_SIZE may be
+specified to override the default 'a4wide' paper size.
+
+By default, HTML, PDF and PS documentation is generated as this seems to
+be the most popular and portable combination. MAN pages created by
+Doxygen are usually problematic, though by picking an appropriate subset
+and doing some massaging they might be better than nothing. CHM and RTF
+are specific for MS (note that you can't generate both HTML and CHM at
+the same time). The XML is rather useless unless you apply specialized
+post-processing to it.
+
+The macros mainly control the default state of the feature. The use can
+override the default by specifying --enable or --disable. The macros
+ensure that contradictory flags are not given (e.g.,
+--enable-doxygen-html and --enable-doxygen-chm,
+--enable-doxygen-anything with --disable-doxygen, etc.) Finally, each
+feature will be automatically disabled (with a warning) if the required
+programs are missing.
+
+Once all the feature defaults have been specified, call DX_INIT_DOXYGEN
+with the following parameters: a one-word name for the project for use
+as a filename base etc., an optional configuration file name (the
+default is '$(srcdir)/Doxyfile', the same as Doxygen's default), and an
+optional output directory name (the default is 'doxygen-doc'). To run
+doxygen multiple times for different configuration files and output
+directories provide more parameters: the second, forth, sixth, etc
+parameter are configuration file names and the third, fifth, seventh,
+etc parameter are output directories. No checking is done to catch
+duplicates.
+
+Automake Support
+
+The DX_RULES substitution can be used to add all needed rules to the
+Makefile. Note that this is a substitution without being a variable:
+only the @@DX_RULES@@ syntax will work.
+
+The provided targets are:
+
+@smallexample
+ doxygen-doc: Generate all doxygen documentation.
+@end smallexample
+
+@smallexample
+ doxygen-run: Run doxygen, which will generate some of the
+ documentation (HTML, CHM, CHI, MAN, RTF, XML)
+ but will not do the post processing required
+ for the rest of it (PS, PDF).
+@end smallexample
+
+@smallexample
+ doxygen-ps: Generate doxygen PostScript documentation.
+@end smallexample
+
+@smallexample
+ doxygen-pdf: Generate doxygen PDF documentation.
+@end smallexample
+
+Note that by default these are not integrated into the automake targets.
+If doxygen is used to generate man pages, you can achieve this
+integration by setting man3_MANS to the list of man pages generated and
+then adding the dependency:
+
+@smallexample
+ $(man3_MANS): doxygen-doc
+@end smallexample
+
+This will cause make to run doxygen and generate all the documentation.
+
+The following variable is intended for use in Makefile.am:
+
+@smallexample
+ DX_CLEANFILES = everything to clean.
+@end smallexample
+
+Then add this variable to MOSTLYCLEANFILES.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_doxygen.m4,latest
+version of @file{ax_prog_doxygen.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_doxygen.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Oren Ben-Kiki @email{oren@@ben-kiki.org}} @* @w{Copyright @copyright{} 2015 Olaf Mandel @email{olaf@@mandel.name}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_emacs
+@unnumberedsec ax_prog_emacs
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_EMACS
+@end smallexample
+
+@majorheading Description
+
+This macro allows the end user to specify a particular Emacs executable
+via a configure script command-line arg. For example:
+
+@smallexample
+ ./configure EMACS=$HOME/build/GNU/emacs/src/emacs
+@end smallexample
+
+It also arranges to mention env var EMACS in the './configure --help'
+output. See info node "(autoconf) Generic Programs" for details.
+
+More precisely...
+
+If env var EMACS is set, try to use its value directly, but avoid
+getting fooled by value 't' (set by older Emacsen for subprocesses). If
+no joy from the environment, search for "emacs" via AC_CHECK_PROG. If
+still no joy, display "Emacs not found; required!" and make configure
+exit failurefully. Otherwise, set shell var EMACS and AC_SUBST it, too.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_emacs.m4,latest
+version of @file{ax_prog_emacs.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_emacs.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2016-2017 Thien-Thi Nguyen}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_f77_mpi
+@unnumberedsec ax_prog_f77_mpi
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_F77_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
+@end smallexample
+
+@majorheading Description
+
+This macro tries to find out how to compile Fortran77 programs that use
+MPI (Message Passing Interface), a standard API for parallel process
+communication (see http://www-unix.mcs.anl.gov/mpi/). The macro has to
+be used instead of the standard macro AC_PROG_F77 and will replace the
+standard variable F77 with the found compiler.
+
+MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
+user. If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
+try to find out how to use MPI, if it fails, the macro will call
+AC_PROG_CC to find a standard C compiler instead.
+
+When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
+(or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed. If
+ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
+
+The following example demonstrates usage of the macro:
+
+@smallexample
+ # If --with-mpi=auto is used, try to find MPI, but use standard F77 compiler if it is not found.
+ # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
+ # If --with-mpi=no is used, use a standard F77 compiler instead.
+ AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
+ [compile with MPI (parallelization) support. If none is found,
+ MPI is not used. Default: auto])
+ ],,[with_mpi=auto])
+@end smallexample
+
+@smallexample
+ AX_PROG_F77_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
+ use_mpi=no
+ if test x"$with_mpi" = xyes; then
+ AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
+ else
+ AC_MSG_WARN([No MPI compiler found, won't use MPI.])
+ fi
+ ])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_f77_mpi.m4,latest
+version of @file{ax_prog_f77_mpi.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_f77_mpi.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2010,2011 Olaf Lenz @email{olenz@@icp.uni-stuttgart.de}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_fasm
+@unnumberedsec ax_prog_fasm
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_FASM([ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+This macro searches for the FASM assembler and sets the variable "fasm"
+to the name of the application or to "no" if not found. If
+ACTION-IF-NOT-FOUND is not specified, configure will fail when the
+program is not found.
+
+Example:
+
+@smallexample
+ AX_PROG_FASM()
+ AX_PROG_FASM([fasm_avail="no"])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fasm.m4,latest
+version of @file{ax_prog_fasm.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fasm.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2007,2009 Bogdan Drozdowski @email{bogdandr@@op.pl}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_fasm_opt
+@unnumberedsec ax_prog_fasm_opt
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_FASM_OPT(option, var_name)
+@end smallexample
+
+@majorheading Description
+
+This macro checks if the FASM assembler accepts the given option. If
+yes, the option is appended to the variable 'var_name', otherwise
+'var_name' is unchanged.
+
+Example:
+
+@smallexample
+ AX_PROG_FASM_OPT([-m 256], [FASM_OPTS])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fasm_opt.m4,latest
+version of @file{ax_prog_fasm_opt.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fasm_opt.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2007,2009 Bogdan Drozdowski @email{bogdandr@@op.pl}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_fc_mpi
+@unnumberedsec ax_prog_fc_mpi
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_FC_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
+@end smallexample
+
+@majorheading Description
+
+This macro tries to find out how to compile Fortran77 programs that use
+MPI (Message Passing Interface), a standard API for parallel process
+communication (see http://www-unix.mcs.anl.gov/mpi/). The macro has to
+be used instead of the standard macro AC_PROG_FC and will replace the
+standard variable FC with the found compiler.
+
+MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
+user. If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
+try to find out how to use MPI, if it fails, the macro will call
+AC_PROG_CC to find a standard C compiler instead.
+
+When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
+(or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed. If
+ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
+
+The following example demonstrates usage of the macro:
+
+@smallexample
+ # If --with-mpi=auto is used, try to find MPI, but use standard FC compiler if it is not found.
+ # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
+ # If --with-mpi=no is used, use a standard FC compiler instead.
+ AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
+ [compile with MPI (parallelization) support. If none is found,
+ MPI is not used. Default: auto])
+ ],,[with_mpi=auto])
+@end smallexample
+
+@smallexample
+ AX_PROG_FC_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
+ use_mpi=no
+ if test x"$with_mpi" = xyes; then
+ AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
+ else
+ AC_MSG_WARN([No MPI compiler found, won't use MPI.])
+ fi
+ ])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fc_mpi.m4,latest
+version of @file{ax_prog_fc_mpi.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fc_mpi.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2010,2011 Olaf Lenz @email{olenz@@icp.uni-stuttgart.de}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_fig2dev
+@unnumberedsec ax_prog_fig2dev
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_FIG2DEV
+@end smallexample
+
+@majorheading Description
+
+If `fig2dev' is found, sets the output variable `FIG2DEV' to `fig2dev',
+and `FIG2DEV_ESPLANG' to the graphics language which can be used to
+produce Encapsulated PostScript. Older versions of `fig2dev' produce EPS
+with `-Lps' and new versions with `-Leps', this macro finds out the
+correct language option automatically.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fig2dev.m4,latest
+version of @file{ax_prog_fig2dev.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fig2dev.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Ville Laurikari @email{vl@@iki.fi}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_flex
+@unnumberedsec ax_prog_flex
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_FLEX(ACTION-IF-TRUE,ACTION-IF-FALSE)
+@end smallexample
+
+@majorheading Description
+
+Check whether flex is the scanner generator. Run ACTION-IF-TRUE if
+successful, ACTION-IF-FALSE otherwise
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_flex.m4,latest
+version of @file{ax_prog_flex.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_flex.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}} @* @w{Copyright @copyright{} 2010 Diego Elio Petteno` @email{flameeyes@@gmail.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_flex_version
+@unnumberedsec ax_prog_flex_version
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_FLEX_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
+@end smallexample
+
+@majorheading Description
+
+Makes sure that flex version is greater or equal to the version
+indicated. If true the shell commands in ACTION-IF-TRUE are executed. If
+not the shell commands in commands in ACTION-IF-TRUE are executed. If
+not the shell commands in ACTION-IF-FALSE are run. Note if $FLEX is not
+set (for example by running AC_CHECK_PROG or AC_PATH_PROG) the macro
+will fail.
+
+Example:
+
+@smallexample
+ AC_PATH_PROG([FLEX],[flex])
+ AX_PROG_FLEX_VERSION([2.5.39],[ ... ],[ ... ])
+@end smallexample
+
+This will check to make sure that the flex you have is at least version
+2.5.39 or greater.
+
+NOTE: This macro uses the $FLEX variable to perform the check.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_flex_version.m4,latest
+version of @file{ax_prog_flex_version.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_flex_version.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2015 Jonathan Rajotte-Julien @email{jonathan.rajotte-julien@@efficios.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_gjs
+@unnumberedsec ax_prog_gjs
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_GJS
+@end smallexample
+
+@majorheading Description
+
+AX_PROG_GJS checks for the presence of the JavaScript interpreter GJS
+(https://wiki.gnome.org/Projects/Gjs) in pkg-config or in the path. If
+it is not found, an error is issued and configure is halted. If it is
+found, the path of the interpreter is placed into a variable named GJS,
+which is declared precious.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_gjs.m4,latest
+version of @file{ax_prog_gjs.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_gjs.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2013, 2016 Endless Mobile, Inc.; contributed by Philip Chimento @email{philip@@endlessm.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_guile_version
+@unnumberedsec ax_prog_guile_version
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_GUILE_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
+@end smallexample
+
+@majorheading Description
+
+Makes sure that guile supports the version indicated. If true the shell
+commands in ACTION-IF-TRUE are executed. If not the shell commands in
+ACTION-IF-FALSE are run. Note if $GUILE is not set (for example by
+running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
+
+Example:
+
+@smallexample
+ AC_PATH_PROG([GUILE],[guile])
+ AC_PROG_GUILE_VERSION([1.6.0],[ ... ],[ ... ])
+@end smallexample
+
+This will check to make sure that the guile you have supports at least
+version 1.6.0.
+
+NOTE: This macro uses the $GUILE variable to perform the check.
+AX_WITH_GUILE can be used to set that variable prior to running this
+macro. The $GUILE_VERSION variable will be valorized with the detected
+version.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_guile_version.m4,latest
+version of @file{ax_prog_guile_version.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_guile_version.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_haxe_version
+@unnumberedsec ax_prog_haxe_version
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_HAXE_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
+@end smallexample
+
+@majorheading Description
+
+Makes sure that haxe supports the version indicated. If true the shell
+commands in ACTION-IF-TRUE are executed. If not the shell commands in
+ACTION-IF-FALSE are run. The $HAXE_VERSION variable will be filled with
+the detected version.
+
+This macro uses the $HAXE variable to perform the check. If $HAXE is not
+set prior to calling this macro, the macro will fail.
+
+Example:
+
+@smallexample
+ AC_PATH_PROG([HAXE],[haxe])
+ AC_PROG_HAXE_VERSION([3.1.3],[ ... ],[ ... ])
+@end smallexample
+
+Searches for Haxe, then checks if at least version 3.1.3 is present.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_haxe_version.m4,latest
+version of @file{ax_prog_haxe_version.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_haxe_version.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2015 Jens Geyer @email{jensg@@apache.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_help2man
+@unnumberedsec ax_prog_help2man
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_HELP2MAN([program list], [man directory prefix], [binary prefix])
+@end smallexample
+
+@majorheading Description
+
+AX_PROG_HELP2MAN is a macro designed to facilitate usage of help2man. It
+may take three optional arguments:
+
+1. <program list>: comma-separated m4 list of input programs
+
+Specifies the list of input programs which shall be used to produce man
+pages using help2man. If no value is specified, the macro assumes that
+the sole target will be named $(PACKAGE_NAME). Thus, the two following
+lines are equivalent:
+
+@smallexample
+ AX_PROG_HELP2MAN
+ AX_PROG_HELP2MAN([\$(PACKAGE_NAME)])
+@end smallexample
+
+2. <man directory prefix>: directory prefix of the man pages directory
+
+Sets AX_HELP2MAN_PREFIX_MANS to <man directory prefix>. Defaults to
+'doc/man/man1' if no value is provided. Note that
+AX_HELP2MAN_PREFIX_MANS will always be a subdirectory of the build
+directory.
+
+3. <binary prefix>:
+
+Sets AX_HELP2MAN_PREFIX_BIN to <binary prefix>. Defaults to
+'$(top_builddir)' if no value is provided. The two following lines are
+equivalent:
+
+@smallexample
+ AX_PROG_HELP2MAN([subdir/program1, subdir/program2])
+ AX_PROG_HELP2MAN([program1, program2], [], [\$(top_builddir)/subdir])
+@end smallexample
+
+The macro:
+
+- checks that help2man is available on the system.
+
+- provides the configure option --disable-help2man.
+
+- sets the output variable ax_help2man_MANS to the list of man pages
+that shall be generated.
+
+- sets the automake conditional HAVE_HELP2MAN
+
+- sets the substitution variable AX_HELP2MAN_RULES to the required make
+rules, targets and recipes.
+
+Further detail on the macro can be found after the minimal working
+example. Here is a minimal working example:
+
+@smallexample
+ # configure.ac:
+ AX_PROG_HELP2MAN
+@end smallexample
+
+@smallexample
+ # Makefile.am:
+ if HAVE_HELP2MAN
+ man1_MANS = $(ax_help2man_MANS)
+ @@AX_HELP2MAN_RULES@@
+ endif
+@end smallexample
+
+This minimal working example shall work under the following assumptions:
+
+1. the aforementioned binary has the same name as the project
+
+2. the project produces a single binary at the root of the build
+directory
+
+3. the man page shall be generated into the doc/man/man1 directory
+
+Note that adding ax_help2man_MANS to man1_MANS is not needed if the man
+page generation is not mandatory.
+
+The AX_HELP2MAN_RULES substitution variable shall contain:
+
+- a recipe to create, if necessary, the destination directory.
+
+- a generic rule to produce the manpages.
+
+This rule targets the contents of the variable ax_help2man_MANS and its
+recipe shall be akin to the following:
+
+@smallexample
+ $(HELP2MAN) -l -N --output="$@@" --name="$(shell basename $<)" "$(shell dirname $<)/$(shell basename $<)"
+@end smallexample
+
+Errors from this rule are ignored.
+
+- rules for each input program and target man page.
+
+For each input program, a rule akin to the following shall be available:
+
+@smallexample
+ $(AX_HELP2MAN_PREFIX_MANS)/program.1: $(AX_HELP2MAN_PREFIX_BIN)/path/to/program
+@end smallexample
+
+The macro assumes that all man pages shall be generated into the same
+directory (AX_HELP2MAN_PREFIX_MANS) and that all input programs can be
+found in the same directory (AX_HELP2MAN_PREFIX_BIN). If a subset of the
+inputs or outputs have different paths (for instance one of the inputs
+is a script available in $(top_srcdir) whereas the other inputs are
+programs compiled at build time), it can be customized in the
+Makefile.am: the target man page must be added to ax_help2man_MANS, so
+that it becomes a target of the generic rule for man pages and a rule
+must be added to specify its prerequisite:
+
+@smallexample
+ ax_help2man_MANS += path/to/output/man/page.1
+ path/to/output/man/page.1: path/to/input/program.1
+@end smallexample
+
+Here is a full example for a project where binaries 'program1' and
+'program2' are compiled at build time whereas 'script' is available in
+the source tree:
+
+@smallexample
+ # configure.ac:
+ AX_PROG_HELP2MAN([program1, program2])
+@end smallexample
+
+@smallexample
+ # Makefile.am:
+ if HAVE_HELP2MAN
+ man1_MANS = $(ax_help2man_MANS)
+ @@AX_HELP2MAN_RULES@@
+ ax_help2man_MANS += $(AX_HELP2MAN_PREFIX_MANS)/script.1
+ $(AX_HELP2MAN_PREFIX_MANS)/script.1: $(top_srcdir)/script
+ endif
+@end smallexample
+
+Note that this macro should not be called more than once.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_help2man.m4,latest
+version of @file{ax_prog_help2man.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_help2man.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2017 Harenome Ranaivoarivony-Razanajato @email{ranaivoarivony-razanajato@@hareno.me}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+Under Section 7 of GPL version 3, you are granted additional permissions
+described in the Autoconf Configure Script Exception, version 3.0, as
+published by the Free Software Foundation.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
--- /dev/null
+@node ax_prog_hla
+@unnumberedsec ax_prog_hla
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_HLA([ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+This macro searches for the HLA assembler and sets the variable "hla" to
+the name of the application or to "no" if not found. If
+ACTION-IF-NOT-FOUND is not specified, configure will fail when the
+program is not found.
+
+Example:
+
+@smallexample
+ AX_PROG_HLA()
+ AX_PROG_HLA([hla_avail="no"])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_hla.m4,latest
+version of @file{ax_prog_hla.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_hla.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2007,2009 Bogdan Drozdowski @email{bogdandr@@op.pl}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_hla_opt
+@unnumberedsec ax_prog_hla_opt
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_HLA_OPT(option, var_name)
+@end smallexample
+
+@majorheading Description
+
+This macro checks if the HLA assembler accepts the given option. If yes,
+the option is appended to the variable 'var_name', otherwise 'var_name'
+is unchanged.
+
+Example:
+
+@smallexample
+ AX_PROG_HLA_OPT([-v], [HLA_OPTS])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_hla_opt.m4,latest
+version of @file{ax_prog_hla_opt.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_hla_opt.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2007,2009 Bogdan Drozdowski @email{bogdandr@@op.pl}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_httpd
+@unnumberedsec ax_prog_httpd
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_HTTPD
+@end smallexample
+
+@majorheading Description
+
+Check for Apache's 'httpd', let script continue if exists & works, pops
+up error message if not.
+
+Testing of functionality is by checking its compile settings
+
+Besides checking existence, this macro also set these environment
+variables upon completion:
+
+@smallexample
+ HTTPD = which httpd
+ HTTPD_ROOT = Apache's root directory, specified when compiled / run with -d option
+ HTTPD_SERVER_ROOT = Directory for Apache's essential files, e.g. access logs / error logs / modules / scripts.
+ HTTPD_SERVER_CONFIG_FILE = Full-path of the 'httpd.conf' file
+ HTTPD_USER = Which user that httpd runs as
+ HTTPD_GROUP = Which group that httpd runs as
+ HTTPD_DOC_HOME = Document directory, taken as the first DocumentRoot path found in httpd.conf
+ HTTPD_SCRIPT_HOME = CGI script directory, taken as the first ScriptAlias path found in httpd.conf
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_httpd.m4,latest
+version of @file{ax_prog_httpd.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_httpd.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Gleen Salmon @email{gleensalmon@@yahoo.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_jar
+@unnumberedsec ax_prog_jar
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_JAR
+@end smallexample
+
+@majorheading Description
+
+AX_PROG_JAR tests for an existing jar program. It uses the environment
+variable JAR then tests in sequence various common jar programs.
+
+If you want to force a specific compiler:
+
+- at the configure.in level, set JAR=yourcompiler before calling
+AX_PROG_JAR
+
+- at the configure level, setenv JAR
+
+You can use the JAR variable in your Makefile.in, with @@JAR@@.
+
+Note: This macro depends on the autoconf M4 macros for Java programs. It
+is VERY IMPORTANT that you download that whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission.
+
+The general documentation of those macros, as well as the sample
+configure.in, is included in the AX_PROG_JAVA macro.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_jar.m4,latest
+version of @file{ax_prog_jar.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_jar.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Egon Willighagen @email{e.willighagen@@science.ru.nl}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_java
+@unnumberedsec ax_prog_java
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_JAVA
+@end smallexample
+
+@majorheading Description
+
+Here is a summary of the main macros:
+
+AX_PROG_JAVAC: finds a Java compiler.
+
+AX_PROG_JAVA: finds a Java virtual machine.
+
+AX_CHECK_CLASS: finds if we have the given class (beware of CLASSPATH!).
+
+AX_CHECK_RQRD_CLASS: finds if we have the given class and stops
+otherwise.
+
+AX_TRY_COMPILE_JAVA: attempt to compile user given source.
+
+AX_TRY_RUN_JAVA: attempt to compile and run user given source.
+
+AX_JAVA_OPTIONS: adds Java configure options.
+
+AX_PROG_JAVA tests an existing Java virtual machine. It uses the
+environment variable JAVA then tests in sequence various common Java
+virtual machines. For political reasons, it starts with the free ones.
+You *must* call [AX_PROG_JAVAC] before.
+
+If you want to force a specific VM:
+
+- at the configure.in level, set JAVA=yourvm before calling AX_PROG_JAVA
+
+@smallexample
+ (but after AC_INIT)
+@end smallexample
+
+- at the configure level, setenv JAVA
+
+You can use the JAVA variable in your Makefile.in, with @@JAVA@@.
+
+*Warning*: its success or failure can depend on a proper setting of the
+CLASSPATH env. variable.
+
+TODO: allow to exclude virtual machines (rationale: most Java programs
+cannot run with some VM like kaffe).
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission.
+
+A Web page, with a link to the latest CVS snapshot is at
+<http://www.internatif.org/bortzmeyer/autoconf-Java/>.
+
+This is a sample configure.in Process this file with autoconf to produce
+a configure script.
+
+@smallexample
+ AC_INIT(UnTag.java)
+@end smallexample
+
+@smallexample
+ dnl Checks for programs.
+ AC_CHECK_CLASSPATH
+ AX_PROG_JAVAC
+ AX_PROG_JAVA
+@end smallexample
+
+@smallexample
+ dnl Checks for classes
+ AX_CHECK_RQRD_CLASS(org.xml.sax.Parser)
+ AX_CHECK_RQRD_CLASS(com.jclark.xml.sax.Driver)
+@end smallexample
+
+@smallexample
+ AC_OUTPUT(Makefile)
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_java.m4,latest
+version of @file{ax_prog_java.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_java.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Stephane Bortzmeyer @email{bortzmeyer@@pasteur.fr}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_java_cc
+@unnumberedsec ax_prog_java_cc
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_JAVA_CC
+@end smallexample
+
+@majorheading Description
+
+Finds the appropriate java compiler on your path. By preference the java
+compiler is gcj, then jikes then javac.
+
+The macro can take one argument specifying a space separated list of
+java compiler names.
+
+For example:
+
+@smallexample
+ AX_PROG_JAVA_CC(javac, gcj)
+@end smallexample
+
+The macro also sets the compiler options variable: JAVA_CC_OPTS to
+something sensible:
+
+@smallexample
+ - for GCJ it sets it to: @@GCJ_OPTS@@
+ (if GCJ_OPTS is not yet defined then it is set to "-C")
+@end smallexample
+
+@smallexample
+ - no other compiler has applicable options yet
+@end smallexample
+
+Here's an example configure.in:
+
+@smallexample
+ AC_INIT(Makefile.in)
+ AX_PROG_JAVA_CC()
+ AC_OUTPUT(Makefile)
+ dnl End.
+@end smallexample
+
+And here's the start of the Makefile.in:
+
+@smallexample
+ PROJECT_ROOT := @@srcdir@@
+ # Tool definitions.
+ JAVAC := @@JAVA_CC@@
+ JAVAC_OPTS := @@JAVA_CC_OPTS@@
+ JAR_TOOL := @@jar_tool@@
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_java_cc.m4,latest
+version of @file{ax_prog_java_cc.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_java_cc.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Nic Ferrier @email{nferrier@@tapsellferrier.co.uk}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_java_works
+@unnumberedsec ax_prog_java_works
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_JAVA_WORKS
+@end smallexample
+
+@majorheading Description
+
+Internal use ONLY.
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission. The
+general documentation, as well as the sample configure.in, is included
+in the AX_PROG_JAVA macro.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_java_works.m4,latest
+version of @file{ax_prog_java_works.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_java_works.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Stephane Bortzmeyer @email{bortzmeyer@@pasteur.fr}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_javac
+@unnumberedsec ax_prog_javac
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_JAVAC
+@end smallexample
+
+@majorheading Description
+
+AX_PROG_JAVAC tests an existing Java compiler. It uses the environment
+variable JAVAC then tests in sequence various common Java compilers. For
+political reasons, it starts with the free ones.
+
+If you want to force a specific compiler:
+
+- at the configure.in level, set JAVAC=yourcompiler before calling
+AX_PROG_JAVAC
+
+- at the configure level, setenv JAVAC
+
+You can use the JAVAC variable in your Makefile.in, with @@JAVAC@@.
+
+*Warning*: its success or failure can depend on a proper setting of the
+CLASSPATH env. variable.
+
+TODO: allow to exclude compilers (rationale: most Java programs cannot
+compile with some compilers like guavac).
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission. The
+general documentation, as well as the sample configure.in, is included
+in the AX_PROG_JAVA macro.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javac.m4,latest
+version of @file{ax_prog_javac.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javac.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Stephane Bortzmeyer @email{bortzmeyer@@pasteur.fr}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_javac_works
+@unnumberedsec ax_prog_javac_works
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_JAVAC_WORKS
+@end smallexample
+
+@majorheading Description
+
+Internal use ONLY.
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission. The
+general documentation, as well as the sample configure.in, is included
+in the AX_PROG_JAVA macro.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javac_works.m4,latest
+version of @file{ax_prog_javac_works.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javac_works.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Stephane Bortzmeyer @email{bortzmeyer@@pasteur.fr}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_javadoc
+@unnumberedsec ax_prog_javadoc
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_JAVADOC
+@end smallexample
+
+@majorheading Description
+
+AX_PROG_JAVADOC tests for an existing javadoc generator. It uses the
+environment variable JAVADOC then tests in sequence various common
+javadoc generator.
+
+If you want to force a specific compiler:
+
+- at the configure.in level, set JAVADOC=yourgenerator before calling
+AX_PROG_JAVADOC
+
+- at the configure level, setenv JAVADOC
+
+You can use the JAVADOC variable in your Makefile.in, with @@JAVADOC@@.
+
+Note: This macro depends on the autoconf M4 macros for Java programs. It
+is VERY IMPORTANT that you download that whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission.
+
+The general documentation of those macros, as well as the sample
+configure.in, is included in the AX_PROG_JAVA macro.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javadoc.m4,latest
+version of @file{ax_prog_javadoc.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javadoc.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Egon Willighagen @email{e.willighagen@@science.ru.nl}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_javah
+@unnumberedsec ax_prog_javah
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_JAVAH
+@end smallexample
+
+@majorheading Description
+
+AX_PROG_JAVAH tests the availability of the javah header generator and
+looks for the jni.h header file. If available, JAVAH is set to the full
+path of javah and CPPFLAGS is updated accordingly.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javah.m4,latest
+version of @file{ax_prog_javah.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javah.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Luc Maisonobe @email{luc@@spaceroots.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_masm
+@unnumberedsec ax_prog_masm
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_MASM([ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+This macro searches for the MASM assembler and sets the variable "masm"
+to the name of the application or to "no" if not found. If
+ACTION-IF-NOT-FOUND is not specified, configure will fail when the
+program is not found.
+
+Example:
+
+@smallexample
+ AX_PROG_MASM()
+ AX_PROG_MASM([masm_avail="no"])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_masm.m4,latest
+version of @file{ax_prog_masm.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_masm.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2007,2009 Bogdan Drozdowski @email{bogdandr@@op.pl}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_masm_opt
+@unnumberedsec ax_prog_masm_opt
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_MASM_OPT(option, var_name)
+@end smallexample
+
+@majorheading Description
+
+This macro checks if the MASM assembler accepts the given option. If
+yes, the option is appended to the variable 'var_name', otherwise
+'var_name' is unchanged.
+
+Example:
+
+@smallexample
+ AX_PROG_MASM_OPT([/coff], [MASM_OPTS])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_masm_opt.m4,latest
+version of @file{ax_prog_masm_opt.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_masm_opt.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2007,2009 Bogdan Drozdowski @email{bogdandr@@op.pl}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_md5sum
+@unnumberedsec ax_prog_md5sum
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_MD5SUM([ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+This macro find a md5sum application and set the variable md5sum to the
+name of the application or to no if not found if ACTION-IF-NOT-FOUND is
+not specified, configure fail when then application is not found.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_md5sum.m4,latest
+version of @file{ax_prog_md5sum.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_md5sum.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Gabriele Bartolini @email{gabriele.bartolini@@devise.it}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_modprobe
+@unnumberedsec ax_prog_modprobe
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_MODPROBE
+@end smallexample
+
+@majorheading Description
+
+This macro searches for a modprobe command, such as can be found on
+Linux systems with loadable kernel module support. PATH is checked
+first, then the default location(s).
+
+This is one of several autoconf macros intended to assist in configuring
+and installing loadable kernel modules.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_modprobe.m4,latest
+version of @file{ax_prog_modprobe.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_modprobe.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Kaelin Colclasure @email{kaelin@@acm.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_mysql
+@unnumberedsec ax_prog_mysql
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_MYSQL
+@end smallexample
+
+@majorheading Description
+
+Check for the program 'mysql' let script continue if exists & works pops
+up error message if not.
+
+Testing of functionality is by invoking it with root password 'rootpass'
+and a 'SELECT * FROM user' SQL statement. That SQL statement will select
+all user information from the 'user' privileges table, and should work
+on every proper MySQL server.
+
+Besides checking mysql, this macro also set these environment variables
+upon completion:
+
+@smallexample
+ MYSQL = which mysql
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysql.m4,latest
+version of @file{ax_prog_mysql.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysql.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Gleen Salmon @email{gleensalmon@@yahoo.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_mysqladmin
+@unnumberedsec ax_prog_mysqladmin
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_MYSQLADMIN
+@end smallexample
+
+@majorheading Description
+
+Check for the program 'mysqladmin' let script continue if exists & works
+pops up error message if not.
+
+Testing of functionality is by invoking it with root password 'rootpass'
+and a 'flush-privileges' command.
+
+Besides checking mysql, this macro also set these environment variables
+upon completion:
+
+@smallexample
+ MYSQLADMIN = which mysqladmin
+ MYSQL_DATADIR = directory containing mysql database
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqladmin.m4,latest
+version of @file{ax_prog_mysqladmin.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqladmin.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Gleen Salmon @email{gleensalmon@@yahoo.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_mysqld
+@unnumberedsec ax_prog_mysqld
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_MYSQLD
+@end smallexample
+
+@majorheading Description
+
+Check for the program 'mysqld' let script continue if exists & works
+pops up error message if not.
+
+Besides checking existence, this macro also set these environment
+variables upon completion:
+
+@smallexample
+ MYSQLD = which mysqld
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqld.m4,latest
+version of @file{ax_prog_mysqld.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqld.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Gleen Salmon @email{gleensalmon@@yahoo.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_mysqlimport
+@unnumberedsec ax_prog_mysqlimport
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_MYSQLIMPORT
+@end smallexample
+
+@majorheading Description
+
+Check for the program 'mysqlimport', let script continue if exists, pops
+up error message if not.
+
+Besides checking existence, this macro also set these environment
+variables upon completion:
+
+@smallexample
+ MYSQLIMPORT = which mysqlimport
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqlimport.m4,latest
+version of @file{ax_prog_mysqlimport.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqlimport.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Gleen Salmon @email{gleensalmon@@yahoo.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_mysqlshow
+@unnumberedsec ax_prog_mysqlshow
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_MYSQLSHOW
+@end smallexample
+
+@majorheading Description
+
+Check for the program 'mysqlshow' let script continue if exists & works
+pops up error message if not.
+
+Testing of functionality is by invoking it with root password
+'rootpass'. If it works, it should show all databases currently in
+system.
+
+Besides checking mysql, this macro also set these environment variables
+upon completion:
+
+@smallexample
+ MYSQLSHOW = which mysqlshow
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqlshow.m4,latest
+version of @file{ax_prog_mysqlshow.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqlshow.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Gleen Salmon @email{gleensalmon@@yahoo.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_nasm
+@unnumberedsec ax_prog_nasm
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_NASM([ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+This macro searches for the NASM assembler and sets the variable "nasm"
+to the name of the application or to "no" if not found. If
+ACTION-IF-NOT-FOUND is not specified, configure will fail when the
+program is not found.
+
+Example:
+
+@smallexample
+ AX_PROG_NASM()
+ AX_PROG_NASM([nasm_avail="no"])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_nasm.m4,latest
+version of @file{ax_prog_nasm.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_nasm.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2007,2009 Bogdan Drozdowski @email{bogdandr@@op.pl}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_nasm_opt
+@unnumberedsec ax_prog_nasm_opt
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_NASM_OPT(option, var_name)
+@end smallexample
+
+@majorheading Description
+
+This macro checks if the NASM assembler accepts the given option. If
+yes, the option is appended to the variable 'var_name', otherwise
+'var_name' is unchanged.
+
+Example:
+
+@smallexample
+ AX_PROG_NASM_OPT([-f obj], [NASM_OPTS])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_nasm_opt.m4,latest
+version of @file{ax_prog_nasm_opt.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_nasm_opt.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2007,2009 Bogdan Drozdowski @email{bogdandr@@op.pl}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_perl_modules
+@unnumberedsec ax_prog_perl_modules
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_PERL_MODULES([MODULES], [ACTION-IF-TRUE], [ACTION-IF-FALSE])
+@end smallexample
+
+@majorheading Description
+
+Checks to see if the given perl modules are available. If true the shell
+commands in ACTION-IF-TRUE are executed. If not the shell commands in
+ACTION-IF-FALSE are run. Note if $PERL is not set (for example by
+calling AC_CHECK_PROG, or AC_PATH_PROG), AC_CHECK_PROG(PERL, perl, perl)
+will be run.
+
+MODULES is a space separated list of module names. To check for a
+minimum version of a module, append the version number to the module
+name, separated by an equals sign.
+
+Example:
+
+@smallexample
+ AX_PROG_PERL_MODULES( Text::Wrap Net::LDAP=1.0.3, ,
+ AC_MSG_WARN(Need some Perl modules)
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_perl_modules.m4,latest
+version of @file{ax_prog_perl_modules.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_perl_modules.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Dean Povey @email{povey@@wedgetail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_perl_version
+@unnumberedsec ax_prog_perl_version
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_PERL_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
+@end smallexample
+
+@majorheading Description
+
+Makes sure that perl supports the version indicated. If true the shell
+commands in ACTION-IF-TRUE are executed. If not the shell commands in
+ACTION-IF-FALSE are run. Note if $PERL is not set (for example by
+running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
+
+Example:
+
+@smallexample
+ AC_PATH_PROG([PERL],[perl])
+ AX_PROG_PERL_VERSION([5.8.0],[ ... ],[ ... ])
+@end smallexample
+
+This will check to make sure that the perl you have supports at least
+version 5.8.0.
+
+NOTE: This macro uses the $PERL variable to perform the check.
+AX_WITH_PERL can be used to set that variable prior to running this
+macro. The $PERL_VERSION variable will be valorized with the detected
+version.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_perl_version.m4,latest
+version of @file{ax_prog_perl_version.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_perl_version.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_pgclient
+@unnumberedsec ax_prog_pgclient
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_PGCLIENT()
+@end smallexample
+
+@majorheading Description
+
+This macro searches for a program called 'pgclient'. If found the
+variable $pgclient is set to its path. Else it is set to 0. An option is
+added to the configure script for setting an search path instead of
+$PATH ($pgclient_dir). If pgclient is necessary for installing your
+program, you can do something like the following to stop configure with
+an error if pgclient wasn't found:
+
+@smallexample
+ if test "x$pgclient" = "x0"; then AC_MSG_ERROR([We need that to setup the database!]); fi
+@end smallexample
+
+pgclient can be found at http://pgclient.freesources.org
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_pgclient.m4,latest
+version of @file{ax_prog_pgclient.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_pgclient.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Moritz Sinn @email{moritz@@freesources.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_python_version
+@unnumberedsec ax_prog_python_version
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_PYTHON_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
+@end smallexample
+
+@majorheading Description
+
+Makes sure that python supports the version indicated. If true the shell
+commands in ACTION-IF-TRUE are executed. If not the shell commands in
+ACTION-IF-FALSE are run. Note if $PYTHON is not set (for example by
+running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
+
+Example:
+
+@smallexample
+ AC_PATH_PROG([PYTHON],[python])
+ AX_PROG_PYTHON_VERSION([2.4.4],[ ... ],[ ... ])
+@end smallexample
+
+This will check to make sure that the python you have supports at least
+version 2.4.4.
+
+NOTE: This macro uses the $PYTHON variable to perform the check.
+AX_WITH_PYTHON can be used to set that variable prior to running this
+macro. The $PYTHON_VERSION variable will be valorized with the detected
+version.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_python_version.m4,latest
+version of @file{ax_prog_python_version.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_python_version.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_robot
+@unnumberedsec ax_prog_robot
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_ROBOT([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
+@end smallexample
+
+@majorheading Description
+
+This macro searches for the "robot" command from the Robot Framework and
+sets the variable "ROBOT" to the name of the application and the
+"ROBOT_VERSION" variable to the version of the Robot Framework. When
+robot is found sets the "HAS_ROBOT" to "yes", otherwise to "no".
+
+Example:
+
+@smallexample
+ AX_PROG_ROBOT([3.1.0], [], [])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_robot.m4,latest
+version of @file{ax_prog_robot.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_robot.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2020, Adam Chyla @email{adam@@chyla.org}}
+
+Distributed under the terms of the BSD 3-Clause License.
--- /dev/null
+@node ax_prog_ruby_version
+@unnumberedsec ax_prog_ruby_version
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_RUBY_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
+@end smallexample
+
+@majorheading Description
+
+Makes sure that ruby supports the version indicated. If true the shell
+commands in ACTION-IF-TRUE are executed. If not the shell commands in
+ACTION-IF-FALSE are run. Note if $RUBY is not set (for example by
+running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
+
+Example:
+
+@smallexample
+ AC_PATH_PROG([RUBY],[ruby])
+ AC_PROG_RUBY_VERSION([1.8.0],[ ... ],[ ... ])
+@end smallexample
+
+This will check to make sure that the ruby you have supports at least
+version 1.6.0.
+
+NOTE: This macro uses the $RUBY variable to perform the check.
+AX_WITH_PROG([RUBY],[ruby],[VALUE-IF-NOT-FOUND],[PATH]) can be used to
+set that variable prior to running this macro. The $RUBY_VERSION
+variable will be valorized with the detected version.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_ruby_version.m4,latest
+version of @file{ax_prog_ruby_version.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_ruby_version.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_scala
+@unnumberedsec ax_prog_scala
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_SCALA
+@end smallexample
+
+@majorheading Description
+
+AX_PROG_SCALA will check that scala is available. If it is SCALA will be
+set to its path and SCALA_VERSION will be set to its version.
+
+Hint: AX_COMPARE_VERSION can be used to check if SCALA_VERSION has an
+acceptable value.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_scala.m4,latest
+version of @file{ax_prog_scala.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_scala.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2013 Sveinung Kvilhaugsvik @email{sveinung84@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_scalac
+@unnumberedsec ax_prog_scalac
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_SCALAC
+@end smallexample
+
+@majorheading Description
+
+AX_PROG_SCALAC will check that a scala compiler is available, that it
+works and set SCALAC for the Makefile.
+
+AX_PROG_SCALAC will search the path for a Scala compiler. To choose
+another compiler use the environment variable SCALAC.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_scalac.m4,latest
+version of @file{ax_prog_scalac.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_scalac.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2013 Sveinung Kvilhaugsvik @email{sveinung84@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_scp
+@unnumberedsec ax_prog_scp
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_SCP
+@end smallexample
+
+@majorheading Description
+
+Check for the program 'scp', let script continue if exists, pops up
+error message if not.
+
+Besides checking existence, this macro also set these environment
+variables upon completion:
+
+@smallexample
+ SCP = which scp
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_scp.m4,latest
+version of @file{ax_prog_scp.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_scp.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Gleen Salmon @email{gleensalmon@@yahoo.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_splint
+@unnumberedsec ax_prog_splint
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_SPLINT([AX_SPLINTFLAGS])
+@end smallexample
+
+@majorheading Description
+
+Check for program splint, the static C code checking tool. The splint
+URL is given by http://www.splint.org. This macro should be use together
+with automake.
+
+Enables following environment variables:
+
+@smallexample
+ SPLINT
+ SPLINTFLAGS
+@end smallexample
+
+and AX_SPLINTFLAGS is given by AC_SUBST. If AX_SPLINTFLAGS is not given
+by AX_PROG_SPLINT it defaults to "-weak".
+
+Enables the following make target:
+
+@smallexample
+ splint-check
+@end smallexample
+
+which runs splint per PROGRAMS and LIBRARIES. Output from splint run is
+collected in file ***_splint.log where *** is given by the PROGRAMS or
+LIBRARIES name.
+
+The following line is required in Makefile.am:
+
+@smallexample
+ include aminclude_static.am
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_splint.m4,latest
+version of @file{ax_prog_splint.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_splint.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2011 Henrik Uhrenholt}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_prog_ssh
+@unnumberedsec ax_prog_ssh
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_SSH
+@end smallexample
+
+@majorheading Description
+
+Check for the program 'ssh', let script continue if exists, pops up
+error message if not.
+
+Besides checking existence, this macro also set these environment
+variables upon completion:
+
+@smallexample
+ SSH = which ssh
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_ssh.m4,latest
+version of @file{ax_prog_ssh.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_ssh.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Gleen Salmon @email{gleensalmon@@yahoo.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_tasm
+@unnumberedsec ax_prog_tasm
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_TASM([ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+This macro searches for the TASM assembler and sets the variable "tasm"
+to the name of the application or to "no" if not found. If
+ACTION-IF-NOT-FOUND is not specified, configure will fail when the
+program is not found.
+
+Example:
+
+@smallexample
+ AX_PROG_TASM()
+ AX_PROG_TASM([tasm_avail="no"])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_tasm.m4,latest
+version of @file{ax_prog_tasm.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_tasm.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2007,2009 Bogdan Drozdowski @email{bogdandr@@op.pl}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_tasm_opt
+@unnumberedsec ax_prog_tasm_opt
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_TASM_OPT(option, var_name)
+@end smallexample
+
+@majorheading Description
+
+This macro checks if the TASM assembler accepts the given option. If
+yes, the option is appended to the variable 'var_name', otherwise
+'var_name' is unchanged.
+
+Example:
+
+@smallexample
+ AX_PROG_TASM_OPT([/z], [TASM_OPTS])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_tasm_opt.m4,latest
+version of @file{ax_prog_tasm_opt.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_tasm_opt.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2007,2009 Bogdan Drozdowski @email{bogdandr@@op.pl}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_tcl
+@unnumberedsec ax_prog_tcl
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_TCL([min-version])
+@end smallexample
+
+@majorheading Description
+
+Searches for tcl (tclsh and wish) in PATH and checks which version is
+installed. The macro bails out if either tcl is not found or the minimum
+version is not satisfied, unless minimum version is "0".
+
+Example:
+
+@smallexample
+ AX_PROG_TCL
+@end smallexample
+
+This checks for tcl and if not found, exits with an error. If found, it
+prints tcl path and version number.
+
+@smallexample
+ AX_PROG_TCL([8.0])
+@end smallexample
+
+Checks for tcl and exits with an error if its not found or the version
+is below 8.0.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_tcl.m4,latest
+version of @file{ax_prog_tcl.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_tcl.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 David Cluytens} @* @w{Copyright @copyright{} 2008 Uwe Mayer @email{merkosh@@hadiko.de}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_xsltproc
+@unnumberedsec ax_prog_xsltproc
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_XSLTPROC([default-flags])
+@end smallexample
+
+@majorheading Description
+
+Find an xsltproc executable.
+
+Input:
+
+"default-flags" is the default $XSLTPROC_FLAGS, which will be overridden
+if the user specifies --with-xsltproc-flags.
+
+Output:
+
+$XSLTPROC contains the path to xsltproc, or is empty if none was found
+or the user specified --without-xsltproc. $XSLTPROC_FLAGS contains the
+flags to use with xsltproc.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_xsltproc.m4,latest
+version of @file{ax_prog_xsltproc.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_xsltproc.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008,2009 Zmanda Inc. @email{http://www.zmanda.com/}} @* @w{Copyright @copyright{} 2008,2009 Dustin J. Mitchell @email{dustin@@zmanda.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_yasm
+@unnumberedsec ax_prog_yasm
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_YASM([ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+This macro searches for the YASM assembler and sets the variable "yasm"
+to the name of the application or to "no" if not found. If
+ACTION-IF-NOT-FOUND is not specified, configure will fail when the
+program is not found.
+
+Example:
+
+@smallexample
+ AX_PROG_YASM()
+ AX_PROG_YASM([yasm_avail="no"])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_yasm.m4,latest
+version of @file{ax_prog_yasm.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_yasm.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2007,2009 Bogdan Drozdowski @email{bogdandr@@op.pl}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prog_yasm_opt
+@unnumberedsec ax_prog_yasm_opt
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROG_YASM_OPT(option, var_name)
+@end smallexample
+
+@majorheading Description
+
+This macro checks if the YASM assembler accepts the given option. If
+yes, the option is appended to the variable 'var_name', otherwise
+'var_name' is unchanged.
+
+Example:
+
+@smallexample
+ AX_PROG_YASM_OPT([-f bin], [YASM_OPTS])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_yasm_opt.m4,latest
+version of @file{ax_prog_yasm_opt.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_yasm_opt.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2007,2009 Bogdan Drozdowski @email{bogdandr@@op.pl}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prototype
+@unnumberedsec ax_prototype
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROTOTYPE(function, includes, code, TAG1, values1 [, TAG2, values2 [...]])
+@end smallexample
+
+@majorheading Description
+
+Try all the combinations of <TAG1>, <TAG2>... to successfully compile
+<code>. <TAG1>, <TAG2>, ... are substituted in <code> and <include> with
+values found in <values1>, <values2>, ... respectively. <values1>,
+<values2>, ... contain a list of possible values for each corresponding
+tag and all combinations are tested. When AC_TRY_COMPILE(include, code)
+is successful for a given substitution, the macro stops and defines the
+following macros: FUNCTION_TAG1, FUNCTION_TAG2, ... using AC_DEFINE()
+with values set to the current values of <TAG1>, <TAG2>, ... If no
+combination is successful the configure script is aborted with a
+message.
+
+Intended purpose is to find which combination of argument types is
+acceptable for a given function <function>. It is recommended to list
+the most specific types first. For instance ARG1, [size_t, int] instead
+of ARG1, [int, size_t].
+
+Generic usage pattern:
+
+1) add a call in configure.in
+
+@smallexample
+ AX_PROTOTYPE(...)
+@end smallexample
+
+2) call autoheader to see which symbols are not covered
+
+3) add the lines in acconfig.h
+
+@smallexample
+ /* Type of Nth argument of function */
+ #undef FUNCTION_ARGN
+@end smallexample
+
+4) Within the code use FUNCTION_ARGN instead of an hardwired type
+
+Complete example:
+
+1) configure.in
+
+@smallexample
+ AX_PROTOTYPE(getpeername,
+ [
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ ],
+ [
+ int a = 0;
+ ARG2 * b = 0;
+ ARG3 * c = 0;
+ getpeername(a, b, c);
+ ],
+ ARG2, [struct sockaddr, void],
+ ARG3, [socklen_t, size_t, int, unsigned int, long unsigned int])
+@end smallexample
+
+2) call autoheader
+
+@smallexample
+ autoheader: Symbol `GETPEERNAME_ARG2' is not covered by ./acconfig.h
+ autoheader: Symbol `GETPEERNAME_ARG3' is not covered by ./acconfig.h
+@end smallexample
+
+3) acconfig.h
+
+@smallexample
+ /* Type of second argument of getpeername */
+ #undef GETPEERNAME_ARG2
+@end smallexample
+
+@smallexample
+ /* Type of third argument of getpeername */
+ #undef GETPEERNAME_ARG3
+@end smallexample
+
+4) in the code
+
+@smallexample
+ ...
+ GETPEERNAME_ARG2 name;
+ GETPEERNAME_ARG3 namelen;
+ ...
+ ret = getpeername(socket, &name, &namelen);
+ ...
+@end smallexample
+
+Implementation notes: generating all possible permutations of the
+arguments is not easily done with the usual mixture of shell and m4,
+that is why this macro is almost 100% m4 code. It generates long but
+simple to read code.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype.m4,latest
+version of @file{ax_prototype.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Loic Dachary @email{loic@@senga.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prototype_accept
+@unnumberedsec ax_prototype_accept
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROTOTYPE_ACCEPT
+@end smallexample
+
+@majorheading Description
+
+Requires the AX_PROTOTYPE macro. FIXME: Put this in the code!
+
+Find the type of argument two and three of accept. User must include the
+following in acconfig.h:
+
+@smallexample
+ /* Type of second argument of accept */
+ #undef ACCEPT_ARG2
+@end smallexample
+
+@smallexample
+ /* Type of third argument of accept */
+ #undef ACCEPT_ARG3
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype_accept.m4,latest
+version of @file{ax_prototype_accept.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype_accept.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Loic Dachary @email{loic@@senga.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prototype_getsockname
+@unnumberedsec ax_prototype_getsockname
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROTOTYPE_GETSOCKNAME
+@end smallexample
+
+@majorheading Description
+
+Requires the AX_PROTOTYPE macro. FIXME: Put this in the code!
+
+Find the type of argument two and three of getsockname. User must
+include the following in acconfig.h:
+
+@smallexample
+ /* Type of second argument of getsockname */
+ #undef GETSOCKNAME_ARG2
+@end smallexample
+
+@smallexample
+ /* Type of third argument of getsockname */
+ #undef GETSOCKNAME_ARG3
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype_getsockname.m4,latest
+version of @file{ax_prototype_getsockname.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype_getsockname.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Loic Dachary @email{loic@@senga.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_prototype_setsockopt
+@unnumberedsec ax_prototype_setsockopt
+
+@majorheading Synopsis
+
+@smallexample
+AX_PROTOTYPE_SETSOCKOPT
+@end smallexample
+
+@majorheading Description
+
+Requires the AX_PROTOTYPE macro. FIXME: Put this in the code!
+
+Find the type of argument three of setsockopt. User must include the
+following in acconfig.h:
+
+@smallexample
+ /* Type of third argument of setsockopt */
+ #undef SETSOCKOPT_ARG3
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype_setsockopt.m4,latest
+version of @file{ax_prototype_setsockopt.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype_setsockopt.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Loic Dachary @email{loic@@senga.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_pthread
+@unnumberedsec ax_pthread
+
+@majorheading Synopsis
+
+@smallexample
+AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+This macro figures out how to build C programs using POSIX threads. It
+sets the PTHREAD_LIBS output variable to the threads library and linker
+flags, and the PTHREAD_CFLAGS output variable to any special C compiler
+flags that are needed. (The user can also force certain compiler
+flags/libs to be tested by setting these environment variables.)
+
+Also sets PTHREAD_CC and PTHREAD_CXX to any special C compiler that is
+needed for multi-threaded programs (defaults to the value of CC
+respectively CXX otherwise). (This is necessary on e.g. AIX to use the
+special cc_r/CC_r compiler alias.)
+
+NOTE: You are assumed to not only compile your program with these flags,
+but also to link with them as well. For example, you might link with
+$PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
+$PTHREAD_CXX $CXXFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
+
+If you are only building threaded programs, you may wish to use these
+variables in your default LIBS, CFLAGS, and CC:
+
+@smallexample
+ LIBS="$PTHREAD_LIBS $LIBS"
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+ CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
+ CC="$PTHREAD_CC"
+ CXX="$PTHREAD_CXX"
+@end smallexample
+
+In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
+has a nonstandard name, this macro defines PTHREAD_CREATE_JOINABLE to
+that name (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
+
+Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the
+PTHREAD_PRIO_INHERIT symbol is defined when compiling with
+PTHREAD_CFLAGS.
+
+ACTION-IF-FOUND is a list of shell commands to run if a threads library
+is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
+is not found. If ACTION-IF-FOUND is not specified, the default action
+will define HAVE_PTHREAD.
+
+Please let the authors know if this macro fails on any platform, or if
+you have any other suggestions or comments. This macro was based on work
+by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help
+from M. Frigo), as well as ac_pthread and hb_pthread macros posted by
+Alejandro Forero Cuervo to the autoconf macro repository. We are also
+grateful for the helpful feedback of numerous users.
+
+Updated for Autoconf 2.68 by Daniel Richard G.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pthread.m4,latest
+version of @file{ax_pthread.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pthread.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Steven G. Johnson @email{stevenj@@alum.mit.edu}} @* @w{Copyright @copyright{} 2011 Daniel Richard G. @email{skunk@@iSKUNK.ORG}} @* @w{Copyright @copyright{} 2019 Marc Stevens @email{marc.stevens@@cwi.nl}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_python
+@unnumberedsec ax_python
+
+@majorheading Synopsis
+
+@smallexample
+AX_PYTHON
+@end smallexample
+
+@majorheading Description
+
+This macro does a complete Python development environment check.
+
+It checks for all known versions. When it finds an executable, it looks
+to find the header files and library.
+
+It sets PYTHON_BIN to the name of the python executable,
+PYTHON_INCLUDE_DIR to the directory holding the header files, and
+PYTHON_LIB to the name of the Python library.
+
+This macro calls AC_SUBST on PYTHON_BIN (via AC_CHECK_PROG),
+PYTHON_INCLUDE_DIR and PYTHON_LIB.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python.m4,latest
+version of @file{ax_python.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Michael Tindal}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_python_config_var
+@unnumberedsec ax_python_config_var
+
+@majorheading Synopsis
+
+@smallexample
+AX_PYTHON_CONFIG_VAR(PYTHON_VARIABLE, [SHELL_VARIABLE])
+AX_PYTHON_CONFIG_H
+AX_PYTHON_MAKEFILE
+@end smallexample
+
+@majorheading Description
+
+AX_PYTHON_CONFIG_VAR:
+
+Using the Python module distutils.sysconfig[1], return a Python
+configuration variable. PYTHON_VARIABLE is the name of the variable to
+request from Python, and SHELL_VARIABLE is the name of the shell
+variable into which the results should be deposited. If SHELL_VARIABLE
+is not specified, the macro wil prefix PY_ to the PYTHON_VARIABLE, e.g.,
+LIBS -> PY_LIBS.
+
+SHELL_VARIABLE is AC_SUBST'd. No action is taken if an error occurs.
+Note if $PYTHON is not set, AC_CHECK_PROG(PYTHON, python, python) will
+be run.
+
+Example:
+
+@smallexample
+ AX_PYTHON_CONFIG_VAR(LINKFORSHARED, PY_LFS)
+@end smallexample
+
+AX_PYTHON_CONFIG_H:
+
+Using the Python module distutils.sysconfig[1], put the full pathname of
+the config.h file used to compile Python into the shell variable
+PY_CONFIG_H. PY_CONFIG_H is AC_SUBST'd. Note if $PYTHON is not set,
+AC_CHECK_PROG(PYTHON, python, python) will be run.
+
+AX_PYTHON_MAKEFILE:
+
+Using the Python module distutils.sysconfig[1], put the full pathname of
+the Makefile file used to compile Python into the shell variable
+PY_MAKEFILE. PY_MAKEFILE is AC_SUBST'd. Note if $PYTHON is not set,
+AC_CHECK_PROG(PYTHON, python, python) will be run.
+
+[1]
+http://www.python.org/doc/current/dist/module-distutils.sysconfig.html
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_config_var.m4,latest
+version of @file{ax_python_config_var.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_config_var.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Dustin J. Mitchell @email{dustin@@cs.uchicago.edu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_python_devel
+@unnumberedsec ax_python_devel
+
+@majorheading Synopsis
+
+@smallexample
+AX_PYTHON_DEVEL([version])
+@end smallexample
+
+@majorheading Description
+
+Note: Defines as a precious variable "PYTHON_VERSION". Don't override it
+in your configure.ac.
+
+This macro checks for Python and tries to get the include path to
+'Python.h'. It provides the $(PYTHON_CPPFLAGS) and $(PYTHON_LIBS) output
+variables. It also exports $(PYTHON_EXTRA_LIBS) and
+$(PYTHON_EXTRA_LDFLAGS) for embedding Python in your code.
+
+You can search for some particular version of Python by passing a
+parameter to this macro, for example ">= '2.3.1'", or "== '2.4'". Please
+note that you *have* to pass also an operator along with the version to
+match, and pay special attention to the single quotes surrounding the
+version number. Don't use "PYTHON_VERSION" for this: that environment
+variable is declared as precious and thus reserved for the end-user.
+
+This macro should work for all versions of Python >= 2.1.0. As an end
+user, you can disable the check for the python version by setting the
+PYTHON_NOVERSIONCHECK environment variable to something else than the
+empty string.
+
+If you need to use this macro for an older Python version, please
+contact the authors. We're always open for feedback.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_devel.m4,latest
+version of @file{ax_python_devel.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_devel.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Sebastian Huber @email{sebastian-huber@@web.de}} @* @w{Copyright @copyright{} 2009 Alan W. Irwin} @* @w{Copyright @copyright{} 2009 Rafael Laboissiere @email{rafael@@laboissiere.net}} @* @w{Copyright @copyright{} 2009 Andrew Collier} @* @w{Copyright @copyright{} 2009 Matteo Settenvini @email{matteo@@member.fsf.org}} @* @w{Copyright @copyright{} 2009 Horst Knorr @email{hk_classes@@knoda.org}} @* @w{Copyright @copyright{} 2013 Daniel Mullner @email{muellner@@math.stanford.edu}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_python_embed
+@unnumberedsec ax_python_embed
+
+@majorheading Synopsis
+
+@smallexample
+AX_PYTHON_DEFAULT
+AX_PYTHON_ENABLE
+AX_PYTHON_WITH
+AX_PYTHON_PATH
+AX_PYTHON_VERSION_ENSURE( [2.2] )
+AX_PYTHON_CSPEC
+AX_PYTHON_LSPEC
+@end smallexample
+
+@majorheading Description
+
+This file provides autoconf support for those applications that want to
+embed python. It supports all pythons >= 2.2 which is the first official
+release containing distutils. Version 2.2 of python was released
+December 21, 2001. Since it actually executes the python, cross platform
+configuration will probably not work. Also, most of the platforms
+supported are consistent until you look into Mac OS X. The python
+included with it is installed as a framework which is a very different
+environment to set up the normal tools such as gcc and libtool to deal
+with. Therefore, once we establish which python that we are going to
+use, we use its distutils to actually compile and link our modules or
+applications.
+
+At this time, it does NOT support linking with Python statically. It
+does support dynamic linking.
+
+This set of macros help define $PYTHON, $PYTHON_USE, $PYTHON_CSPEC and
+$PYTHON_LSPEC. $PYTHON defines the full executable path for the Python
+being linked to and is used within these macros to determine if that has
+been specified or found. These macros do execute this python version so
+it must be present on the system at configure time.
+
+$PYTHON_USE is an automake variable that defines whether Python support
+should be included or not in your application. $PYTHON_CSPEC is a
+variable that supplies additional CFLAGS for the compilation of the
+application/shared library. $PYTHON_LSPEC is a variable that supplies
+additional LDFLAGS for linking the application/shared library.
+
+The following is an example of how to set up for python usage within
+your application in your configure.in:
+
+@smallexample
+ AX_PYTHON_DEFAULT( )
+ AX_PYTHON_ENABLE( ) # Optional
+ AX_PYTHON_WITH( ) # Optional
+ AX_PYTHON_PATH( ) # or AX_PYTHON_INSIST( )
+ # if $PYTHON is not defined, then the following do nothing.
+ AX_PYTHON_VERSION_ENSURE( [2.2] )
+ AX_PYTHON_CSPEC
+ AX_PYTHON_LSPEC
+@end smallexample
+
+The AX_PYTHON_DEFAULT sets the $PYTHON_USE to false. Thereby, excluding
+it if it was optional.
+
+The AX_PYTHON_ENABLE looks for the optional configure parameters of
+--enable-python/--disable-python and establishes the $PYTHON and
+$PYTHON_USE variables accordingly.
+
+The AX_PYTHON_WITH looks for the optional configure parameters of
+--with-python/--without-python and establishes the $PYTHON and
+$PYTHON_USE variables accordingly.
+
+The AX_PYTHON_PATH looks for python assuming that none has been
+previously found or defined and issues an error if it does not find it.
+If it does find it, it establishes the $PYTHON and $PYTHON_USE variables
+accordingly. AX_PYTHON_INSIST could be used here instead if you want to
+insist that Python support be included using the --enable-python or
+--with-python checks previously done.
+
+The AX_PYTHON_VERSION_ENSURE issues an error if the Python previously
+found is not of version 2.2 or greater.
+
+Once that these macros have be run, we can use PYTHON_USE within the
+makefile.am file to conditionally add the Python support such as:
+
+Makefile.am example showing optional inclusion of directories:
+
+@smallexample
+ if PYTHON_USE
+ plugins = plugins
+ src = src
+ else
+ plugins =
+ src =
+ endif
+@end smallexample
+
+@smallexample
+ SUBDIRS = . $(plugins) $(src)
+@end smallexample
+
+Makefile.am example showing optional shared library build:
+
+@smallexample
+ if PYTHON_USE
+ lib_LTLIBRARIES = libElemList.la
+ libElemList_la_SOURCES = libElemList.c
+ libElemList_la_CFLAGS = @@PYTHON_CSPEC@@
+ libElemList_la_LDFLAGS = @@PYTHON_LSPEC@@
+ endif
+@end smallexample
+
+Makefile.am example showing optional program build:
+
+@smallexample
+ if PYTHON_USE
+ bin_PROGRAMS = runFunc
+ runFunc_SOURCES = runFunc.c
+ runFunc_CFLAGS = @@PYTHON_CSPEC@@
+ runFunc_LDFLAGS = @@PYTHON_LSPEC@@
+ endif
+@end smallexample
+
+The above compiles the modules only if PYTHON_USE was specified as true.
+Also, the else portion of the if was optional.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_embed.m4,latest
+version of @file{ax_python_embed.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_embed.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Robert White @email{kranki@@mac.com}} @* @w{Copyright @copyright{} 2008 Dustin J. Mitchell @email{dustin@@cs.uchicago.edu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_python_module
+@unnumberedsec ax_python_module
+
+@majorheading Synopsis
+
+@smallexample
+AX_PYTHON_MODULE(modname[, fatal, python])
+@end smallexample
+
+@majorheading Description
+
+Checks for Python module.
+
+If fatal is non-empty then absence of a module will trigger an error.
+The third parameter can either be "python" for Python 2 or "python3" for
+Python 3; defaults to Python 3.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_module.m4,latest
+version of @file{ax_python_module.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_module.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Andrew Collier}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_python_module_version
+@unnumberedsec ax_python_module_version
+
+@majorheading Synopsis
+
+@smallexample
+AX_PYTHON_MODULE_VERSION(modname, min_version[, python])
+@end smallexample
+
+@majorheading Description
+
+Checks for Python module with at least the given version.
+
+Triggers an error if module is absent or present but at a lower version.
+The third parameter can either be "python" for Python 2 or "python3" for
+Python 3; defaults to Python 3.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_module_version.m4,latest
+version of @file{ax_python_module_version.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_module_version.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2015 Endless Mobile, Inc.; contributed by Philip Chimento <philip@@endlessm.com> and Kurt von Laven @email{kurt@@endlessm.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_r_package
+@unnumberedsec ax_r_package
+
+@majorheading Synopsis
+
+@smallexample
+AX_R_PACKAGE(pkgname[, version, R])
+@end smallexample
+
+@majorheading Description
+
+Checks for an R package.
+
+Optionally checks for the version when a second argument is given. A
+different R can be used by providing a third argument.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_r_package.m4,latest
+version of @file{ax_r_package.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_r_package.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2017 Ricardo Wurmus}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_recursive_eval
+@unnumberedsec ax_recursive_eval
+
+@majorheading Synopsis
+
+@smallexample
+AX_RECURSIVE_EVAL(VALUE, RESULT)
+@end smallexample
+
+@majorheading Description
+
+Interpolate the VALUE in loop until it doesn't change, and set the
+result to $RESULT. WARNING: It's easy to get an infinite loop with some
+unsane input.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_recursive_eval.m4,latest
+version of @file{ax_recursive_eval.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_recursive_eval.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Alexandre Duret-Lutz @email{adl@@gnu.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_require_defined
+@unnumberedsec ax_require_defined
+
+@majorheading Synopsis
+
+@smallexample
+AX_REQUIRE_DEFINED(MACRO)
+@end smallexample
+
+@majorheading Description
+
+AX_REQUIRE_DEFINED is a simple helper for making sure other macros have
+been defined and thus are available for use. This avoids random issues
+where a macro isn't expanded. Instead the configure script emits a
+non-fatal:
+
+@smallexample
+ ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found
+@end smallexample
+
+It's like AC_REQUIRE except it doesn't expand the required macro.
+
+Here's an example:
+
+@smallexample
+ AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_require_defined.m4,latest
+version of @file{ax_require_defined.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_require_defined.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014 Mike Frysinger @email{vapier@@gentoo.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_require_one_func
+@unnumberedsec ax_require_one_func
+
+@majorheading Synopsis
+
+@smallexample
+AX_REQUIRE_ONE_FUNC (FUNCTION..., [ACTION-IF-ANY-FOUND], [ACTION-IF-NONE-FOUND])
+@end smallexample
+
+@majorheading Description
+
+AX_REQUIRE_ONE_FUNC is a simple wrapper for AC_CHECK_FUNCS. It calls
+AC_CHECK_FUNCS on the list of functions named in the first argument,
+then invokes ACTION-IF-ANY-FOUND if at least one of the functions exists
+or ACTION-IF-NONE-FOUND if none of the functions exist.
+
+Here's an example:
+
+@smallexample
+ AX_REQUIRE_ONE_FUNC([posix_memalign memalign valloc], ,
+ [AC_MSG_ERROR([unable to allocate page-aligned memory])])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_require_one_func.m4,latest
+version of @file{ax_require_one_func.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_require_one_func.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Scott Pakin @email{pakin@@uiuc.edu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_restore_flags
+@unnumberedsec ax_restore_flags
+
+@majorheading Synopsis
+
+@smallexample
+AX_RESTORE_FLAGS([namespace])
+@end smallexample
+
+@majorheading Description
+
+Restore common compilation flags from temporary variables.
+
+Compilation flags includes: CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS, LIBS,
+OBJCFLAGS.
+
+By default these flags are restored to a global (empty) namespace, but
+user could restore from specific NAMESPACE by using
+AX_RESTORE_FLAGS(NAMESPACE) macro.
+
+Typical usage is like:
+
+@smallexample
+ AX_SAVE_FLAGS(mypackage)
+ CPPFLAGS="-Imypackagespath $@{CPPFLAGS@}"
+ dnl ... do some detection ...
+ AX_RESTORE_FLAGS(mypackage)
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_restore_flags.m4,latest
+version of @file{ax_restore_flags.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_restore_flags.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Filippo Giunchedi @email{filippo@@esaurito.net}} @* @w{Copyright @copyright{} 2011 The Board of Trustees of the Leland Stanford Junior University} @* @w{Copyright @copyright{} 2011 Russ Allbery @email{rra@@stanford.edu}} @* @w{Copyright @copyright{} 2013 Bastien ROUCARIES @email{roucaries.bastien+autoconf@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_restore_flags_with_prefix
+@unnumberedsec ax_restore_flags_with_prefix
+
+@majorheading Synopsis
+
+@smallexample
+AX_RESTORE_FLAGS_WITH_PREFIX(PREFIX, LIST-OF-FLAGS)
+@end smallexample
+
+@majorheading Description
+
+Restore the flags saved by AX_SAVE_FLAGS_WITH_PREFIX.
+
+Expansion example: AX_RESTORE_FLAGS_WITH_PREFIX([GL], [[CFLAGS],[LIBS]])
+expands to
+
+@smallexample
+ CFLAGS="$gl_saved_flag_cflags"
+ LIBS="$gl_saved_flag_libs"
+@end smallexample
+
+One common use case is to define a package specific wrapper macro around
+this one, and also restore other variables if needed. For example:
+
+@smallexample
+ AC_DEFUN([_AX_CHECK_GL_RESTORE_FLAGS], [
+ AX_RESTORE_FLAGS_WITH_PREFIX([GL],[$1])
+ AC_LANG_POP([C])
+ ])
+@end smallexample
+
+@smallexample
+ # Restores CFLAGS, LIBS and language state
+ _AX_CHECK_GL_RESTORE_FLAGS([[CFLAGS],[LIBS]])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_restore_flags_with_prefix.m4,latest
+version of @file{ax_restore_flags_with_prefix.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_restore_flags_with_prefix.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2016 Felix Chern @email{idryman@@gmail.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_rpm_init
+@unnumberedsec ax_rpm_init
+
+@majorheading Synopsis
+
+@smallexample
+AX_RPM_INIT
+@end smallexample
+
+@majorheading Description
+
+Setup variables for creation of rpms. It will define several variables
+useful for creating rpms on a system where rpms are supported.
+Currently, I requires changes to Makefile.am to function properly (see
+the example below).
+
+Also note that I do not use any non-UNIX OSs (and for the most part, I
+only use RedHat), so this is probably generally not useful for other
+systems.
+
+Required setup:
+
+In configure.in:
+
+@smallexample
+ dnl For my rpm.m4 macros
+ RPM_RELEASE=1
+ AC_SUBST(RPM_RELEASE)
+@end smallexample
+
+@smallexample
+ AX_RPM_INIT
+ dnl Enable or disable the rpm making rules in Makefile.am
+ AM_CONDITIONAL(MAKE_RPMS, test x$make_rpms = xtrue)
+@end smallexample
+
+Furthermore, the %GNUconfigure rpm macro has a problem in that it does
+not define CXXFLAGS for the target system correctly, so for compiling
+C++ code, add the following line _before_ calling AC_PROG_CXX:
+
+@smallexample
+ dnl This is a little hack to make this work with rpm better (see mysql++.spec.in)
+ test -z "$CXXFLAGS" && CXXFLAGS="$@{CFLAGS@}"
+@end smallexample
+
+Changes to Makefile.am (I am trying to get rid of this step; suggestions
+invited):
+
+@smallexample
+ if MAKE_RPMS
+ rpm: @@RPM_TARGET@@
+@end smallexample
+
+@smallexample
+ .PHONY: rpm
+@end smallexample
+
+@smallexample
+ $(RPM_TARGET): $(DISTFILES)
+ $@{MAKE@} dist
+ -mkdir -p $(RPM_DIR)/SRPMS
+ -mkdir -p `dirname $(RPM_TARGET)`
+ $(RPM_PROG) $(RPM_ARGS) $(RPM_TARBALL)
+ @@echo Congratulations, $(RPM_TARGET) "(and friends)" should now exist.
+ else
+ endif
+@end smallexample
+
+Also, it works best with a XXXX.spec.in file like the following (this is
+way down on the wishlist, but a program to generate the skeleton spec.in
+much like autoscan would just kick butt!):
+
+@smallexample
+ ---------- 8< ----------
+ # -*- Mode:rpm-spec -*-
+ # mysql++.spec.in
+ Summary: Your package description goes here
+ %define rel @@RPM_RELEASE@@
+@end smallexample
+
+@smallexample
+ %define version @@VERSION@@
+ %define pkgname @@PACKAGE@@
+ %define prefix /usr
+@end smallexample
+
+@smallexample
+ %define lt_release @@LT_RELEASE@@
+ %define lt_version @@LT_CURRENT@@.@@LT_REVISION@@.@@LT_AGE@@
+@end smallexample
+
+@smallexample
+ # This is a hack until I can figure out how to better handle replacing
+ # autoconf macros... (gotta love autoconf...)
+ %define __aclocal aclocal || aclocal -I ./macros
+ %define configure_args @@RPM_CONFIGURE_ARGS@@
+@end smallexample
+
+@smallexample
+ Name: %@{pkgname@}
+ Version: %@{version@}
+ Release: %@{rel@}
+@end smallexample
+
+@smallexample
+ Copyright: LGPL
+ Group: # your group name goes here
+ Source: %@{pkgname@}-%@{version@}.tar.gz
+ Requires: # additional requirements
+ Buildroot: /tmp/%@{pkgname@}-root
+ URL: http://yoururl.go.here
+ Prefix: %@{prefix@}
+ BuildArchitectures: # Target platforms, i.e., i586
+ Packager: Your Name <youremail@@your.address>
+@end smallexample
+
+@smallexample
+ %description
+ Your package description
+@end smallexample
+
+@smallexample
+ %changelog
+@end smallexample
+
+@smallexample
+ %prep
+ %setup
+ #%patch
+@end smallexample
+
+@smallexample
+ %build
+ %GNUconfigure %@{configure_args@}
+ # This is why we copy the CFLAGS to the CXXFLAGS in configure.in
+ # CFLAGS="%@{optflags@}" CXXFLAGS="%@{optflags@}" ./configure %@{_target_platform@} --prefix=%@{prefix@}
+ make
+@end smallexample
+
+@smallexample
+ %install
+ # To make things work with BUILDROOT
+ if [ "$RPM_BUILD_ROOT" != "/tmp/%@{pkgname@}-root" ]
+ then
+ echo
+ echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ echo @@ @@
+ echo @@ RPM_BUILD_ROOT is not what I expected. Please clean it yourself. @@
+ echo @@ @@
+ echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ echo
+ else
+ echo Cleaning RPM_BUILD_ROOT: "$RPM_BUILD_ROOT"
+ rm -rf "$RPM_BUILD_ROOT"
+ fi
+ make DESTDIR="$RPM_BUILD_ROOT" install
+@end smallexample
+
+@smallexample
+ %clean
+ # Call me paranoid, but I do not want to be responsible for nuking
+ # someone's harddrive!
+ if [ "$RPM_BUILD_ROOT" != "/tmp/%@{pkgname@}-root" ]
+ then
+ echo
+ echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ echo @@ @@
+ echo @@ RPM_BUILD_ROOT is not what I expected. Please clean it yourself. @@
+ echo @@ @@
+ echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ echo
+ else
+ echo Cleaning RPM_BUILD_ROOT: "$RPM_BUILD_ROOT"
+ rm -rf "$RPM_BUILD_ROOT"
+ fi
+@end smallexample
+
+@smallexample
+ %files
+ %defattr(-, root, root)
+ # Your application file list goes here
+ # %@{prefix@}/lib/lib*.so*
+ %doc COPYRIGHT ChangeLog README AUTHORS NEWS
+ %doc doc/*
+@end smallexample
+
+@smallexample
+ # If you install a library
+ %post -p /sbin/ldconfig
+@end smallexample
+
+@smallexample
+ # If you install a library
+ %postun -p /sbin/ldconfig
+@end smallexample
+
+@smallexample
+ %package devel
+ Summary: Development files for %@{pkgname@}
+ Group: Applications/Databases
+ %description devel
+ Development files for %@{pkgname@}.
+@end smallexample
+
+@smallexample
+ %files devel
+ %defattr(-, root, root)
+ # Your development files go here
+ # Programmers documentation goes here
+ %doc doc
+@end smallexample
+
+@smallexample
+ # end of file
+ ---------- >8 ----------
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_rpm_init.m4,latest
+version of @file{ax_rpm_init.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_rpm_init.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Dale K. Hawkins @email{dhawkins@@cdrgts.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_ruby_devel
+@unnumberedsec ax_ruby_devel
+
+@majorheading Synopsis
+
+@smallexample
+AX_RUBY_DEVEL([version])
+@end smallexample
+
+@majorheading Description
+
+This macro checks for Ruby and tries to get the include path to
+'ruby.h'. It provides the $(RUBY_CPPFLAGS) and $(RUBY_LDFLAGS) output
+variables. It also exports $(RUBY_EXTRA_LIBS) for embedding Ruby in your
+code.
+
+You can search for some particular version of Ruby by passing a
+parameter to this macro, for example "2.2.1".
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ruby_devel.m4,latest
+version of @file{ax_ruby_devel.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ruby_devel.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Rafal Rzepecki @email{divided.mind@@gmail.com}} @* @w{Copyright @copyright{} 2008 Sebastian Huber @email{sebastian-huber@@web.de}} @* @w{Copyright @copyright{} 2008 Alan W. Irwin} @* @w{Copyright @copyright{} 2008 Rafael Laboissiere @email{rafael@@laboissiere.net}} @* @w{Copyright @copyright{} 2008 Andrew Collier} @* @w{Copyright @copyright{} 2008 Matteo Settenvini @email{matteo@@member.fsf.org}} @* @w{Copyright @copyright{} 2008 Horst Knorr @email{hk_classes@@knoda.org}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_ruby_ext
+@unnumberedsec ax_ruby_ext
+
+@majorheading Synopsis
+
+@smallexample
+AX_RUBY_EXT
+@end smallexample
+
+@majorheading Description
+
+Fetches the linker flags and C compiler flags for compiling and linking
+Ruby binary extensions. The macro substitutes RUBY_VERSION,
+RUBY_EXT_INC, RUBY_EXT_LIB, RUBY_EXT_CPPFLAGS, RUBY_EXT_LDFLAGS and
+RUBY_EXT_DLEXT variables if Ruby executable has been found. It also
+checks the same variables before trying to retrieve them from the Ruby
+configuration.
+
+@smallexample
+ RUBY_VERSION: version of the Ruby interpreter
+ RUBY_EXT_INC: Ruby include directory
+ RUBY_EXT_LIB: Ruby extensions destination directory
+ RUBY_EXT_CPPFLAGS: C preprocessor flags to compile extensions
+ RUBY_EXT_LDFLAGS: linker flags to build extensions
+ RUBY_EXT_DLEXT: extensions suffix for ruby modules (e.g. "so")
+@end smallexample
+
+Examples:
+
+@smallexample
+ AX_RUBY_EXT
+ if test x"$RUBY" = x; then
+ AC_ERROR(["cannot find Ruby"])
+ fi
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ruby_ext.m4,latest
+version of @file{ax_ruby_ext.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ruby_ext.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2011 Stanislav Sedov @email{stas@@FreeBSD.org}}
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGE.
--- /dev/null
+@node ax_save_flags
+@unnumberedsec ax_save_flags
+
+@majorheading Synopsis
+
+@smallexample
+AX_SAVE_FLAGS([NAMESPACE])
+@end smallexample
+
+@majorheading Description
+
+Save common compilation flags into temporary variables.
+
+Compilation flags includes: CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS, LIBS,
+OBJCFLAGS.
+
+By default these flags are saved to a global (empty) namespace, but user
+could specify a specific NAMESPACE to AX_SAVE_FLAGS macro and latter
+restore it by using AX_RESTORE_FLAGS(NAMESPACE).
+
+@smallexample
+ AX_SAVE_FLAGS(mypackage)
+ CPPFLAGS="-Imypackagespath $@{CPPFLAGS@}"
+ dnl .. do some detection ...
+ AX_RESTORE_FLAGS(mypackage)
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_save_flags.m4,latest
+version of @file{ax_save_flags.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_save_flags.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Filippo Giunchedi @email{filippo@@esaurito.net}} @* @w{Copyright @copyright{} 2011 The Board of Trustees of the Leland Stanford Junior University} @* @w{Copyright @copyright{} 2011 Russ Allbery @email{rra@@stanford.edu}} @* @w{Copyright @copyright{} 2013 Bastien ROUCARIES @email{roucaries.bastien+autoconf@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_save_flags_with_prefix
+@unnumberedsec ax_save_flags_with_prefix
+
+@majorheading Synopsis
+
+@smallexample
+AX_SAVE_FLAGS_WITH_PREFIX(PREFIX, LIST-OF-FLAGS)
+@end smallexample
+
+@majorheading Description
+
+For each flag in LIST-OF-FLAGS, it expands to lower-cased shell variable
+with the prefix holding the flag original value. The saved variables
+can be restored by AX_RESTORE_FLAGS_WITH_PREFIX
+
+As an example: AX_SAVE_FLAGS_WITH_PREFIX([GL], [[CFLAGS],[LIBS]])
+expands to
+
+@smallexample
+ gl_saved_flag_cflags="$CFLAGS"
+ gl_saved_flag_libs="$LIBS"
+ CFLAGS="$GL_CFLAGS $CFLAGS"
+ LIBS="$GL_LIBS $LIBS"
+@end smallexample
+
+One common use case is to define a package specific wrapper macro around
+this one, and also setup other variables if needed. For example:
+
+@smallexample
+ AC_DEFUN([_AX_CHECK_GL_SAVE_FLAGS], [
+ AX_SAVE_FLAGS_WITH_PREFIX([GL],[$1])
+ AC_LANG_PUSH([C])
+ ])
+@end smallexample
+
+@smallexample
+ # pushes GL_CFLAGS and GL_LIBS to CFLAGS and LIBS
+ # also set the current language to test to C
+ _AX_CHECK_GL_SAVE_FLAGS([[CFLAGS],[LIBS]])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_save_flags_with_prefix.m4,latest
+version of @file{ax_save_flags_with_prefix.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_save_flags_with_prefix.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2016 Felix Chern @email{idryman@@gmail.com}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_set_default_paths_system
+@unnumberedsec ax_set_default_paths_system
+
+@majorheading Synopsis
+
+@smallexample
+AX_SET_DEFAULT_PATHS_SYSTEM
+@end smallexample
+
+@majorheading Description
+
+the most interesting changes go about windows-targets - where the
+default_prefix is set to /programs, and quite some directories are
+aliased: sbindir := libdir := bindir and the docprefix-defaults are also
+a bit different, even on FHS2-compliant systems where the mandir is
+going to $prefix/man only if prefix=/usr, otherwise they shall go to
+$datadir/man. We use an extra docprefix to express it which is either
+defined as being prefix or datadir. not SUBSTed here.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_set_default_paths_system.m4,latest
+version of @file{ax_set_default_paths_system.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_set_default_paths_system.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_short_sleep
+@unnumberedsec ax_short_sleep
+
+@majorheading Synopsis
+
+@smallexample
+AX_SHORT_SLEEP
+@end smallexample
+
+@majorheading Description
+
+This macro searches for a "sleep" function that has 1/1000 of a second
+accuracy. On some systems, this is known as nap() and on others usleep()
+/ 1000. There are probably other functions like this defined in other
+system libraries, but we don't know how to search for them yet.
+Contributions joyously accepted. :)
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_short_sleep.m4,latest
+version of @file{ax_short_sleep.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_short_sleep.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Warren Young @email{warren@@etr-usa.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_silent_mode
+@unnumberedsec ax_silent_mode
+
+@majorheading Synopsis
+
+@smallexample
+AX_SILENT_MODE(on|off)
+@end smallexample
+
+@majorheading Description
+
+Temporarily disable console output when running Autoconf macros. For
+example:
+
+@smallexample
+ AX_SILENT_MODE(on) dnl disable console output
+ AC_PROG_CXX
+ AX_SILENT_MODE(off) dnl enable console output
+ AC_PROG_RANLIB
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_silent_mode.m4,latest
+version of @file{ax_silent_mode.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_silent_mode.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Peter Simons @email{simons@@cryp.to}} @* @w{Copyright @copyright{} 2008 Paolo Bonzini @email{bonzini@@gnu.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_sip_devel
+@unnumberedsec ax_sip_devel
+
+@majorheading Synopsis
+
+@smallexample
+AX_SIP_DEVEL([<min_version>])
+@end smallexample
+
+@majorheading Description
+
+Searches for the sip executable and the sip include path. The sip
+include path consists of two components, one which contains the file
+qt/qtmod.sip and the other one the path to sip.h, which should be found
+in the include/pythonX.Y directory.
+
+The macro bails out if the executable or the file cannot be located.
+Otherwise it defines:
+
+@smallexample
+ SIP the path to the sip executable
+ SIP_CPPFLAGS include path: -I<path-to-qt/qtmod.sip> -I<path-to-sip.h-dir>
+@end smallexample
+
+Example:
+
+@smallexample
+ AX_SIP_DEVEL
+ AX_SIP_DEVEL([4.1])
+@end smallexample
+
+Requires: perl (for version string comparison)
+
+FIXME: Use AX_COMPARE_VERSION instead.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sip_devel.m4,latest
+version of @file{ax_sip_devel.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sip_devel.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Uwe Mayer @email{merkosh@@hadiko.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_spec_file
+@unnumberedsec ax_spec_file
+
+@majorheading Synopsis
+
+@smallexample
+AX_SPEC_FILE [(rpmspecfile [,subdirpath])]
+@end smallexample
+
+@majorheading Description
+
+set the specfile - if no argument has been given then check whether the
+ac_unique_file looks like a .spec file and use it. This macro is
+ac_REQUIRED by many AX_SPEC_ routines.
+
+the AX_SPEC_EXTRACT macro is a helper used by many AX_SPEC_ routines and
+therefore placed here to be automatically included in the macro set of
+(older) aclocal/acinclude.
+
+AX_SPEC_EXTRACT(shellvar [,specvar [,defaultvalue]])
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_spec_file.m4,latest
+version of @file{ax_spec_file.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_spec_file.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_spec_package_version
+@unnumberedsec ax_spec_package_version
+
+@majorheading Synopsis
+
+@smallexample
+AX_SPEC_PACKAGE_AND_VERSION ([specfile])
+AX_SPEC_PACKAGE_NAME ([shellvar],[defaultvalue])
+AX_SPEC_PACKAGE_VERSION ([shellvar],[defaultvalue])
+AX_SPEC_PACKAGE_SUMMARY ([shellvar],[defaultvalue])
+AX_SPEC_PACKAGE_LICENSE ([shellvar],[defaultvalue])
+AX_SPEC_PACKAGE_CATEGORY ([shellvar],[defaultvalue])
+AX_SPEC_PACKAGE_ICON ([shellvar],[defaultvalue])
+AX_SPEC_DEFAULTS([specfile])
+@end smallexample
+
+@majorheading Description
+
+set PACKAGE from the given specfile - default to basename of the
+rpmspecfile if no "name:" could be found in the spec file.
+
+set VERSION from the given specfile - default to a date-derived value if
+no "version:" could be found in the spec file.
+
+this macro builds on top of AX_SPEC_FILE / AX_SPEC_EXTRACT
+
+more specific: if not "name:" or "%define name" was found in the
+myproject.spec file then the PACKAGE var is set to the basename
+"myproject". When no spec file was present then it will usually default
+to "TODO".
+
+The version spec looks for "version:" or "%define version" in the spec
+file. When no such value was seen or no spec file had been present then
+the value is set to `date +0.%y.%W%w`.
+
+the version value itself is sanitized somewhat with making it to always
+carry at least three digits (1.2.3) and cleansing superfluous "0" chars
+around from generating numbers elsewhere.
+
+additional macros are provided that extract a specific value from the
+spec file, among these:
+
+set PACKAGE_SUMMARY from the given specfile - default to package and try
+to detect a type suffix if "summary:" was not in the spec file
+
+set PACKAGE_LICENSE from the given specfile - if no "license:" tag was
+given in the spec file then various COPYING files are grepped to have a
+guess and the final fallback will be GNU GPL (or GNU LGPL).
+
+set PACKAGE_ICON from the given specfile - if no "icon:" tag was given
+in the spec file then we default to $PACKAGE-icon.png
+
+the final AX_SPEC_INIT(specfile) will initialize all variables to its
+defaults according to the spec file given.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_spec_package_version.m4,latest
+version of @file{ax_spec_package_version.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_spec_package_version.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_split_version
+@unnumberedsec ax_split_version
+
+@majorheading Synopsis
+
+@smallexample
+AX_SPLIT_VERSION
+@end smallexample
+
+@majorheading Description
+
+Splits a version number in the format MAJOR.MINOR.POINT into its
+separate components.
+
+Sets the variables.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_split_version.m4,latest
+version of @file{ax_split_version.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_split_version.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Tom Howard @email{tomhoward@@users.sf.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_string_strcasecmp
+@unnumberedsec ax_string_strcasecmp
+
+@majorheading Synopsis
+
+@smallexample
+AX_STRING_STRCASECMP
+@end smallexample
+
+@majorheading Description
+
+This macro tries to find strcasecmp() in string.h.
+
+Use this macro in conjunction with AX_STRINGS_STRCASECMP in your
+configure.in like so:
+
+@smallexample
+ AX_STRING_STRCASECMP
+ if test x"$ac_cv_string_strcasecmp" = "xno" ; then
+ AX_STRINGS_STRCASECMP
+ fi
+@end smallexample
+
+This will cause either HAVE_STRING_STRCASECMP or HAVE_STRINGS_STRCASECMP
+to be defined in config.h, which will tell your code what header to
+include to get strcasecmp()'s prototype.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_string_strcasecmp.m4,latest
+version of @file{ax_string_strcasecmp.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_string_strcasecmp.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Warren Young @email{warren@@etr-usa.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_strings_strcasecmp
+@unnumberedsec ax_strings_strcasecmp
+
+@majorheading Synopsis
+
+@smallexample
+AX_STRINGS_STRCASECMP
+@end smallexample
+
+@majorheading Description
+
+This macro tries to find strcasecmp() in strings.h. See the
+AX_STRING_STRCASECMP macro's commentary for usage details.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_strings_strcasecmp.m4,latest
+version of @file{ax_strings_strcasecmp.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_strings_strcasecmp.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Warren Young @email{warren@@etr-usa.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_struct_semun
+@unnumberedsec ax_struct_semun
+
+@majorheading Synopsis
+
+@smallexample
+AX_STRUCT_SEMUN
+@end smallexample
+
+@majorheading Description
+
+This macro checks to see if sys/sem.h defines struct semun. Some systems
+do, some systems don't. Your code must be able to deal with this
+possibility; if HAVE_STRUCT_SEMUM isn't defined for a given system, you
+have to define this structure before you can call functions like
+semctl().
+
+You should call AX_SYSV_IPC before this macro, to separate the check for
+System V IPC headers from the check for struct semun.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_struct_semun.m4,latest
+version of @file{ax_struct_semun.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_struct_semun.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Warren Young @email{warren@@etr-usa.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_subdir_files
+@unnumberedsec ax_subdir_files
+
+@majorheading Synopsis
+
+@smallexample
+AX_SUBDIR_FILES [(SUBDIRS [, CASEPATTERN])]
+@end smallexample
+
+@majorheading Description
+
+Look into subdirs and copy the (real) files that match pattern into the
+local directory. Preferably we use a symbolic link of course. existing
+local files are not overwritten.
+
+The default casepattern is "*.?|*.cc|*.cpp", the default subdir-list
+contains all subdirs available.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_subdir_files.m4,latest
+version of @file{ax_subdir_files.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_subdir_files.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_subdirs_configure
+@unnumberedsec ax_subdirs_configure
+
+@majorheading Synopsis
+
+@smallexample
+AX_SUBDIRS_CONFIGURE( [subdirs], [mandatory arguments], [possibly merged arguments], [replacement arguments], [forbidden arguments])
+@end smallexample
+
+@majorheading Description
+
+AX_SUBDIRS_CONFIGURE attempts to be the equivalent of AC_CONFIG_SUBDIRS
+with customizable options for configure scripts.
+
+Run the configure script for each directory from the comma-separated m4
+list 'subdirs'. This macro can be used multiple times. All arguments of
+this macro must be comma-separated lists.
+
+All command line arguments from the parent configure script will be
+given to the subdirectory configure script after the following
+modifications (in that order):
+
+1. The arguments from the 'mandatory arguments' list shall always be
+appended to the argument list.
+
+2. The arguments from the 'possibly merged arguments' list shall be
+added if not present in the arguments of the parent configure script or
+merged with the existing argument otherwise.
+
+3. The arguments from the 'replacement arguments' list shall be added if
+not present in the arguments of the parent configure script or replace
+the existing argument otherwise.
+
+4. The arguments from the 'forbidden arguments' list shall always be
+removed from the argument list.
+
+The lists 'mandatory arguments' and 'forbidden arguments' can hold any
+kind of argument. The 'possibly merged arguments' and 'replacement
+arguments' expect their arguments to be of the form --option-name=value.
+
+This macro aims to remain as close as possible to the AC_CONFIG_SUBDIRS
+macro. It corrects the paths for '--srcdir' and adds
+'--disable-option-checking' and '--silent' if necessary. However, it
+does not change the '--cache-file' argument: typically, configure
+scripts run with different arguments will not be able to share the same
+cache. If you wish to share a single cache, you should give an absolute
+path to '--cache-file'.
+
+This macro also sets the output variable subdirs_extra to the list of
+directories recorded with AX_SUBDIRS_CONFIGURE. This variable can be
+used in Makefile rules or substituted in configured files.
+
+This macro shall do nothing more than managing the arguments of the
+configure script. Just like when using AC_CONFIG_SUBDIRS, it is up to
+the user to check any requirements or define and substitute any required
+variable for the remainder of the project.
+
+Configure scripts recorded with AX_SUBDIRS_CONFIGURE may be executed
+before configure scripts recorded with AC_CONFIG_SUBDIRS.
+
+Without additional arguments, the behaviour of AX_SUBDIRS_CONFIGURE
+should be identical to the behaviour of AC_CONFIG_SUBDIRS, apart from
+the contents of the variables subdirs and subdirs_extra (except that
+AX_SUBDIRS_CONFIGURE expects a comma-separated m4 list):
+
+@smallexample
+ AC_CONFIG_SUBDIRS([something])
+ AX_SUBDIRS_CONFIGURE([something])
+@end smallexample
+
+This macro may be called multiple times.
+
+Usage example:
+
+Let us assume our project has 4 dependencies, namely A, B, C and D. Here
+are some characteristics of our project and its dependencies:
+
+- A does not require any special option.
+
+- we want to build B with an optional feature which can be enabled with
+its configure script's option '--enable-special-feature'.
+
+- B's configure script is strange and has an option '--with-B=build'.
+After close inspection of its documentation, we don't want B to receive
+this option.
+
+- C and D both need B.
+
+- Just like our project, C and D can build B themselves with the option
+'--with-B=build'.
+
+- We want C and D to use the B we build instead of building it
+themselves.
+
+Our top-level configure script will be called as follows:
+
+@smallexample
+ $ <path/to/configure> --with-A=build --with-B=build --with-C=build \
+ --with-D=build --some-option
+@end smallexample
+
+Thus we have to make sure that:
+
+- neither B, C or D receive the option '--with-B=build'
+
+- C and D know where to find the headers and libraries of B.
+
+Under those conditions, we can use the AC_CONFIG_SUBDIRS macro for A,
+but need to use AX_SUBDIRS_CONFIGURE for B, C and D:
+
+- B must receive '--enable-special-feature' but cannot receive
+'--with-B=build'
+
+- C and D cannot receive '--with-B=build' (or else it would be built
+thrice) and need to be told where to find B (since we are building it,
+it would probably not be available in standard paths).
+
+Here is a configure.ac snippet that solves our problem:
+
+@smallexample
+ AC_CONFIG_SUBDIRS([dependencies/A])
+ AX_SUBDIRS_CONFIGURE(
+ [dependencies/B], [--enable-special-feature], [], [],
+ [--with-B=build])
+ AX_SUBDIRS_CONFIGURE(
+ [[dependencies/C],[dependencies/D]],
+ [],
+ [[CPPFLAGS=-I$@{ac_top_srcdir@}/dependencies/B -I$@{ac_top_builddir@}/dependencies/B],
+ [LDFLAGS=-L$@{ac_abs_top_builddir@}/dependencies/B/.libs]],
+ [--with-B=system],
+ [])
+@end smallexample
+
+If using automake, the following can be added to the Makefile.am (we use
+both $(subdirs) and $(subdirs_extra) since our example above used both
+AC_CONFIG_SUBDIRS and AX_SUBDIRS_CONFIGURE):
+
+@smallexample
+ SUBDIRS = $(subdirs) $(subdirs_extra)
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_subdirs_configure.m4,latest
+version of @file{ax_subdirs_configure.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_subdirs_configure.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2017 Harenome Ranaivoarivony-Razanajato @email{ranaivoarivony-razanajato@@hareno.me}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+Under Section 7 of GPL version 3, you are granted additional permissions
+described in the Autoconf Configure Script Exception, version 3.0, as
+published by the Free Software Foundation.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
--- /dev/null
+@node ax_subst_with
+@unnumberedsec ax_subst_with
+
+@majorheading Synopsis
+
+@smallexample
+AX_SUBST_WITH([varname])
+@end smallexample
+
+@majorheading Description
+
+a very simple macro but also very helpful - the varname is usually the
+one from an AC_ARG_ENABLE or AC_ARG_WITH option. it is transliterated
+into uppercase and a prefix WITH_ and WITHOUT_ that are both _SUBSTed.
+
+Only one of these is set to "#" while the other is empty. In other words
+a call like AC_WITHNONE(enable-call) will create two SUBST-symbols as
+WITH_ENABLE_CALL and WITHOUT_ENABLE_CALL. When the varname had been set
+to something not "no" or "0" or ":" or "false" then it results in
+
+@smallexample
+ WITH_ENABLE_CALL="" ; WITHOUT_ENABLE_CALL="#"
+@end smallexample
+
+which you can use in your Makefile quite easily as if using an
+AM_CONDITIONAL but which can be also parsed by normal make
+
+USE = @@WITH_ENABLE_CALL@@ -Denabled USE = @@WITHOUT_ENABLE_CALL@@
+-Dnot_enabled
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_subst_with.m4,latest
+version of @file{ax_subst_with.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_subst_with.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_swig_enable_cxx
+@unnumberedsec ax_swig_enable_cxx
+
+@majorheading Synopsis
+
+@smallexample
+AX_SWIG_ENABLE_CXX
+@end smallexample
+
+@majorheading Description
+
+Enable SWIG C++ support. This affects all invocations of $(SWIG).
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_swig_enable_cxx.m4,latest
+version of @file{ax_swig_enable_cxx.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_swig_enable_cxx.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Sebastian Huber @email{sebastian-huber@@web.de}} @* @w{Copyright @copyright{} 2008 Alan W. Irwin} @* @w{Copyright @copyright{} 2008 Rafael Laboissiere @email{rafael@@laboissiere.net}} @* @w{Copyright @copyright{} 2008 Andrew Collier}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_swig_multi_module_support
+@unnumberedsec ax_swig_multi_module_support
+
+@majorheading Synopsis
+
+@smallexample
+AX_SWIG_MULTI_MODULE_SUPPORT
+@end smallexample
+
+@majorheading Description
+
+Enable support for multiple modules. This effects all invocations of
+$(SWIG). You have to link all generated modules against the appropriate
+SWIG runtime library. If you want to build Python modules for example,
+use the AX_SWIG_PYTHON macro and link the modules against
+$(AX_SWIG_PYTHON_LIBS).
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_swig_multi_module_support.m4,latest
+version of @file{ax_swig_multi_module_support.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_swig_multi_module_support.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Sebastian Huber @email{sebastian-huber@@web.de}} @* @w{Copyright @copyright{} 2008 Alan W. Irwin} @* @w{Copyright @copyright{} 2008 Rafael Laboissiere @email{rafael@@laboissiere.net}} @* @w{Copyright @copyright{} 2008 Andrew Collier}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_swig_python
+@unnumberedsec ax_swig_python
+
+@majorheading Synopsis
+
+@smallexample
+AX_SWIG_PYTHON([use-shadow-classes = @{no, yes@}])
+@end smallexample
+
+@majorheading Description
+
+Checks for Python and provides the $(AX_SWIG_PYTHON_CPPFLAGS), and
+$(AX_SWIG_PYTHON_OPT) output variables.
+
+$(AX_SWIG_PYTHON_OPT) contains all necessary SWIG options to generate
+code for Python. Shadow classes are enabled unless the value of the
+optional first argument is exactly 'no'. If you need multi module
+support (provided by the AX_SWIG_MULTI_MODULE_SUPPORT macro) use
+$(AX_SWIG_PYTHON_LIBS) to link against the appropriate library. It
+contains the SWIG Python runtime library that is needed by the type
+check system for example.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_swig_python.m4,latest
+version of @file{ax_swig_python.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_swig_python.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Sebastian Huber @email{sebastian-huber@@web.de}} @* @w{Copyright @copyright{} 2008 Alan W. Irwin} @* @w{Copyright @copyright{} 2008 Rafael Laboissiere @email{rafael@@laboissiere.net}} @* @w{Copyright @copyright{} 2008 Andrew Collier}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_switch_flags
+@unnumberedsec ax_switch_flags
+
+@majorheading Synopsis
+
+@smallexample
+AX_SWITCH_FLAGS(newnamespace,[oldnamespace])
+@end smallexample
+
+@majorheading Description
+
+Switch common compilation flags from temporary variables between two
+compilation namespace.
+
+Compilation flags includes: CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS, LIBS,
+OBJCFLAGS.
+
+By default these flags are restored to a global (empty) namespace, but
+user could restore from specific NAMESPACE by using
+AX_RESTORE_FLAGS(NAMESPACE) macro.
+
+Typical usage is like:
+
+@smallexample
+ AX_SAVE_FLAGS(beginprogram)
+ CPPFLAGS="-Imypackagespath $@{CPPFLAGS@}"
+ AX_SWITCH_FLAGS(mypackage,beginprogram)
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_switch_flags.m4,latest
+version of @file{ax_switch_flags.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_switch_flags.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Filippo Giunchedi @email{filippo@@esaurito.net}} @* @w{Copyright @copyright{} 2011 The Board of Trustees of the Leland Stanford Junior University} @* @w{Copyright @copyright{} 2011 Russ Allbery @email{rra@@stanford.edu}} @* @w{Copyright @copyright{} 2013 Bastien ROUCARIES @email{roucaries.bastien+autoconf@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_sys_dev_poll
+@unnumberedsec ax_sys_dev_poll
+
+@majorheading Synopsis
+
+@smallexample
+AX_SYS_DEV_POLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+This macro tests for the presence of /dev/poll support in the build
+environment. It checks that the needed structure (dvpoll) is available,
+with the standard fields. /dev/poll is most often seen under Solaris.
+
+Note that it does not attempt to actually open /dev/poll -- you should
+test for errors when you open it and then fall back to poll() if it is
+unavailable.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_dev_poll.m4,latest
+version of @file{ax_sys_dev_poll.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_dev_poll.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Dave Benson @email{daveb@@ffem.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_sys_largefile_sensitive
+@unnumberedsec ax_sys_largefile_sensitive
+
+@majorheading Synopsis
+
+@smallexample
+AX_SYS_LARGEFILE_SENSITIVE
+@end smallexample
+
+@majorheading Description
+
+Check whether the current system is sensitive to -Ddefines making off_t
+having different types/sizes. Automatically define a config.h symbol
+LARGEFILE_SENSITIVE if that is the case, otherwise leave everything as
+is.
+
+This macro builds on top of AC_SYS_LARGEFILE to detect whether special
+options are needed to make the code use 64bit off_t - in many setups
+this will also make the code use 64bit off_t immediately.
+
+The common use of a LARGEFILE_SENSITIVE config.h-define is to rename
+exported functions, usually adding a 64 to the original function name.
+Such renamings are only needed on systems being both (a) 32bit off_t by
+default and (b) implementing large.file extensions (as for unix98).
+
+a renaming section could look like this:
+
+@smallexample
+ #if defined LARGEFILE_SENSITIVE && _FILE_OFFSET_BITS+0 == 64
+ #define zzip_open zzip_open64
+ #define zzip_seek zzip_seek64
+ #endif
+@end smallexample
+
+for libraries, it is best to take advantage of the prefix-config.h
+macro, otherwise you want to export a renamed LARGEFILE_SENSITIVE in an
+installed header file. -> see AX_PREFIX_CONFIG_H
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_largefile_sensitive.m4,latest
+version of @file{ax_sys_largefile_sensitive.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_largefile_sensitive.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_sys_perlsharpbang
+@unnumberedsec ax_sys_perlsharpbang
+
+@majorheading Synopsis
+
+@smallexample
+AX_SYS_PERLSHARPBANG
+@end smallexample
+
+@majorheading Description
+
+Determine how the perl interpreter is located by the OS kernel and make
+substitution variable PERL_SHEBANG available. Does AC_PATH_PROG to find
+the path to perl. As a side-effect, that sets PERLINTERP and makes it
+available as a substitution variable.
+
+Note: The macro allows for the possibility (expected to be seldom used)
+of an explicit user override (the "user" being the operator executing
+the final 'configure' script, in this context) by making the option
+argument like:
+
+@smallexample
+ --with-perl-shebang='#! /my/funky/perlpath' # OR
+ --with-perl-shebang='/my/funky/perlpath' # we just throw away the #! anyway
+ # bec it must be absent in Makefile
+@end smallexample
+
+Rationale: The are various ways of starting an interpreter on different
+*nix-like systems. Many use the simple
+
+@smallexample
+ #!/usr/bin/perl
+@end smallexample
+
+but it could be instead
+
+@smallexample
+ #!/usr/local/bin/perl
+@end smallexample
+
+and there is even the possibility that the user wants
+
+@smallexample
+ #!/usr/bin/env perl
+@end smallexample
+
+to find whichever perl comes first in the current $PATH. This is
+preferred by some of us because we run multiple perl installations on
+the same box. Adjusting our $PATH then allows us to set precedence over
+other perls, even whatever the "house" version is.
+
+Users on very non-unix systems like MS Windows do not have a kernel that
+does this kind of thing from the first line of script files, but instead
+the perl on their machine is started and merely notices whatever comes
+after the interpreter path on this first line of the script (options
+like "-w").
+
+Acknowledgement: this macro was in part inspired by Dean Povey's
+AC_PROG_PERL_VERSION.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_perlsharpbang.m4,latest
+version of @file{ax_sys_perlsharpbang.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_perlsharpbang.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Soren Andersen @email{somian@@pobox.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_sys_weak_alias
+@unnumberedsec ax_sys_weak_alias
+
+@majorheading Synopsis
+
+@smallexample
+AX_SYS_WEAK_ALIAS
+@end smallexample
+
+@majorheading Description
+
+Determines whether weak aliases are supported on the system, and if so,
+what scheme is used to declare them. Also checks to see if aliases can
+cross object file boundaries, as some systems don't permit them to.
+
+Most systems permit something called a "weak alias" or "weak symbol."
+These aliases permit a library to provide a stub form of a routine
+defined in another library, thus allowing the first library to operate
+even if the other library is not linked. This macro will check for
+support of weak aliases, figure out what schemes are available, and
+determine some characteristics of the weak alias support -- primarily,
+whether a weak alias declared in one object file may be referenced from
+another object file.
+
+There are four known schemes of declaring weak symbols; each scheme is
+checked in turn, and the first one found is preferred. Note that only
+one of the mentioned preprocessor macros will be defined!
+
+1. Function attributes
+
+This scheme was first introduced by the GNU C compiler, and attaches
+attributes to particular functions. It is among the easiest to use, and
+so is the first one checked. If this scheme is detected, the
+preprocessor macro HAVE_SYS_WEAK_ALIAS_ATTRIBUTE will be defined to 1.
+This scheme is used as in the following code fragment:
+
+@smallexample
+ void __weakf(int c)
+ @{
+ /* Function definition... */
+ @}
+@end smallexample
+
+@smallexample
+ void weakf(int c) __attribute__((weak, alias("__weakf")));
+@end smallexample
+
+2. #pragma weak
+
+This scheme is in use by many compilers other than the GNU C compiler.
+It is also particularly easy to use, and fairly portable -- well, as
+portable as these things get. If this scheme is detected first, the
+preprocessor macro HAVE_SYS_WEAK_ALIAS_PRAGMA will be defined to 1. This
+scheme is used as in the following code fragment:
+
+@smallexample
+ extern void weakf(int c);
+ #pragma weak weakf = __weakf
+ void __weakf(int c)
+ @{
+ /* Function definition... */
+ @}
+@end smallexample
+
+3. #pragma _HP_SECONDARY_DEF
+
+This scheme appears to be in use by the HP compiler. As it is rather
+specialized, this is one of the last schemes checked. If it is the first
+one detected, the preprocessor macro HAVE_SYS_WEAK_ALIAS_HPSECONDARY
+will be defined to 1. This scheme is used as in the following code
+fragment:
+
+@smallexample
+ extern void weakf(int c);
+ #pragma _HP_SECONDARY_DEF __weakf weakf
+ void __weakf(int c)
+ @{
+ /* Function definition... */
+ @}
+@end smallexample
+
+4. #pragma _CRI duplicate
+
+This scheme appears to be in use by the Cray compiler. As it is rather
+specialized, it too is one of the last schemes checked. If it is the
+first one detected, the preprocessor macro
+HAVE_SYS_WEAK_ALIAS_CRIDUPLICATE will be defined to 1. This scheme is
+used as in the following code fragment:
+
+@smallexample
+ extern void weakf(int c);
+ #pragma _CRI duplicate weakf as __weakf
+ void __weakf(int c)
+ @{
+ /* Function definition... */
+ @}
+@end smallexample
+
+In addition to the preprocessor macros listed above, if any scheme is
+found, the preprocessor macro HAVE_SYS_WEAK_ALIAS will also be defined
+to 1.
+
+Once a weak aliasing scheme has been found, a check will be performed to
+see if weak aliases are honored across object file boundaries. If they
+are, the HAVE_SYS_WEAK_ALIAS_CROSSFILE preprocessor macro is defined to
+1.
+
+This Autoconf macro also makes two substitutions. The first, WEAK_ALIAS,
+contains the name of the scheme found (one of "attribute", "pragma",
+"hpsecondary", or "criduplicate"), or "no" if no weak aliasing scheme
+was found. The second, WEAK_ALIAS_CROSSFILE, is set to "yes" or "no"
+depending on whether or not weak aliases may cross object file
+boundaries.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_weak_alias.m4,latest
+version of @file{ax_sys_weak_alias.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_weak_alias.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Kevin L. Mitchell @email{klmitch@@mit.edu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_sysv_ipc
+@unnumberedsec ax_sysv_ipc
+
+@majorheading Synopsis
+
+@smallexample
+AX_SYSV_IPC
+@end smallexample
+
+@majorheading Description
+
+This macro checks for the SysV IPC header files. It only checks that you
+can compile a program with them, not whether the system actually
+implements working SysV IPC.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sysv_ipc.m4,latest
+version of @file{ax_sysv_ipc.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sysv_ipc.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Warren Young @email{warren@@etr-usa.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_tls
+@unnumberedsec ax_tls
+
+@majorheading Synopsis
+
+@smallexample
+AX_TLS([action-if-found], [action-if-not-found])
+@end smallexample
+
+@majorheading Description
+
+Provides a test for the compiler support of thread local storage (TLS)
+extensions. Defines TLS if it is found. Currently knows about C++11,
+GCC/ICC, and MSVC. I think SunPro uses the same as GCC, and Borland
+apparently supports either.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_tls.m4,latest
+version of @file{ax_tls.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_tls.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Alan Woodland @email{ajw05@@aber.ac.uk}} @* @w{Copyright @copyright{} 2010 Diego Elio Petteno` @email{flameeyes@@gmail.com}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_trilinos_amesos
+@unnumberedsec ax_trilinos_amesos
+
+@majorheading Synopsis
+
+@smallexample
+AX_TRILINOS_AMESOS([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+On success, adds "include Makefile.export.amesos" statements to every
+Automake file containing @@INC_AMINCLUDE@@. Requires that Trilinos was
+configured with the --enable-export-makefiles option. When
+ACTION-IF-NOT-FOUND is not specified, the default behavior is for
+configure to fail.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_amesos.m4,latest
+version of @file{ax_trilinos_amesos.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_amesos.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Rhys Ulerich @email{rhys.ulerich@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_trilinos_base
+@unnumberedsec ax_trilinos_base
+
+@majorheading Synopsis
+
+@smallexample
+AX_TRILINOS_BASE([, MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
+@end smallexample
+
+@majorheading Description
+
+Test for the Trilinos (http://trilinos.sandia.gov/) libraries.
+
+Provides a --with-trilinos=DIR option. Searches --with-trilinos,
+$TRILINOS_HOME, and the usual places for Trilinos installation headers.
+
+Requires that a development branch or released version greater than
+MINIMUM-VERSION be found. If not specified, the default minimum version
+is 8.0.0.
+
+Supports separately specifying --with-trilinos-include or
+--with-trilinos-libdir to override default locations underneath either
+--with-trilinos or $TRILINOS_HOME.
+
+On success, adds -Ipath to CPPFLAGS, -Lpath to LDFLAGS, sets the
+variable TRILINOS_INCLUDE based on the discovered location of
+Trilinos_version.h, and #defines HAVE_TRILINOS. When ACTION-IF-NOT-FOUND
+is not specified, the default behavior is for configure to fail.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_base.m4,latest
+version of @file{ax_trilinos_base.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_base.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Rhys Ulerich @email{rhys.ulerich@@gmail.com}} @* @w{Copyright @copyright{} 2009 Thomas Porschberg @email{thomas@@randspringer.de}} @* @w{Copyright @copyright{} 2009 Caolan McNamara @email{caolan@@skynet.ie}} @* @w{Copyright @copyright{} 2009 Alexandre Duret-Lutz @email{adl@@gnu.org}} @* @w{Copyright @copyright{} 2009 Matthew Mueller @email{donut@@azstarnet.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_trilinos_epetra
+@unnumberedsec ax_trilinos_epetra
+
+@majorheading Synopsis
+
+@smallexample
+AX_TRILINOS_EPETRA([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+On success, adds "include Makefile.export.epetra" statements to every
+Automake file containing @@INC_AMINCLUDE@@. Requires that Trilinos was
+configured with the --enable-export-makefiles option. When
+ACTION-IF-NOT-FOUND is not specified, the default behavior is for
+configure to fail.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_epetra.m4,latest
+version of @file{ax_trilinos_epetra.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_epetra.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Rhys Ulerich @email{rhys.ulerich@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_trilinos_epetraext
+@unnumberedsec ax_trilinos_epetraext
+
+@majorheading Synopsis
+
+@smallexample
+AX_TRILINOS_EPETRAEXT([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+On success, adds "include Makefile.export.epetraext" statements to every
+Automake file containing @@INC_AMINCLUDE@@. Requires that Trilinos was
+configured with the --enable-export-makefiles option. When
+ACTION-IF-NOT-FOUND is not specified, the default behavior is for
+configure to fail.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_epetraext.m4,latest
+version of @file{ax_trilinos_epetraext.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_epetraext.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Rhys Ulerich @email{rhys.ulerich@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_trilinos_epetraext_hdf5
+@unnumberedsec ax_trilinos_epetraext_hdf5
+
+@majorheading Synopsis
+
+@smallexample
+AX_TRILINOS_EPETRAEXT_HDF5([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+Checks if EpetraExt was compiled with HDF5 support
+(--enable-epetraext-hdf5) enabled. When ACTION-IF-NOT-FOUND is not
+specified, the default behavior is for configure to fail.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_epetraext_hdf5.m4,latest
+version of @file{ax_trilinos_epetraext_hdf5.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_epetraext_hdf5.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Rhys Ulerich @email{rhys.ulerich@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_trilinos_rtop
+@unnumberedsec ax_trilinos_rtop
+
+@majorheading Synopsis
+
+@smallexample
+AX_TRILINOS_RTOP([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+On success, adds "include Makefile.export.rtop" statements to every
+Automake file containing @@INC_AMINCLUDE@@. Requires that Trilinos was
+configured with the --enable-export-makefiles option. When
+ACTION-IF-NOT-FOUND is not specified, the default behavior is for
+configure to fail.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_rtop.m4,latest
+version of @file{ax_trilinos_rtop.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_rtop.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Rhys Ulerich @email{rhys.ulerich@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_trilinos_rythmos
+@unnumberedsec ax_trilinos_rythmos
+
+@majorheading Synopsis
+
+@smallexample
+AX_TRILINOS_RYTHMOS([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+On success, adds "include Makefile.export.rythmos" statements to every
+Automake file containing @@INC_AMINCLUDE@@. Requires that Trilinos was
+configured with the --enable-export-makefiles option. When
+ACTION-IF-NOT-FOUND is not specified, the default behavior is for
+configure to fail.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_rythmos.m4,latest
+version of @file{ax_trilinos_rythmos.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_rythmos.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Rhys Ulerich @email{rhys.ulerich@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_trilinos_teuchos
+@unnumberedsec ax_trilinos_teuchos
+
+@majorheading Synopsis
+
+@smallexample
+AX_TRILINOS_TEUCHOS([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+On success, adds "include Makefile.export.teuchos" statements to every
+Automake file containing @@INC_AMINCLUDE@@. Requires that Trilinos was
+configured with the --enable-export-makefiles option.
+
+When ACTION-IF-NOT-FOUND is not specified, the default behavior is for
+configure to fail.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_teuchos.m4,latest
+version of @file{ax_trilinos_teuchos.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_teuchos.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Rhys Ulerich @email{rhys.ulerich@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_trilinos_thyra
+@unnumberedsec ax_trilinos_thyra
+
+@majorheading Synopsis
+
+@smallexample
+AX_TRILINOS_THYRA([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+On success, adds "include Makefile.export.thyra" statements to every
+Automake file containing @@INC_AMINCLUDE@@. Requires that Trilinos was
+configured with the --enable-export-makefiles option. When
+ACTION-IF-NOT-FOUND is not specified, the default behavior is for
+configure to fail.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_thyra.m4,latest
+version of @file{ax_trilinos_thyra.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_thyra.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Rhys Ulerich @email{rhys.ulerich@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_trilinos_thyra_epetra
+@unnumberedsec ax_trilinos_thyra_epetra
+
+@majorheading Synopsis
+
+@smallexample
+AX_TRILINOS_THYRA_EPETRA([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+Checks if the Thyra/Epetra adapters were compiled with Trilinos. When
+ACTION-IF-NOT-FOUND is not specified, the default behavior is for
+configure to fail.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_thyra_epetra.m4,latest
+version of @file{ax_trilinos_thyra_epetra.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_thyra_epetra.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Rhys Ulerich @email{rhys.ulerich@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_trilinos_thyra_epetraext
+@unnumberedsec ax_trilinos_thyra_epetraext
+
+@majorheading Synopsis
+
+@smallexample
+AX_TRILINOS_THYRA_EPETRAEXT([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
+@end smallexample
+
+@majorheading Description
+
+Checks if the Thyra/EpetraExt adapters were compiled with Trilinos. When
+ACTION-IF-NOT-FOUND is not specified, the default behavior is for
+configure to fail.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_thyra_epetraext.m4,latest
+version of @file{ax_trilinos_thyra_epetraext.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_thyra_epetraext.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Rhys Ulerich @email{rhys.ulerich@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_try_awk_anyout
+@unnumberedsec ax_try_awk_anyout
+
+@majorheading Synopsis
+
+@smallexample
+AX_TRY_AWK_ANYOUT(NAME,TEST-INPUT,TEST-BODY,[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Run a test using the awk program found on AWK variable. The test being
+run has TEST-BODY as body and is feeded with TEST-INPUT. If successful
+execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_awk_anyout.m4,latest
+version of @file{ax_try_awk_anyout.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_awk_anyout.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_try_awk_expout
+@unnumberedsec ax_try_awk_expout
+
+@majorheading Synopsis
+
+@smallexample
+AX_TRY_AWK_EXPOUT(NAME,TEST-INPUT,TEST-BODY,EXPECTED-OUTPUT,[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
+@end smallexample
+
+@majorheading Description
+
+Run a test using the awk program found on AWK variable. The test being
+run has TEST-BODY as body and is feeded with TEST-INPUT. Check if the
+test gives the expected output. If successful execute ACTION-IF-SUCCESS
+otherwise ACTION-IF-FAILURE.
+
+This work is heavily based upon testawk.sh script by Heiner Steven. You
+should find his script (and related works) at
+<http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
+Alessandro Massignan for his suggestions and extensive nawk tests on
+FreeBSD.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_awk_expout.m4,latest
+version of @file{ax_try_awk_expout.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_awk_expout.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_try_compile_java
+@unnumberedsec ax_try_compile_java
+
+@majorheading Synopsis
+
+@smallexample
+AX_TRY_COMPILE_JAVA
+@end smallexample
+
+@majorheading Description
+
+AX_TRY_COMPILE_JAVA attempt to compile user given source.
+
+*Warning*: its success or failure can depend on a proper setting of the
+CLASSPATH env. variable.
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission. The
+general documentation, as well as the sample configure.in, is included
+in the AX_PROG_JAVA macro.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_compile_java.m4,latest
+version of @file{ax_try_compile_java.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_compile_java.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Devin Weaver @email{ktohg@@tritarget.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_try_run_java
+@unnumberedsec ax_try_run_java
+
+@majorheading Synopsis
+
+@smallexample
+AX_TRY_RUN_JAVA
+@end smallexample
+
+@majorheading Description
+
+AX_TRY_RUN_JAVA attempt to compile and run user given source.
+
+*Warning*: its success or failure can depend on a proper setting of the
+CLASSPATH env. variable.
+
+Note: This is part of the set of autoconf M4 macros for Java programs.
+It is VERY IMPORTANT that you download the whole set, some macros depend
+on other. Unfortunately, the autoconf archive does not support the
+concept of set of macros, so I had to break it for submission. The
+general documentation, as well as the sample configure.in, is included
+in the AX_PROG_JAVA macro.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_run_java.m4,latest
+version of @file{ax_try_run_java.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_run_java.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Devin Weaver @email{ktohg@@tritarget.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_type_socklen_t
+@unnumberedsec ax_type_socklen_t
+
+@majorheading Synopsis
+
+@smallexample
+AX_TYPE_SOCKLEN_T
+@end smallexample
+
+@majorheading Description
+
+Check whether sys/socket.h defines type socklen_t. Please note that some
+systems require sys/types.h to be included before sys/socket.h can be
+compiled.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_type_socklen_t.m4,latest
+version of @file{ax_type_socklen_t.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_type_socklen_t.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Lars Brinkhoff @email{lars@@nocrew.org}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_upload
+@unnumberedsec ax_upload
+
+@majorheading Synopsis
+
+@smallexample
+AX_UPLOAD([command])
+@end smallexample
+
+@majorheading Description
+
+Adds support for uploading dist files. %%s in the command will be
+substituted with the name of the file. e.g:
+
+@smallexample
+ AX_UPLOAD([ncftpput -v upload.sourceforge.net /incoming %%s])
+@end smallexample
+
+To add upload support for other custom dists add upload-<TYPE> to
+UPLOAD_BIN or UPLOAD_SRC, where <TYPE> is the type of dist that is being
+uploaded and add a mapping from <TYPE> to the dist file name in the
+format '@{<TYPE>=><FILENAME>@}' to UPLOAD_TARGETS. For example:
+
+@smallexample
+ UPLOAD_BIN += upload-foobar
+ UPLOAD_TARGETS += @{foobar=>@@PACKAGE@@-@@VERSION@@.fb@}
+@end smallexample
+
+You can then upload of the src distribution files by running:
+
+@smallexample
+ make upload-src
+@end smallexample
+
+all the binary distribution files by running:
+
+@smallexample
+ make upload-bin
+@end smallexample
+
+or both by running:
+
+@smallexample
+ make upload
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_upload.m4,latest
+version of @file{ax_upload.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_upload.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Tom Howard @email{tomhoward@@users.sf.net}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_valgrind_check
+@unnumberedsec ax_valgrind_check
+
+@majorheading Synopsis
+
+@smallexample
+AX_VALGRIND_DFLT(memcheck|helgrind|drd|sgcheck, on|off)
+AX_VALGRIND_CHECK()
+@end smallexample
+
+@majorheading Description
+
+AX_VALGRIND_CHECK checks whether Valgrind is present and, if so, allows
+running `make check` under a variety of Valgrind tools to check for
+memory and threading errors.
+
+Defines VALGRIND_CHECK_RULES which should be substituted in your
+Makefile; and $enable_valgrind which can be used in subsequent configure
+output. VALGRIND_ENABLED is defined and substituted, and corresponds to
+the value of the --enable-valgrind option, which defaults to being
+enabled if Valgrind is installed and disabled otherwise. Individual
+Valgrind tools can be disabled via --disable-valgrind-<tool>, the
+default is configurable via the AX_VALGRIND_DFLT command or is to use
+all commands not disabled via AX_VALGRIND_DFLT. All AX_VALGRIND_DFLT
+calls must be made before the call to AX_VALGRIND_CHECK.
+
+If unit tests are written using a shell script and automake's
+LOG_COMPILER system, the $(VALGRIND) variable can be used within the
+shell scripts to enable Valgrind, as described here:
+
+@smallexample
+ https://www.gnu.org/software/gnulib/manual/html_node/Running-self_002dtests-under-valgrind.html
+@end smallexample
+
+Usage example:
+
+configure.ac:
+
+@smallexample
+ AX_VALGRIND_DFLT([sgcheck], [off])
+ AX_VALGRIND_CHECK
+@end smallexample
+
+in each Makefile.am with tests:
+
+@smallexample
+ @@VALGRIND_CHECK_RULES@@
+ VALGRIND_SUPPRESSIONS_FILES = my-project.supp
+ EXTRA_DIST = my-project.supp
+@end smallexample
+
+This results in a "check-valgrind" rule being added. Running `make
+check-valgrind` in that directory will recursively run the module's test
+suite (`make check`) once for each of the available Valgrind tools (out
+of memcheck, helgrind and drd) while the sgcheck will be skipped unless
+enabled again on the commandline with --enable-valgrind-sgcheck. The
+results for each check will be output to test-suite-$toolname.log. The
+target will succeed if there are zero errors and fail otherwise.
+
+Alternatively, a "check-valgrind-$TOOL" rule will be added, for $TOOL in
+memcheck, helgrind, drd and sgcheck. These are useful because often only
+some of those tools can be ran cleanly on a codebase.
+
+The macro supports running with and without libtool.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_valgrind_check.m4,latest
+version of @file{ax_valgrind_check.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_valgrind_check.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2014, 2015, 2016 Philip Withnall @email{philip.withnall@@collabora.co.uk}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_var_pop
+@unnumberedsec ax_var_pop
+
+@majorheading Synopsis
+
+@smallexample
+AX_VAR_POPVALUE(VARIABLE)
+@end smallexample
+
+@majorheading Description
+
+Restores a variable's previous value. Compile, link and running tests
+usually require the programmer to provide additional flags. However, it
+is strongly recommended not to override flags defined by the user
+through the configure command. AX_VAR_PUSHVALUE and AX_VAR_POPVALUE are
+clean way to temporarily store a variable's value and restore it later,
+using a stack-like behaviour. This macro supports nesting.
+
+Example:
+
+@smallexample
+ AX_VAR_PUSHVALUE([CXXFLAGS],["my test flags"])
+ perform some checks with CXXFLAGS...
+ CXXFLAGS value will be "my test flags"
+ AX_VAR_POPVALUE([CXXFLAGS])
+ CXXFLAGS is restored to its original value
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_var_pop.m4,latest
+version of @file{ax_var_pop.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_var_pop.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2015 Jorge Bellon @email{jbelloncastro@@gmail.com}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_var_push
+@unnumberedsec ax_var_push
+
+@majorheading Synopsis
+
+@smallexample
+AX_VAR_PUSHVALUE(VARIABLE, [VALUE])
+@end smallexample
+
+@majorheading Description
+
+Stores a copy of variable_name's value and assigns it to 'value' If no
+value is given, its original value is kept. Compile, link and running
+tests usually require the programmer to provide additional flags.
+However, it is strongly recommended not to override flags defined by the
+user through the configure command. AX_VAR_PUSHVALUE and AX_VAR_POPVALUE
+are clean way to temporarily store a variable's value and restore it
+later, using a stack-like behaviour. This macro supports nesting.
+
+Example:
+
+@smallexample
+ AX_VAR_PUSHVALUE([CXXFLAGS],["my test flags"])
+ perform some checks with CXXFLAGS...
+ CXXFLAGS value will be "my test flags"
+ AX_VAR_POPVALUE([CXXFLAGS])
+ CXXFLAGS is restored to its original value
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_var_push.m4,latest
+version of @file{ax_var_push.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_var_push.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2015 Jorge Bellon @email{jbelloncastro@@gmail.com}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_var_timezone_externals
+@unnumberedsec ax_var_timezone_externals
+
+@majorheading Synopsis
+
+@smallexample
+AX_VAR_TIMEZONE_EXTERNALS
+@end smallexample
+
+@majorheading Description
+
+Use instead of `AC_STRUCT_TIMEZONE' to determine whether the external
+timezone variables `timezone', `altzone' and `daylight' exist, defining
+`HAVE_TIMEZONE', `HAVE_ALTZONE' and `HAVE_DAYLIGHT' respectively (as
+well as gaining the macros defined by `AC_STRUCT_TIMEZONE').
+
+Rewritten for Autoconf 2.68, and made robust against BSD's timezone()
+function, by Daniel Richard G.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_var_timezone_externals.m4,latest
+version of @file{ax_var_timezone_externals.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_var_timezone_externals.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Mark R. Bannister @email{markb@@freedomware.co.uk}} @* @w{Copyright @copyright{} 2011 Daniel Richard G. @email{skunk@@iSKUNK.ORG}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_very_nice
+@unnumberedsec ax_very_nice
+
+@majorheading Synopsis
+
+@smallexample
+AX_VERY_NICE
+@end smallexample
+
+@majorheading Description
+
+A macro to check the options of nice, in order to have a VERY_NICE
+variable which runs a program at the lowest priority VERY_NICE is
+undefined if we don't find the proper options, so you can safely use:
+
+@smallexample
+ @@VERY_NICE@@ mycommand
+@end smallexample
+
+in a shell script.
+
+The VERY_NICE variable includes the placeholder NICE_VALUE that you have
+to instantiate at run-time. If you give a argument to AX_VERY_NICE, it
+will be used as an argument of nice for testing and included in
+VERY_NICE instead of the above placeholder.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_very_nice.m4,latest
+version of @file{ax_very_nice.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_very_nice.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Stephane Bortzmeyer @email{bortzmeyer@@pasteur.fr}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_warning_default_aclocaldir
+@unnumberedsec ax_warning_default_aclocaldir
+
+@majorheading Synopsis
+
+@smallexample
+AX_WARNING_DEFAULT_ACLOCALDIR [(dirvariable [,[defsetting][,[A][,[N/A]]]])]
+AX_ENABLE_DEFAULT_ACLOCALDIR [(dirvariable [,defsetting])]
+@end smallexample
+
+@majorheading Description
+
+print a warning message if the $(datadir)/aclocal directory is not in
+the dirlist searched by the aclocal tool. This macro is useful if some
+`make install` would target $(datadir)/aclocal to install an autoconf m4
+file of your project to be picked up by other projects.
+
+@smallexample
+ default $1 dirvariable = aclocaldir
+ default $2 defsetting = $@{datadir@}/aclocal
+ default $3 action = nothing to do
+ default $4 action = warn the user about mismatch
+@end smallexample
+
+In the _WARNING_ variant, the defsetting is not placed in dirvariable
+nor is it ac_subst'ed in any way. The default fail-action $4 is to send
+a warning message to the user, and the default accept-action $3 is
+nothing. It is expected that a Makefile is generated with
+aclocaldir=$@{datadir@}/aclocal
+
+The _ENABLE_ variant however will set not only the $aclocaldir shell var
+of the script, but it is also AC-SUBST'ed on default - and furthermore a
+configure option "--enable-default-aclocaldir" is provided. Only if that
+option is set then $2 default is not set to the canonic default in the a
+$prefix subpath but instead $2 default is set to the primary path where
+`aclocal` looks for macros. The user may also override the default on
+the command line.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_warning_default_aclocaldir.m4,latest
+version of @file{ax_warning_default_aclocaldir.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_warning_default_aclocaldir.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_warning_default_pkgconfig
+@unnumberedsec ax_warning_default_pkgconfig
+
+@majorheading Synopsis
+
+@smallexample
+AX_WARNING_DEFAULT_PKGCONFIGDIR [(dirvariable [,[defsetting][,[A][,[N/A]]]])]
+AX_ENABLE_DEFAULT_PKGCONFIGDIR [(dirvariable [,defsetting])]
+@end smallexample
+
+@majorheading Description
+
+print a warning message if the $(datadir)/aclocal directory is not in
+the dirlist searched by the aclocal tool. This macro is useful if some
+`make install` would target $(datadir)/aclocal to install an autoconf m4
+file of your project to be picked up by other projects.
+
+@smallexample
+ default $1 dirvariable = pkgconfigdir
+ default $2 defsetting = $@{libdir@}/pkgconfig
+ default $3 action = nothing to do
+ default $4 action = warn the user about mismatch
+@end smallexample
+
+In the _WARNING_ variant, the defsetting is not placed in dirvariable
+nor is it ac_subst'ed in any way. The default fail-action $4 is to send
+a warning message to the user, and the default accept-action $3 is
+nothing. It is expected that a Makefile is generated with
+pkgconfigdir=$@{libdir@}/pkgconfig
+
+The _ENABLE_ variant however will set not only the $pkgconfigdir shell
+var of the script, but it is also AC-SUBST'ed on default - and
+furthermore a configure option "--enable-default-pkgconfigdir" is
+provided. Only if that option is set then $2 default is not set to the
+canonic default in the a $prefix subpath but instead $2 default is set
+to the primary path where `pkg-config` looks for .pc files. The user may
+also override the default on the command line.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_warning_default_pkgconfig.m4,latest
+version of @file{ax_warning_default_pkgconfig.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_warning_default_pkgconfig.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_wint_t
+@unnumberedsec ax_wint_t
+
+@majorheading Synopsis
+
+@smallexample
+AX_WINT_T
+@end smallexample
+
+@majorheading Description
+
+It turns out that MacOS X doesn't guarantee to provide the "wint_t" type
+unless you include the strange header <runetype.h> in addition to
+<wchar.h>. Consequently, the "do I have a system wint_t?" probe fails
+and an alternate gets used. Unfortunately, by the time the program gets
+built, one way or another that funny header winds up getting included
+and the "#define wint_t unsigned int" patch-up-hack mutilates the
+typedef. This macro will get it right.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_wint_t.m4,latest
+version of @file{ax_wint_t.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_wint_t.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Bruce Korb @email{bkorb@@gnu.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_with_apxs
+@unnumberedsec ax_with_apxs
+
+@majorheading Synopsis
+
+@smallexample
+AX_WITH_APXS([value-if-not-found], [path])
+@end smallexample
+
+@majorheading Description
+
+Locates an installed apxs binary, placing the result in the precious
+variable $APXS. Accepts a preset $APXS, then --with-apxs, and failing
+that searches for apxs in the given path (which defaults to the system
+path). If apxs is found, $APXS is set to the full path of the binary;
+otherwise it is set to VALUE-IF-NOT-FOUND, which defaults to apxs.
+
+Example:
+
+@smallexample
+ AX_WITH_APXS(missing)
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_apxs.m4,latest
+version of @file{ax_with_apxs.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_apxs.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Dustin J. Mitchell @email{dustin@@cs.uchicago.edu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_with_build_path
+@unnumberedsec ax_with_build_path
+
+@majorheading Synopsis
+
+@smallexample
+AX_WITH_BUILD_PATH
+@end smallexample
+
+@majorheading Description
+
+This macro adds a "--with-build-path" option to the configure script.
+This configure option provides a convenient way to add "-I" options to
+CPPFLAGS and "-L" options to LDFLAGS, at configure time.
+
+Invoking "./configure --with-build-path=DIR" results in "-I DIR/include"
+being added to CPPFLAGS if DIR/include exists, and "-L DIR/lib" being
+added to LDFLAGS if DIR/lib exists.
+
+Separate multiple directories using colons; e.g.
+"--with-build-path=DIR1:DIR2:DIR3".
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_build_path.m4,latest
+version of @file{ax_with_build_path.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_build_path.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Steve M. Robbins @email{smr@@debian.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_with_curses
+@unnumberedsec ax_with_curses
+
+@majorheading Synopsis
+
+@smallexample
+AX_WITH_CURSES
+@end smallexample
+
+@majorheading Description
+
+This macro checks whether a SysV or X/Open-compatible Curses library is
+present, along with the associated header file. The NcursesW
+(wide-character) library is searched for first, followed by Ncurses,
+then the system-default plain Curses. The first library found is the
+one returned. Finding libraries will first be attempted by using
+pkg-config, and should the pkg-config files not be available, will
+fallback to combinations of known flags itself.
+
+The following options are understood: --with-ncursesw, --with-ncurses,
+--without-ncursesw, --without-ncurses. The "--with" options force the
+macro to use that particular library, terminating with an error if not
+found. The "--without" options simply skip the check for that library.
+The effect on the search pattern is:
+
+@smallexample
+ (no options) - NcursesW, Ncurses, Curses
+ --with-ncurses --with-ncursesw - NcursesW only [*]
+ --without-ncurses --with-ncursesw - NcursesW only [*]
+ --with-ncursesw - NcursesW only [*]
+ --with-ncurses --without-ncursesw - Ncurses only [*]
+ --with-ncurses - NcursesW, Ncurses [**]
+ --without-ncurses --without-ncursesw - Curses only
+ --without-ncursesw - Ncurses, Curses
+ --without-ncurses - NcursesW, Curses
+@end smallexample
+
+[*] If the library is not found, abort the configure script.
+
+[**] If the second library (Ncurses) is not found, abort configure.
+
+The following preprocessor symbols may be defined by this macro if the
+appropriate conditions are met:
+
+@smallexample
+ HAVE_CURSES - if any SysV or X/Open Curses library found
+ HAVE_CURSES_ENHANCED - if library supports X/Open Enhanced functions
+ HAVE_CURSES_COLOR - if library supports color (enhanced functions)
+ HAVE_CURSES_OBSOLETE - if library supports certain obsolete features
+ HAVE_NCURSESW - if NcursesW (wide char) library is to be used
+ HAVE_NCURSES - if the Ncurses library is to be used
+@end smallexample
+
+@smallexample
+ HAVE_CURSES_H - if <curses.h> is present and should be used
+ HAVE_NCURSESW_H - if <ncursesw.h> should be used
+ HAVE_NCURSES_H - if <ncurses.h> should be used
+ HAVE_NCURSESW_CURSES_H - if <ncursesw/curses.h> should be used
+ HAVE_NCURSES_CURSES_H - if <ncurses/curses.h> should be used
+@end smallexample
+
+(These preprocessor symbols are discussed later in this document.)
+
+The following output variables are defined by this macro; they are
+precious and may be overridden on the ./configure command line:
+
+@smallexample
+ CURSES_LIBS - library to add to xxx_LDADD
+ CURSES_CFLAGS - include paths to add to xxx_CPPFLAGS
+@end smallexample
+
+In previous versions of this macro, the flags CURSES_LIB and
+CURSES_CPPFLAGS were defined. These have been renamed, in keeping with
+AX_WITH_CURSES's close bigger brother, PKG_CHECK_MODULES, which should
+eventually supersede the use of AX_WITH_CURSES. Neither the library
+listed in CURSES_LIBS, nor the flags in CURSES_CFLAGS are added to LIBS,
+respectively CPPFLAGS, by default. You need to add both to the
+appropriate xxx_LDADD/xxx_CPPFLAGS line in your Makefile.am. For
+example:
+
+@smallexample
+ prog_LDADD = @@CURSES_LIBS@@
+ prog_CPPFLAGS = @@CURSES_CFLAGS@@
+@end smallexample
+
+If CURSES_LIBS is set on the configure command line (such as by running
+"./configure CURSES_LIBS=-lmycurses"), then the only header searched for
+is <curses.h>. If the user needs to specify an alternative path for a
+library (such as for a non-standard NcurseW), the user should use the
+LDFLAGS variable.
+
+The following shell variables may be defined by this macro:
+
+@smallexample
+ ax_cv_curses - set to "yes" if any Curses library found
+ ax_cv_curses_enhanced - set to "yes" if Enhanced functions present
+ ax_cv_curses_color - set to "yes" if color functions present
+ ax_cv_curses_obsolete - set to "yes" if obsolete features present
+@end smallexample
+
+@smallexample
+ ax_cv_ncursesw - set to "yes" if NcursesW library found
+ ax_cv_ncurses - set to "yes" if Ncurses library found
+ ax_cv_plaincurses - set to "yes" if plain Curses library found
+ ax_cv_curses_which - set to "ncursesw", "ncurses", "plaincurses" or "no"
+@end smallexample
+
+These variables can be used in your configure.ac to determine the level
+of support you need from the Curses library. For example, if you must
+have either Ncurses or NcursesW, you could include:
+
+@smallexample
+ AX_WITH_CURSES
+ if test "x$ax_cv_ncursesw" != xyes && test "x$ax_cv_ncurses" != xyes; then
+ AC_MSG_ERROR([requires either NcursesW or Ncurses library])
+ fi
+@end smallexample
+
+If any Curses library will do (but one must be present and must support
+color), you could use:
+
+@smallexample
+ AX_WITH_CURSES
+ if test "x$ax_cv_curses" != xyes || test "x$ax_cv_curses_color" != xyes; then
+ AC_MSG_ERROR([requires an X/Open-compatible Curses library with color])
+ fi
+@end smallexample
+
+Certain preprocessor symbols and shell variables defined by this macro
+can be used to determine various features of the Curses library. In
+particular, HAVE_CURSES and ax_cv_curses are defined if the Curses
+library found conforms to the traditional SysV and/or X/Open Base Curses
+definition. Any working Curses library conforms to this level.
+
+HAVE_CURSES_ENHANCED and ax_cv_curses_enhanced are defined if the
+library supports the X/Open Enhanced Curses definition. In particular,
+the wide-character types attr_t, cchar_t and wint_t, the functions
+wattr_set() and wget_wch() and the macros WA_NORMAL and _XOPEN_CURSES
+are checked. The Ncurses library does NOT conform to this definition,
+although NcursesW does.
+
+HAVE_CURSES_COLOR and ax_cv_curses_color are defined if the library
+supports color functions and macros such as COLOR_PAIR, A_COLOR,
+COLOR_WHITE, COLOR_RED and init_pair(). These are NOT part of the
+X/Open Base Curses definition, but are part of the Enhanced set of
+functions. The Ncurses library DOES support these functions, as does
+NcursesW.
+
+HAVE_CURSES_OBSOLETE and ax_cv_curses_obsolete are defined if the
+library supports certain features present in SysV and BSD Curses but not
+defined in the X/Open definition. In particular, the functions
+getattrs(), getcurx() and getmaxx() are checked.
+
+To use the HAVE_xxx_H preprocessor symbols, insert the following into
+your system.h (or equivalent) header file:
+
+@smallexample
+ #if defined HAVE_NCURSESW_CURSES_H
+ # include <ncursesw/curses.h>
+ #elif defined HAVE_NCURSESW_H
+ # include <ncursesw.h>
+ #elif defined HAVE_NCURSES_CURSES_H
+ # include <ncurses/curses.h>
+ #elif defined HAVE_NCURSES_H
+ # include <ncurses.h>
+ #elif defined HAVE_CURSES_H
+ # include <curses.h>
+ #else
+ # error "SysV or X/Open-compatible Curses header file required"
+ #endif
+@end smallexample
+
+For previous users of this macro: you should not need to change anything
+in your configure.ac or Makefile.am, as the previous (serial 10)
+semantics are still valid. However, you should update your system.h (or
+equivalent) header file to the fragment shown above. You are encouraged
+also to make use of the extended functionality provided by this version
+of AX_WITH_CURSES, as well as in the additional macros
+AX_WITH_CURSES_PANEL, AX_WITH_CURSES_MENU and AX_WITH_CURSES_FORM.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_curses.m4,latest
+version of @file{ax_with_curses.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_curses.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2009 Mark Pulford @email{mark@@kyne.com.au}} @* @w{Copyright @copyright{} 2009 Damian Pietras @email{daper@@daper.net}} @* @w{Copyright @copyright{} 2012 Reuben Thomas @email{rrt@@sc3d.org}} @* @w{Copyright @copyright{} 2011 John Zaitseff @email{J.Zaitseff@@zap.org.au}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_with_curses_extra
+@unnumberedsec ax_with_curses_extra
+
+@majorheading Synopsis
+
+@smallexample
+AX_WITH_CURSES_PANEL
+AX_WITH_CURSES_MENU
+AX_WITH_CURSES_FORM
+@end smallexample
+
+@majorheading Description
+
+These macros try to find additional libraries that often come with
+SysV-compatible Curses. In particular, the Panel, Menu and Form
+libraries are searched, along with their header files. These macros
+depend on AX_WITH_CURSES.
+
+The following preprocessor symbols may be defined by these macros:
+
+@smallexample
+ By AX_WITH_CURSES_PANEL:
+@end smallexample
+
+@smallexample
+ HAVE_PANEL - if the Panel library is present
+ HAVE_PANEL_H - if <panel.h> is present and should be used
+ HAVE_NCURSES_PANEL_H - if <ncurses/panel.h> should be used
+ HAVE_NCURSESW_PANEL_H - if <ncursesw/panel.h> should be used
+@end smallexample
+
+@smallexample
+ By AX_WITH_CURSES_MENU:
+@end smallexample
+
+@smallexample
+ HAVE_MENU - if the Menu library is present
+ HAVE_MENU_H - if <menu.h> is present and should be used
+ HAVE_NCURSES_MENU_H - if <ncurses/menu.h> should be used
+ HAVE_NCURSESW_MENU_H - if <ncursesw/menu.h> should be used
+@end smallexample
+
+@smallexample
+ By AX_WITH_CURSES_FORM:
+@end smallexample
+
+@smallexample
+ HAVE_FORM - if the Form library is present
+ HAVE_FORM_H - if <form.h> is present and should be used
+ HAVE_NCURSES_FORM_H - if <ncurses/form.h> should be used
+ HAVE_NCURSESW_FORM_H - if <ncursesw/form.h> should be used
+@end smallexample
+
+The following output variables may be defined by these macros; these are
+precious and may be overridden on the ./configure command line:
+
+@smallexample
+ PANEL_LIBS - library to add to xxx_LDADD before CURSES_LIBS
+ MENU_LIBS - library to add to xxx_LDADD before CURSES_LIBS
+ FORM_LIBS - library to add to xxx_LDADD before CURSES_LIBS
+@end smallexample
+
+In previous versions of this macro, the flags PANEL_LIB, MENU_LIB and
+FORM_LIB were defined. These have been renamed, in keeping with the
+variable scheme of PKG_CHECK_MODULES, which should eventually supersede
+the use of AX_WITH_CURSES and AX_WITH_CURSES_* macros. These libraries
+are NOT added to LIBS by default. You need to add them to the
+appropriate xxx_LDADD line in your Makefile.am in front of the
+equivalent CURSES_LIBS incantation. For example:
+
+@smallexample
+ prog_LDADD = @@PANEL_LIBS@@ @@CURSES_LIBS@@
+@end smallexample
+
+If one of the xxx_LIBS variables is set on the configure command line
+(such as by running "./configure PANEL_LIBS=-lmypanel"), then the header
+file searched must NOT contain a subpath. In this case, in other words,
+only <panel.h> would be searched for. The user may use the CPPFLAGS
+precious variable to override the standard #include search path.
+
+The following shell variables may be defined by these macros:
+
+@smallexample
+ ax_cv_panel - set to "yes" if Panels library is present
+ ax_cv_menu - set to "yes" if Menu library is present
+ ax_cv_form - set to "yes" if Form library is present
+@end smallexample
+
+These variables can be used in your configure.ac to determine whether a
+library you require is actually present. For example:
+
+@smallexample
+ AX_WITH_CURSES
+ if test "x$ax_cv_curses" != xyes; then
+ AC_MSG_ERROR([requires a SysV or X/Open-compatible Curses library])
+ fi
+ AX_WITH_CURSES_PANEL
+ if test "x$ax_cv_panel" != xyes; then
+ AC_MSG_ERROR([requires the Curses Panel library])
+ fi
+@end smallexample
+
+To use the HAVE_xxx_H preprocessor symbols, insert the following into
+your system.h (or equivalent) header file:
+
+@smallexample
+ For AX_WITH_CURSES_PANEL:
+@end smallexample
+
+@smallexample
+ #if defined HAVE_NCURSESW_PANEL_H
+ # include <ncursesw/panel.h>
+ #elif defined HAVE_NCURSES_PANEL_H
+ # include <ncurses/panel.h>
+ #elif defined HAVE_PANEL_H
+ # include <panel.h>
+ #else
+ # error "SysV-compatible Curses Panel header file required"
+ #endif
+@end smallexample
+
+@smallexample
+ For AX_WITH_CURSES_MENU:
+@end smallexample
+
+@smallexample
+ #if defined HAVE_NCURSESW_MENU_H
+ # include <ncursesw/menu.h>
+ #elif defined HAVE_NCURSES_MENU_H
+ # include <ncurses/menu.h>
+ #elif defined HAVE_MENU_H
+ # include <menu.h>
+ #else
+ # error "SysV-compatible Curses Menu header file required"
+ #endif
+@end smallexample
+
+@smallexample
+ For AX_WITH_CURSES_FORM:
+@end smallexample
+
+@smallexample
+ #if defined HAVE_NCURSESW_FORM_H
+ # include <ncursesw/form.h>
+ #elif defined HAVE_NCURSES_FORM_H
+ # include <ncurses/form.h>
+ #elif defined HAVE_FORM_H
+ # include <form.h>
+ #else
+ # error "SysV-compatible Curses Form header file required"
+ #endif
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_curses_extra.m4,latest
+version of @file{ax_with_curses_extra.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_curses_extra.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2011 John Zaitseff @email{J.Zaitseff@@zap.org.au}}
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_with_dmalloc
+@unnumberedsec ax_with_dmalloc
+
+@majorheading Synopsis
+
+@smallexample
+AX_WITH_DMALLOC
+@end smallexample
+
+@majorheading Description
+
+Let the user enable/disable support for the dmalloc library available
+from <http://www.dmalloc.org/>.
+
+The macro adds the command-line flag "--with-dmalloc". Furthermore,
+"-IPREFIX/include" will be added to "$CPPFLAGS", "-LPREFIX/lib" to
+"$LDFLAGS", and "-DDEBUG_DMALLOC" and "-DDMALLOC_FUNC_CHECK" to
+"$CPPFLAGS".
+
+To enable dmalloc support in your code, add the following snippet to
+your header files:
+
+@smallexample
+ #ifdef DEBUG_DMALLOC
+ # include <dmalloc.h>
+ #endif
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_dmalloc.m4,latest
+version of @file{ax_with_dmalloc.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_dmalloc.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Peter Simons @email{simons@@cryp.to}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_with_mpatrol
+@unnumberedsec ax_with_mpatrol
+
+@majorheading Synopsis
+
+@smallexample
+AX_WITH_MPATROL(DEFAULT)
+@end smallexample
+
+@majorheading Description
+
+Integrates the mpatrol malloc debugging library into a new or existing
+project and also attempts to determine the support libraries that need
+to be linked in when libmpatrol is used.
+
+It takes one optional parameter specifying whether mpatrol should be
+included in the project (`yes') or not (`no'). This can also be
+specified as `threads' if you wish to use the threadsafe version of the
+mpatrol library. You can override the value of the optional parameter
+with the `--with-mpatrol' option to the resulting `configure' shell
+script.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_mpatrol.m4,latest
+version of @file{ax_with_mpatrol.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_mpatrol.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Graeme S. Roy @email{graeme@@epc.co.uk}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_with_prog
+@unnumberedsec ax_with_prog
+
+@majorheading Synopsis
+
+@smallexample
+AX_WITH_PROG([VARIABLE],[program],[VALUE-IF-NOT-FOUND],[PATH])
+@end smallexample
+
+@majorheading Description
+
+Locates an installed program binary, placing the result in the precious
+variable VARIABLE. Accepts a present VARIABLE, then --with-program, and
+failing that searches for program in the given path (which defaults to
+the system path). If program is found, VARIABLE is set to the full path
+of the binary; if it is not found VARIABLE is set to VALUE-IF-NOT-FOUND
+if provided, unchanged otherwise.
+
+A typical example could be the following one:
+
+@smallexample
+ AX_WITH_PROG(PERL,perl)
+@end smallexample
+
+NOTE: This macro is based upon the original AX_WITH_PYTHON macro from
+Dustin J. Mitchell <dustin@@cs.uchicago.edu>.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_prog.m4,latest
+version of @file{ax_with_prog.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_prog.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Francesco Salvestrini @email{salvestrini@@users.sourceforge.net}} @* @w{Copyright @copyright{} 2008 Dustin J. Mitchell @email{dustin@@cs.uchicago.edu}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_xercesc
+@unnumberedsec ax_xercesc
+
+@majorheading Synopsis
+
+@smallexample
+AX_XERCESC
+@end smallexample
+
+@majorheading Description
+
+Define $HAVE_LIBXERCES_C, $LIBXERCES_C, and $LTLIBXERCES_C to signify
+whether Xerces is available.
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_xercesc.m4,latest
+version of @file{ax_xercesc.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_xercesc.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Ronald Landheer-Cieslak @email{blytkerchan@@users.sourceforge.net}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_xsdcxx
+@unnumberedsec ax_xsdcxx
+
+@majorheading Synopsis
+
+@smallexample
+AX_XSDCXX
+@end smallexample
+
+@majorheading Description
+
+This macro tries to find the CodeSynthesis XSD executable and the
+corresponding headers.
+
+Supported options:
+
+@smallexample
+ --with-xsdcxx
+ use CodeSynthesis XSD from given prefix (ARG=path);
+ check PATH (ARG=yes); disable (ARG=no)
+@end smallexample
+
+@smallexample
+ --with-xsdcxx-inc
+ path to CodeSynthesis XSD headers (ARG=path); use standard prefix
+ (ARG=yes); disable (ARG=no)
+@end smallexample
+
+Output variables:
+
+@smallexample
+ XSDCXX
+ XSDCXX_CPPFLAGS
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_xsdcxx.m4,latest
+version of @file{ax_xsdcxx.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_xsdcxx.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2013 Laszlo Kajan @email{lkajan@@rostlab.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_xtra_classpath
+@unnumberedsec ax_xtra_classpath
+
+@majorheading Synopsis
+
+@smallexample
+AX_XTRA_CLASSPATH(<classpath>,<class>,<jarfile>,<action-if-found>,<action-if-not-found>)
+@end smallexample
+
+@majorheading Description
+
+Set $1 to extra classpath components required for class $2 found in a
+jar file in $3. If the class is found do $4 and otherwise do $5. Uses
+AX_JAVA_CHECK_CLASS for testing whether a class is available
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_xtra_classpath.m4,latest
+version of @file{ax_xtra_classpath.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_xtra_classpath.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2008 Duncan Simpson @email{dps@@simpson.demon.co.uk}}
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <https://www.gnu.org/licenses/>.
+
+As a special exception, the respective Autoconf Macro's copyright owner
+gives unlimited permission to copy, distribute and modify the configure
+scripts that are the output of Autoconf when processing the Macro. You
+need not follow the terms of the GNU General Public License when using
+or distributing such scripts, even though portions of the text of the
+Macro appear in them. The GNU General Public License (GPL) does govern
+all other use of the material that constitutes the Autoconf Macro.
+
+This special exception to the GPL applies to versions of the Autoconf
+Macro released by the Autoconf Archive. When you make and distribute a
+modified version of the Autoconf Macro, you may extend this special
+exception to the GPL to apply to your modified version as well.
--- /dev/null
+@node ax_zmq
+@unnumberedsec ax_zmq
+
+@majorheading Synopsis
+
+@smallexample
+AX_ZMQ([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+@end smallexample
+
+@majorheading Description
+
+Test for the ZMQ libraries of a particular version (or newer). The
+default version tested for is 4.0.0.
+
+The macro tests for ZMQ libraries in the library/include path, and, when
+provided, also in the path given by --with-zmq.
+
+This macro calls:
+
+@smallexample
+ AC_SUBST(ZMQ_CPPFLAGS) / AC_SUBST(ZMQ_LDFLAGS) / AC_SUBST(ZMQ_LIBS)
+@end smallexample
+
+And sets:
+
+@smallexample
+ HAVE_ZMQ
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_zmq.m4,latest
+version of @file{ax_zmq.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_zmq.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2016 Jeroen Meijer @email{jjgmeijer@@gmail.com}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@node ax_zoneinfo
+@unnumberedsec ax_zoneinfo
+
+@majorheading Synopsis
+
+@smallexample
+AX_ZONEINFO([options...])
+@end smallexample
+
+@majorheading Description
+
+This macro finds compiled zoneinfo files. If successful it will define
+HAVE_ZONEINFO per:
+
+@smallexample
+ AC_DEFINE([HAVE_ZONEINFO], [1], [...])
+@end smallexample
+
+and have the variable TZDIR point to the zoneinfo directory as per
+
+@smallexample
+ AC_SUBST([TZDIR])
+ AC_DEFINE_UNQUOTED([TZDIR], [/path/to/zic/files], [...])
+@end smallexample
+
+Optionally, OPTIONS can be `right' to trigger further tests that will
+determine if leap second fix-ups are available. If so the variables
+HAVE_ZONEINFO_RIGHT, ZONEINFO_UTC_RIGHT and TZDIR_RIGHT will be
+populated:
+
+@smallexample
+ AC_DEFINE([HAVE_ZONEINFO_RIGHT], [1], [...])
+ AC_SUBST([TZDIR_RIGHT])
+ AC_DEFINE_UNQUOTED([TZDIR_RIGHT], [/path/to/right/zic/files], [...])
+ AC_SUBST([ZONEINFO_UTC_RIGHT])
+ AC_DEFINE_UNQUOTED([ZONEINFO_UTC_RIGHT], [$ZONEINFO_UTC_RIGHT], [...])
+@end smallexample
+
+@majorheading Source Code
+
+Download the
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_zoneinfo.m4,latest
+version of @file{ax_zoneinfo.m4}} or browse
+@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_zoneinfo.m4,the
+macro's revision history}.
+
+@majorheading License
+
+@w{Copyright @copyright{} 2012 Sebastian Freundt @email{freundt@@fresse.org}}
+
+Copying and distribution of this file, with or without modification, are
+permitted in any medium without royalty provided the copyright notice
+and this notice are preserved. This file is offered as-is, without any
+warranty.
--- /dev/null
+@c The GNU Free Documentation License.
+@center Version 1.3, 3 November 2008
+
+@c This file is intended to be included within another document,
+@c hence no sectioning command or @node.
+
+@display
+Copyright @copyright{} 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
+@uref{https://fsf.org/}
+
+Everyone is permitted to copy and distribute verbatim copies
+of this license document, but changing it is not allowed.
+@end display
+
+@enumerate 0
+@item
+PREAMBLE
+
+The purpose of this License is to make a manual, textbook, or other
+functional and useful document @dfn{free} in the sense of freedom: to
+assure everyone the effective freedom to copy and redistribute it,
+with or without modifying it, either commercially or noncommercially.
+Secondarily, this License preserves for the author and publisher a way
+to get credit for their work, while not being considered responsible
+for modifications made by others.
+
+This License is a kind of ``copyleft'', which means that derivative
+works of the document must themselves be free in the same sense. It
+complements the GNU General Public License, which is a copyleft
+license designed for free software.
+
+We have designed this License in order to use it for manuals for free
+software, because free software needs free documentation: a free
+program should come with manuals providing the same freedoms that the
+software does. But this License is not limited to software manuals;
+it can be used for any textual work, regardless of subject matter or
+whether it is published as a printed book. We recommend this License
+principally for works whose purpose is instruction or reference.
+
+@item
+APPLICABILITY AND DEFINITIONS
+
+This License applies to any manual or other work, in any medium, that
+contains a notice placed by the copyright holder saying it can be
+distributed under the terms of this License. Such a notice grants a
+world-wide, royalty-free license, unlimited in duration, to use that
+work under the conditions stated herein. The ``Document'', below,
+refers to any such manual or work. Any member of the public is a
+licensee, and is addressed as ``you''. You accept the license if you
+copy, modify or distribute the work in a way requiring permission
+under copyright law.
+
+A ``Modified Version'' of the Document means any work containing the
+Document or a portion of it, either copied verbatim, or with
+modifications and/or translated into another language.
+
+A ``Secondary Section'' is a named appendix or a front-matter section
+of the Document that deals exclusively with the relationship of the
+publishers or authors of the Document to the Document's overall
+subject (or to related matters) and contains nothing that could fall
+directly within that overall subject. (Thus, if the Document is in
+part a textbook of mathematics, a Secondary Section may not explain
+any mathematics.) The relationship could be a matter of historical
+connection with the subject or with related matters, or of legal,
+commercial, philosophical, ethical or political position regarding
+them.
+
+The ``Invariant Sections'' are certain Secondary Sections whose titles
+are designated, as being those of Invariant Sections, in the notice
+that says that the Document is released under this License. If a
+section does not fit the above definition of Secondary then it is not
+allowed to be designated as Invariant. The Document may contain zero
+Invariant Sections. If the Document does not identify any Invariant
+Sections then there are none.
+
+The ``Cover Texts'' are certain short passages of text that are listed,
+as Front-Cover Texts or Back-Cover Texts, in the notice that says that
+the Document is released under this License. A Front-Cover Text may
+be at most 5 words, and a Back-Cover Text may be at most 25 words.
+
+A ``Transparent'' copy of the Document means a machine-readable copy,
+represented in a format whose specification is available to the
+general public, that is suitable for revising the document
+straightforwardly with generic text editors or (for images composed of
+pixels) generic paint programs or (for drawings) some widely available
+drawing editor, and that is suitable for input to text formatters or
+for automatic translation to a variety of formats suitable for input
+to text formatters. A copy made in an otherwise Transparent file
+format whose markup, or absence of markup, has been arranged to thwart
+or discourage subsequent modification by readers is not Transparent.
+An image format is not Transparent if used for any substantial amount
+of text. A copy that is not ``Transparent'' is called ``Opaque''.
+
+Examples of suitable formats for Transparent copies include plain
+ASCII without markup, Texinfo input format, La@TeX{} input
+format, SGML or XML using a publicly available
+DTD, and standard-conforming simple HTML,
+PostScript or PDF designed for human modification. Examples
+of transparent image formats include PNG, XCF and
+JPG@. Opaque formats include proprietary formats that can be
+read and edited only by proprietary word processors, SGML or
+XML for which the DTD and/or processing tools are
+not generally available, and the machine-generated HTML,
+PostScript or PDF produced by some word processors for
+output purposes only.
+
+The ``Title Page'' means, for a printed book, the title page itself,
+plus such following pages as are needed to hold, legibly, the material
+this License requires to appear in the title page. For works in
+formats which do not have any title page as such, ``Title Page'' means
+the text near the most prominent appearance of the work's title,
+preceding the beginning of the body of the text.
+
+The ``publisher'' means any person or entity that distributes copies
+of the Document to the public.
+
+A section ``Entitled XYZ'' means a named subunit of the Document whose
+title either is precisely XYZ or contains XYZ in parentheses following
+text that translates XYZ in another language. (Here XYZ stands for a
+specific section name mentioned below, such as ``Acknowledgements'',
+``Dedications'', ``Endorsements'', or ``History''.) To ``Preserve the Title''
+of such a section when you modify the Document means that it remains a
+section ``Entitled XYZ'' according to this definition.
+
+The Document may include Warranty Disclaimers next to the notice which
+states that this License applies to the Document. These Warranty
+Disclaimers are considered to be included by reference in this
+License, but only as regards disclaiming warranties: any other
+implication that these Warranty Disclaimers may have is void and has
+no effect on the meaning of this License.
+
+@item
+VERBATIM COPYING
+
+You may copy and distribute the Document in any medium, either
+commercially or noncommercially, provided that this License, the
+copyright notices, and the license notice saying this License applies
+to the Document are reproduced in all copies, and that you add no other
+conditions whatsoever to those of this License. You may not use
+technical measures to obstruct or control the reading or further
+copying of the copies you make or distribute. However, you may accept
+compensation in exchange for copies. If you distribute a large enough
+number of copies you must also follow the conditions in section 3.
+
+You may also lend copies, under the same conditions stated above, and
+you may publicly display copies.
+
+@item
+COPYING IN QUANTITY
+
+If you publish printed copies (or copies in media that commonly have
+printed covers) of the Document, numbering more than 100, and the
+Document's license notice requires Cover Texts, you must enclose the
+copies in covers that carry, clearly and legibly, all these Cover
+Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
+the back cover. Both covers must also clearly and legibly identify
+you as the publisher of these copies. The front cover must present
+the full title with all words of the title equally prominent and
+visible. You may add other material on the covers in addition.
+Copying with changes limited to the covers, as long as they preserve
+the title of the Document and satisfy these conditions, can be treated
+as verbatim copying in other respects.
+
+If the required texts for either cover are too voluminous to fit
+legibly, you should put the first ones listed (as many as fit
+reasonably) on the actual cover, and continue the rest onto adjacent
+pages.
+
+If you publish or distribute Opaque copies of the Document numbering
+more than 100, you must either include a machine-readable Transparent
+copy along with each Opaque copy, or state in or with each Opaque copy
+a computer-network location from which the general network-using
+public has access to download using public-standard network protocols
+a complete Transparent copy of the Document, free of added material.
+If you use the latter option, you must take reasonably prudent steps,
+when you begin distribution of Opaque copies in quantity, to ensure
+that this Transparent copy will remain thus accessible at the stated
+location until at least one year after the last time you distribute an
+Opaque copy (directly or through your agents or retailers) of that
+edition to the public.
+
+It is requested, but not required, that you contact the authors of the
+Document well before redistributing any large number of copies, to give
+them a chance to provide you with an updated version of the Document.
+
+@item
+MODIFICATIONS
+
+You may copy and distribute a Modified Version of the Document under
+the conditions of sections 2 and 3 above, provided that you release
+the Modified Version under precisely this License, with the Modified
+Version filling the role of the Document, thus licensing distribution
+and modification of the Modified Version to whoever possesses a copy
+of it. In addition, you must do these things in the Modified Version:
+
+@enumerate A
+@item
+Use in the Title Page (and on the covers, if any) a title distinct
+from that of the Document, and from those of previous versions
+(which should, if there were any, be listed in the History section
+of the Document). You may use the same title as a previous version
+if the original publisher of that version gives permission.
+
+@item
+List on the Title Page, as authors, one or more persons or entities
+responsible for authorship of the modifications in the Modified
+Version, together with at least five of the principal authors of the
+Document (all of its principal authors, if it has fewer than five),
+unless they release you from this requirement.
+
+@item
+State on the Title page the name of the publisher of the
+Modified Version, as the publisher.
+
+@item
+Preserve all the copyright notices of the Document.
+
+@item
+Add an appropriate copyright notice for your modifications
+adjacent to the other copyright notices.
+
+@item
+Include, immediately after the copyright notices, a license notice
+giving the public permission to use the Modified Version under the
+terms of this License, in the form shown in the Addendum below.
+
+@item
+Preserve in that license notice the full lists of Invariant Sections
+and required Cover Texts given in the Document's license notice.
+
+@item
+Include an unaltered copy of this License.
+
+@item
+Preserve the section Entitled ``History'', Preserve its Title, and add
+to it an item stating at least the title, year, new authors, and
+publisher of the Modified Version as given on the Title Page. If
+there is no section Entitled ``History'' in the Document, create one
+stating the title, year, authors, and publisher of the Document as
+given on its Title Page, then add an item describing the Modified
+Version as stated in the previous sentence.
+
+@item
+Preserve the network location, if any, given in the Document for
+public access to a Transparent copy of the Document, and likewise
+the network locations given in the Document for previous versions
+it was based on. These may be placed in the ``History'' section.
+You may omit a network location for a work that was published at
+least four years before the Document itself, or if the original
+publisher of the version it refers to gives permission.
+
+@item
+For any section Entitled ``Acknowledgements'' or ``Dedications'', Preserve
+the Title of the section, and preserve in the section all the
+substance and tone of each of the contributor acknowledgements and/or
+dedications given therein.
+
+@item
+Preserve all the Invariant Sections of the Document,
+unaltered in their text and in their titles. Section numbers
+or the equivalent are not considered part of the section titles.
+
+@item
+Delete any section Entitled ``Endorsements''. Such a section
+may not be included in the Modified Version.
+
+@item
+Do not retitle any existing section to be Entitled ``Endorsements'' or
+to conflict in title with any Invariant Section.
+
+@item
+Preserve any Warranty Disclaimers.
+@end enumerate
+
+If the Modified Version includes new front-matter sections or
+appendices that qualify as Secondary Sections and contain no material
+copied from the Document, you may at your option designate some or all
+of these sections as invariant. To do this, add their titles to the
+list of Invariant Sections in the Modified Version's license notice.
+These titles must be distinct from any other section titles.
+
+You may add a section Entitled ``Endorsements'', provided it contains
+nothing but endorsements of your Modified Version by various
+parties---for example, statements of peer review or that the text has
+been approved by an organization as the authoritative definition of a
+standard.
+
+You may add a passage of up to five words as a Front-Cover Text, and a
+passage of up to 25 words as a Back-Cover Text, to the end of the list
+of Cover Texts in the Modified Version. Only one passage of
+Front-Cover Text and one of Back-Cover Text may be added by (or
+through arrangements made by) any one entity. If the Document already
+includes a cover text for the same cover, previously added by you or
+by arrangement made by the same entity you are acting on behalf of,
+you may not add another; but you may replace the old one, on explicit
+permission from the previous publisher that added the old one.
+
+The author(s) and publisher(s) of the Document do not by this License
+give permission to use their names for publicity for or to assert or
+imply endorsement of any Modified Version.
+
+@item
+COMBINING DOCUMENTS
+
+You may combine the Document with other documents released under this
+License, under the terms defined in section 4 above for modified
+versions, provided that you include in the combination all of the
+Invariant Sections of all of the original documents, unmodified, and
+list them all as Invariant Sections of your combined work in its
+license notice, and that you preserve all their Warranty Disclaimers.
+
+The combined work need only contain one copy of this License, and
+multiple identical Invariant Sections may be replaced with a single
+copy. If there are multiple Invariant Sections with the same name but
+different contents, make the title of each such section unique by
+adding at the end of it, in parentheses, the name of the original
+author or publisher of that section if known, or else a unique number.
+Make the same adjustment to the section titles in the list of
+Invariant Sections in the license notice of the combined work.
+
+In the combination, you must combine any sections Entitled ``History''
+in the various original documents, forming one section Entitled
+``History''; likewise combine any sections Entitled ``Acknowledgements'',
+and any sections Entitled ``Dedications''. You must delete all
+sections Entitled ``Endorsements.''
+
+@item
+COLLECTIONS OF DOCUMENTS
+
+You may make a collection consisting of the Document and other documents
+released under this License, and replace the individual copies of this
+License in the various documents with a single copy that is included in
+the collection, provided that you follow the rules of this License for
+verbatim copying of each of the documents in all other respects.
+
+You may extract a single document from such a collection, and distribute
+it individually under this License, provided you insert a copy of this
+License into the extracted document, and follow this License in all
+other respects regarding verbatim copying of that document.
+
+@item
+AGGREGATION WITH INDEPENDENT WORKS
+
+A compilation of the Document or its derivatives with other separate
+and independent documents or works, in or on a volume of a storage or
+distribution medium, is called an ``aggregate'' if the copyright
+resulting from the compilation is not used to limit the legal rights
+of the compilation's users beyond what the individual works permit.
+When the Document is included in an aggregate, this License does not
+apply to the other works in the aggregate which are not themselves
+derivative works of the Document.
+
+If the Cover Text requirement of section 3 is applicable to these
+copies of the Document, then if the Document is less than one half of
+the entire aggregate, the Document's Cover Texts may be placed on
+covers that bracket the Document within the aggregate, or the
+electronic equivalent of covers if the Document is in electronic form.
+Otherwise they must appear on printed covers that bracket the whole
+aggregate.
+
+@item
+TRANSLATION
+
+Translation is considered a kind of modification, so you may
+distribute translations of the Document under the terms of section 4.
+Replacing Invariant Sections with translations requires special
+permission from their copyright holders, but you may include
+translations of some or all Invariant Sections in addition to the
+original versions of these Invariant Sections. You may include a
+translation of this License, and all the license notices in the
+Document, and any Warranty Disclaimers, provided that you also include
+the original English version of this License and the original versions
+of those notices and disclaimers. In case of a disagreement between
+the translation and the original version of this License or a notice
+or disclaimer, the original version will prevail.
+
+If a section in the Document is Entitled ``Acknowledgements'',
+``Dedications'', or ``History'', the requirement (section 4) to Preserve
+its Title (section 1) will typically require changing the actual
+title.
+
+@item
+TERMINATION
+
+You may not copy, modify, sublicense, or distribute the Document
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense, or distribute it is void, and
+will automatically terminate your rights under this License.
+
+However, if you cease all violation of this License, then your license
+from a particular copyright holder is reinstated (a) provisionally,
+unless and until the copyright holder explicitly and finally
+terminates your license, and (b) permanently, if the copyright holder
+fails to notify you of the violation by some reasonable means prior to
+60 days after the cessation.
+
+Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, receipt of a copy of some or all of the same material does
+not give you any rights to use it.
+
+@item
+FUTURE REVISIONS OF THIS LICENSE
+
+The Free Software Foundation may publish new, revised versions
+of the GNU Free Documentation License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns. See
+@uref{https://www.gnu.org/licenses/}.
+
+Each version of the License is given a distinguishing version number.
+If the Document specifies that a particular numbered version of this
+License ``or any later version'' applies to it, you have the option of
+following the terms and conditions either of that specified version or
+of any later version that has been published (not as a draft) by the
+Free Software Foundation. If the Document does not specify a version
+number of this License, you may choose any version ever published (not
+as a draft) by the Free Software Foundation. If the Document
+specifies that a proxy can decide which future versions of this
+License can be used, that proxy's public statement of acceptance of a
+version permanently authorizes you to choose that version for the
+Document.
+
+@item
+RELICENSING
+
+``Massive Multiauthor Collaboration Site'' (or ``MMC Site'') means any
+World Wide Web server that publishes copyrightable works and also
+provides prominent facilities for anybody to edit those works. A
+public wiki that anybody can edit is an example of such a server. A
+``Massive Multiauthor Collaboration'' (or ``MMC'') contained in the
+site means any set of copyrightable works thus published on the MMC
+site.
+
+``CC-BY-SA'' means the Creative Commons Attribution-Share Alike 3.0
+license published by Creative Commons Corporation, a not-for-profit
+corporation with a principal place of business in San Francisco,
+California, as well as future copyleft versions of that license
+published by that same organization.
+
+``Incorporate'' means to publish or republish a Document, in whole or
+in part, as part of another Document.
+
+An MMC is ``eligible for relicensing'' if it is licensed under this
+License, and if all works that were first published under this License
+somewhere other than this MMC, and subsequently incorporated in whole
+or in part into the MMC, (1) had no cover texts or invariant sections,
+and (2) were thus incorporated prior to November 1, 2008.
+
+The operator of an MMC Site may republish an MMC contained in the site
+under CC-BY-SA on the same site at any time before August 1, 2009,
+provided the MMC is eligible for relicensing.
+
+@end enumerate
+
+@page
+@heading ADDENDUM: How to use this License for your documents
+
+To use this License in a document you have written, include a copy of
+the License in the document and put the following copyright and
+license notices just after the title page:
+
+@smallexample
+@group
+ Copyright (C) @var{year} @var{your name}.
+ Permission is granted to copy, distribute and/or modify this document
+ under the terms of the GNU Free Documentation License, Version 1.3
+ or any later version published by the Free Software Foundation;
+ with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
+ Texts. A copy of the license is included in the section entitled ``GNU
+ Free Documentation License''.
+@end group
+@end smallexample
+
+If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
+replace the ``with@dots{}Texts.''@: line with this:
+
+@smallexample
+@group
+ with the Invariant Sections being @var{list their titles}, with
+ the Front-Cover Texts being @var{list}, and with the Back-Cover Texts
+ being @var{list}.
+@end group
+@end smallexample
+
+If you have Invariant Sections without Cover Texts, or some other
+combination of the three, merge those two alternatives to suit the
+situation.
+
+If your document contains nontrivial examples of program code, we
+recommend releasing these examples in parallel under your choice of
+free software license, such as the GNU General Public License,
+to permit their use in free software.
+
+@c Local Variables:
+@c ispell-local-pdict: "ispell-dict"
+@c End:
--- /dev/null
+@set UPDATED 11 February 2022
+@set UPDATED-MONTH February 2022
+@set EDITION 2022.02.11
+@set VERSION 2022.02.11
--- /dev/null
+@set UPDATED 11 February 2022
+@set UPDATED-MONTH February 2022
+@set EDITION 2022.02.11
+@set VERSION 2022.02.11
+++ /dev/null
-#! /usr/bin/env bash
-
-set -eu
-shopt -s nullglob
-
-cd "doc/manual/html_node"
-destdir="../html"
-
-rm -rf "$destdir"
-mkdir -p "$destdir"
-
-for n in *.html; do
- echo fixing "$n"
- out="${n//_005f/_}"
- name="${out%%.html}"
- sed <"$n" \
- -e 's|<html lang="en">|<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd"><html lang="en">|' \
- -e "s|<a name=\"${name}\"></a>||" \
- -e 's|_005f|_|g' \
- -e 's|<a href="../dir/index.html" accesskey="u" rel="up">(dir)</a>|<a href="http://savannah.gnu.org/projects/autoconf-archive/" accesskey="u" rel="up">Home Page at Savannah</a>|' \
- -e 's|<link href="\.\./dir/index.html" rel="up" title="(dir)">|<link href="http://savannah.gnu.org/projects/autoconf-archive/" rel="up" title="Home Page at Savannah">|' \
- -e 's|<table class="menu"|<table summary="menu" class="menu"|' \
- | tidy >"$destdir/${out}" -q --indent yes --indent-spaces 1 -wrap 80 --tidy-mark no --hide-comments yes
-done
+++ /dev/null
-#! /usr/bin/env bash
-
-set -eu
-
-trap 'rm -f AUTHORS-m4.tmp AUTHORS-git.tmp' 0
-
-sed -n -e 's/# *Copyright (c) [0-9,-]* *//p' m4/*.m4 >AUTHORS-m4.tmp
-git log | sed -n -e 's/^Author: *//p' >AUTHORS-git.tmp
-
-echo '# Copyright (c) 2022 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>'
-echo '#'
-echo '# Copying and distribution of this file, with or without modification, are'
-echo '# permitted in any medium without royalty provided the copyright notice and this'
-echo '# notice are preserved. This file is offered as-is, without any warranty.'
-echo ''
-
-cat AUTHORS-m4.tmp AUTHORS-git.tmp \
- | sed -e 's/ *<.*>.*//' \
- -e 's/^2015 //' \
- -e 's/^Bogdan$/Bogdan Drozdowski/' \
- -e 's/Fabien COELHO/Fabien Coelho/' \
- -e 's/Dustin Mitchell/Dustin J. Mitchell/' \
- -e 's/Alain BARBET/Alain Barbet/' \
- -e 's/Mats Kindahl of Sun Microsystems/Mats Kindahl/' \
- -e 's/Perceval ANICHINI/Perceval Anichini/' \
- -e 's/Rafa Rzepecki/Rafal Rzepecki/' \
- -e 's/Diego Elio Pettenò/Diego Elio Petteno`/' \
- -e 's/Václav Haisman/Vaclav Haisman/' \
- -e 's/Cristian Rodríguez/Cristian Rodriguez/' \
- -e 's/Mikael Lepistö/Mikael Lepisto/' \
- -e '/Zmanda Inc./d' \
- -e 's/Daniel Richard G$/Daniel Richard G./' \
- -e 's/Avionic Design GmbH$/Thierry Reding/' \
- -e 's/Bastien Roucaries/Bastien Roucariès/' \
- -e 's/Bastien ROUCARIES/Bastien Roucariès/' \
- -e 's/Bastien ROUCARIÈS/Bastien Roucariès/' \
- -e 's/Bastien Roucariès .*/Bastien Roucariès/' \
- -e 's/Daniel Mullner/Daniel Müllner/' \
- -e 's/Daniel M"ullner/Daniel Müllner/' \
- -e 's/Karlson2k (Evgeny Grin)/Evgeny Grin/' \
- | sort \
- | uniq
+++ /dev/null
-#! /usr/bin/env python
-
-from contextlib import closing
-import os, sys, subprocess, re, textwrap
-
-def loadFile(path):
- with closing( open(path) ) as fd:
- return fd.read()
-
-def writeFile(path, buffer):
- with closing( open(path, "w") ) as fd:
- fd.write(buffer)
-
-def splitSections(buffer):
- while buffer:
- assert len(buffer) >= 3
- name = buffer.pop(0).lower()
- assert buffer.pop(0) == ''
- body = []
- while buffer:
- line = buffer.pop(0)
- if line == '' or line[0].isspace():
- body.append(line[2:])
- else:
- buffer.insert(0, line)
- yield (name, body)
- body = []
- break
- if body:
- yield (name, body)
-
-def collapseText(lines, width = 72):
- wrapper = textwrap.TextWrapper( width = width
- , expand_tabs = False
- , break_on_hyphens = False
- , break_long_words = False
- )
- body = []
- prev = None
- for line in lines:
- if line == '':
- prev = None
- elif line[0].isspace():
- if prev == "quote":
- body[-1].append(line)
- else:
- body.append([line])
- prev = "quote"
- else:
- if prev == "text":
- newtext = ' '.join(body[-1]) + ' ' + line
- body[-1] = wrapper.wrap(newtext)
- else:
- body.append(wrapper.wrap(line))
- prev = "text"
- return body
-
-class Macro:
- def __init__(self, filePath, computeSerialNumber=False):
- self.name = os.path.splitext(os.path.basename(filePath))[0]
- # header and body are separated by an empty line.
- (header,body) = loadFile(filePath).split("\n\n", 1)
- self.body = body.split('\n')
- # headers may not contain tab characters
- assert not ('\t' in header)
- # drop initial header (if present)
- header = re.sub(r"^\n*# =+\n#[^\n]*\n# =+\n(#\n)+", '', header, 1)
- # split buffer into lines and drop initial "# " prefix in the process
- header = [l[2:] for l in header.split('\n')]
- # set defaults
- self.authors = []
- # parse each section in the remaining list
- for (key, body) in splitSections(header):
- # drop empty lines at beginning and end of body
- while body[0] == '': body.pop(0)
- while body[-1] == '': body.pop(-1)
- # each section has its own parser
- if key == "synopsis":
- if '' in body:
- raise Exception("%s: malformed synopsis section" % filePath)
- elif key == "description":
- body = collapseText(body)
- elif key == "license":
- while True:
- match = re.match(r"Copyright \([cC]\) ([0-9.,-]+) (.*)", body[0])
- if not match: break
- (year,name) = (match.group(1), match.group(2))
- match = re.match(r"(.*) <(.*)>", name)
- if match:
- (name,email) = (match.group(1), match.group(2))
- self.authors.append(dict(year = year, name = name, email = email))
- else:
- self.authors.append(dict(year = year, name = name))
- body.pop(0)
- assert self.authors
- if body.pop(0) != '':
- raise Exception("%s: malformed license section" % filePath)
- body = collapseText(body)
- elif key == "obsolete macro":
- key = "obsolete"
- body = collapseText(body)
- elif key == "description":
- body = collapseText(body)
- else:
- raise Exception("%s: unknown section %r in macro" % (filePath, key))
- self.__dict__[key] = body
- # determine the macro's serial number
- if computeSerialNumber: # compute the number from git
- logMessages = subprocess.check_output(["git", "log", "--oneline", "054e8ad8c766afa7059d8cd4a81bbfa99133ef5e..HEAD", "--", filePath], bufsize=1)
- logLines = logMessages.rstrip(b'\n').split(b"\n")
- self.serial = len(logLines)
- modified = subprocess.call(["git", "diff", "--quiet", "--exit-code", "HEAD", "--", filePath])
- if modified:
- self.serial += 1
- else: # trust the m4 file
- assert self.body[0].startswith("#serial")
- self.serial = int(self.body[0].split()[1])
- # drop the original serial number from the body
- self.body = [ l for l in self.body if not l.startswith("#serial") ]
- # drop whitespace from beginning and end of body
- while self.body[0] == "":
- self.body.pop(0)
- while self.body[-1] == "":
- self.body.pop(-1)
-
- def __repr__(self):
- return repr(self.__dict__)
+++ /dev/null
-#! /usr/bin/env python
-
-assert __name__ == "__main__"
-
-import sys
-from macro import Macro, writeFile
-
-tmpl = """\
-%(url)s
-#
-%(obsolete)s# SYNOPSIS
-#
-%(synopsis)s
-#
-# DESCRIPTION
-#
-%(description)s
-#
-# LICENSE
-#
-%(authors)s
-#
-%(license)s
-
-#serial %(serial)d
-
-%(body)s
-"""
-
-def formatParagraph(para):
- assert para
- assert para[0]
- assert para[0][0]
- if para[0][0].isspace():
- return "# " + "\n# ".join(para)
- else:
- return "# " + "\n# ".join(para)
-
-def formatAuthor(a):
- assert a
- if "email" in a:
- return "# Copyright (c) %(year)s %(name)s <%(email)s>" % a
- else:
- return "# Copyright (c) %(year)s %(name)s" % a
-
-def countSpaces(line):
- for i in range(len(line)):
- if not line[i].isspace():
- break
- return i
-
-if len(sys.argv) != 3:
- raise Exception("invalid command line syntax: %s" % ' '.join(map(repr, sys.argv)))
-(m4File,outFile) = sys.argv[1:]
-assert outFile != m4File
-m = Macro(m4File, computeSerialNumber=True)
-for i in range(len(m.description)):
- para = m.description[i]
- if para[0][0].isspace():
- spaces = min(list(map(countSpaces, para)))
- if spaces > 1:
- m.description[i] = [' ' + l[spaces:] for l in para]
-url = "https://www.gnu.org/software/autoconf-archive/%s.html" % m.name
-lineLen = max(len(url) + 2, 75)
-m.url = "# %s\n# %s\n# %s" % ('=' * lineLen, (' ' * int((lineLen - len(url)) / 2)) + url, '=' * lineLen)
-if m.__dict__.get("obsolete"):
- m.obsolete = "# OBSOLETE MACRO\n#\n" + '\n#\n'.join(map(formatParagraph, m.obsolete)) + "\n#\n"
-else:
- m.obsolete = ""
-m.synopsis = "\n".join([ "# %s" % l for l in m.synopsis ])
-m.description = '\n#\n'.join(map(formatParagraph, m.description))
-m.authors = "\n".join(map(formatAuthor, m.authors))
-m.license = '\n#\n'.join(map(formatParagraph, m.license))
-m.body = '\n'.join(m.body)
-
-writeFile(outFile, tmpl % m.__dict__)
+++ /dev/null
-#! /usr/bin/env python
-
-assert __name__ == "__main__"
-
-import sys
-from macro import Macro, writeFile
-
-tmpl = """\
-@node %(name)s
-@unnumberedsec %(name)s
-
-@majorheading Synopsis
-
-%(synopsis)s
-
-@majorheading Description
-
-%(description)s
-
-@majorheading Source Code
-
-Download the
-@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/%(name)s.m4,latest
-version of @file{%(name)s.m4}} or browse
-@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/%(name)s.m4,the
-macro's revision history}.
-
-@majorheading License
-
-%(authors)s
-
-%(license)s
-"""
-
-def quoteTexi(buf):
- return buf.replace('@', "@@").replace('{', "@{").replace('}', "@}")
-
-def formatParagraph(para):
- assert para
- assert para[0]
- assert para[0][0]
- if para[0][0].isspace():
- return "@smallexample\n%s\n@end smallexample" % quoteTexi('\n'.join(para))
- else:
- return quoteTexi('\n'.join(para))
-
-def formatAuthor(a):
- assert a
- a["year"] = quoteTexi(a["year"])
- a["name"] = quoteTexi(a["name"])
- if "email" in a:
- a["email"] = quoteTexi(a["email"])
- return "Copyright @copyright{} %(year)s %(name)s @email{%(email)s}" % a
- else:
- return "Copyright @copyright{} %(year)s %(name)s" % a
-
-if len(sys.argv) != 3:
- raise Exception("invalid command line syntax: %s" % ' '.join(map(repr, sys.argv)))
-(m4File,outFile) = sys.argv[1:]
-assert outFile != m4File
-m = Macro(m4File)
-m.synopsis = "@smallexample\n%s\n@end smallexample" % "\n".join(map(quoteTexi, m.synopsis))
-m.description = '\n\n'.join(map(formatParagraph, m.description))
-m.description = m.description.replace("@end smallexample\n@smallexample", "\n")
-m.authors = " @* ".join([ "@w{%s}" % formatAuthor(a) for a in m.authors ])
-m.license = "\n\n".join(map(formatParagraph, m.license))
-writeFile(outFile, tmpl % m.__dict__)
+++ /dev/null
-#! /usr/bin/env perl
-# rename-macro
-# Rename an autoconf-archive macro, obsoleting the old name
-# Usage: rename-macro OLD_PREFIX NEW_PREFIX FROM TO
-# If there is no prefix to remove, make the prefix some
-# string that does not occur in the files being modified.
-
-
-use strict;
-use warnings;
-
-my ($old_prefix, $new_prefix, $old_file, $new_file) = @ARGV;
-
-# Extract names from file names
-my $old_name = $old_file;
-$old_name =~ s/\..*$//;
-my $uc_old_name = uc($old_name);
-$old_name = lc($old_name);
-my $new_name = $new_file;
-$new_name =~ s/\..*$//;
-my $uc_new_name = uc($new_name);
-$new_name = lc($new_name);
-
-# Read file
-open IN, $old_file or die "could not read `$old_file'\n";
-my $text = do { local $/, <IN> };
-
-# Make new macro
-my $new_text = $text;
-$new_text =~ s/$old_name/$new_name/g; # Change name (lower case)
-$new_text =~ s/$uc_old_name/uc($new_name)/ge; # Change name (upper case)
-$new_text =~ s/$old_prefix/$new_prefix/g; # Change other references to prefix (upper case)
-my $lc_old_prefix = lc($old_prefix);
-$new_text =~ s/$lc_old_prefix/lc($new_prefix)/ge; # Change other references to prefix (lower case)
-open OUTFILE, ">$new_file" or die "could not read `$new_file'";
-print OUTFILE $new_text;
-system "git add $new_file";
-
-# Obsolete the old macro
-my $insertion = <<END;
-# OBSOLETE MACRO
-#
-# Renamed to $uc_new_name
-#
-END
-chomp $insertion;
-my $old_text = $text;
-$old_text =~ s/^\# SYNOPSIS/"$insertion\n\# SYNOPSIS"/me;
-open OUTFILE, ">$old_file" or die "could not write `$old_file'";
-print OUTFILE $old_text;
+++ /dev/null
-#! /usr/bin/env bash
-
-set -eu
-
-set_serial_number()
-{
- sed >"$1.tmp" -e '/^$/q' "$1"
- echo >>"$1.tmp" "#serial $2"
- echo >>"$1.tmp" ""
- sed >>"$1.tmp" -e '1,/^$/d' -e '/^#serial .*/,+1d' "$1"
- mv "$1.tmp" "$1"
-}
-
-for n in "$@"; do
- echo "$n ... "
- # Determine the number of revisions that have occurred to the macro.
- revision=$(git log --oneline 054e8ad8c766afa7059d8cd4a81bbfa99133ef5e..HEAD -- "$n" | wc -l)
- # Check whether git regards the file as "modified" now. If it does,
- # the serial number needs to be bumped one more time.
- if ! git diff --quiet --exit-code HEAD -- "$n"; then
- revision="$((revision + 1))"
- fi
- # Update the serial number in the m4 file.
- set_serial_number "$n" "$revision"
-done