diff -Nru autoconf-archive-20150925/aclocal.m4 autoconf-archive-20170928/aclocal.m4 --- autoconf-archive-20150925/aclocal.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/aclocal.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# generated automatically by aclocal 1.14.1 -*- Autoconf -*- +# generated automatically by aclocal 1.15.1 -*- Autoconf -*- -# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -20,7 +20,7 @@ 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-2013 Free Software Foundation, Inc. +# Copyright (C) 2002-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -32,10 +32,10 @@ # 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.14' +[am__api_version='1.15' 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.14.1], [], +m4_if([$1], [1.15.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -51,14 +51,14 @@ # 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.14.1])dnl +[AM_AUTOMAKE_VERSION([1.15.1])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-2013 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -103,15 +103,14 @@ # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], -[dnl Rely on autoconf to set up CDPATH properly. -AC_PREREQ([2.50])dnl -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` +[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-2013 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -201,8 +200,8 @@ # # AC_SUBST([mkdir_p], ['$(MKDIR_P)']) -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. +# 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 @@ -275,7 +274,11 @@ END AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) fi -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 @@ -304,7 +307,7 @@ done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001-2013 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -315,7 +318,7 @@ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -if test x"${install_sh}" != xset; then +if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; @@ -325,7 +328,7 @@ fi AC_SUBST([install_sh])]) -# Copyright (C) 2003-2013 Free Software Foundation, Inc. +# Copyright (C) 2003-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -346,7 +349,7 @@ # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997-2013 Free Software Foundation, Inc. +# Copyright (C) 1997-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -385,7 +388,7 @@ # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001-2013 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -416,7 +419,7 @@ # Check to make sure that the build environment is sane. -*- Autoconf -*- -# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -497,7 +500,7 @@ rm -f conftest.file ]) -# Copyright (C) 2009-2013 Free Software Foundation, Inc. +# Copyright (C) 2009-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -557,7 +560,7 @@ _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) -# Copyright (C) 2001-2013 Free Software Foundation, Inc. +# Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -585,7 +588,7 @@ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006-2013 Free Software Foundation, Inc. +# Copyright (C) 2006-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -604,7 +607,7 @@ # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004-2013 Free Software Foundation, Inc. +# Copyright (C) 2004-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, diff -Nru autoconf-archive-20150925/AUTHORS autoconf-archive-20170928/AUTHORS --- autoconf-archive-20150925/AUTHORS 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/AUTHORS 2017-09-27 22:00:00.000000000 +0000 @@ -1,11 +1,13 @@ -# Copyright (c) 2015 Autoconf Archive Maintainers +# Copyright (c) 2017 Autoconf Archive Maintainers # # Copying and distribution of this file, with or without modification, are # 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 Aaron Griffith -Ahmet Inan Akim Demaille Akos Maroy Alain Barbet @@ -20,6 +22,7 @@ Alexander Petry Alexander Pletzer Alexandre Duret-Lutz +Alexey Kopytov Alexey Sokolov Allan Caffee Anders Kaseorg @@ -28,6 +31,7 @@ Andreas Saebjoernsen Andreas Schwab Andrew Collier +Andrew Stoltz Andy Kitchen Antoine Brodin Arto Bendiken @@ -36,7 +40,10 @@ Bastien Roucariès Batchyx Ben Bergen +Ben Small Ben Stanley +Benjamin Eikel +Benjamin Green Benjamin Kosnik Bernardo Innocenti Bert Wesarg @@ -52,13 +59,16 @@ Christian Persch Christian Toepp Christoph Junghans +Christophe Fergeau Christophe Tournayre Christopher Currie Christopher Gilbreth Chun-Chung Chen +Collabora Ltd. Cory Fields Craig Stimmel Cristian Rodriguez +Dag-Erling Smørgrav Dale K. Hawkins Damian Pietras Dan Horák @@ -70,8 +80,10 @@ Daniel Richard G. Daniel Trebbien Dave Benson +Dave Swofford David Cluytens David King +David Seifert Dean Povey Dennis Felsing Derek Price @@ -81,11 +93,14 @@ Dilyan Palauzov Dinar Valeev Dmitrij D. Czarkoff +Dmitry Eremin-Solenikov Dodji Seketeli Don Anderson Duncan Simpson Dustin J. Mitchell Egon Willighagen +Elliott Sales de Andrade +Emanuele Aina Emil Mikulic Emmanuele Bassi Endless Mobile, Inc.; contributed by Philip Chimento @@ -95,6 +110,7 @@ Eric Wu Evgeny Grin Fabien Coelho +Felix Chern Fernando Mut Filippo Giunchedi Francesco Salvestrini @@ -105,12 +121,17 @@ Gilles Espinasse Gleen Salmon Google Inc.; contributed by Alexey Sokolov +Gordon Byrnes Graeme S. Roy Guido U. Draheim Harald van Dijk +Harenome Ranaivoarivony-Razanajato +Heinrich Schuchardt +Helmut Grohne Henrik Uhrenholt Hib Eris Horst Knorr +Igor Gnatenko Ilguiz Latypov Ilya Etingof Jaap Eldering @@ -122,8 +143,11 @@ Jens Geyer Jeremiah Willcock Jeremie Knuesel +Jeremy C. Reed +Jeroen Meijer Jim Meyering Jimmy Jazz +Joel Frederico Joel Smith John Darrington John Peterson @@ -136,17 +160,23 @@ 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 Kaelin Colclasure Karl Wette +Karl-Johan Alm +Karlson2k Kaveh Ghazi Kevin Cernekee Kevin L. Mitchell Kevin Locke Kirill A. Korinskiy +Krzesimir Nowak Krzysztof Burghardt Kurt von Laven Lapo Luchini @@ -156,6 +186,7 @@ Li-Wen Hsu Loic Dachary Luc Maisonobe +Luca Boccassi Ludovic Courtes Luke Mewburn Maarten Bosmans @@ -163,8 +194,10 @@ Mark Elbrecht Mark Pulford Mark R. Bannister +Markus Armbruster Markus Elfring Marten Svantesson +Marvin Schmidt Mateusz Loskot Mats Kindahl Matteo Frigo @@ -172,12 +205,18 @@ Matthew D. Langston Matthew Mueller Matthew William Cox +Max Satula +Michael Catanzaro Michael Hofmann Michael McMaster Michael Paul Bailey Michael Petch +Michael Stapelberg Michael Terry Michael Tindal +Michael Truog +Michael Welsh Duggan +Michel Normand Mikael Lepisto Mike Frysinger Mike Park @@ -186,11 +225,16 @@ 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 @@ -199,12 +243,14 @@ Olly Betts Oren Ben-Kiki Oskar Liljeblad +P. F. Chimento Paolo Bonzini Paolo Borelli Patrick Mauritz Paul Gilmartin Paul Norman Pauli Nieminen +Pavel Roskin Perceval Anichini Pete Greenwell Peter Adolphs @@ -212,13 +258,17 @@ Peter Kjellerstedt Peter Simons Philip Allison +Philip Chimento Philip Withnall Philipp Thomas Pierre Hebert Rafael Laboissiere +Rafael de Lucena Valle Rafal Rzepecki +Rafał Rzepecki Ralf Wildenhues Reinhard Prix +Reini Urban Reuben Thomas Rhys Ulerich Riccardo Murri @@ -241,9 +291,11 @@ Sebastian Huber Sebastian Waschik Sergio Belkin +Simon McVittie Smithsonian Astrophysical Observatory Soren Andersen Sree Harsha Totakura +Stanislav Brabec Stanislav Sedov Stepan Kasal Stephan Suerken @@ -257,11 +309,13 @@ T.v.Dein Tal Shalif 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 Toolan Timothy Brown @@ -281,10 +335,13 @@ Vaclav Slavik Vaclav Zeman Vadim Zeitlin +Vasil Velichkov +Victor Bogado Ville Laurikari Vinson Lee Warren Young Wes Hardaker +William Price William S Fulton Wim Lewis Xan Lopez @@ -294,6 +351,8 @@ Zack Weinberg consultit david.e.pi.3.14 +dryman +gmbonnet karypid kedzie raf diff -Nru autoconf-archive-20150925/build-aux/gitlog-to-changelog autoconf-archive-20170928/build-aux/gitlog-to-changelog --- autoconf-archive-20150925/build-aux/gitlog-to-changelog 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/build-aux/gitlog-to-changelog 2017-09-27 22:00:00.000000000 +0000 @@ -1,15 +1,15 @@ -eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}' +eval '(exit $?0)' && eval 'exec perl -wS "$0" "$@"' & eval 'exec perl -wS "$0" $argv:q' if 0; # Convert git log output to ChangeLog format. -my $VERSION = '2015-06-11 01:03'; # UTC +my $VERSION = '2016-03-22 21: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. -# Copyright (C) 2008-2015 Free Software Foundation, Inc. +# Copyright (C) 2008-2017 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 @@ -298,9 +298,7 @@ { if ($sha =~ /^$_/) { - $skipflag = 1; - ## Perhaps only warn if a pattern matches more than once? - warn "$ME: warning: skipping $sha due to $_\n"; + $skipflag = $_; last; } } @@ -386,8 +384,17 @@ } # Ignore commits that match the --ignore-matching pattern, if specified. - if (! ($skipflag || (defined $ignore_matching - && @line && $line[0] =~ /$ignore_matching/))) + 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) { @@ -487,6 +494,6 @@ # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "my $VERSION = '" # time-stamp-format: "%:y-%02m-%02d %02H:%02M" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "'; # UTC" # End: diff -Nru autoconf-archive-20150925/build-aux/git-version-gen autoconf-archive-20170928/build-aux/git-version-gen --- autoconf-archive-20150925/build-aux/git-version-gen 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/build-aux/git-version-gen 2017-09-27 22:00:00.000000000 +0000 @@ -1,8 +1,8 @@ #!/bin/sh # Print a version string. -scriptversion=2014-12-02.19; # UTC +scriptversion=2017-01-09.19; # UTC -# Copyright (C) 2007-2015 Free Software Foundation, Inc. +# Copyright (C) 2007-2017 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 @@ -101,8 +101,8 @@ case $1 in --help) echo "$usage"; exit 0;; --version) echo "$version"; exit 0;; - --prefix) shift; prefix="$1";; - --fallback) shift; fallback="$1";; + --prefix) shift; prefix=${1?};; + --fallback) shift; fallback=${1?};; -*) echo "$0: Unknown option '$1'." >&2 echo "$0: Try '--help' for more information." >&2 @@ -200,7 +200,7 @@ # 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 time stamp has changed. + # 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= @@ -221,6 +221,6 @@ # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" +# time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: diff -Nru autoconf-archive-20150925/build-aux/install-sh autoconf-archive-20170928/build-aux/install-sh --- autoconf-archive-20150925/build-aux/install-sh 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/build-aux/install-sh 2017-09-27 22:00:00.000000000 +0000 @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2011-11-20.07; # UTC +scriptversion=2013-12-25.23; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -41,19 +41,15 @@ # This script is compatible with the BSD install script, but was written # from scratch. +tab=' ' nl=' ' -IFS=" "" $nl" +IFS=" $tab$nl" -# set DOITPROG to echo to test this script +# Set DOITPROG to "echo" to test this script. -# Don't use :- since 4.3BSD and earlier shells don't like it. doit=${DOITPROG-} -if test -z "$doit"; then - doit_exec=exec -else - doit_exec=$doit -fi +doit_exec=${doit:-exec} # Put in absolute file names if you don't have them in your path; # or use environment vars. @@ -68,17 +64,6 @@ rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} -posix_glob='?' -initialize_posix_glob=' - test "$posix_glob" != "?" || { - if (set -f) 2>/dev/null; then - posix_glob= - else - posix_glob=: - fi - } -' - posix_mkdir= # Desired mode of installed file. @@ -97,7 +82,7 @@ dst_arg= copy_on_change=false -no_target_directory= +is_target_a_directory=possibly usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE @@ -137,46 +122,57 @@ -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" - shift;; + shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 - case $mode in - *' '* | *' '* | *' -'* | *'*'* | *'?'* | *'['*) - echo "$0: invalid mode: $mode" >&2 - exit 1;; - esac - shift;; + case $mode in + *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac + shift;; -o) chowncmd="$chownprog $2" - shift;; + shift;; -s) stripcmd=$stripprog;; - -t) 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=always + dst_arg=$2 + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac + shift;; - -T) no_target_directory=true;; + -T) is_target_a_directory=never;; --version) echo "$0 $scriptversion"; exit $?;; - --) shift - break;; + --) shift + break;; - -*) echo "$0: invalid option: $1" >&2 - exit 1;; + -*) 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. @@ -208,6 +204,15 @@ 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 @@ -223,16 +228,16 @@ *[0-7]) if test -z "$stripcmd"; then - u_plus_rw= + u_plus_rw= else - u_plus_rw='% 200' + u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then - u_plus_rw= + u_plus_rw= else - u_plus_rw=,u+rw + u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac @@ -269,41 +274,15 @@ # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then - if test -n "$no_target_directory"; then - echo "$0: $dst_arg: Is a directory" >&2 - exit 1 + if test "$is_target_a_directory" = never; then + echo "$0: $dst_arg: Is a directory" >&2 + exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else - # Prefer dirname, but fall back on a substitute if dirname fails. - dstdir=` - (dirname "$dst") 2>/dev/null || - expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$dst" : 'X\(//\)[^/]' \| \ - X"$dst" : 'X\(//\)$' \| \ - X"$dst" : 'X\(/\)' \| . 2>/dev/null || - echo X"$dst" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q' - ` - + dstdir=`dirname "$dst"` test -d "$dstdir" dstdir_status=$? fi @@ -314,74 +293,74 @@ if test $dstdir_status != 0; then case $posix_mkdir in '') - # Create intermediate dirs using mode 755 as modified by the umask. - # This is like FreeBSD 'install' as of 1997-10-28. - umask=`umask` - case $stripcmd.$umask in - # Optimize common cases. - *[2367][2367]) mkdir_umask=$umask;; - .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; - - *[0-7]) - mkdir_umask=`expr $umask + 22 \ - - $umask % 100 % 40 + $umask % 20 \ - - $umask % 10 % 4 + $umask % 2 - `;; - *) mkdir_umask=$umask,go-w;; - esac - - # 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 - case $umask in - *[123567][0-7][0-7]) - # POSIX mkdir -p sets u+wx bits regardless of umask, which - # is incompatible with FreeBSD 'install' when (umask & 300) != 0. - ;; - *) - tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ - trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 - - if (umask $mkdir_umask && - exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/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. - ls_ld_tmpdir=`ls -ld "$tmpdir"` - case $ls_ld_tmpdir in - d????-?r-*) different_mode=700;; - d????-?--*) different_mode=755;; - *) false;; - esac && - $mkdirprog -m$different_mode -p -- "$tmpdir" && { - ls_ld_tmpdir_1=`ls -ld "$tmpdir"` - test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" - } - } - then posix_mkdir=: - fi - rmdir "$tmpdir/d" "$tmpdir" - else - # Remove any dirs left behind by ancient mkdir implementations. - rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null - fi - trap '' 0;; - esac;; + # Create intermediate dirs using mode 755 as modified by the umask. + # This is like FreeBSD 'install' as of 1997-10-28. + umask=`umask` + case $stripcmd.$umask in + # Optimize common cases. + *[2367][2367]) mkdir_umask=$umask;; + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; + + *[0-7]) + mkdir_umask=`expr $umask + 22 \ + - $umask % 100 % 40 + $umask % 20 \ + - $umask % 10 % 4 + $umask % 2 + `;; + *) mkdir_umask=$umask,go-w;; + esac + + # 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 + case $umask in + *[123567][0-7][0-7]) + # POSIX mkdir -p sets u+wx bits regardless of umask, which + # is incompatible with FreeBSD 'install' when (umask & 300) != 0. + ;; + *) + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + + if (umask $mkdir_umask && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/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. + ls_ld_tmpdir=`ls -ld "$tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/d" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null + fi + trap '' 0;; + esac;; esac if $posix_mkdir && ( - umask $mkdir_umask && - $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else @@ -391,53 +370,51 @@ # directory the slow way, step by step, checking for races as we go. case $dstdir in - /*) prefix='/';; - [-=\(\)!]*) prefix='./';; - *) prefix='';; + /*) prefix='/';; + [-=\(\)!]*) prefix='./';; + *) prefix='';; esac - eval "$initialize_posix_glob" - oIFS=$IFS IFS=/ - $posix_glob set -f + set -f set fnord $dstdir shift - $posix_glob set +f + set +f IFS=$oIFS prefixes= for d do - test X"$d" = X && continue + 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/ + 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 + # 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 @@ -472,15 +449,12 @@ # 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` && - - eval "$initialize_posix_glob" && - $posix_glob set -f && + 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 && - $posix_glob set +f && - + set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then @@ -493,24 +467,24 @@ # 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 -f "$dst" 2>/dev/null || - { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && - { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } - } || - { echo "$0: cannot unlink or rename $dst" >&2 - (exit 1); exit 1 - } - } && + # 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 -f "$dst" 2>/dev/null || + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && + { $doit $rmcmd -f "$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" + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 diff -Nru autoconf-archive-20150925/build-aux/mdate-sh autoconf-archive-20170928/build-aux/mdate-sh --- autoconf-archive-20150925/build-aux/mdate-sh 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/build-aux/mdate-sh 2017-09-27 22:00:00.000000000 +0000 @@ -3,7 +3,7 @@ scriptversion=2010-08-21.06; # UTC -# Copyright (C) 1995-2013 Free Software Foundation, Inc. +# Copyright (C) 1995-2014 Free Software Foundation, Inc. # written by Ulrich Drepper , June 1995 # # This program is free software; you can redistribute it and/or modify diff -Nru autoconf-archive-20150925/build-aux/missing autoconf-archive-20170928/build-aux/missing --- autoconf-archive-20150925/build-aux/missing 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/build-aux/missing 2017-09-27 22:00:00.000000000 +0000 @@ -3,7 +3,7 @@ scriptversion=2013-10-28.13; # UTC -# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# Copyright (C) 1996-2014 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify diff -Nru autoconf-archive-20150925/ChangeLog autoconf-archive-20170928/ChangeLog --- autoconf-archive-20150925/ChangeLog 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/ChangeLog 2017-09-27 22:00:00.000000000 +0000 @@ -4,6 +4,1570 @@ # permitted in any medium without royalty provided the copyright notice and # this notice are preserved. This file is offered as-is, without any warranty. +2017-09-28 Peter Simons + + AX_SUBDIRS_CONFIGURE: cosmetic + +2017-09-28 Peter Simons + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 + + AX_BOOST_BASE: fix revision number + + AX_CHECK_GL: fix revision number + + Merge remote-tracking branch 'github/master' + +2017-08-16 Bastien Roucariès + + Use AS_IF ansd follow progress + Simplify checking of path + +2017-08-15 Bastien Roucariès + + 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 + + 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 + + Do not forget to save LDFLAGS + ax_check_gl forget to save LDFLAGS + + Thanks to Jerome Benoit + + debian-bug; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848363 + +2017-08-15 Bastien Roucariès + + Add newer version of python + Add newer version of python. Thanks to debian + +2017-08-12 Harenome Ranaivoarivony-Razanajato + + 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 + + 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 + + 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= 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 + + Merge remote-tracking branch 'github/master' + +2017-08-01 Harenome Ranaivoarivony-Razanajato + + 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 + + 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 + + AX_JNI_INCLUDE_DIR: Do not use AC_CHECK_FILE as it is unavailable on some systems. + +2017-06-27 Simon McVittie + + 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 + + AX_RUBY_EXT: Use RbConfig instead of deprecated Config module + +2017-06-05 David Seifert + + 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 + + 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 + + AX_SUBDIRS_CONFIGURE: fix documentation layout for proper HTML rendering + +2017-04-21 Harenome Ranaivoarivony-Razanajato + + 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 + + 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 + + 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 + + AX_PROG_EMACS: New submission + * m4/ax_prog_emacs.m4: New file. + +2017-03-29 Peter Simons + + AX_SYS_LARGEFILE_SENSITIVE: fix spelling of immediately + + Fix serial numbers after spelling fixes from cf2bd2c981de. + +2017-03-28 Josh Soref + + spelling: versions + + spelling: version + + spelling: variable + + spelling: useful + + spelling: upon + + spelling: unusable + + spelling: unsupported + +2017-03-29 Josh Soref + + spelling: unknown + +2017-03-28 Josh Soref + + 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 + + Make the version check in AX_RUBY_DEVEL actually work + +2017-03-22 Rafał Rzepecki + + 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 + + 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 + +2017-03-21 Christophe Fergeau + + 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 + +2017-03-14 Igor Gnatenko + + 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 + + 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 + + Merge pull request #114 from akopytov/master + Add support for Cavium ThunderX2 CN99xx to AX_GCC_ARCHFLAG. + +2017-02-27 gmbonnet + + 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 + + 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 + + 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 + + Correct library name of Boost.Chrono + +2017-02-12 Pavel Roskin + + 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 + + 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 + +2017-02-08 Mike Frysinger + + switch gnu.org sites to https + +2017-01-26 Rafael de Lucena Valle + + AX_EXT: update to detect Altivec and VSX instructions on new machines + +2017-01-25 Gordon Byrnes + + 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 + + Add new macro AX_ADD_FORTIFY_SOURCE + +2017-01-17 Peter Simons + + Merge pull request #103 from proski/socklen-werror + AX_TYPE_SOCKLEN_T: fix "-Wall -Werror" compatibility + +2017-01-17 Heinrich Schuchardt + + 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 + + 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 + + Added macro to detect .NET core version. + +2016-12-24 Pavel Roskin + + 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 + + ax_prog_xsltproc: drop tabs from m4 source code + + ax_prog_xsltproc: bump serial number + +2016-12-06 Jeremy C. Reed + + ax_prog_xsltproc: improve portability + +2016-12-06 Peter Simons + + ax_boost_thread.m4: bump serial number + +2016-12-06 Michael Truog + + 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 . + +2016-12-06 Michael Truog + + 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 + + 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 + + AX_PKG_SWIG: add support for swig 3.0 + Suggested-by: keith.bostic@mongodb.com + +2016-12-06 Kevin Locke + + 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 + + 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 + + CXX_COMPILE_STDCXX: Check alternative flags too + + CXX_COMPILE_STDCXX: Add checks for C++17 compiler + +2016-11-28 Nick Gasson + + Add returns_nonnull to ax_gcc_func_attributes.m4 + This was a recent addition to GCC + +2016-11-16 Michael Stapelberg + + ax_extend_srcdir: also accept absolute paths + +2016-11-10 Philip Chimento + + 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 + + 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 + + Add AX_EXTEND_SRCDIR macro. + Please refer to the file itself for documentation. + +2016-10-06 Michael Stapelberg + + 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 + + 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 + + Remove extraneous whitespace to make ifelse() work + +2016-10-01 Simon McVittie + + 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 + + Merge pull request #95 from smcv/ax-is-release-dash-version + AX_IS_RELEASE: add dash-version policy + +2016-09-28 Simon McVittie + + 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 + + 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 + + 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 + + ax_gcc_x86_cpu_supports: drop trailing blanks + +2016-09-16 Dag-Erling Smørgrav + + ax_gcc_builtin: add __builtin_bswap16 + +2016-08-31 Andrew Stoltz + + Fix reference to LIBMYSQLCPPCONN_CXXFLAGS + +2016-08-19 Philip Withnall + + 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 + + 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 + + AX_IS_RELEASE: Support out-of-tree builds + +2016-08-16 Philip Chimento + + 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 + + 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 + + Add AX_LUAROCKS_ROCK + +2016-06-24 Olaf Mandel + + AX_OPEN62541_PATH: set AM_DISTCHECK_CONFIGURE_FLAGS + When configuring --with-open62541=, 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 + + 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= 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:. + +2016-06-15 Peter Simons + + Merge pull request #81 from olaf-mandel/ax_check_open62541 + Add AX_CHECK_OPEN62541_{H,LIB} macros + +2016-06-15 Olaf Mandel + + 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 + + Merge pull request #82 from joelfrederico/master + HDF5 type variable + +2016-06-15 Joel Frederico + + 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 + + ax_count_cpus.m4: better support NetBSD + +2016-06-14 Olaf Mandel + + 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]: + +2016-06-14 Karlson2k + + 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 + + ax_count_cpus.m4: improve compatibility with various shells + +2016-05-28 Julian Ospald + + 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 + + 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 + + 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 + + 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 + + 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 + + AX_COUNT_CPUS: added optional ACTION-IF-DETECTED and ACTION-IF-NOT-DETECTED + +2016-04-13 Eric Bavier + + AX_BUILD_DATE_EPOCH: New macro + +2016-04-12 P. F. Chimento + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 + + AX_WITH_CURSES: Enable pkg-config support, fallback now requires -ltinfo for ncurses 6 + +2016-03-21 Enrico M. Crisostomo + + Update CXXCPP after updating CXX. + Rewrap text. + + Rewrap. + +2016-03-20 Peter Simons + + AX_PTHREAD: import draft 4 from https://savannah.gnu.org/patch/?8186 + + ax_check_gl*: drop trailing whitespace + +2016-03-20 Luca Boccassi + + 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 + + Merge pull request #66 from dryman/opengl + Improved three opengl autoconf macros + +2016-03-09 dryman + + Fix ax_restore/save_flags_with_prefix.m4 + Need to use AC_DEFUN instead of m4_define + +2016-03-09 dryman + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 + + AX_GCC_VAR_ATTRIBUTE: fix spelling error + https://savannah.gnu.org/patch/index.php?8815 + +2016-02-29 Joshua Judson Rosen + + 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 + + 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 + + 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 + + Add ax_var_pop.m4 and ax_var_push.m4 macros. + +2016-02-26 Olaf Mandel + + 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 + + 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 + + AX_CODE_COVERAGE: Support multiple directories to extract coverage data + Support multiple directories being passed to CODE_COVERAGE_DIRECTORY. + +2016-02-01 Philip Withnall + + 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 + + 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 + + Added support for the MSYS2/mingw system. + +2016-01-11 Victor Bogado + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 + + Merge branch 'code-coverage' of https://github.com/olaf-mandel/autoconf-archive into olaf-mandel-code-coverage. + +2015-11-23 Olaf Mandel + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 AX_PYTHON_DEVEL: provide PYTHON_LIBS, not PYTHON_LDFLAGS diff -Nru autoconf-archive-20150925/configure autoconf-archive-20170928/configure --- autoconf-archive-20150925/configure 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/configure 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for GNU Autoconf Archive 2015.09.25. +# Generated by GNU Autoconf 2.69 for GNU Autoconf Archive 2017.09.28. # # Report bugs to . # @@ -580,10 +580,10 @@ # Identity of this package. PACKAGE_NAME='GNU Autoconf Archive' PACKAGE_TARNAME='autoconf-archive' -PACKAGE_VERSION='2015.09.25' -PACKAGE_STRING='GNU Autoconf Archive 2015.09.25' +PACKAGE_VERSION='2017.09.28' +PACKAGE_STRING='GNU Autoconf Archive 2017.09.28' PACKAGE_BUGREPORT='autoconf-archive-maintainers@gnu.org' -PACKAGE_URL='http://www.gnu.org/software/autoconf-archive/' +PACKAGE_URL='https://www.gnu.org/software/autoconf-archive/' ac_unique_file="doc/autoconf-archive.texi" ac_subst_vars='LTLIBOBJS @@ -1204,7 +1204,7 @@ # 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 2015.09.25 to adapt to many kinds of systems. +\`configure' configures GNU Autoconf Archive 2017.09.28 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1271,7 +1271,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of GNU Autoconf Archive 2015.09.25:";; + short | recursive ) echo "Configuration of GNU Autoconf Archive 2017.09.28:";; esac cat <<\_ACEOF @@ -1283,7 +1283,7 @@ --disable-silent-rules verbose build output (undo: "make V=0") Report bugs to . -GNU Autoconf Archive home page: . +GNU Autoconf Archive home page: . General help using GNU software: . _ACEOF ac_status=$? @@ -1347,7 +1347,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -GNU Autoconf Archive configure 2015.09.25 +GNU Autoconf Archive configure 2017.09.28 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1364,7 +1364,7 @@ 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 2015.09.25, which was +It was created by GNU Autoconf Archive $as_me 2017.09.28, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -1741,7 +1741,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. -am__api_version='1.14' +am__api_version='1.15' # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or @@ -1913,8 +1913,8 @@ ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` +# Expand $ac_aux_dir to an absolute path. +am_aux_dir=`cd "$ac_aux_dir" && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in @@ -1933,7 +1933,7 @@ $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi -if test x"${install_sh}" != xset; then +if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; @@ -2227,7 +2227,7 @@ # Define the identity of the package. PACKAGE='autoconf-archive' - VERSION='2015.09.25' + VERSION='2017.09.28' cat >>confdefs.h <<_ACEOF @@ -2261,8 +2261,8 @@ # mkdir_p='$(MKDIR_P)' -# We need awk for the "check" target. The system "awk" is bad on -# some platforms. +# 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}' @@ -2321,6 +2321,7 @@ fi + { $as_echo "$as_me:${as_lineno-$LINENO}: $PACKAGE_STRING" >&5 $as_echo "$as_me: $PACKAGE_STRING" >&6;} @@ -2394,10 +2395,10 @@ 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_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_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_program_options.m4 m4/ax_boost_python.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_c99_inline.m4 m4/ax_c___attribute__.m4 m4/ax_c_arithmetic_rshift.m4 m4/ax_c_bigendian_cross.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_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_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_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_0x.m4 m4/ax_cxx_compile_stdcxx_11.m4 m4/ax_cxx_compiler_vendor.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_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_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_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_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_libraries_dir.m4 m4/ax_gcc_libsupcxx.m4 m4/ax_gcc_malloc_call.m4 m4/ax_gcc_var_attribute.m4 m4/ax_gcc_version.m4 m4/ax_gcc_warn_unused_result.m4 m4/ax_gcc_x86_avx_xgetbv.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_opengl.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_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_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_maintainer_mode_auto_silent.m4 m4/ax_missing_prog.m4 m4/ax_mpi.m4 m4/ax_mpip.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_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_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_doxygen.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_guile_version.m4 m4/ax_prog_haxe_version.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_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_require_defined.m4 m4/ax_require_one_func.m4 m4/ax_restore_flags.m4 m4/ax_rpm_init.m4 m4/ax_ruby_devel.m4 m4/ax_ruby_ext.m4 m4/ax_save_flags.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_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_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_zoneinfo.m4" +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_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_program_options.m4 m4/ax_boost_python.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_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_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_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_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_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_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_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_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_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_program_options.texi ax_boost_python.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_c99_inline.texi ax_c___attribute__.texi ax_c_arithmetic_rshift.texi ax_c_bigendian_cross.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_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_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_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_0x.texi ax_cxx_compile_stdcxx_11.texi ax_cxx_compiler_vendor.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_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_enable_builddir.texi ax_execinfo.texi ax_expand_prefix.texi ax_ext.texi ax_ext_check_header.texi ax_ext_have_lib.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_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_libraries_dir.texi ax_gcc_libsupcxx.texi ax_gcc_malloc_call.texi ax_gcc_var_attribute.texi ax_gcc_version.texi ax_gcc_warn_unused_result.texi ax_gcc_x86_avx_xgetbv.texi ax_gcc_x86_cpuid.texi ax_generate_changelog.texi ax_gnu_autotest.texi ax_have_adns.texi ax_have_epoll.texi ax_have_opengl.texi ax_have_poll.texi ax_have_qt.texi ax_have_select.texi ax_include_strcasecmp.texi ax_install_files.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_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_maintainer_mode_auto_silent.texi ax_missing_prog.texi ax_mpi.texi ax_mpip.texi ax_need_awk.texi ax_normalize_path.texi ax_not_enable_frame_pointer.texi ax_numeric_namedlevel.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_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_doxygen.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_guile_version.texi ax_prog_haxe_version.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_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_require_defined.texi ax_require_one_func.texi ax_restore_flags.texi ax_rpm_init.texi ax_ruby_devel.texi ax_ruby_ext.texi ax_save_flags.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_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_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_zoneinfo.texi" +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_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_program_options.texi ax_boost_python.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_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_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_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_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_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_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_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" @@ -2953,7 +2954,7 @@ # 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 2015.09.25, which was +This file was extended by GNU Autoconf Archive $as_me 2017.09.28, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3001,14 +3002,14 @@ $config_files Report bugs to . -GNU Autoconf Archive home page: . +GNU Autoconf Archive home page: . General help using GNU software: ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -GNU Autoconf Archive config.status 2015.09.25 +GNU Autoconf Archive config.status 2017.09.28 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -Nru autoconf-archive-20150925/configure.ac autoconf-archive-20170928/configure.ac --- autoconf-archive-20150925/configure.ac 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/configure.ac 2017-09-27 22:00:00.000000000 +0000 @@ -10,7 +10,7 @@ AC_INIT([GNU Autoconf Archive], m4_esyscmd([build-aux/git-version-gen .tarball-version]), [autoconf-archive-maintainers@gnu.org], [autoconf-archive], - [http://www.gnu.org/software/autoconf-archive/]) + [https://www.gnu.org/software/autoconf-archive/]) AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([1.11 -Wall gnu no-dist-gzip dist-xz]) AC_PREREQ([2.65]) diff -Nru autoconf-archive-20150925/COPYING autoconf-archive-20170928/COPYING --- autoconf-archive-20150925/COPYING 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/COPYING 2017-09-27 22:00:00.000000000 +0000 @@ -645,7 +645,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see . + along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. @@ -664,11 +664,11 @@ You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see -. +. The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read -. +. diff -Nru autoconf-archive-20150925/debian/changelog autoconf-archive-20170928/debian/changelog --- autoconf-archive-20150925/debian/changelog 2015-12-27 22:39:27.000000000 +0000 +++ autoconf-archive-20170928/debian/changelog 2019-12-02 00:58:28.000000000 +0000 @@ -1,3 +1,71 @@ +autoconf-archive (20170928-2~16.04.sav0) xenial; urgency=medium + + * Backport to Xenial + * debian/compat: Set compat level to 10 (highest for Xenial debhelper) + + -- Rob Savoury Sun, 01 Dec 2019 16:58:28 -0800 + +autoconf-archive (20170928-2) unstable; urgency=medium + + * Bug fix: "ax_lib_postgresql.m4 must be updated to work with the + Debian-specific version string", thanks to Adrian Bunk (Closes: + #892690). + + -- Bastien Roucariès Mon, 12 Mar 2018 21:41:18 +0100 + +autoconf-archive (20170928-1) unstable; urgency=medium + + * New upstream version: + + The macros AX_PROG_HELP2MAN, AX_RECURSIVE_EVAL, + AX_SUBDIRS_CONFIGURE, + AX_ELISP, and AX_PROG_EMACS have been added. + * Drop autoconf-gl-macros (Closes: #878202). + * Bug fix: "AC_BOOST_BASE is broken for cross compilation", thanks to + Helmut Grohne (Closes: #872256). + + -- Bastien Roucariès Fri, 09 Mar 2018 15:56:16 +0100 + +autoconf-archive (20170321-1) unstable; urgency=low + + * New upstream version: + + remove obsolete macros: ax_c_bigendian_cross.m4, + ax_gcc_libraries_dir.m4, ax_gcc_version.m4, m4/ax_have_opengl.m4. + + Bug fix: "AX_IS_RELEASE does not work", thanks to Jens Sauer + (Closes: #859937). + * Switch to compat 10. + * Import master patch for supporting python > 2.6 in + m4/ax_python.m4 (Closes: #862440) + * Bug fix: "AX_CHECK_GL does not save LDFALGS but restores it", + thanks to Jerome Benoit (Closes: #848363). + * Bump policy, no changes + * Add my new debian address rouca@debian.org + + -- Bastien Roucariès Wed, 26 Jul 2017 23:43:47 +0200 + +autoconf-archive (20160916-1) unstable; urgency=medium + + * New upstream version. + * Bug fix: "please mark autoconf-archive Multi-Arch: foreign", thanks to + Helmut Grohne (Closes: #840079). + * Bug fix: "ax_cxx_compile_stdcxx_*.m4 are broken, cause failures + building other software", thanks to Matthew Gabeler-Lee (Closes: + #838615). + * Bug fix: "Does not set HAVE_CXX11=1 if mandatory", thanks to Michael + Welsh Duggan (Closes: #806776). + + -- Bastien Roucariès Mon, 10 Oct 2016 22:34:37 +0200 + +autoconf-archive (20160320-1) unstable; urgency=medium + + * New upstream release (Closes: #829292). + * Bug fix: "AX_CODE_COVERAGE: does not support lcov-1.12", thanks to + Roman Lebedev (Closes: #834645). + * Put my name is lower case. + * Bump Standards-Version in debian/control (no changes required). + * Fix lintian warnings. + + -- Bastien Roucariès Mon, 05 Sep 2016 14:46:38 +0200 + autoconf-archive (20150925-1) unstable; urgency=medium * New upstream version diff -Nru autoconf-archive-20150925/debian/compat autoconf-archive-20170928/debian/compat --- autoconf-archive-20150925/debian/compat 2015-12-27 22:39:27.000000000 +0000 +++ autoconf-archive-20170928/debian/compat 2019-12-02 00:58:11.000000000 +0000 @@ -1 +1 @@ -9 +10 diff -Nru autoconf-archive-20150925/debian/control autoconf-archive-20170928/debian/control --- autoconf-archive-20150925/debian/control 2015-12-27 22:39:27.000000000 +0000 +++ autoconf-archive-20170928/debian/control 2018-03-12 20:41:18.000000000 +0000 @@ -1,17 +1,18 @@ Source: autoconf-archive -Maintainer: Bastien ROUCARIÈS +Maintainer: Bastien Roucariès Uploaders: Deng Xiyue Section: devel Priority: optional -Build-Depends: debhelper (>= 9), +Build-Depends: debhelper (>= 11), texinfo -Standards-Version: 3.9.6 +Standards-Version: 4.1.3 Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/autoconf-archive.git -Vcs-Git: git://anonscm.debian.org/collab-maint/autoconf-archive.git -Homepage: http://www.gnu.org/software/autoconf-archive/ +Vcs-Git: https://anonscm.debian.org/collab-maint/autoconf-archive.git +Homepage: https://www.gnu.org/software/autoconf-archive/ Package: autoconf-archive Architecture: all +Multi-Arch: foreign Depends: ${misc:Depends} Recommends: autoconf Enhances: autoconf @@ -20,16 +21,10 @@ gnome-common (<< 3.14.0-2~) Replaces: autoconf-gl-macros (<< 20130609-1~), gnome-common (<< 3.14.0-2~) +Provides: autoconf-gl-macros Description: Autoconf Macro Archive Autoconf Macro Archive aims to provide a central repository of useful and tested Autoconf macros for software developers around the world. This package contains the complete content of the Autoconf Macro Archive as found at http://www.gnu.org/software/autoconf-archive/. -Package: autoconf-gl-macros -Architecture: all -Section: oldlibs -Depends: ${misc:Depends}, - autoconf-archive -Description: Autoconf OpenGL Macro Archive -- transitional dummy package - This is a transitional dummy package. It can safely be removed. diff -Nru autoconf-archive-20150925/debian/copyright autoconf-archive-20170928/debian/copyright --- autoconf-archive-20150925/debian/copyright 2015-12-27 22:39:27.000000000 +0000 +++ autoconf-archive-20170928/debian/copyright 2018-03-12 20:41:18.000000000 +0000 @@ -1,14 +1,14 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ upstream-Name: autoconf-archive Upstream-Contact: Autoconf Archive Maintainers -Source: http://www.gnu.org/software/autoconf-archive/ +Source: https://www.gnu.org/software/autoconf-archive/ Files: * -Copyright: 2014-2015, Autoconf Archive Maintainers +Copyright: 2014-2017, Autoconf Archive Maintainers License: GPL-3+ Files: aclocal.m4 -Copyright: 1996-2012 Free Software Foundation, Inc. +Copyright: 1996-2014 Free Software Foundation, Inc. License: GNU-All-Permissive-License-like This file is free softwar; the Free Software Foundation gives unlimited permission to copy and/or distribute it, @@ -20,17 +20,17 @@ PARTICULAR PURPOSE. Files: configure -Copyright: 1992-1996, 1998-2012 Free Software Foundation, Inc. +Copyright: 1992-1996, 1998-2017 Free Software Foundation, Inc. License: Unlimited-permission This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. Files: build-aux/gitlog-to-changelog -Copyright: 2008-2014, Free Software Foundation, Inc. +Copyright: 2008-2016, Free Software Foundation, Inc. License: GPL-3+ Files: build-aux/git-version-gen -Copyright: 2007-2014, Free Software Foundation, Inc. +Copyright: 2007-2017, Free Software Foundation, Inc. License: GPL-3+ Files: build-aux/install-sh @@ -61,11 +61,11 @@ FSF changes to this file are in the public domain. Files: build-aux/mdate-sh -Copyright: 1995-2013 Free Software Foundation, Inc +Copyright: 1995-2014 Free Software Foundation, Inc License: GPL-2+ Files: build-aux/missing -Copyright: 1996-2013 Free Software Foundation, Inc. +Copyright: 1996-2014 Free Software Foundation, Inc. License: GPL-2+ Files: build-aux/texinfo.tex @@ -111,6 +111,10 @@ Copyright: 2009, Rhys Ulerich License: GNU-All-Permissive-License +Files: m4/ax_add_fortify_source.m4 +Copyright: 2017, David Seifert +License: GNU-All-Permissive-License + Files: m4/ax_add_recursive_am_macro.m4 Copyright: 2009, Tom Howard License: GNU-All-Permissive-License @@ -166,6 +170,7 @@ Files: m4/ax_asm_inline.m4 Copyright: 2008, Alan Woodland 2009, Rhys Ulerich + 2017, Reini Urban License: GNU-All-Permissive-License Files: m4/ax_auto_include_headers.m4 @@ -200,6 +205,8 @@ Copyright: 2008, Thomas Porschberg 2009, Peter Adolphs 2014, Alexander Afanasyev + 2017, Helmut Grohne + 2017, Nico Madysa License: GNU-All-Permissive-License Files: m4/ax_boost_chrono.m4 @@ -295,6 +302,10 @@ Copyright: 2008, Thomas Porschberg License: GNU-All-Permissive-License +Files: m4/ax_build_date_epoch.m4 +Copyright: 2016, Eric Bavier +License: GPL3+-with-Autoconf-Macros-exception + Files: m4/ax_c99_inline.m4 Copyright: 2009, Michael McMaster License: GNU-All-Permissive-License @@ -329,10 +340,6 @@ 2008, Ryan McCabe License: GPL2+-with-Autoconf-Macros-exception -Files: m4/ax_c_bigendian_cross.m4 -Copyright: 2008, Guido U. Draheim -License: GPL3+-with-Autoconf-Macros-exception - Files: m4/ax_cc_for_build.m4 Copyright: 2010, Reuben Thomas 1999, Richard Henderson @@ -657,19 +664,32 @@ Copyright: 2008, Nick Markham License: GNU-All-Permissive-License +Files: m4/ax_check_gir_symbols_gjs.m4 +Copyright: 2013, 2016 Endless Mobile, Inc. + 2013, 2016 Philip Chimento +License: GNU-All-Permissive-License + +Files: m4/ax_check_girs_gjs.m4 +Copyright: 2013, 2016 Endless Mobile, Inc. + 2013, 2016 Philip Chimento +License: GNU-All-Permissive-License + Files: m4/ax_check_gl.m4 Copyright: 2009, Braden McDaniel 2012, Bastien Roucaries + 2016, Felix Chern License: GPL2+-with-Autoconf-Macros-exception Files: m4/ax_check_glu.m4 Copyright: 2009, Braden McDaniel 2012, Bastien Roucaries + 2016, Felix Chern License: GPL2+-with-Autoconf-Macros-exception Files: m4/ax_check_glut.m4 Copyright: 2009, Braden McDaniel 2012, Bastien Roucaries + 2016, Felix Chern License: GPL2+-with-Autoconf-Macros-exception Files: m4/ax_check_glx.m4 @@ -809,6 +829,10 @@ Copyright: 2014, Kevin Cernekee License: GNU-All-Permissive-License +Files: m4/ax_check_x86_features.m4 +Copyright: 2016 Felix Chern +License: GPL2+-with-Autoconf-Macros-exception + Files: m4/ax_check_zlib.m4 Copyright: 2008, Loic Dachary 2010, Bastien Chevreux @@ -819,12 +843,13 @@ License: GNU-All-Permissive-License Files: m4/ax_code_coverage.m4 -Copyright: 2012, Philip Withnall +Copyright: 2012, 2016, Philip Withnall 2012, Xan Lopez 2012, Christian Persch 2012, Paolo Borelli 2012, Dan Winship 2015, Bastien ROUCARIES + 2017, Vasil Velichkov License: LGPL-2.1+ Files: m4/ax_compare_version.m4 @@ -935,20 +960,35 @@ 2008, Luc Maisonobe License: GNU-All-Permissive-License -Files: m4/ax_cxx_compile_stdcxx_11.m4 +Files: m4/ax_cxx_compile_stdcxx.m4 Copyright: 2008, Benjamin Kosnik 2012, Zack Weinberg 2013, Roy Stogner 2014-2015, Google Inc (contributed by Alexey Sokolov) 2015, Paul Norman + 2015, Moritz Klammler + 2016, Krzesimir Nowak License: GNU-All-Permissive-License -Files: m4/ax_cxx_compiler_vendor.m4 -Copyright: 2008, Ludovic Courtes +Files: m4/ax_cxx_compile_stdcxx_0x.m4 +Copyright: 2008, Benjamin Kosnik License: GNU-All-Permissive-License -Files: m4/ax_cxx_compile_stdcxx_0x.m4 +Files: m4/ax_cxx_compile_stdcxx_11.m4 Copyright: 2008, Benjamin Kosnik + 2012, Zack Weinberg + 2013, Roy Stogner + 2014-2015, Google Inc (contributed by Alexey Sokolov) + 2015, Paul Norman +License: GNU-All-Permissive-License + +Files: m4/ax_cxx_compile_stdcxx_14.m4 +Copyright: 2015, Moritz Klammler +License: GNU-All-Permissive-License + +Files: m4/ax_cxx_compile_stdcxx_17.m4 +Copyright: 2015, Moritz Klammler + 2016, Krzesimir Nowak License: GNU-All-Permissive-License Files: m4/ax_cxx_complex_math_in_namespace_std.m4 @@ -1348,6 +1388,10 @@ 2008, Lapo Luchini License: GNU-All-Permissive-License +Files: m4/ax_czmq.m4 +Copyright: 2016, Jeroen Meijer +License: GNU-All-Permissive-License + Files: m4/ax_decl_wchar_max.m4 Copyright: 2008, Ville Laurikari License: GNU-All-Permissive-License @@ -1376,6 +1420,10 @@ Copyright: 2008, Steven Brown License: GNU-All-Permissive-License +Files: m4/ax_elisp.m4 +Copyright: 2016-2017 Thien-Thi Nguyen +License: GPL3+-with-Autoconf-Macros-exception + Files: m4/ax_enable_builddir.m4 Copyright: 2009, Guido U. Draheim 2009, Alan Jenkins @@ -1397,9 +1445,14 @@ Copyright: 2008, Duncan Simpson License: GNU-All-Permissive-License +Files: m4/ax_extend_srcdir.m4 +Copyright: 2016 Michael Stapelberg +License: GNU-All-Permissive-License + Files: m4/ax_ext.m4 Copyright: 2008, Christophe Tournayre 2013, Michael Petch + 2017, Rafael de Lucena Valle License: GNU-All-Permissive-License +Files: m4/ax_fc_check_define.m4 +Copyright: 2016, Timothy Brown +License: GNU-All-Permissive-License + Files: m4/ax_file_escapes.m4 Copyright: 2008, Tom Howard License: GNU-All-Permissive-License @@ -1495,6 +1552,7 @@ Copyright: 2008, Steven G. Johnson 2008, Matteo Frigo 2012-2014, Tsukasa Oi + 2017, Alexey Kopytov License: GPL3+-with-Autoconf-Macros-exception Files: m4/ax_gcc_builtin.m4 @@ -1507,6 +1565,7 @@ Files: m4/ax_gcc_func_attribute.m4 Copyright: 2013, Gabriele Svelto + 2017, Stanislav Brabec License: GNU-All-Permissive-License Files: m4/ax_gcc_libgcc_eh.m4 @@ -1517,10 +1576,6 @@ Copyright: 2009, Francesco Salvestrini License: GPL2+-with-Autoconf-Macros-exception -Files: m4/ax_gcc_libraries_dir.m4 -Copyright: 2009, Francesco Salvestrini -License: GPL2+-with-Autoconf-Macros-exception - Files: m4/ax_gcc_libsupcxx.m4 Copyright: 2009, Francesco Salvestrini 2009, Alessandro Massignan @@ -1534,10 +1589,6 @@ Copyright: 2013, Gabriele Svelto License: GNU-All-Permissive-License -Files: m4/ax_gcc_version.m4 -Copyright: 2009, Francesco Salvestrini -License: GPL2+-with-Autoconf-Macros-exception - Files: m4/ax_gcc_warn_unused_result.m4 Copyright: 2008, Guido U. Draheim License: GPL3+-with-Autoconf-Macros-exception @@ -1546,6 +1597,10 @@ Copyright: 2013, Michael Petch License: GPL3+-with-Autoconf-Macros-exception +Files: m4/ax_gcc_x86_cpu_supports.m4 +Copyright: 2016 Felix Chern +License: GPL2+-with-Autoconf-Macros-exception + Files: m4/ax_gcc_x86_cpuid.m4 Copyright: 2008, Steven G. Johnson 2008, Matteo Frigo @@ -1568,11 +1623,6 @@ Copyright: 2008, Peter Simons License: GNU-All-Permissive-License -Files: m4/ax_have_opengl.m4 -Copyright: 2008, Matthew D. Langston - 2008, Ahmet Inan -License: GPL2+-with-Autoconf-Macros-exception - Files: m4/ax_have_poll.m4 Copyright: 2009, Peter Simons License: GNU-All-Permissive-License @@ -1591,6 +1641,7 @@ Files: m4/ax_is_release.m4 Copyright: 2015, Philip Withnall + 2016, Collabora Ltd. License: GNU-All-Permissive-License Files: m4/ax_install_files.m4 @@ -1607,6 +1658,7 @@ Files: m4/ax_jni_include_dir.m4 Copyright: 2008, Don Anderson + 2017, Karl-Johan Alm License: GNU-All-Permissive-License Files: m4/ax_lapack.m4 @@ -1679,6 +1731,10 @@ Copyright: 2011, Xiyue Deng License: GNU-All-Permissive-License +Files: m4/ax_lib_netcdf4.m4 +Copyright: 2016, Timothy Brown +License: GNU-All-Permissive-License + Files: m4/ax_lib_nettle.m4 Copyright: 2009, Fabien Coelho License: GNU-All-Permissive-License @@ -1689,6 +1745,7 @@ Files: m4/ax_lib_oracle_oci.m4 Copyright: 2008, Mateusz Loskot + 2017, Max Satula License: GNU-All-Permissive-License Files: m4/ax_lib_oracle_occi.m4 @@ -1774,6 +1831,10 @@ 2013-2014, Tim Perkins License: GPL3+-with-Autoconf-Macros-exception +Files: m4/ax_luarocks_rock.m4 +Copyright: 2016, Reuben Thomas +License: GNU-All-Permissive-License + Files: m4/ax_maintainer_mode_auto_silent.m4 Copyright: 2008, Guido U. Draheim License: GPL3+-with-Autoconf-Macros-exception @@ -1807,9 +1868,14 @@ Copyright: 2008, Guido U. Draheim License: GPL3+-with-Autoconf-Macros-exception +Files: m4/ax_open62541*.m4 +Copyright: 2016-2017, Olaf Mandel +License: GNU-All-Permissive-License + Files: m4/ax_openmp.m4 Copyright: 2008, Steven G. Johnson 2015, John W. Peterson + 2016, Nick R. Papior License: GPL3+-with-Autoconf-Macros-exception Files: m4/ax_patch_libtool_changing_cmds_ifs.m4 @@ -1911,6 +1977,14 @@ Copyright: 2010,2011 Olaf Lenz License: GPL3+-with-Autoconf-Macros-exception +Files: m4/ax_prog_cp_s.m4 +Copyright: 2008, Guido U. Draheim +License: GPL3+-with-Autoconf-Macros-exception + +Files: m4/ax_prog_crontab.m4 +Copyright: 2008, Gleen Salmon +License: GPL2+-with-Autoconf-Macros-exception + Files: m4/ax_prog_cxx_for_build.m4 Copyright: 2008, Paolo Bonzini 2012, Avionic Design GmbH @@ -1920,6 +1994,18 @@ Copyright: 2010,2011 Olaf Lenz License: GPL3+-with-Autoconf-Macros-exception +Files: m4/ax_prog_dotnetcore_version.m4 +Copyright: 2016, Jens Geyer +License: GNU-All-Permissive-License + +Files: m4/ax_prog_doxygen.m4 +Copyright: 2009, Oren Ben-Kiki +License: GNU-All-Permissive-License + +Files: m4/ax_prog_emacs.m4 +Copyright: 2016-2017 Thien-Thi Nguyen +License: GPL3+-with-Autoconf-Macros-exception + Files: m4/ax_prog_f77_mpi.m4 Copyright: 2010,2011 Olaf Lenz License: GPL3+-with-Autoconf-Macros-exception @@ -1928,18 +2014,6 @@ Copyright: 2010,2011 Olaf Lenz License: GPL3+-with-Autoconf-Macros-exception -Files: m4/ax_prog_cp_s.m4 -Copyright: 2008, Guido U. Draheim -License: GPL3+-with-Autoconf-Macros-exception - -Files: m4/ax_prog_crontab.m4 -Copyright: 2008, Gleen Salmon -License: GPL2+-with-Autoconf-Macros-exception - -Files: m4/ax_prog_doxygen.m4 -Copyright: 2009, Oren Ben-Kiki -License: GNU-All-Permissive-License - Files: m4/ax_prog_fasm.m4 Copyright: 2007, ,2009 Bogdan Drozdowski License: LGPL3+-with-Autoconf-Macros-exception @@ -1969,6 +2043,10 @@ Copyright: 2015, Jens Geyer License: GNU-All-Permissive-License +Files: m4/ax_prog_help2man.m4 +Copyright: 2017, Harenome Ranaivoarivony-Razanajato +License: GPL3+-with-Autoconf-Macros-exception + Files: m4/ax_prog_hla.m4 Copyright: 2007,2009 Bogdan Drozdowski License: LGPL3+-with-Autoconf-Macros-exception @@ -2170,6 +2248,10 @@ Copyright: 2015 Endless Mobile, Inc.; contributed by Philip Chimento and Kurt von Laven License: GNU-All-Permissive-License +Files: m4/ax_recursive_eval.m4 +Copyright: 2008, Alexandre Duret-Lutz +License: GPL2+-with-Autoconf-Macros-exception + Files: m4/ax_require_one_func.m4 Copyright: 2008, Scott Pakin License: GNU-All-Permissive-License @@ -2185,6 +2267,10 @@ 2013, Bastien ROUCARIES License: GNU-All-Permissive-License +Files: m4/ax_restore_flags_with_prefix.m4 +Copyright: 2016, Felix Chern +License: GNU-All-Permissive-License + Files: m4/ax_rpm_init.m4 Copyright: 2008, Dale K. Hawkins License: GNU-All-Permissive-License @@ -2200,7 +2286,8 @@ License: GPL3+-with-Autoconf-Macros-exception Files: m4/ax_ruby_ext.m4 -Copyright: Copyright, 2011 Stanislav Sedov +Copyright: 2011, Stanislav Sedov + 2017, Marvin Schmidt License: BSD-2-clause Files: m4/ax_save_flags.m4 @@ -2210,6 +2297,10 @@ 2013, Bastien ROUCARIES License: GNU-All-Permissive-License +Files: m4/ax_save_flags_with_prefix.m4 +Copyright: 2016, Felix Chern +License: GNU-All-Permissive-License + Files: m4/ax_set_default_paths_system.m4 Copyright: 2008, Guido U. Draheim License: GPL3+-with-Autoconf-Macros-exception @@ -2251,6 +2342,10 @@ Copyright: 2008, Warren Young License: GNU-All-Permissive-License +Files: m4/ax_subdirs_configure.m4 +Copyright: 2017 Harenome Ranaivoarivony-Razanajato +License: GPL3+-with-Autoconf-Macros-exception + Files: m4/ax_subdir_files.m4 Copyright: 2008, Guido U. Draheim License: GPL3+-with-Autoconf-Macros-exception @@ -2390,8 +2485,17 @@ License: GPL2+-with-Autoconf-Macros-exception Files: m4/ax_valgrind_check.m4 -Copyright: 2014-2015, Philip Withnall -LIcense: GNU-All-Permissive-License +Copyright: 2014-2016, Philip Withnall + 2017, Dmitry Eremin-Solenikov +License: GNU-All-Permissive-License + +Files: m4/ax_var_pop.m4 +Copyright: 2015 Jorge Bellon +License: GNU-All-Permissive-License + +Files: m4/ax_var_push.m4 +Copyright: 2015 Jorge Bellon +License: GNU-All-Permissive-License Files: m4/ax_very_nice.m4 Copyright: 2008, Stephane Bortzmeyer @@ -2453,6 +2557,10 @@ Copyright: 2008, Duncan Simpson License: GPL2+-with-Autoconf-Macros-exception +Files: m4/ax_zmq.m4 +Copyright: 2016, Jeroen Meijer +License: GNU-All-Permissive-License + Files: m4/ax_zoneinfo.m4 Copyright: 2012, Sebastian Freundt License: GNU-All-Permissive-License diff -Nru autoconf-archive-20150925/debian/patches/0001-Modernize-ax_lib_postgresql.patch autoconf-archive-20170928/debian/patches/0001-Modernize-ax_lib_postgresql.patch --- autoconf-archive-20150925/debian/patches/0001-Modernize-ax_lib_postgresql.patch 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/debian/patches/0001-Modernize-ax_lib_postgresql.patch 2018-03-12 20:41:18.000000000 +0000 @@ -0,0 +1,230 @@ +From 56600c86400b41fbef0812857452c25a51d6f8c5 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Bastien=20Roucari=C3=A8s?= + +Date: Mon, 12 Mar 2018 14:23:51 +0100 +Subject: [PATCH] Modernize ax_lib_postgresql + +Avoid a compilation failure on debian + +(cherry picked from commit 19caa0caffa7f12ff77bd9727dbd844e28376895) +--- + m4/ax_lib_postgresql.m4 | 172 ++++++++++++++++++++++++------------------------ + 1 file changed, 85 insertions(+), 87 deletions(-) + +diff --git a/m4/ax_lib_postgresql.m4 b/m4/ax_lib_postgresql.m4 +index 0aca795..c7d3d8e 100644 +--- a/m4/ax_lib_postgresql.m4 ++++ b/m4/ax_lib_postgresql.m4 +@@ -23,7 +23,7 @@ + # 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 ++# can't be found in the PATH (You could set also PG_CONFIG variable) + # + # This macro calls: + # +@@ -40,32 +40,59 @@ + # + # Copyright (c) 2008 Mateusz Loskot + # Copyright (c) 2014 Sree Harsha Totakura ++# Copyright (c) 2018 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. + +-#serial 15 ++#serial 16 ++ ++AC_DEFUN([_AX_LIB_POSTGRESQL_OLD],[ ++ AC_CACHE_CHECK([for the pg_config program], [ac_cv_path_PG_CONFIG], ++ [AC_PATH_PROGS_FEATURE_CHECK([PG_CONFIG], [pg_config], ++ [[$ac_path_PG_CONFIG --includedir > /dev/null \ ++ && ac_cv_path_PG_CONFIG=$ac_path_PG_CONFIG ac_path_PG_CONFIG_found=:]], ++ [AC_MSG_FAILURE([could not find pg_config program. You could specify it throught variable PG_CONFIG])])]) ++ PG_CONFIG=$ac_cv_path_PG_CONFIG ++ ++ AC_CACHE_CHECK([for the PostgreSQL libraries CPPFLAGS],[ac_cv_POSTGRESQL_CPPFLAGS], ++ [ac_cv_POSTGRESQL_CPPFLAGS="-I`$PG_CONFIG --includedir`"]) ++ POSTGRESQL_CPPFLAGS="$ac_cv_POSTGRESQL_CPPFLAGS" ++ ++ AC_CACHE_CHECK([for the PostgreSQL libraries LDFLAGS],[ac_cv_POSTGRESQL_LDFLAGS], ++ [ac_cv_POSTGRESQL_LDFLAGS="-L`$PG_CONFIG --libdir`"]) ++ POSTGRESQL_LDFLAGS="$ac_cv_POSTGRESQL_LDFLAGS" ++ ++ AC_CACHE_CHECK([for the PostgreSQL libraries LIBS],[ac_cv_POSTGRESQL_LIBS], ++ [ac_cv_POSTGRESQL_LIBS="-lpq"]) ++ POSTGRESQL_LIBS="$ac_cv_POSTGRESQL_LIBS" ++ ++ AC_CACHE_CHECK([for the PostgreSQL version],[ac_cv_POSTGRESQL_VERSION], ++ [ac_cv_POSTGRESQL_VERSION=`$PG_CONFIG --version | sed "s/^PostgreSQL[[[:space:]]][[[:space:]]]*\([[0-9.]][[0-9.]]*\).*/\1/"`]) ++ POSTGRESQL_VERSION=$ac_cv_POSTGRESQL_VERSION ++ found_postgresql="yes" ++]) + + AC_DEFUN([AX_LIB_POSTGRESQL], + [ + AC_ARG_WITH([postgresql], +- AS_HELP_STRING([--with-postgresql=@<:@ARG@:>@], +- [use PostgreSQL library @<:@default=yes@:>@, optionally specify path to pg_config] +- ), +- [ +- if test "$withval" = "no"; then +- want_postgresql="no" +- elif test "$withval" = "yes"; then +- want_postgresql="yes" +- else +- want_postgresql="yes" +- PG_CONFIG="$withval" +- fi +- ], +- [want_postgresql="yes"] ++ AS_HELP_STRING([--with-postgresql=@<:@ARG@:>@], ++ [use PostgreSQL library @<:@default=yes@:>@, optionally specify path to pg_config] ++ ), ++ [ ++ AS_CASE([$withval], ++ [[[nN]][[oO]]],[want_postgresql="no"], ++ [[[yY]][[eE]][[sS]]],[want_postgresql="yes"], ++ [ ++ want_postgresql="yes" ++ PG_CONFIG="$withval" ++ ]) ++ ], ++ [want_postgresql="yes"] + ) ++ found_postgresql="no" + + POSTGRESQL_CPPFLAGS="" + POSTGRESQL_LDFLAGS="" +@@ -75,37 +102,40 @@ AC_DEFUN([AX_LIB_POSTGRESQL], + dnl + dnl Check PostgreSQL libraries (libpq) + dnl +- +- if test "$want_postgresql" = "yes"; then +- +- if test -z "$PG_CONFIG" -o test; then +- AC_PATH_PROG([PG_CONFIG], [pg_config], []) +- fi +- +- if test ! -x "$PG_CONFIG"; then +- AC_MSG_ERROR([$PG_CONFIG does not exist or it is not an executable file]) +- PG_CONFIG="no" +- found_postgresql="no" +- fi +- +- if test "$PG_CONFIG" != "no"; then +- AC_MSG_CHECKING([for PostgreSQL libraries]) +- +- POSTGRESQL_CPPFLAGS="-I`$PG_CONFIG --includedir`" +- POSTGRESQL_LDFLAGS="-L`$PG_CONFIG --libdir`" +- POSTGRESQL_LIBS="-lpq" +- POSTGRESQL_VERSION=`$PG_CONFIG --version | sed -e 's#PostgreSQL ##'` +- +- AC_DEFINE([HAVE_POSTGRESQL], [1], +- [Define to 1 if PostgreSQL libraries are available]) +- +- found_postgresql="yes" +- AC_MSG_RESULT([yes]) +- else +- found_postgresql="no" +- AC_MSG_RESULT([no]) +- fi +- fi ++ AS_IF([test X"$want_postgresql" = "Xyes"], ++ [_AX_LIB_POSTGRESQL_OLD]) ++ ++ AS_IF([test X"$found_postgresql" = Xyes],[ ++ dnl try to compile ++ _AX_LIB_POSTGRESQL_OLD_CPPFLAGS="$CPPFLAGS" ++ CPPFLAGS="$CPPFLAGS $POSTGRESQL_CPPFLAGS" ++ _AX_LIB_POSTGRESQL_OLD_LDFLAGS="$LDFLAGS" ++ LDFLAGS="$LDFLAGS $POSTGRESQL_LDFLAGS" ++ _AX_LIB_POSTGRESQL_OLD_LIBS="$LIBS" ++ LIBS="$LIBS $POSTGRESQL_LIBS" ++ AC_CHECK_HEADER([libpq-fe.h],[],[AC_MSG_FAILURE([could not find libpq-fe.h header])]) ++ ++ dnl try now to link ++ AC_CACHE_CHECK([for the PostgreSQL library linking is working],[ac_cv_postgresql_found], ++ [ ++ AC_LINK_IFELSE([ ++ AC_LANG_PROGRAM( ++ [ ++ #include ++ ], ++ [ ++ char conninfo[]="dbname = postgres"; ++ PGconn *conn; ++ conn = PQconnectdb(conninfo); ++ ] ++ ) ++ ],[ac_cv_postgresql_found=yes],[AC_MSG_FAILURE([could not find libpq-fe.h header])]) ++ ] ++ ) ++ CPPFLAGS="$_AX_LIB_POSTGRESQL_OLD_CPPFLAGS" ++ LDFLAGS="$_AX_LIB_POSTGRESQL_OLD_LDFLAGS" ++ LIBS="$_AX_LIB_POSTGRESQL_OLD_LIBS" ++ ]) + + dnl + dnl Check if required version of PostgreSQL is available +@@ -115,48 +145,16 @@ AC_DEFUN([AX_LIB_POSTGRESQL], + postgresql_version_req=ifelse([$1], [], [], [$1]) + + if test "$found_postgresql" = "yes" -a -n "$postgresql_version_req"; then +- +- AC_MSG_CHECKING([if PostgreSQL version is >= $postgresql_version_req]) +- +- dnl Decompose required version string of PostgreSQL +- dnl and calculate its number representation +- postgresql_version_req_major=`expr $postgresql_version_req : '\([[0-9]]*\)'` +- postgresql_version_req_minor=`expr $postgresql_version_req : '[[0-9]]*\.\([[0-9]]*\)'` +- postgresql_version_req_micro=`expr $postgresql_version_req : '[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)'` +- if test "x$postgresql_version_req_micro" = "x"; then +- postgresql_version_req_micro="0" +- fi +- +- postgresql_version_req_number=`expr $postgresql_version_req_major \* 1000000 \ +- \+ $postgresql_version_req_minor \* 1000 \ +- \+ $postgresql_version_req_micro` +- +- dnl Decompose version string of installed PostgreSQL +- dnl and calculate its number representation +- postgresql_version_major=`expr $POSTGRESQL_VERSION : '\([[0-9]]*\)'` +- postgresql_version_minor=`expr $POSTGRESQL_VERSION : '[[0-9]]*\.\([[0-9]]*\)'` +- postgresql_version_micro=`expr $POSTGRESQL_VERSION : '[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)'` +- if test "x$postgresql_version_micro" = "x"; then +- postgresql_version_micro="0" +- fi +- +- postgresql_version_number=`expr $postgresql_version_major \* 1000000 \ +- \+ $postgresql_version_minor \* 1000 \ +- \+ $postgresql_version_micro` +- +- postgresql_version_check=`expr $postgresql_version_number \>\= $postgresql_version_req_number` +- if test "$postgresql_version_check" = "1"; then +- AC_MSG_RESULT([yes]) +- else +- AC_MSG_RESULT([no]) +- AC_DEFINE([HAVE_POSTGRESQL], [0], +- [A required version of PostgreSQL is not found]) +- POSTGRESQL_CPPFLAGS="" +- POSTGRESQL_LDFLAGS="" +- POSTGRESQL_LIBS="" +- fi ++ AC_MSG_CHECKING([if PostgreSQL version $POSTGRESQL_VERSION is >= $postgresql_version_req]) ++ AX_COMPARE_VERSION([$POSTGRESQL_VERSION],[ge],[$postgresql_version_req], ++ [found_postgresql=yes],[found_postgresql=no]) ++ AC_MSG_RESULT([$found_postgresql]) + fi + ++ AS_IF([test "x$found_postgresql" = "xyes"],[ ++ AC_DEFINE([HAVE_POSTGRESQL], [1], ++ [Define to 1 if PostgreSQL libraries are available])]) ++ + AC_SUBST([POSTGRESQL_VERSION]) + AC_SUBST([POSTGRESQL_CPPFLAGS]) + AC_SUBST([POSTGRESQL_LDFLAGS]) diff -Nru autoconf-archive-20150925/debian/patches/series autoconf-archive-20170928/debian/patches/series --- autoconf-archive-20150925/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/debian/patches/series 2018-03-12 20:41:18.000000000 +0000 @@ -0,0 +1,2 @@ +# debian/source/git-patches exported from git by quilt-patches-deb-export-hook +0001-Modernize-ax_lib_postgresql.patch diff -Nru autoconf-archive-20150925/debian/rules autoconf-archive-20170928/debian/rules --- autoconf-archive-20150925/debian/rules 2015-12-27 22:39:27.000000000 +0000 +++ autoconf-archive-20170928/debian/rules 2018-03-12 20:41:18.000000000 +0000 @@ -1,7 +1,7 @@ #!/usr/bin/make -f %: - dh $@ --parallel + dh $@ override_dh_auto_build: make all html diff -Nru autoconf-archive-20150925/debian/source/git-patches autoconf-archive-20170928/debian/source/git-patches --- autoconf-archive-20150925/debian/source/git-patches 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/debian/source/git-patches 2018-03-12 20:41:18.000000000 +0000 @@ -0,0 +1 @@ +upstream/$UPSTREAM_REF..debian-patches/$DEB_REF diff -Nru autoconf-archive-20150925/debian/watch autoconf-archive-20170928/debian/watch --- autoconf-archive-20150925/debian/watch 2015-12-27 22:39:27.000000000 +0000 +++ autoconf-archive-20170928/debian/watch 2018-03-12 20:41:18.000000000 +0000 @@ -1,3 +1,3 @@ -version=3 +version=4 opts="uversionmangle=s/[-\.]//g,pgpsigurlmangle=s/$/.sig/" \ -http://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-(.+)\.tar\.xz +https://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-(.+)\.tar\.xz diff -Nru autoconf-archive-20150925/doc/all-macros.texi autoconf-archive-20170928/doc/all-macros.texi --- autoconf-archive-20150925/doc/all-macros.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/all-macros.texi 2017-09-27 22:00:00.000000000 +0000 @@ -5,6 +5,7 @@ * 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:: @@ -46,10 +47,10 @@ * 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_bigendian_cross:: * ax_c_compile_value:: * ax_c_declare_block:: * ax_c_float_words_bigendian:: @@ -135,6 +136,8 @@ * 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:: @@ -170,6 +173,7 @@ * ax_check_uname_syscall:: * ax_check_user:: * ax_check_vscript:: +* ax_check_x86_features:: * ax_check_zlib:: * ax_code_coverage:: * ax_compare_version:: @@ -195,9 +199,11 @@ * 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_compiler_vendor:: +* 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:: @@ -287,6 +293,7 @@ * 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:: @@ -294,12 +301,14 @@ * 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:: @@ -309,6 +318,7 @@ * ax_f90_module:: * ax_f90_module_extension:: * ax_f90_module_flag:: +* ax_fc_check_define:: * ax_file_escapes:: * ax_find_hamcrest:: * ax_find_junit:: @@ -328,19 +338,17 @@ * ax_gcc_func_attribute:: * ax_gcc_lib:: * ax_gcc_libgcc_eh:: -* ax_gcc_libraries_dir:: * ax_gcc_libsupcxx:: * ax_gcc_malloc_call:: * ax_gcc_var_attribute:: -* ax_gcc_version:: * 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_opengl:: * ax_have_poll:: * ax_have_qt:: * ax_have_select:: @@ -366,6 +374,7 @@ * ax_lib_metis:: * ax_lib_mysql:: * ax_lib_mysqlcppconn:: +* ax_lib_netcdf4:: * ax_lib_nettle:: * ax_lib_nokalva:: * ax_lib_oracle_occi:: @@ -388,6 +397,7 @@ * ax_libtoolize_cflags:: * ax_llvm:: * ax_lua:: +* ax_luarocks_rock:: * ax_maintainer_mode_auto_silent:: * ax_missing_prog:: * ax_mpi:: @@ -396,6 +406,9 @@ * 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:: @@ -423,7 +436,9 @@ * ax_prog_crontab:: * ax_prog_cxx_for_build:: * ax_prog_cxx_mpi:: +* ax_prog_dotnetcore_version:: * ax_prog_doxygen:: +* ax_prog_emacs:: * ax_prog_f77_mpi:: * ax_prog_fasm:: * ax_prog_fasm_opt:: @@ -431,8 +446,10 @@ * 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:: @@ -482,13 +499,16 @@ * ax_python_embed:: * ax_python_module:: * ax_python_module_version:: +* 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:: @@ -500,6 +520,7 @@ * ax_strings_strcasecmp:: * ax_struct_semun:: * ax_subdir_files:: +* ax_subdirs_configure:: * ax_subst_with:: * ax_swig_enable_cxx:: * ax_swig_multi_module_support:: @@ -529,6 +550,8 @@ * 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:: @@ -544,6 +567,7 @@ * ax_xercesc:: * ax_xsdcxx:: * ax_xtra_classpath:: +* ax_zmq:: * ax_zoneinfo:: @end menu @@ -553,6 +577,7 @@ @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 @@ -594,10 +619,10 @@ @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_bigendian_cross.texi @include ax_c_compile_value.texi @include ax_c_declare_block.texi @include ax_c_float_words_bigendian.texi @@ -683,6 +708,8 @@ @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 @@ -718,6 +745,7 @@ @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 @@ -743,9 +771,11 @@ @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_compiler_vendor.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 @@ -835,6 +865,7 @@ @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 @@ -842,12 +873,14 @@ @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 @@ -857,6 +890,7 @@ @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 @@ -876,19 +910,17 @@ @include ax_gcc_func_attribute.texi @include ax_gcc_lib.texi @include ax_gcc_libgcc_eh.texi -@include ax_gcc_libraries_dir.texi @include ax_gcc_libsupcxx.texi @include ax_gcc_malloc_call.texi @include ax_gcc_var_attribute.texi -@include ax_gcc_version.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_opengl.texi @include ax_have_poll.texi @include ax_have_qt.texi @include ax_have_select.texi @@ -914,6 +946,7 @@ @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 @@ -936,6 +969,7 @@ @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 @@ -944,6 +978,9 @@ @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 @@ -971,7 +1008,9 @@ @include ax_prog_crontab.texi @include ax_prog_cxx_for_build.texi @include ax_prog_cxx_mpi.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 @@ -979,8 +1018,10 @@ @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 @@ -1030,13 +1071,16 @@ @include ax_python_embed.texi @include ax_python_module.texi @include ax_python_module_version.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 @@ -1048,6 +1092,7 @@ @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 @@ -1077,6 +1122,8 @@ @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 @@ -1092,4 +1139,5 @@ @include ax_xercesc.texi @include ax_xsdcxx.texi @include ax_xtra_classpath.texi +@include ax_zmq.texi @include ax_zoneinfo.texi diff -Nru autoconf-archive-20150925/doc/autoconf-archive.info autoconf-archive-20170928/doc/autoconf-archive.info --- autoconf-archive-20150925/doc/autoconf-archive.info 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/autoconf-archive.info 2017-09-27 22:00:00.000000000 +0000 @@ -1,10 +1,10 @@ -This is autoconf-archive.info, produced by makeinfo version 6.0 from +This is autoconf-archive.info, produced by makeinfo version 6.5 from autoconf-archive.texi. -This manual is for GNU Autoconf Archive version 2015.09.25, a collection +This manual is for GNU Autoconf Archive version 2017.09.28, a collection of freely re-usable Autoconf macros. -Copyright (C) 2015 Autoconf Archive Maintainers +Copyright (C) 2016 Autoconf Archive Maintainers Permission is granted to copy, distribute and/or modify this document @@ -19,565 +19,33779 @@ END-INFO-DIR-ENTRY  -Indirect: -autoconf-archive.info-1: 823 -autoconf-archive.info-2: 301463 -autoconf-archive.info-3: 608990 -autoconf-archive.info-4: 902273 +File: autoconf-archive.info, Node: Top, Next: Introduction, Up: (dir) + +GNU Autoconf Archive +******************** + +This manual is for GNU Autoconf Archive version 2017.09.28, a collection +of freely re-usable Autoconf macros. + +Copyright (C) 2016 Autoconf Archive Maintainers + + +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. + + +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 +. 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 . + + +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. +. New release are always +announced on the low-traffic announcements mailing list +(http://lists.gnu.org/mailman/listinfo/autoconf-archive-announce). + + +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/peti/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. + + +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_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_program_options:: +* ax_boost_python:: +* 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_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_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_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_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_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_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_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:: + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2009 Allan Caffee + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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. Some distributions (such as Gentoo Linux) enable +_FORTIFY_SOURCE globally in their compilers, leading to unnecessary +warnings in the form of + + :0:0: error: "_FORTIFY_SOURCE" redefined [-Werror] + : 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. + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2009 Allan Caffee + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2009 Allan Caffee + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2011 Maarten Bosmans + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2009 Rhys Ulerich +Copyright (C) 2017 Reini Urban + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + #endif + #ifdef HAVE_INVENT_H + # include + #endif + #ifdef HAVE_SYS_SYSINFO_H + # include + #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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2014 Kirill A. Korinskiy + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2011 Stephan Suerken +Copyright (C) 2014 Kirill A. Korinskiy + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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= in order to use some specific BLAS library +. 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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +File: autoconf-archive.info, Node: ax_boost_asio, Next: ax_boost_base, 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 +. + +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 +Copyright (C) 2008 Pete Greenwell + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +File: autoconf-archive.info, Node: ax_boost_base, Next: ax_boost_chrono, Prev: ax_boost_asio, 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 +. + +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 +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. + + +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 . + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 . + +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 +Copyright (C) 2008 Michael Tindal +Copyright (C) 2013 Daniel Casimiro + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 . + +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 +Copyright (C) 2008 Michael Tindal +Copyright (C) 2013 Daniel Casimiro + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 . + +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 +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. + + +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 . + +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 +Copyright (C) 2009 Michael Tindal +Copyright (C) 2009 Roman Rybalko + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 . + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 . + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. + +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 +Copyright (C) 2008 Michael Tindal +Copyright (C) 2013 Daniel Casimiro + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +File: autoconf-archive.info, Node: ax_boost_log_setup, Next: ax_boost_program_options, 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 . + +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 +Copyright (C) 2008 Michael Tindal +Copyright (C) 2013 Daniel Casimiro + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +File: autoconf-archive.info, Node: ax_boost_program_options, Next: ax_boost_python, Prev: ax_boost_log_setup, 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 . + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +File: autoconf-archive.info, Node: ax_boost_python, Next: ax_boost_regex, 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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +File: autoconf-archive.info, Node: ax_boost_regex, Next: ax_boost_serialization, Prev: ax_boost_python, 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 +. + +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 +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. + + +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 . + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 . + +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 +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. + + +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 . + +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 +Copyright (C) 2008 Michael Tindal +Copyright (C) 2008 Daniel Casimiro + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 . + +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 +Copyright (C) 2008 Thomas Porschberg + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 . + +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 +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. + + +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 . + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. + +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 +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. + + +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 . + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2008 Christian Haggstrom +Copyright (C) 2008 Ryan McCabe + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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_ + +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 endianess 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 "). 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 complier 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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2008 Alexandre Duret-Lutz +Copyright (C) 2008 Matthew Mueller + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2009 Alexandre Duret-Lutz +Copyright (C) 2009 Matthew Mueller + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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. + +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 +Copyright (C) 1999 Richard Henderson + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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, [A/NA]])] + AX_CXXFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])] + AX_FCFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])] + +Description +*********** + +Try to find a compiler option that enables most reasonable warnings. + +For the GNU compiler it will be -Wall (and -ansi -pedantic) The result +is added to the shellvar being CFLAGS, CXXFLAGS, or FCFLAGS by default. + +Currently this macro knows about the GCC, Solaris, Digital Unix, AIX, +HP-UX, IRIX, NEC SX-5 (Super-UX 10), Cray J90 (Unicos 10.0.0.8), and +Intel compilers. For a given compiler, the Fortran flags are much more +experimental than their C equivalents. + + - $1 shell-variable-to-add-to : CFLAGS, CXXFLAGS, or FCFLAGS + - $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_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 +Copyright (C) 2010 Rhys Ulerich + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 ''). 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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 '' 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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2011 Maarten Bosmans + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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. +Copyright (C) 2008 Dustin J. Mitchell + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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. +Copyright (C) 2008 Dustin J. Mitchell + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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. +Copyright (C) 2008 Dustin J. Mitchell + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2014, 2015 Philip Withnall + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + #endif + #ifdef HAVE_GL_GL_H + # include + #elif defined(HAVE_OPENGL_GL_H) + # include + #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 +Copyright (C) 2012 Bastien Roucaries + +Copyright (C) 2016 Felix Chern + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + # endif + # if defined(HAVE_GL_GLU_H) + # include + # elif defined(HAVE_OPENGL_GLU_H) + # include + # 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 +Copyright (C) 2013 Bastien Roucaries + +Copyright (C) 2016 Felix Chern + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + # endif + # if defined(HAVE_GL_GLUT_H) + # include + # elif defined(HAVE_GLUT_GLUT_H) + # include + # 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 +Copyright (C) 2013 Bastien Roucaries + +Copyright (C) 2016 Felix Chern + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + # endif + # if defined(HAVE_GL_GLX_H) + # include + # elif defined(HAVE_OPENGL_GLX_H) + # include + # 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 +Copyright (C) 2013-2014 Bastien Roucaries + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2015 Enrico M. Crisostomo + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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() + +Description +*********** + +This macro sets 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 +/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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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' + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2011 Maarten Bosmans + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +wether 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 +Copyright (C) 2011 Craig Stimmel +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. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +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. +Copyright (C) 2009,2010 Dustin J. Mitchell + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +File: autoconf-archive.info, Node: ax_check_pathname_style, Next: ax_check_pgsql_db, 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +File: autoconf-archive.info, Node: ax_check_pgsql_db, Next: ax_check_posix_regcomp, Prev: ax_check_pathname_style, 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 wether 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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2012 Olivier Mehani + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2011 Maarten Bosmans + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + #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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + #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 +Copyright (C) 2010 Bastien Chevreux + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 defines CODE_COVERAGE_RULES which should be +substituted in your Makefile; 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: + + @CODE_COVERAGE_RULES@ + my_program_LIBS = ... $(CODE_COVERAGE_LIBS) ... + my_program_CPPFLAGS = ... $(CODE_COVERAGE_CPPFLAGS) ... + my_program_CFLAGS = ... $(CODE_COVERAGE_CFLAGS) ... + my_program_CXXFLAGS = ... $(CODE_COVERAGE_CXXFLAGS) ... + +This results in a "check-code-coverage" rule being added to any +Makefile.am which includes "@CODE_COVERAGE_RULES@" (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. + +In earlier versions of this macro, CODE_COVERAGE_LDFLAGS was defined +instead of CODE_COVERAGE_LIBS. They are both still defined, but use of +CODE_COVERAGE_LIBS is preferred for clarity; CODE_COVERAGE_LDFLAGS is +deprecated. They have the same value. + +This code was derived from Makefile.decl in GLib, originally licenced +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 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 . + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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_TRY_COMPILE 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 + #endif + #ifdef HAVE_UNISTD_H + #include + #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 +Copyright (C) 2017 Reini Urban + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2015 David King + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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++ compiler, e.g., gnu, intel, ibm, sun, +hp, borland, comeau, dec, cray, kai, lcc, metrowerks, sgi, microsoft, +watcom, etc. The vendor is returned in the cache variable +$ax_cv_c_compiler_vendor for C and $ax_cv_cxx_compiler_vendor for C++. + +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 +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2015 Bastien Roucaries + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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) +Copyright (C) 2012 Brian Aker +Copyright (C) 2008 Michael Paul Bailey +Copyright (C) 2008 Christophe Tournayre + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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_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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2008 Sven Verdoolaege + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 " section requires the +existence of an include file 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 +. In other environments we can use the inet-types in + 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 " or +"#include ", 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 " to obtain the stdint-types. + +Remember, if the system already had a valid , 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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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' (for the C++11 standard) +or '14' (for the C++14 standard). + +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 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 +Copyright (C) 2012 Zack Weinberg +Copyright (C) 2013 Roy Stogner +Copyright (C) 2014, 2015 Google Inc.; contributed by Alexey Sokolov + +Copyright (C) 2015 Paul Norman +Copyright (C) 2015 Moritz Klammler +Copyright (C) 2016 Krzesimir Nowak + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2012 Zack Weinberg +Copyright (C) 2013 Roy Stogner +Copyright (C) 2014, 2015 Google Inc.; contributed by Alexey Sokolov + +Copyright (C) 2015 Paul Norman +Copyright (C) 2015 Moritz Klammler + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2016 Krzesimir Nowak + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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, 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + #else + #if defined(HAVE_STL) + #include + #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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + #else + #if defined(HAVE_STL) + #include + #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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + #else + #if defined(HAVE_STL) + #include + #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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + #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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + #ifdef HAVE_SSTREAM + #include + #else + #include + #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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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, 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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, 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2013 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. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 +. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 "<>". + +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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2008 Lapo Luchini + +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. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + #else + # if HAVE_STDINT_H + # include + # 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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.am and you have 'include +aminclude.am' in your toplevel 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2009 Alan Jenkins + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2013,2015 Michael Petch +Copyright (C) 2017 Rafael de Lucena Valle + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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(
, ). + +Description +*********** + +Check for
with -I for each path in 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_
_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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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(, , , ) + +Description +*********** + +AX_EXT_HAVE_LIB is identical to AC_SEARCH_LIBS with the exception that +will add -L when looking, and use a different variable for +each directory. + +Any required -L 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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- target within +your Makefile.am, where is the name of the dist and then add + to EXTRA_SRC_DISTS or EXTRA_BIN_DISTS. For example: + + dist-foobar: + + + 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2009 Alexander Pletzer + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2009 Julian C. Cummings +Copyright (C) 2009 Alexander Pletzer + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification,are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2009 Rhys Ulerich + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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. + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2008 Daniel Richard G. + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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= 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 +Copyright (C) 2008 Matteo Frigo +Copyright (C) 2014 Tsukasa Oi +Copyright (C) 2017 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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_. Keep in mind that since +builtins usually start with two underscores they will be copied over +into the HAVE_ definition (e.g. HAVE___BUILTIN_EXPECT for +__builtin_expect()). + +The macro caches its result in the ax_cv_have_ 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_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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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_. + +The macro caches its result in the ax_cv_have_func_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_inline + hot + ifunc + leaf + malloc + noclone + noinline + nonnull + noreturn + nothrow + optimize + pure + 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copyright (C) 2009 Alessandro Massignan + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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_. + +The macro caches its result in the ax_cv_have_var_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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2008 Matteo Frigo +Copyright (C) 2015 Michael Petch + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2015 Philip Withnall + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 stands for +one of the above prefixes): + + * : for use in top_srcdir/Makefile + * _foo : for use in top_srcdir/foo/Makefile + * _foo_bar : for use in top_srcdir/foo/bar/Makefile + * _baz : for use in top_srcdir/baz/Makefile + +The 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 _baz and either of _foo or _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]: + + +[2]: + +[3]: + +[4]: + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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_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 +Copyright (C) 2014 Alex Henrie + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +File: autoconf-archive.info, Node: ax_install_files, Next: ax_is_release, 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +File: autoconf-archive.info, Node: ax_is_release, Next: ax_java_check_class, Prev: ax_install_files, 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 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 +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. + + +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(,,) + +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 . 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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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= in order to use some specific +LAPACK library . 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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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_ 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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_ 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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_ 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2011 Alessandro Candini + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2010 Rhys Ulerich + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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_ 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2012 Krzysztof Burghardt + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2015 Joost van Baal-Ilic + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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]) + +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 + +This macro calls: + + AC_SUBST(POSTGRESQL_CPPFLAGS) + AC_SUBST(POSTGRESQL_LDFLAGS) + AC_SUBST(POSTGRESQL_LIBS) + AC_SUBST(POSTGRESQL_VERSION) + +And sets: + + HAVE_POSTGRESQL + +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 +Copyright (C) 2014 Sree Harsha Totakura + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + # elif defined(HAVE_READLINE_H) + # include + # 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 + # elif defined(HAVE_HISTORY_H) + # include + # 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + #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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2008 Stepan Kasal +Copyright (C) 2008 Warren Young + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + #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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2008 Alan W. Irwin +Copyright (C) 2008 Rafael Laboissiere +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2009 Bill Blough + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 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 +Copyright (C) 2008 Mateusz Loskot + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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-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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2014 Tim Perkins + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2008 Julian C. Cummings + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +File: autoconf-archive.info, Node: ax_mpip, Next: ax_need_awk, 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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of 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. + + +File: autoconf-archive.info, Node: ax_need_awk, Next: ax_normalize_path, Prev: ax_mpip, 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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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]: + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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]: + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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/deps + * -I/include + * -I/plugins + * -I/src_generated + * -I + * -L + +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: : 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 "/build". + +[1]: + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2015 John W. Peterson +Copyright (C) 2016 Nick R. Papior + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 occured 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 +occurences 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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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. 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. + +When cross compiling, only header versions are verified since it would +be difficult to check the library version. Additionally the default +Berkeley DB installation locations /usr/local/BerkeleyDB* are not +searched for higher versions of the library. + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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= This option is used to explicitly + specify the base of the sendmail distribution. + + --with-sendmail-obj= 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2008 Francesco Salvestrini + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2014 Thomas Klausner + +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. + + +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 + +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. + + +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 +Copyright (C) 2009 Ruben Fonseca + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 wether 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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2008 Alan W. Irwin +Copyright (C) 2008 Rafael Laboissiere +Copyright (C) 2008 Andrew Collier +Copyright (C) 2011 Murray Cumming + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +File: autoconf-archive.info, Node: ax_prefix_config_h, Next: ax_print_to_file, 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 + #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 + #else + #include + #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 +Copyright (C) 2008 Guido U. Draheim +Copyright (C) 2008 Marten Svantesson +Copyright (C) 2008 Gerald Point + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +File: autoconf-archive.info, Node: ax_print_to_file, Next: ax_printf_size_t, Prev: ax_prefix_config_h, 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 , 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. + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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: + + ... + + 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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copyright (C) 2010 Diego Elio Petteno' + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +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. + + +File: autoconf-archive.info, Node: ax_prog_cxx_mpi, Next: ax_prog_dotnetcore_version, 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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +File: autoconf-archive.info, Node: ax_prog_dotnetcore_version, Next: ax_prog_doxygen, Prev: ax_prog_cxx_mpi, 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2015 Olaf Mandel + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copyright (C) 2010 Diego Elio Petteno' + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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. : 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. : directory prefix of the man pages directory + +Sets AX_HELP2MAN_PREFIX_MANS to . 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. : + +Sets AX_HELP2MAN_PREFIX_BIN to . 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 + +This program is free software; you can 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 . + + +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 + +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +File: autoconf-archive.info, Node: ax_prog_python_version, Next: ax_prog_ruby_version, 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +File: autoconf-archive.info, Node: ax_prog_ruby_version, Next: ax_prog_scala, Prev: ax_prog_python_version, 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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. +Copyright (C) 2008,2009 Dustin J. Mitchell + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 , ... to successfully compile +. , , ... are substituted in and +with values found in , , ... respectively. +, , ... 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 , , ... 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 . 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 + #include + ], + [ + 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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 to any special C compiler that is needed for +multi-threaded programs (defaults to the value of CC otherwise). (This +is necessary on AIX to use the special 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 + +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" + CC="$PTHREAD_CC" + +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 +Copyright (C) 2011 Daniel Richard G. + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 recurses through several python versions (from 2.1 to 2.6 in this +version), looking for an executable. 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2009 Alan W. Irwin +Copyright (C) 2009 Rafael Laboissiere +Copyright (C) 2009 Andrew Collier +Copyright (C) 2009 Matteo Settenvini +Copyright (C) 2009 Horst Knorr +Copyright (C) 2013 Daniel Mullner + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2008 Dustin J. Mitchell + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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. + + +File: autoconf-archive.info, Node: ax_python_module_version, Next: ax_recursive_eval, 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 and Kurt von Laven + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +File: autoconf-archive.info, Node: ax_recursive_eval, Next: ax_require_defined, Prev: ax_python_module_version, 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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2011 The Board of Trustees of the Leland Stanford Junior University + +Copyright (C) 2011 Russ Allbery +Copyright (C) 2013 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. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + + %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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2008 Sebastian Huber +Copyright (C) 2008 Alan W. Irwin +Copyright (C) 2008 Rafael Laboissiere +Copyright (C) 2008 Andrew Collier +Copyright (C) 2008 Matteo Settenvini +Copyright (C) 2008 Horst Knorr + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +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. + + +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 +Copyright (C) 2011 The Board of Trustees of the Leland Stanford Junior University + +Copyright (C) 2011 Russ Allbery +Copyright (C) 2013 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. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2008 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. + + +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([]) + +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 -I + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 '-cache-file' and '-srcdir' and adds +'-disable-option-checking' and '-silent' if necessary. + +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: + + $ --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 + +This program is free software; you can 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 . + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2008 Alan W. Irwin +Copyright (C) 2008 Rafael Laboissiere +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2008 Alan W. Irwin +Copyright (C) 2008 Rafael Laboissiere +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2008 Alan W. Irwin +Copyright (C) 2008 Rafael Laboissiere +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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2011 The Board of Trustees of the Leland Stanford Junior University + +Copyright (C) 2011 Russ Allbery +Copyright (C) 2013 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. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 prefered. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2010 Diego Elio Petteno' + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +Copyright (C) 2009 Thomas Porschberg +Copyright (C) 2009 Caolan McNamara +Copyright (C) 2009 Alexandre Duret-Lutz +Copyright (C) 2009 Matthew Mueller + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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- to +UPLOAD_BIN or UPLOAD_SRC, where is the type of dist that is being +uploaded and add a mapping from to the dist file name in the +format '{=>}' 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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-, 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 +Copyright (C) 2011 Daniel Richard G. + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 in addition to +. 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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 is present and should be used + HAVE_NCURSESW_H - if should be used + HAVE_NCURSES_H - if should be used + HAVE_NCURSESW_CURSES_H - if should be used + HAVE_NCURSES_CURSES_H - if 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 . 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 + #elif defined HAVE_NCURSESW_H + # include + #elif defined HAVE_NCURSES_CURSES_H + # include + #elif defined HAVE_NCURSES_H + # include + #elif defined HAVE_CURSES_H + # include + #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 +Copyright (C) 2009 Damian Pietras +Copyright (C) 2012 Reuben Thomas +Copyright (C) 2011 John Zaitseff + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 is present and should be used + HAVE_NCURSES_PANEL_H - if should be used + HAVE_NCURSESW_PANEL_H - if should be used + + By AX_WITH_CURSES_MENU: + + HAVE_MENU - if the Menu library is present + HAVE_MENU_H - if is present and should be used + HAVE_NCURSES_MENU_H - if should be used + HAVE_NCURSESW_MENU_H - if should be used + + By AX_WITH_CURSES_FORM: + + HAVE_FORM - if the Form library is present + HAVE_FORM_H - if is present and should be used + HAVE_NCURSES_FORM_H - if should be used + HAVE_NCURSESW_FORM_H - if 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 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 + #elif defined HAVE_NCURSES_PANEL_H + # include + #elif defined HAVE_PANEL_H + # include + #else + # error "SysV-compatible Curses Panel header file required" + #endif + + For AX_WITH_CURSES_MENU: + + #if defined HAVE_NCURSESW_MENU_H + # include + #elif defined HAVE_NCURSES_MENU_H + # include + #elif defined HAVE_MENU_H + # include + #else + # error "SysV-compatible Curses Menu header file required" + #endif + + For AX_WITH_CURSES_FORM: + + #if defined HAVE_NCURSESW_FORM_H + # include + #elif defined HAVE_NCURSES_FORM_H + # include + #elif defined HAVE_FORM_H + # include + #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 + +This program is free software: you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 . + +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 + #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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 . + +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 + +Copyright (C) 2008 Dustin J. Mitchell + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +File: autoconf-archive.info, Node: ax_xtra_classpath, Next: ax_zmq, Prev: ax_xsdcxx, Up: The Macros + +ax_xtra_classpath +================= + +Synopsis +******** + + AX_XTRA_CLASSPATH(,,,,) + +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 + +This program is free software; you can 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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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 + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. + + +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. + + + 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 + . + + 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. + +  Tag Table: -(Indirect) Node: Top823 Node: Introduction1898 -Node: Downloads3458 -Node: How to contribute4500 -Node: The Macros7395 -Node: ax_absolute_header20327 -Node: ax_ac_append_to_file21709 -Node: ax_ac_print_to_file22745 -Node: ax_add_am_macro23778 -Node: ax_add_am_macro_static24795 -Node: ax_add_am_trilinos_makefile_export25797 -Node: ax_add_recursive_am_macro27040 -Node: ax_add_recursive_am_macro_static28207 -Node: ax_afs29407 -Node: ax_am_jobserver30954 -Node: ax_am_macros32452 -Node: ax_am_macros_static33444 -Node: ax_am_override_var34531 -Node: ax_append_compile_flags38873 -Node: ax_append_flag41677 -Node: ax_append_link_flags44105 -Node: ax_append_to_file46835 -Node: ax_arg_with_path_style47756 -Node: ax_asm_inline50787 -Node: ax_at_check_pattern51828 -Node: ax_auto_include_headers53508 -Node: ax_berkeley_db55656 -Node: ax_berkeley_db_cxx57261 -Node: ax_blas58982 -Node: ax_blas_f77_func62103 -Node: ax_boost_asio64844 -Node: ax_boost_base65989 -Node: ax_boost_chrono67328 -Node: ax_boost_context68433 -Node: ax_boost_coroutine69658 -Node: ax_boost_date_time70904 -Node: ax_boost_filesystem72093 -Node: ax_boost_iostreams73349 -Node: ax_boost_locale74501 -Node: ax_boost_log75607 -Node: ax_boost_log_setup76792 -Node: ax_boost_program_options78039 -Node: ax_boost_python79250 -Node: ax_boost_regex81856 -Node: ax_boost_serialization83005 -Node: ax_boost_signals84193 -Node: ax_boost_system85362 -Node: ax_boost_test_exec_monitor86586 -Node: ax_boost_thread87869 -Node: ax_boost_unit_test_framework89045 -Node: ax_boost_wave90291 -Node: ax_boost_wserialization91444 -Node: ax_c99_inline92637 -Node: ax_c___attribute__93671 -Node: ax_c_arithmetic_rshift95881 -Node: ax_c_bigendian_cross96894 -Node: ax_c_compile_value99284 -Node: ax_c_declare_block102698 -Node: ax_c_float_words_bigendian105571 -Node: ax_c_long_long107669 -Node: ax_c_referenceable_passed_va_list108623 -Node: ax_c_var_func110872 -Node: ax_cache_size113324 -Node: ax_caolan_check_package114416 -Node: ax_caolan_search_package116220 -Node: ax_cc_for_build118050 -Node: ax_cc_maxopt120160 -Node: ax_cf_ebcdic122893 -Node: ax_cflags_aix_option125070 -Node: ax_cflags_force_c89128355 -Node: ax_cflags_hpux_option131036 -Node: ax_cflags_irix_option134338 -Node: ax_cflags_no_writable_strings137656 -Node: ax_cflags_strict_prototypes140415 -Node: ax_cflags_sun_option143253 -Node: ax_cflags_warn_all146550 -Node: ax_check_aligned_access_required149504 -Node: ax_check_allocated_ctime152182 -Node: ax_check_awk__v153143 -Node: ax_check_awk__x_escapes154449 -Node: ax_check_awk_and155771 -Node: ax_check_awk_argind157054 -Node: ax_check_awk_array_delete158358 -Node: ax_check_awk_array_delete_elem159712 -Node: ax_check_awk_array_in161106 -Node: ax_check_awk_asort162429 -Node: ax_check_awk_asorti163726 -Node: ax_check_awk_associative_array165039 -Node: ax_check_awk_atan2166418 -Node: ax_check_awk_compl167723 -Node: ax_check_awk_conditional_expression169033 -Node: ax_check_awk_cos170472 -Node: ax_check_awk_environ171768 -Node: ax_check_awk_errno173073 -Node: ax_check_awk_exit174365 -Node: ax_check_awk_exp175639 -Node: ax_check_awk_gensub176916 -Node: ax_check_awk_getline178217 -Node: ax_check_awk_gsub179524 -Node: ax_check_awk_ignorecase180816 -Node: ax_check_awk_index182146 -Node: ax_check_awk_int183442 -Node: ax_check_awk_length184720 -Node: ax_check_awk_log186017 -Node: ax_check_awk_lshift187296 -Node: ax_check_awk_match_2parms188602 -Node: ax_check_awk_match_3parms189981 -Node: ax_check_awk_operator_multiply_multiply191385 -Node: ax_check_awk_operator_square192843 -Node: ax_check_awk_or194224 -Node: ax_check_awk_printf195504 -Node: ax_check_awk_rand196801 -Node: ax_check_awk_rshift198088 -Node: ax_check_awk_sin199386 -Node: ax_check_awk_split200664 -Node: ax_check_awk_sprintf201957 -Node: ax_check_awk_sqrt203265 -Node: ax_check_awk_srand204552 -Node: ax_check_awk_strftime205847 -Node: ax_check_awk_strtonum207167 -Node: ax_check_awk_sub208485 -Node: ax_check_awk_substr209766 -Node: ax_check_awk_system211066 -Node: ax_check_awk_systime212370 -Node: ax_check_awk_tolower213682 -Node: ax_check_awk_toupper214995 -Node: ax_check_awk_user_defined_functions216323 -Node: ax_check_awk_var_regexp217748 -Node: ax_check_awk_variable_value_pairs219107 -Node: ax_check_awk_xor220538 -Node: ax_check_class221826 -Node: ax_check_classpath224394 -Node: ax_check_compile_flag226876 -Node: ax_check_define229698 -Node: ax_check_docbook_dtd232010 -Node: ax_check_docbook_xslt234623 -Node: ax_check_docbook_xslt_min237270 -Node: ax_check_dos_filesys239754 -Node: ax_check_enable_debug242233 -Node: ax_check_func_in244400 -Node: ax_check_gd246509 -Node: ax_check_gl248108 -Node: ax_check_glu251236 -Node: ax_check_glut254309 -Node: ax_check_glx257096 -Node: ax_check_gnu_make259907 -Node: ax_check_icu262546 -Node: ax_check_java_home263462 -Node: ax_check_java_plugin265691 -Node: ax_check_junit268431 -Node: ax_check_library270208 -Node: ax_check_link_flag273227 -Node: ax_check_mysql275977 -Node: ax_check_mysql_db279151 -Node: ax_check_mysqlr281473 -Node: ax_check_off64_t282602 -Node: ax_check_openssl283623 -Node: ax_check_page_aligned_malloc285062 -Node: ax_check_pathfind286979 -Node: ax_check_pathname_style287987 -Node: ax_check_pgsql_db290397 -Node: ax_check_posix_regcomp293872 -Node: ax_check_posix_sysinfo294916 -Node: ax_check_postgres_db295900 -Node: ax_check_preproc_flag297822 -Node: ax_check_rqrd_class301464 -Node: ax_check_sign304090 -Node: ax_check_strcspn305748 -Node: ax_check_strftime307170 -Node: ax_check_struct_for308067 -Node: ax_check_symbol309019 -Node: ax_check_sys_siglist311228 -Node: ax_check_typedef312130 -Node: ax_check_uname_syscall314612 -Node: ax_check_user315542 -Node: ax_check_vscript317990 -Node: ax_check_zlib320075 -Node: ax_code_coverage323242 -Node: ax_compare_version326028 -Node: ax_compile_check_sizeof329197 -Node: ax_compiler_flags332713 -Node: ax_compiler_flags_cflags338099 -Node: ax_compiler_flags_cxxflags339449 -Node: ax_compiler_flags_gir340811 -Node: ax_compiler_flags_ldflags342189 -Node: ax_compiler_vendor343540 -Node: ax_compiler_version345872 -Node: ax_compute_relative_paths347388 -Node: ax_compute_standard_relative_paths350488 -Node: ax_cond_with_level354238 -Node: ax_config_feature357142 -Node: ax_configure_args361243 -Node: ax_count_cpus363950 -Node: ax_cpu_freq365116 -Node: ax_cpu_vendor365989 -Node: ax_create_generic_config366950 -Node: ax_create_pkgconfig_info369915 -Node: ax_create_stdint_h372850 -Node: ax_create_target_h376687 -Node: ax_cvs381195 -Node: ax_cxx_bool383855 -Node: ax_cxx_compile_stdcxx_0x384909 -Node: ax_cxx_compile_stdcxx_11385882 -Node: ax_cxx_compiler_vendor387779 -Node: ax_cxx_complex_math_in_namespace_std389012 -Node: ax_cxx_const_cast390144 -Node: ax_cxx_cppflags_std_lang391115 -Node: ax_cxx_cxxflags_std_lang392257 -Node: ax_cxx_default_template_parameters393617 -Node: ax_cxx_delete_method394723 -Node: ax_cxx_dtor_after_atexit396171 -Node: ax_cxx_dynamic_cast397872 -Node: ax_cxx_enum_computations398849 -Node: ax_cxx_enum_computations_with_cast399882 -Node: ax_cxx_erase_iterator_type400997 -Node: ax_cxx_exceptions402146 -Node: ax_cxx_explicit403132 -Node: ax_cxx_explicit_instantiations404172 -Node: ax_cxx_explicit_template_function_qualification405262 -Node: ax_cxx_extern_template406493 -Node: ax_cxx_full_specialization_syntax407491 -Node: ax_cxx_function_nontype_parameters408606 -Node: ax_cxx_function_try_blocks409743 -Node: ax_cxx_gcc_abi_demangle411904 -Node: ax_cxx_gnucxx_hashmap412987 -Node: ax_cxx_have_bad_function_call413946 -Node: ax_cxx_have_bind415124 -Node: ax_cxx_have_bit_and416183 -Node: ax_cxx_have_bit_or417258 -Node: ax_cxx_have_bit_xor418327 -Node: ax_cxx_have_complex419405 -Node: ax_cxx_have_complex_math1420364 -Node: ax_cxx_have_complex_math2421443 -Node: ax_cxx_have_cref422497 -Node: ax_cxx_have_empty_iostream423559 -Node: ax_cxx_have_ext_hash_map425716 -Node: ax_cxx_have_ext_hash_set428108 -Node: ax_cxx_have_ext_slist430429 -Node: ax_cxx_have_freeze_sstream432721 -Node: ax_cxx_have_function435242 -Node: ax_cxx_have_hash436335 -Node: ax_cxx_have_ieee_math437387 -Node: ax_cxx_have_is_bind_expression438534 -Node: ax_cxx_have_is_placeholder439732 -Node: ax_cxx_have_koenig_lookup440898 -Node: ax_cxx_have_long_long_for_iostream441936 -Node: ax_cxx_have_mem_fn444541 -Node: ax_cxx_have_numeric_limits445632 -Node: ax_cxx_have_placeholders446652 -Node: ax_cxx_have_ref447784 -Node: ax_cxx_have_reference_wrapper448838 -Node: ax_cxx_have_sstream450013 -Node: ax_cxx_have_std450958 -Node: ax_cxx_have_stl451957 -Node: ax_cxx_have_string_push_back452907 -Node: ax_cxx_have_system_v_math453955 -Node: ax_cxx_have_valarray455067 -Node: ax_cxx_have_vector_at456037 -Node: ax_cxx_header_pre_stdcxx457032 -Node: ax_cxx_header_stdcxx_0x457978 -Node: ax_cxx_header_stdcxx_98458929 -Node: ax_cxx_header_stdcxx_tr1459896 -Node: ax_cxx_header_tr1_unordered_map460859 -Node: ax_cxx_header_tr1_unordered_set461923 -Node: ax_cxx_header_unordered_map462990 -Node: ax_cxx_header_unordered_set464025 -Node: ax_cxx_ldflags_std_lang465052 -Node: ax_cxx_member_constants466385 -Node: ax_cxx_member_templates467394 -Node: ax_cxx_member_templates_outside_class468417 -Node: ax_cxx_mutable469559 -Node: ax_cxx_namespace_std470625 -Node: ax_cxx_namespaces471592 -Node: ax_cxx_new_for_scoping472642 -Node: ax_cxx_old_for_scoping473732 -Node: ax_cxx_partial_ordering474967 -Node: ax_cxx_partial_specialization475981 -Node: ax_cxx_reinterpret_cast477044 -Node: ax_cxx_restrict_this478058 -Node: ax_cxx_rtti480062 -Node: ax_cxx_rvalue_references481022 -Node: ax_cxx_static_cast482075 -Node: ax_cxx_stlport_hashmap483041 -Node: ax_cxx_template_keyword_qualifier484006 -Node: ax_cxx_template_qualified_base_class485171 -Node: ax_cxx_template_qualified_return_type486332 -Node: ax_cxx_template_scoped_argument_matching487498 -Node: ax_cxx_templates488706 -Node: ax_cxx_templates_as_template_arguments489690 -Node: ax_cxx_typename490819 -Node: ax_cxx_use_numtrait491781 -Node: ax_cxx_var_prettyfunc492757 -Node: ax_cxx_verbose_terminate_handler495268 -Node: ax_decl_wchar_max496983 -Node: ax_define_integer_bits498094 -Node: ax_define_sub_path499946 -Node: ax_dirname503738 -Node: ax_dist_msi505997 -Node: ax_dist_rpm507069 -Node: ax_dll_string508907 -Node: ax_enable_builddir510041 -Node: ax_execinfo513804 -Node: ax_expand_prefix515253 -Node: ax_ext518205 -Node: ax_ext_check_header520089 -Node: ax_ext_have_lib521432 -Node: ax_extra_dist523098 -Node: ax_f77_cmain_fflags524494 -Node: ax_f90_header527345 -Node: ax_f90_internal_headmod529157 -Node: ax_f90_library530208 -Node: ax_f90_library_setup532104 -Node: ax_f90_module534982 -Node: ax_f90_module_extension536833 -Node: ax_f90_module_flag537934 -Node: ax_file_escapes539198 -Node: ax_find_hamcrest540081 -Node: ax_find_junit541135 -Node: ax_find_scala_stdlib542164 -Node: ax_forceinline543252 -Node: ax_func_accept_argtypes544323 -Node: ax_func_getopt_long546909 -Node: ax_func_memmove549304 -Node: ax_func_mkdir550286 -Node: ax_func_posix_memalign552836 -Node: ax_func_snprintf553980 -Node: ax_func_which_gethostbyname_r555227 -Node: ax_func_which_getservbyname_r558136 -Node: ax_gcc_archflag560725 -Node: ax_gcc_builtin564029 -Node: ax_gcc_const_call566884 -Node: ax_gcc_func_attribute569003 -Node: ax_gcc_lib571296 -Node: ax_gcc_libgcc_eh573543 -Node: ax_gcc_libraries_dir575690 -Node: ax_gcc_libsupcxx578007 -Node: ax_gcc_malloc_call580226 -Node: ax_gcc_var_attribute582353 -Node: ax_gcc_version584281 -Node: ax_gcc_warn_unused_result586420 -Node: ax_gcc_x86_avx_xgetbv588595 -Node: ax_gcc_x86_cpuid591350 -Node: ax_generate_changelog594304 -Node: ax_gnu_autotest596353 -Node: ax_have_adns608991 -Node: ax_have_epoll610091 -Node: ax_have_opengl612116 -Node: ax_have_poll615299 -Node: ax_have_qt616843 -Node: ax_have_select618788 -Node: ax_include_strcasecmp620335 -Node: ax_install_files621463 -Node: ax_is_release622408 -Node: ax_java_check_class624334 -Node: ax_java_options626989 -Node: ax_jni_include_dir628306 -Node: ax_lapack629983 -Node: ax_lib_beecrypt633176 -Node: ax_lib_cgal_core634537 -Node: ax_lib_crypto635868 -Node: ax_lib_curl637236 -Node: ax_lib_ev638448 -Node: ax_lib_expat639571 -Node: ax_lib_firebird641178 -Node: ax_lib_gcrypt642709 -Node: ax_lib_gdal644184 -Node: ax_lib_hdf5645556 -Node: ax_lib_id3648708 -Node: ax_lib_libkml650119 -Node: ax_lib_metis651615 -Node: ax_lib_mysql653305 -Node: ax_lib_mysqlcppconn654819 -Node: ax_lib_nettle656231 -Node: ax_lib_nokalva657627 -Node: ax_lib_oracle_occi659117 -Node: ax_lib_oracle_oci660955 -Node: ax_lib_orbit2662773 -Node: ax_lib_postgresql663956 -Node: ax_lib_readline665639 -Node: ax_lib_samtools668198 -Node: ax_lib_socket_nsl671445 -Node: ax_lib_sqlite3672789 -Node: ax_lib_tabix674137 -Node: ax_lib_taglib677329 -Node: ax_lib_trace678564 -Node: ax_lib_upnp679715 -Node: ax_lib_wad681141 -Node: ax_lib_xalan683272 -Node: ax_lib_xerces684884 -Node: ax_lib_xml_security686453 -Node: ax_libgcj_jar688227 -Node: ax_libtoolize_cflags690292 -Node: ax_llvm691332 -Node: ax_lua692357 -Node: ax_maintainer_mode_auto_silent701004 -Node: ax_missing_prog703584 -Node: ax_mpi706053 -Node: ax_mpip709304 -Node: ax_need_awk711702 -Node: ax_normalize_path712852 -Node: ax_not_enable_frame_pointer717223 -Node: ax_numeric_namedlevel719546 -Node: ax_openmp723198 -Node: ax_patch_libtool_changing_cmds_ifs726329 -Node: ax_path_bdb730325 -Node: ax_path_generic733647 -Node: ax_path_lib_pcre736526 -Node: ax_path_milter738887 -Node: ax_path_missing742684 -Node: ax_perl_ext744183 -Node: ax_perl_ext_flags746867 -Node: ax_perl_module_version749532 -Node: ax_pgsql_priv_root750911 -Node: ax_pkg_check_modules754603 -Node: ax_pkg_mico757010 -Node: ax_pkg_swig759370 -Node: ax_prefix_config_h762458 -Node: ax_print_to_file767452 -Node: ax_printf_size_t768357 -Node: ax_prog_apache770146 -Node: ax_prog_bison773261 -Node: ax_prog_bison_version775462 -Node: ax_prog_cc_char_subscripts777038 -Node: ax_prog_cc_for_build779534 -Node: ax_prog_cc_mpi781165 -Node: ax_prog_cp_s784813 -Node: ax_prog_crontab787856 -Node: ax_prog_cxx_for_build790063 -Node: ax_prog_cxx_mpi791557 -Node: ax_prog_doxygen795213 -Node: ax_prog_f77_mpi803747 -Node: ax_prog_fasm807404 -Node: ax_prog_fasm_opt809713 -Node: ax_prog_fc_mpi811966 -Node: ax_prog_fig2dev815615 -Node: ax_prog_flex816754 -Node: ax_prog_flex_version818948 -Node: ax_prog_guile_version820506 -Node: ax_prog_haxe_version822132 -Node: ax_prog_hla823575 -Node: ax_prog_hla_opt825876 -Node: ax_prog_httpd828113 -Node: ax_prog_jar831034 -Node: ax_prog_java832596 -Node: ax_prog_java_cc836480 -Node: ax_prog_java_works839337 -Node: ax_prog_javac841750 -Node: ax_prog_javac_works844757 -Node: ax_prog_javadoc847177 -Node: ax_prog_javah848814 -Node: ax_prog_masm849821 -Node: ax_prog_masm_opt852128 -Node: ax_prog_md5sum854380 -Node: ax_prog_modprobe855452 -Node: ax_prog_mysql856572 -Node: ax_prog_mysqladmin859016 -Node: ax_prog_mysqld861421 -Node: ax_prog_mysqlimport863633 -Node: ax_prog_mysqlshow865883 -Node: ax_prog_nasm868254 -Node: ax_prog_nasm_opt870565 -Node: ax_prog_perl_modules872824 -Node: ax_prog_perl_version874345 -Node: ax_prog_pgclient875951 -Node: ax_prog_python_version878503 -Node: ax_prog_ruby_version880141 -Node: ax_prog_scala881789 -Node: ax_prog_scalac882855 -Node: ax_prog_scp883926 -Node: ax_prog_splint886093 -Node: ax_prog_ssh887559 -Node: ax_prog_tasm889724 -Node: ax_prog_tasm_opt892029 -Node: ax_prog_tcl894275 -Node: ax_prog_xsltproc896732 -Node: ax_prog_yasm899141 -Node: ax_prog_yasm_opt902274 -Node: ax_prototype904525 -Node: ax_prototype_accept908849 -Node: ax_prototype_getsockname911171 -Node: ax_prototype_setsockopt913559 -Node: ax_pthread915839 -Node: ax_python919897 -Node: ax_python_config_var922338 -Node: ax_python_devel924522 -Node: ax_python_embed927956 -Node: ax_python_module932845 -Node: ax_python_module_version933898 -Node: ax_require_defined935142 -Node: ax_require_one_func936441 -Node: ax_restore_flags937775 -Node: ax_rpm_init939317 -Node: ax_ruby_devel945348 -Node: ax_ruby_ext947960 -Node: ax_save_flags950575 -Node: ax_set_default_paths_system952109 -Node: ax_short_sleep954644 -Node: ax_silent_mode955793 -Node: ax_sip_devel956897 -Node: ax_spec_file958330 -Node: ax_spec_package_version960732 -Node: ax_split_version964722 -Node: ax_string_strcasecmp965679 -Node: ax_strings_strcasecmp967001 -Node: ax_struct_semun967996 -Node: ax_subdir_files969245 -Node: ax_subst_with971536 -Node: ax_swig_enable_cxx974271 -Node: ax_swig_multi_module_support976493 -Node: ax_swig_python979005 -Node: ax_switch_flags981709 -Node: ax_sys_dev_poll983270 -Node: ax_sys_largefile_sensitive984513 -Node: ax_sys_perlsharpbang987660 -Node: ax_sys_weak_alias990164 -Node: ax_sysv_ipc994643 -Node: ax_tls995604 -Node: ax_trilinos_amesos997858 -Node: ax_trilinos_base999032 -Node: ax_trilinos_epetra1000949 -Node: ax_trilinos_epetraext1002138 -Node: ax_trilinos_epetraext_hdf51003358 -Node: ax_trilinos_rtop1004495 -Node: ax_trilinos_rythmos1005676 -Node: ax_trilinos_teuchos1006871 -Node: ax_trilinos_thyra1008067 -Node: ax_trilinos_thyra_epetra1009254 -Node: ax_trilinos_thyra_epetraext1010364 -Node: ax_try_awk_anyout1011494 -Node: ax_try_awk_expout1012901 -Node: ax_try_compile_java1014363 -Node: ax_try_run_java1015758 -Node: ax_type_socklen_t1017133 -Node: ax_upload1019280 -Node: ax_valgrind_check1020828 -Node: ax_var_timezone_externals1023215 -Node: ax_very_nice1025710 -Node: ax_warning_default_aclocaldir1028216 -Node: ax_warning_default_pkgconfig1031632 -Node: ax_wint_t1035060 -Node: ax_with_apxs1036309 -Node: ax_with_build_path1037540 -Node: ax_with_curses1038846 -Node: ax_with_curses_extra1047769 -Node: ax_with_dmalloc1053824 -Node: ax_with_mpatrol1055130 -Node: ax_with_prog1056499 -Node: ax_xercesc1058027 -Node: ax_xsdcxx1060094 -Node: ax_xtra_classpath1061320 -Node: ax_zoneinfo1063591 -Node: GNU Free Documentation License1065175 +Node: Downloads3460 +Node: How to contribute4502 +Node: The Macros7587 +Node: ax_absolute_header21064 +Node: ax_ac_append_to_file22446 +Node: ax_ac_print_to_file23482 +Node: ax_add_am_macro24515 +Node: ax_add_am_macro_static25532 +Node: ax_add_am_trilinos_makefile_export26534 +Node: ax_add_fortify_source27773 +Node: ax_add_recursive_am_macro29210 +Node: ax_add_recursive_am_macro_static30364 +Node: ax_afs31564 +Node: ax_am_jobserver33111 +Node: ax_am_macros34609 +Node: ax_am_macros_static35601 +Node: ax_am_override_var36688 +Node: ax_append_compile_flags41030 +Node: ax_append_flag43907 +Node: ax_append_link_flags46336 +Node: ax_append_to_file49139 +Node: ax_arg_with_path_style50060 +Node: ax_asm_inline53092 +Node: ax_at_check_pattern54182 +Node: ax_auto_include_headers55862 +Node: ax_berkeley_db58010 +Node: ax_berkeley_db_cxx59615 +Node: ax_blas61336 +Node: ax_blas_f77_func64458 +Node: ax_boost_asio67200 +Node: ax_boost_base68345 +Node: ax_boost_chrono69684 +Node: ax_boost_context70789 +Node: ax_boost_coroutine72014 +Node: ax_boost_date_time73260 +Node: ax_boost_filesystem74449 +Node: ax_boost_iostreams75705 +Node: ax_boost_locale76857 +Node: ax_boost_log77963 +Node: ax_boost_log_setup79148 +Node: ax_boost_program_options80395 +Node: ax_boost_python81606 +Node: ax_boost_regex84213 +Node: ax_boost_serialization85362 +Node: ax_boost_signals86550 +Node: ax_boost_system87719 +Node: ax_boost_test_exec_monitor88943 +Node: ax_boost_thread90226 +Node: ax_boost_unit_test_framework91402 +Node: ax_boost_wave92648 +Node: ax_boost_wserialization93801 +Node: ax_build_date_epoch95000 +Node: ax_c99_inline97646 +Node: ax_c___attribute__98676 +Node: ax_c_arithmetic_rshift100887 +Node: ax_c_compile_value101898 +Node: ax_c_declare_block105314 +Node: ax_c_float_words_bigendian108189 +Node: ax_c_long_long110288 +Node: ax_c_referenceable_passed_va_list111242 +Node: ax_c_var_func113492 +Node: ax_cache_size115945 +Node: ax_caolan_check_package117037 +Node: ax_caolan_search_package118841 +Node: ax_cc_for_build120671 +Node: ax_cc_maxopt122782 +Node: ax_cf_ebcdic125516 +Node: ax_cflags_aix_option127694 +Node: ax_cflags_force_c89130980 +Node: ax_cflags_hpux_option133662 +Node: ax_cflags_irix_option136965 +Node: ax_cflags_no_writable_strings140284 +Node: ax_cflags_strict_prototypes143044 +Node: ax_cflags_sun_option145883 +Node: ax_cflags_warn_all149181 +Node: ax_check_aligned_access_required152136 +Node: ax_check_allocated_ctime155117 +Node: ax_check_awk__v156078 +Node: ax_check_awk__x_escapes157384 +Node: ax_check_awk_and158706 +Node: ax_check_awk_argind159989 +Node: ax_check_awk_array_delete161293 +Node: ax_check_awk_array_delete_elem162647 +Node: ax_check_awk_array_in164041 +Node: ax_check_awk_asort165364 +Node: ax_check_awk_asorti166661 +Node: ax_check_awk_associative_array167974 +Node: ax_check_awk_atan2169353 +Node: ax_check_awk_compl170658 +Node: ax_check_awk_conditional_expression171968 +Node: ax_check_awk_cos173407 +Node: ax_check_awk_environ174703 +Node: ax_check_awk_errno176008 +Node: ax_check_awk_exit177300 +Node: ax_check_awk_exp178574 +Node: ax_check_awk_gensub179851 +Node: ax_check_awk_getline181152 +Node: ax_check_awk_gsub182459 +Node: ax_check_awk_ignorecase183751 +Node: ax_check_awk_index185081 +Node: ax_check_awk_int186377 +Node: ax_check_awk_length187655 +Node: ax_check_awk_log188952 +Node: ax_check_awk_lshift190231 +Node: ax_check_awk_match_2parms191537 +Node: ax_check_awk_match_3parms192916 +Node: ax_check_awk_operator_multiply_multiply194320 +Node: ax_check_awk_operator_square195778 +Node: ax_check_awk_or197159 +Node: ax_check_awk_printf198439 +Node: ax_check_awk_rand199736 +Node: ax_check_awk_rshift201023 +Node: ax_check_awk_sin202321 +Node: ax_check_awk_split203599 +Node: ax_check_awk_sprintf204892 +Node: ax_check_awk_sqrt206200 +Node: ax_check_awk_srand207487 +Node: ax_check_awk_strftime208782 +Node: ax_check_awk_strtonum210102 +Node: ax_check_awk_sub211420 +Node: ax_check_awk_substr212701 +Node: ax_check_awk_system214001 +Node: ax_check_awk_systime215305 +Node: ax_check_awk_tolower216617 +Node: ax_check_awk_toupper217930 +Node: ax_check_awk_user_defined_functions219258 +Node: ax_check_awk_var_regexp220683 +Node: ax_check_awk_variable_value_pairs222042 +Node: ax_check_awk_xor223473 +Node: ax_check_class224761 +Node: ax_check_classpath227330 +Node: ax_check_compile_flag229813 +Node: ax_check_define232636 +Node: ax_check_docbook_dtd234949 +Node: ax_check_docbook_xslt237563 +Node: ax_check_docbook_xslt_min240211 +Node: ax_check_dos_filesys242696 +Node: ax_check_enable_debug245176 +Node: ax_check_func_in247343 +Node: ax_check_gd249453 +Node: ax_check_gir_symbols_gjs251065 +Node: ax_check_girs_gjs252952 +Node: ax_check_gl254778 +Node: ax_check_glu259003 +Node: ax_check_glut263078 +Node: ax_check_glx266889 +Node: ax_check_gnu_make269701 +Node: ax_check_icu272794 +Node: ax_check_java_home273710 +Node: ax_check_java_plugin275940 +Node: ax_check_junit278678 +Node: ax_check_library280455 +Node: ax_check_link_flag283475 +Node: ax_check_mysql286226 +Node: ax_check_mysql_db289400 +Node: ax_check_mysqlr291723 +Node: ax_check_off64_t292852 +Node: ax_check_openssl293873 +Node: ax_check_page_aligned_malloc295312 +Node: ax_check_pathfind297229 +Node: ax_check_pathname_style298237 +Node: ax_check_pgsql_db300648 +Node: ax_check_posix_regcomp304124 +Node: ax_check_posix_sysinfo305168 +Node: ax_check_postgres_db306152 +Node: ax_check_preproc_flag308074 +Node: ax_check_rqrd_class310894 +Node: ax_check_sign313521 +Node: ax_check_strcspn315179 +Node: ax_check_strftime316601 +Node: ax_check_struct_for317498 +Node: ax_check_symbol318450 +Node: ax_check_sys_siglist320660 +Node: ax_check_typedef321562 +Node: ax_check_uname_syscall324045 +Node: ax_check_user324975 +Node: ax_check_vscript327424 +Node: ax_check_x86_features329517 +Node: ax_check_zlib332740 +Node: ax_code_coverage335913 +Node: ax_compare_version339143 +Node: ax_compile_check_sizeof342312 +Node: ax_compiler_flags345878 +Node: ax_compiler_flags_cflags351264 +Node: ax_compiler_flags_cxxflags352614 +Node: ax_compiler_flags_gir353976 +Node: ax_compiler_flags_ldflags355354 +Node: ax_compiler_vendor356705 +Node: ax_compiler_version359038 +Node: ax_compute_relative_paths360556 +Node: ax_compute_standard_relative_paths363679 +Node: ax_cond_with_level367431 +Node: ax_config_feature370337 +Node: ax_configure_args374439 +Node: ax_count_cpus377146 +Node: ax_cpu_freq378571 +Node: ax_cpu_vendor379444 +Node: ax_create_generic_config380405 +Node: ax_create_pkgconfig_info383372 +Node: ax_create_stdint_h386308 +Node: ax_create_target_h390149 +Node: ax_cvs394658 +Node: ax_cxx_bool397319 +Node: ax_cxx_compile_stdcxx398370 +Node: ax_cxx_compile_stdcxx_0x400498 +Node: ax_cxx_compile_stdcxx_11401599 +Node: ax_cxx_compile_stdcxx_14403378 +Node: ax_cxx_compile_stdcxx_17404855 +Node: ax_cxx_complex_math_in_namespace_std406398 +Node: ax_cxx_const_cast407532 +Node: ax_cxx_cppflags_std_lang408503 +Node: ax_cxx_cxxflags_std_lang409645 +Node: ax_cxx_default_template_parameters411005 +Node: ax_cxx_delete_method412111 +Node: ax_cxx_dtor_after_atexit413559 +Node: ax_cxx_dynamic_cast415260 +Node: ax_cxx_enum_computations416237 +Node: ax_cxx_enum_computations_with_cast417270 +Node: ax_cxx_erase_iterator_type418385 +Node: ax_cxx_exceptions419534 +Node: ax_cxx_explicit420520 +Node: ax_cxx_explicit_instantiations421560 +Node: ax_cxx_explicit_template_function_qualification422650 +Node: ax_cxx_extern_template423881 +Node: ax_cxx_full_specialization_syntax424879 +Node: ax_cxx_function_nontype_parameters425994 +Node: ax_cxx_function_try_blocks427131 +Node: ax_cxx_gcc_abi_demangle429293 +Node: ax_cxx_gnucxx_hashmap430376 +Node: ax_cxx_have_bad_function_call431335 +Node: ax_cxx_have_bind432513 +Node: ax_cxx_have_bit_and433572 +Node: ax_cxx_have_bit_or434647 +Node: ax_cxx_have_bit_xor435716 +Node: ax_cxx_have_complex436794 +Node: ax_cxx_have_complex_math1437753 +Node: ax_cxx_have_complex_math2438832 +Node: ax_cxx_have_cref439886 +Node: ax_cxx_have_empty_iostream440948 +Node: ax_cxx_have_ext_hash_map443106 +Node: ax_cxx_have_ext_hash_set445499 +Node: ax_cxx_have_ext_slist447821 +Node: ax_cxx_have_freeze_sstream450114 +Node: ax_cxx_have_function452636 +Node: ax_cxx_have_hash453729 +Node: ax_cxx_have_ieee_math454781 +Node: ax_cxx_have_is_bind_expression455928 +Node: ax_cxx_have_is_placeholder457126 +Node: ax_cxx_have_koenig_lookup458292 +Node: ax_cxx_have_long_long_for_iostream459330 +Node: ax_cxx_have_mem_fn461936 +Node: ax_cxx_have_numeric_limits463027 +Node: ax_cxx_have_placeholders464047 +Node: ax_cxx_have_ref465179 +Node: ax_cxx_have_reference_wrapper466233 +Node: ax_cxx_have_sstream467408 +Node: ax_cxx_have_std468353 +Node: ax_cxx_have_stl469352 +Node: ax_cxx_have_string_push_back470302 +Node: ax_cxx_have_system_v_math471350 +Node: ax_cxx_have_valarray472462 +Node: ax_cxx_have_vector_at473432 +Node: ax_cxx_header_pre_stdcxx474427 +Node: ax_cxx_header_stdcxx_0x475373 +Node: ax_cxx_header_stdcxx_98476324 +Node: ax_cxx_header_stdcxx_tr1477291 +Node: ax_cxx_header_tr1_unordered_map478254 +Node: ax_cxx_header_tr1_unordered_set479318 +Node: ax_cxx_header_unordered_map480385 +Node: ax_cxx_header_unordered_set481420 +Node: ax_cxx_ldflags_std_lang482447 +Node: ax_cxx_member_constants483780 +Node: ax_cxx_member_templates484789 +Node: ax_cxx_member_templates_outside_class485812 +Node: ax_cxx_mutable486954 +Node: ax_cxx_namespace_std488020 +Node: ax_cxx_namespaces488987 +Node: ax_cxx_new_for_scoping490037 +Node: ax_cxx_old_for_scoping491127 +Node: ax_cxx_partial_ordering492362 +Node: ax_cxx_partial_specialization493376 +Node: ax_cxx_reinterpret_cast494439 +Node: ax_cxx_restrict_this495453 +Node: ax_cxx_rtti497458 +Node: ax_cxx_rvalue_references498418 +Node: ax_cxx_static_cast499471 +Node: ax_cxx_stlport_hashmap500437 +Node: ax_cxx_template_keyword_qualifier501402 +Node: ax_cxx_template_qualified_base_class502567 +Node: ax_cxx_template_qualified_return_type503728 +Node: ax_cxx_template_scoped_argument_matching504894 +Node: ax_cxx_templates506102 +Node: ax_cxx_templates_as_template_arguments507086 +Node: ax_cxx_typename508215 +Node: ax_cxx_use_numtrait509177 +Node: ax_cxx_var_prettyfunc510153 +Node: ax_cxx_verbose_terminate_handler512665 +Node: ax_czmq514370 +Node: ax_decl_wchar_max515580 +Node: ax_define_integer_bits516666 +Node: ax_define_sub_path518518 +Node: ax_dirname522311 +Node: ax_dist_msi524571 +Node: ax_dist_rpm525643 +Node: ax_dll_string527482 +Node: ax_elisp528606 +Node: ax_enable_builddir533143 +Node: ax_execinfo536905 +Node: ax_expand_prefix538354 +Node: ax_ext541308 +Node: ax_ext_check_header543287 +Node: ax_ext_have_lib544630 +Node: ax_extend_srcdir546300 +Node: ax_extra_dist549316 +Node: ax_f77_cmain_fflags550713 +Node: ax_f90_header553565 +Node: ax_f90_internal_headmod555377 +Node: ax_f90_library556428 +Node: ax_f90_library_setup558325 +Node: ax_f90_module561203 +Node: ax_f90_module_extension563054 +Node: ax_f90_module_flag564155 +Node: ax_fc_check_define565422 +Node: ax_file_escapes566636 +Node: ax_find_hamcrest567519 +Node: ax_find_junit568573 +Node: ax_find_scala_stdlib569602 +Node: ax_forceinline570690 +Node: ax_func_accept_argtypes571761 +Node: ax_func_getopt_long574348 +Node: ax_func_memmove576744 +Node: ax_func_mkdir577726 +Node: ax_func_posix_memalign580277 +Node: ax_func_snprintf581421 +Node: ax_func_which_gethostbyname_r582668 +Node: ax_func_which_getservbyname_r585578 +Node: ax_gcc_archflag588168 +Node: ax_gcc_builtin591507 +Node: ax_gcc_const_call594387 +Node: ax_gcc_func_attribute596507 +Node: ax_gcc_lib598819 +Node: ax_gcc_libgcc_eh601067 +Node: ax_gcc_libsupcxx603211 +Node: ax_gcc_malloc_call605427 +Node: ax_gcc_var_attribute607555 +Node: ax_gcc_warn_unused_result609495 +Node: ax_gcc_x86_avx_xgetbv611677 +Node: ax_gcc_x86_cpu_supports614440 +Node: ax_gcc_x86_cpuid617468 +Node: ax_generate_changelog620425 +Node: ax_gnu_autotest622474 +Node: ax_have_adns634288 +Node: ax_have_epoll635388 +Node: ax_have_poll637411 +Node: ax_have_qt638954 +Node: ax_have_select640899 +Node: ax_include_strcasecmp642446 +Node: ax_install_files643574 +Node: ax_is_release644519 +Node: ax_java_check_class646755 +Node: ax_java_options649412 +Node: ax_jni_include_dir650729 +Node: ax_lapack652406 +Node: ax_lib_beecrypt655600 +Node: ax_lib_cgal_core656961 +Node: ax_lib_crypto658292 +Node: ax_lib_curl659660 +Node: ax_lib_ev660872 +Node: ax_lib_expat661995 +Node: ax_lib_firebird663602 +Node: ax_lib_gcrypt665134 +Node: ax_lib_gdal666609 +Node: ax_lib_hdf5667981 +Node: ax_lib_id3671274 +Node: ax_lib_libkml672685 +Node: ax_lib_metis674181 +Node: ax_lib_mysql675872 +Node: ax_lib_mysqlcppconn677386 +Node: ax_lib_netcdf4678799 +Node: ax_lib_nettle682019 +Node: ax_lib_nokalva683410 +Node: ax_lib_oracle_occi684900 +Node: ax_lib_oracle_oci686738 +Node: ax_lib_orbit2688556 +Node: ax_lib_postgresql689738 +Node: ax_lib_readline691421 +Node: ax_lib_samtools693980 +Node: ax_lib_socket_nsl697228 +Node: ax_lib_sqlite3698572 +Node: ax_lib_tabix699921 +Node: ax_lib_taglib703114 +Node: ax_lib_trace704348 +Node: ax_lib_upnp705499 +Node: ax_lib_wad706925 +Node: ax_lib_xalan709057 +Node: ax_lib_xerces710669 +Node: ax_lib_xml_security712238 +Node: ax_libgcj_jar714012 +Node: ax_libtoolize_cflags716078 +Node: ax_llvm717118 +Node: ax_lua718143 +Node: ax_luarocks_rock726777 +Node: ax_maintainer_mode_auto_silent728009 +Node: ax_missing_prog730600 +Node: ax_mpi733070 +Node: ax_mpip736322 +Node: ax_need_awk738721 +Node: ax_normalize_path739871 +Node: ax_not_enable_frame_pointer744243 +Node: ax_numeric_namedlevel746567 +Node: ax_open62541_check_h750233 +Node: ax_open62541_check_lib752889 +Node: ax_open62541_path754950 +Node: ax_openmp757539 +Node: ax_patch_libtool_changing_cmds_ifs760724 +Node: ax_path_bdb764721 +Node: ax_path_generic768043 +Node: ax_path_lib_pcre770920 +Node: ax_path_milter773282 +Node: ax_path_missing777079 +Node: ax_perl_ext778578 +Node: ax_perl_ext_flags781262 +Node: ax_perl_module_version783927 +Node: ax_pgsql_priv_root785309 +Node: ax_pkg_check_modules789002 +Node: ax_pkg_mico791409 +Node: ax_pkg_swig793770 +Node: ax_prefix_config_h796859 +Node: ax_print_to_file801854 +Node: ax_printf_size_t802759 +Node: ax_prog_apache804548 +Node: ax_prog_bison807665 +Node: ax_prog_bison_version809867 +Node: ax_prog_cc_char_subscripts811443 +Node: ax_prog_cc_for_build813940 +Node: ax_prog_cc_mpi815571 +Node: ax_prog_cp_s819220 +Node: ax_prog_crontab822264 +Node: ax_prog_cxx_for_build824472 +Node: ax_prog_cxx_mpi825966 +Node: ax_prog_dotnetcore_version829634 +Node: ax_prog_doxygen831159 +Node: ax_prog_emacs835487 +Node: ax_prog_f77_mpi838142 +Node: ax_prog_fasm841798 +Node: ax_prog_fasm_opt844108 +Node: ax_prog_fc_mpi846362 +Node: ax_prog_fig2dev850012 +Node: ax_prog_flex851151 +Node: ax_prog_flex_version853346 +Node: ax_prog_gjs854894 +Node: ax_prog_guile_version856065 +Node: ax_prog_haxe_version857682 +Node: ax_prog_help2man859130 +Node: ax_prog_hla864637 +Node: ax_prog_hla_opt866935 +Node: ax_prog_httpd869173 +Node: ax_prog_jar872095 +Node: ax_prog_java873657 +Node: ax_prog_java_cc877542 +Node: ax_prog_java_works880400 +Node: ax_prog_javac882814 +Node: ax_prog_javac_works885822 +Node: ax_prog_javadoc888243 +Node: ax_prog_javah889880 +Node: ax_prog_masm890887 +Node: ax_prog_masm_opt893195 +Node: ax_prog_md5sum895448 +Node: ax_prog_modprobe896520 +Node: ax_prog_mysql897640 +Node: ax_prog_mysqladmin900085 +Node: ax_prog_mysqld902491 +Node: ax_prog_mysqlimport904704 +Node: ax_prog_mysqlshow906955 +Node: ax_prog_nasm909327 +Node: ax_prog_nasm_opt911639 +Node: ax_prog_perl_modules913899 +Node: ax_prog_perl_version915420 +Node: ax_prog_pgclient917026 +Node: ax_prog_python_version919579 +Node: ax_prog_ruby_version921217 +Node: ax_prog_scala922865 +Node: ax_prog_scalac923931 +Node: ax_prog_scp925002 +Node: ax_prog_splint927170 +Node: ax_prog_ssh928636 +Node: ax_prog_tasm930802 +Node: ax_prog_tasm_opt933108 +Node: ax_prog_tcl935355 +Node: ax_prog_xsltproc937813 +Node: ax_prog_yasm940223 +Node: ax_prog_yasm_opt942534 +Node: ax_prototype944786 +Node: ax_prototype_accept949109 +Node: ax_prototype_getsockname951432 +Node: ax_prototype_setsockopt953821 +Node: ax_pthread956102 +Node: ax_python960179 +Node: ax_python_config_var962621 +Node: ax_python_devel964805 +Node: ax_python_embed968240 +Node: ax_python_module973129 +Node: ax_python_module_version974182 +Node: ax_recursive_eval975425 +Node: ax_require_defined977607 +Node: ax_require_one_func978899 +Node: ax_restore_flags980233 +Node: ax_restore_flags_with_prefix981792 +Node: ax_rpm_init984480 +Node: ax_ruby_devel990523 +Node: ax_ruby_ext993136 +Node: ax_save_flags995751 +Node: ax_save_flags_with_prefix997283 +Node: ax_set_default_paths_system1000206 +Node: ax_short_sleep1002754 +Node: ax_silent_mode1003903 +Node: ax_sip_devel1005007 +Node: ax_spec_file1006440 +Node: ax_spec_package_version1008843 +Node: ax_split_version1012837 +Node: ax_string_strcasecmp1013794 +Node: ax_strings_strcasecmp1015116 +Node: ax_struct_semun1016111 +Node: ax_subdir_files1017360 +Node: ax_subdirs_configure1019659 +Node: ax_subst_with1025823 +Node: ax_swig_enable_cxx1028564 +Node: ax_swig_multi_module_support1030787 +Node: ax_swig_python1033300 +Node: ax_switch_flags1036005 +Node: ax_sys_dev_poll1037566 +Node: ax_sys_largefile_sensitive1038809 +Node: ax_sys_perlsharpbang1041959 +Node: ax_sys_weak_alias1044463 +Node: ax_sysv_ipc1048942 +Node: ax_tls1049903 +Node: ax_trilinos_amesos1052166 +Node: ax_trilinos_base1053340 +Node: ax_trilinos_epetra1055257 +Node: ax_trilinos_epetraext1056446 +Node: ax_trilinos_epetraext_hdf51057666 +Node: ax_trilinos_rtop1058803 +Node: ax_trilinos_rythmos1059984 +Node: ax_trilinos_teuchos1061179 +Node: ax_trilinos_thyra1062375 +Node: ax_trilinos_thyra_epetra1063562 +Node: ax_trilinos_thyra_epetraext1064672 +Node: ax_try_awk_anyout1065802 +Node: ax_try_awk_expout1067209 +Node: ax_try_compile_java1068671 +Node: ax_try_run_java1070066 +Node: ax_type_socklen_t1071441 +Node: ax_upload1073589 +Node: ax_valgrind_check1075137 +Node: ax_var_pop1078125 +Node: ax_var_push1080750 +Node: ax_var_timezone_externals1083474 +Node: ax_very_nice1085964 +Node: ax_warning_default_aclocaldir1088471 +Node: ax_warning_default_pkgconfig1091888 +Node: ax_wint_t1095317 +Node: ax_with_apxs1096566 +Node: ax_with_build_path1097797 +Node: ax_with_curses1099103 +Node: ax_with_curses_extra1108528 +Node: ax_with_dmalloc1114862 +Node: ax_with_mpatrol1116168 +Node: ax_with_prog1117537 +Node: ax_xercesc1119065 +Node: ax_xsdcxx1121133 +Node: ax_xtra_classpath1122359 +Node: ax_zmq1124626 +Node: ax_zoneinfo1125801 +Node: GNU Free Documentation License1127374  End Tag Table diff -Nru autoconf-archive-20150925/doc/autoconf-archive.info-1 autoconf-archive-20170928/doc/autoconf-archive.info-1 --- autoconf-archive-20150925/doc/autoconf-archive.info-1 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/autoconf-archive.info-1 1970-01-01 00:00:00.000000000 +0000 @@ -1,8927 +0,0 @@ -This is autoconf-archive.info, produced by makeinfo version 6.0 from -autoconf-archive.texi. - -This manual is for GNU Autoconf Archive version 2015.09.25, a collection -of freely re-usable Autoconf macros. - -Copyright (C) 2015 Autoconf Archive Maintainers - - -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 - - -File: autoconf-archive.info, Node: Top, Next: Introduction, Up: (dir) - -GNU Autoconf Archive -******************** - -This manual is for GNU Autoconf Archive version 2015.09.25, a collection -of freely re-usable Autoconf macros. - -Copyright (C) 2015 Autoconf Archive Maintainers - - -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. - - -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 (http://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 -. 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 . - - -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. -. New release are always -announced on the low-traffic announcements mailing list -(http://lists.gnu.org/mailman/listinfo/autoconf-archive-announce). - - -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'. - -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/peti/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 -(http://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses). -The Free Software Foundation, however, recommends use of the -all-permissive license -(http://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. - - -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_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_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_program_options:: -* ax_boost_python:: -* 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_c99_inline:: -* ax_c___attribute__:: -* ax_c_arithmetic_rshift:: -* ax_c_bigendian_cross:: -* 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_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_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_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_0x:: -* ax_cxx_compile_stdcxx_11:: -* ax_cxx_compiler_vendor:: -* 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_decl_wchar_max:: -* ax_define_integer_bits:: -* ax_define_sub_path:: -* ax_dirname:: -* ax_dist_msi:: -* ax_dist_rpm:: -* ax_dll_string:: -* ax_enable_builddir:: -* ax_execinfo:: -* ax_expand_prefix:: -* ax_ext:: -* ax_ext_check_header:: -* ax_ext_have_lib:: -* 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_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_libraries_dir:: -* ax_gcc_libsupcxx:: -* ax_gcc_malloc_call:: -* ax_gcc_var_attribute:: -* ax_gcc_version:: -* ax_gcc_warn_unused_result:: -* ax_gcc_x86_avx_xgetbv:: -* ax_gcc_x86_cpuid:: -* ax_generate_changelog:: -* ax_gnu_autotest:: -* ax_have_adns:: -* ax_have_epoll:: -* ax_have_opengl:: -* ax_have_poll:: -* ax_have_qt:: -* ax_have_select:: -* ax_include_strcasecmp:: -* ax_install_files:: -* 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_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_maintainer_mode_auto_silent:: -* ax_missing_prog:: -* ax_mpi:: -* ax_mpip:: -* ax_need_awk:: -* ax_normalize_path:: -* ax_not_enable_frame_pointer:: -* ax_numeric_namedlevel:: -* 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_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_doxygen:: -* 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_guile_version:: -* ax_prog_haxe_version:: -* 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_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_require_defined:: -* ax_require_one_func:: -* ax_restore_flags:: -* ax_rpm_init:: -* ax_ruby_devel:: -* ax_ruby_ext:: -* ax_save_flags:: -* 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_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_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_zoneinfo:: - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -Copyright (C) 2009 Allan Caffee - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_add_am_trilinos_makefile_export, Next: ax_add_recursive_am_macro, 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 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_add_recursive_am_macro, Next: ax_add_recursive_am_macro_static, Prev: ax_add_am_trilinos_makefile_export, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -Copyright (C) 2009 Allan Caffee - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -Copyright (C) 2009 Allan Caffee - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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]) - -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. - -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 - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -Copyright (C) 2011 Maarten Bosmans - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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]) - -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. - -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 - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 seperators shall be accepted but converted to the seperator -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -Copyright (C) 2009 Rhys Ulerich - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - #endif - #ifdef HAVE_INVENT_H - # include - #endif - #ifdef HAVE_SYS_SYSINFO_H - # include - #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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -Copyright (C) 2014 Kirill A. Korinskiy - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -Copyright (C) 2011 Stephan Suerken -Copyright (C) 2014 Kirill A. Korinskiy - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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= in order to use some specific BLAS library -. 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 - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_boost_asio, Next: ax_boost_base, 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 -. - -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 -Copyright (C) 2008 Pete Greenwell - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_boost_base, Next: ax_boost_chrono, Prev: ax_boost_asio, 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 -. - -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 -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. - - -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 System library from the Boost C++ libraries. The macro -requires a preceding call to AX_BOOST_BASE. Further documentation is -available at . - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 . - -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 -Copyright (C) 2008 Michael Tindal -Copyright (C) 2013 Daniel Casimiro - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 . - -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 -Copyright (C) 2008 Michael Tindal -Copyright (C) 2013 Daniel Casimiro - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 . - -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 -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. - - -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 . - -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 -Copyright (C) 2009 Michael Tindal -Copyright (C) 2009 Roman Rybalko - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 . - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 . - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. - -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 -Copyright (C) 2008 Michael Tindal -Copyright (C) 2013 Daniel Casimiro - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_boost_log_setup, Next: ax_boost_program_options, 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 . - -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 -Copyright (C) 2008 Michael Tindal -Copyright (C) 2013 Daniel Casimiro - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_boost_program_options, Next: ax_boost_python, Prev: ax_boost_log_setup, 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 . - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_boost_python, Next: ax_boost_regex, 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_boost_regex, Next: ax_boost_serialization, Prev: ax_boost_python, 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 -. - -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 -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. - - -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 . - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 . - -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 -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. - - -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 . - -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 -Copyright (C) 2008 Michael Tindal -Copyright (C) 2008 Daniel Casimiro - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 . - -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 -Copyright (C) 2008 Thomas Porschberg - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 . - -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 -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. - - -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 . - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. - -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 -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. - - -File: autoconf-archive.info, Node: ax_boost_wserialization, Next: ax_c99_inline, 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 . - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_c99_inline, Next: ax_c___attribute__, Prev: ax_boost_wserialization, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -Copyright (C) 2008 Christian Haggstrom -Copyright (C) 2008 Ryan McCabe - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_c_arithmetic_rshift, Next: ax_c_bigendian_cross, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_c_bigendian_cross, Next: ax_c_compile_value, Prev: ax_c_arithmetic_rshift, Up: The Macros - -ax_c_bigendian_cross -==================== - -Synopsis -******** - - AX_C_BIGENDIAN_CROSS - -Description -*********** - -Check endianess even when crosscompiling (partially based on the -original AC_C_BIGENDIAN). - -The implementation will create a binary, but instead of running the -binary it will be grep'ed for some symbols that differ for different -endianess of the binary. - -NOTE: The upcoming autoconf 2.53 does include the idea of this macro, -what makes it superfluous by then. - -Source Code -*********** - -Download the latest version of 'ax_c_bigendian_cross.m4' -(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_bigendian_cross.m4) -or browse the macro's revision history -(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_bigendian_cross.m4). - -License -******* - -Copyright (C) 2008 Guido U. Draheim - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_c_compile_value, Next: ax_c_declare_block, Prev: ax_c_bigendian_cross, 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_ - -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 runnfing 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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. Additionlly 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -implemenation was inspired by the AC_C_BIGENDIAN macro in autoconf. - -The endianess 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 "). 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 -http://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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 complier supports the C9X standard __func__ -indentifier. - -The new C9X standard for the C language stipulates that the identifier -__func__ shall be implictly 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -seperately - -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 -Copyright (C) 2008 Alexandre Duret-Lutz -Copyright (C) 2008 Matthew Mueller - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -seperately - -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 -Copyright (C) 2009 Alexandre Duret-Lutz -Copyright (C) 2009 Matthew Mueller - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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. - -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 -Copyright (C) 1999 Richard Henderson - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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, [A/NA]])] - AX_CXXFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])] - AX_FCFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])] - -Description -*********** - -Try to find a compiler option that enables most reasonable warnings. - -For the GNU compiler it will be -Wall (and -ansi -pedantic) The result -is added to the shellvar being CFLAGS, CXXFLAGS, or FCFLAGS by default. - -Currently this macro knows about the GCC, Solaris, Digital Unix, AIX, -HP-UX, IRIX, NEC SX-5 (Super-UX 10), Cray J90 (Unicos 10.0.0.8), and -Intel compilers. For a given compiler, the Fortran flags are much more -experimental than their C equivalents. - - - $1 shell-variable-to-add-to : CFLAGS, CXXFLAGS, or FCFLAGS - - $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_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 -Copyright (C) 2010 Rhys Ulerich - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -******** - - AC_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. - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 ''). 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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 '' 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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -Copyright (C) 2011 Maarten Bosmans - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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. -Copyright (C) 2008 Dustin J. Mitchell - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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. -Copyright (C) 2008 Dustin J. Mitchell - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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. -Copyright (C) 2008 Dustin J. Mitchell - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -Copyright (C) 2014, 2015 Philip Withnall - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_check_gd, Next: ax_check_gl, 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 lirbary 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_check_gl, Next: ax_check_glu, Prev: ax_check_gd, Up: The Macros - -ax_check_gl -=========== - -Synopsis -******** - - AX_CHECK_GL - -Description -*********** - -Check for an OpenGL implementation. If GL is found, the required -compiler and linker flags are included in the output variables -"GL_CFLAGS", "GL_LIBS", "GL_LDFLAGS", respectively. If no usable GL -implementation is found, "no_gl" is set to "yes". - -You could disable OpenGL using -with-gl=no - -You could choose a specific OpenGL libs using -with-gl=lib_name - -Under darwin, cygwin and mingw target you could prefer the OpenGL -implementation that link with X setting -with-gl=x or without X support -with -with-gl=nox. Notes that this script try to guess the right -implementation. - -If the header "GL/gl.h" is found, "HAVE_GL_GL_H" is defined. If the -header "OpenGL/gl.h" is found, HAVE_OPENGL_GL_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 - #endif - #ifdef HAVE_GL_GL_H - # include - #elif defined(HAVE_OPENGL_GL_H) - # include - #else - # error no gl.h - #endif - -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 -Copyright (C) 2012 Bastien Roucaries - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Description -*********** - -Check for GLU. If GLU is found, the required preprocessor and linker -flags are included in the output variables "GLU_CFLAGS" and "GLU_LIBS", -respectively. If no GLU implementation is found, "no_glu" is set to -"yes". - -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. 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 - # endif - # if defined(HAVE_GL_GLU_H) - # include - # elif defined(HAVE_OPENGL_GLU_H) - # include - # else - # error no glu.h - # endif - -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 -Copyright (C) 2013 Bastien Roucaries - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Description -*********** - -Check for GLUT. If GLUT is found, the required compiler and linker flags -are included in the output variables "GLUT_CFLAGS" and "GLUT_LIBS", -respectively. If GLUT is not found, "no_glut" is set to "yes". - -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. These -preprocessor definitions may not be mutually exclusive. - -You should use something like this in your headers: - - # if HAVE_WINDOWS_H && defined(_WIN32) - # include - # endif - # if defined(HAVE_GL_GLUT_H) - # include - # elif defined(HAVE_GLUT_GLUT_H) - # include - # else - # error no glut.h - # endif - -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 -Copyright (C) 2013 Bastien Roucaries - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - # endif - # if defined(HAVE_GL_GLX_H) - # include - # elif defined(HAVE_OPENGL_GLX_H) - # include - # 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 -Copyright (C) 2013-2014 Bastien Roucaries - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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() - -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 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`. - -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@ 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 -Copyright (C) 2015 Enrico M. Crisostomo - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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() - -Description -*********** - -This macro sets 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 -/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 versisonms. The pkzipc version is -assumed to work if I undertstand 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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' - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -Copyright (C) 2011 Maarten Bosmans - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -wether 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 -Copyright (C) 2011 Craig Stimmel -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. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -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. -Copyright (C) 2009,2010 Dustin J. Mitchell - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 probabalistic 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_check_pathname_style, Next: ax_check_pgsql_db, 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_check_pgsql_db, Next: ax_check_posix_regcomp, Prev: ax_check_pathname_style, 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 wether 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 exectued 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 -Copyright (C) 2012 Olivier Mehani - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -Copyright (C) 2011 Maarten Bosmans - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. diff -Nru autoconf-archive-20150925/doc/autoconf-archive.info-2 autoconf-archive-20170928/doc/autoconf-archive.info-2 --- autoconf-archive-20150925/doc/autoconf-archive.info-2 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/autoconf-archive.info-2 1970-01-01 00:00:00.000000000 +0000 @@ -1,9115 +0,0 @@ -This is autoconf-archive.info, produced by makeinfo version 6.0 from -autoconf-archive.texi. - -This manual is for GNU Autoconf Archive version 2015.09.25, a collection -of freely re-usable Autoconf macros. - -Copyright (C) 2015 Autoconf Archive Maintainers - - -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 - - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - #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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_check_vscript, Next: ax_check_zlib, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_check_zlib, Next: ax_code_coverage, Prev: ax_check_vscript, 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 - #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 -Copyright (C) 2010 Bastien Chevreux - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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_CFLAGS and CODE_COVERAGE_LDFLAGS which should be -included in the CFLAGS and LIBS/LDFLAGS variables of every build target -(program or library) which should be built with code coverage support. -Also defines CODE_COVERAGE_RULES which should be substituted in your -Makefile; 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 optimisation flags in CFLAGS must be disabled when code -coverage is enabled. - -Usage example: - -configure.ac: - - AX_CODE_COVERAGE - -Makefile.am: - - @CODE_COVERAGE_RULES@ - my_program_LIBS = ... $(CODE_COVERAGE_LDFLAGS) ... - my_program_CFLAGS = ... $(CODE_COVERAGE_CFLAGS) ... - -This results in a "check-code-coverage" rule being added to any -Makefile.am which includes "@CODE_COVERAGE_RULES@" (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 licenced -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 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 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 . - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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_TRY_COMPILE 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 - #endif - #ifdef HAVE_UNISTD_H - #include - #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 - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -Copyright (C) 2015 David King - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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++ compiler, e.g., gnu, intel, ibm, sun, -hp, borland, comeau, dec, cray, kai, lcc, metrowerks, sgi, microsoft, -watcom, etc. The vendor is returned in the cache variable -$ax_cv_c_compiler_vendor for C and $ax_cv_cxx_compiler_vendor for C++. - -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 -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 BORLANC++ before 5, 2cppbuilder for cppbuilder era, - 3borlancpp for return of BORLANC++ (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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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. - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - sharestatedir - 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 -Copyright (C) 2015 Bastien Roucaries - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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, espcially 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 alsways 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Description -*********** - -Attempt to count the number of processors present on the machine. If -the detection fails, then a value of 1 is assumed. - -The value is placed in the CPU_COUNT variable. - -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 Karlson2k (Evgeny Grin) -Copyright (C) 2012 Brian Aker -Copyright (C) 2008 Michael Paul Bailey -Copyright (C) 2008 Christophe Tournayre - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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_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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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, atleast 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 consequencd, 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 -Copyright (C) 2008 Sven Verdoolaege - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 " section requires the -existence of an include file 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 -. In other enviroments we can use the inet-types in - which would define the typedefs int8_t and u_int8_t -respectivly. - -This macros will create a local "_stdint.h" or the headerfile given as -an argument. In many cases that file will just "#include " or -"#include ", 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 " to obtain the stdint-types. - -Remember, if the system already had a valid , the generated -file will include it directly. No need for fuzzy HAVE_STDINT_H -things... (oops, GCC 4.2.x has deliberatly 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 modifed, added - and removed files and opens it up for editing. This is - not normally used directly, but is instad called by - commit. It is usefull 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, increaments - the point release number and checks out the release - into a new direcory - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_cxx_bool, Next: ax_cxx_compile_stdcxx_0x, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_cxx_compile_stdcxx_0x, Next: ax_cxx_compile_stdcxx_11, Prev: ax_cxx_bool, 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. - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_cxx_compile_stdcxx_11, Next: ax_cxx_compiler_vendor, 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 CXXFLAGS to enable support. - -The first 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 an extended mode. - -The second argument, if specified 'mandatory' or if left unspecified, -indicates that baseline C++11 support 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_CXX11 if and only if a supporting mode is found. - -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 -Copyright (C) 2012 Zack Weinberg -Copyright (C) 2013 Roy Stogner -Copyright (C) 2014, 2015 Google Inc.; contributed by Alexey Sokolov - -Copyright (C) 2015 Paul Norman - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_cxx_compiler_vendor, Next: ax_cxx_complex_math_in_namespace_std, Prev: ax_cxx_compile_stdcxx_11, Up: The Macros - -ax_cxx_compiler_vendor -====================== - -Synopsis -******** - - AX_CXX_COMPILER_VENDOR(VENDOR-NAME, [NICKNAME]) - -Description -*********** - -Set VENDOR-NAME to the lower-case name of the compiler vendor or -'unknown' if the compiler's vendor is unknown. 'compaq' means the CXX -compiler as available on Tru64/OSF1/Digital Unix on Alpha machines. If -NICKNAME is provided, set it to the compiler's usual name (eg. 'g++', -'cxx', 'aCC', etc.). - -Source Code -*********** - -Download the latest version of 'ax_cxx_compiler_vendor.m4' -(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_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_cxx_compiler_vendor.m4). - -License -******* - -Copyright (C) 2008 Ludovic Courtes - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_cxx_complex_math_in_namespace_std, Next: ax_cxx_const_cast, Prev: ax_cxx_compiler_vendor, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 instanciations 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - #else - #if defined(HAVE_STL) - #include - #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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - #else - #if defined(HAVE_STL) - #include - #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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - #else - #if defined(HAVE_STL) - #include - #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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - #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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - #ifdef HAVE_SSTREAM - #include - #else - #include - #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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -Copyright (C) 2013 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. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 -. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 "<>". - -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 - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_cxx_verbose_terminate_handler, Next: ax_decl_wchar_max, 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 -Copyright (C) 2008 Lapo Luchini - -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. - - -File: autoconf-archive.info, Node: ax_decl_wchar_max, Next: ax_define_integer_bits, Prev: ax_cxx_verbose_terminate_handler, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - #else - # if HAVE_STDINT_H - # include - # 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 Changlog. 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.am and you have 'include -aminclude.am' in your toplevel 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_dll_string, Next: ax_enable_builddir, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_enable_builddir, Next: ax_execinfo, Prev: ax_dll_string, 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-dection 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 overriden 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 -Copyright (C) 2009 Alan Jenkins - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 atleast 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -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 -Copyright (C) 2013,2015 Michael Petch - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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(
, ). - -Description -*********** - -Check for
with -I for each path in 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_
_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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_ext_have_lib, Next: ax_extra_dist, Prev: ax_ext_check_header, Up: The Macros - -ax_ext_have_lib -=============== - -Synopsis -******** - - AX_EXT_HAVE_LIB(, , , ) - -Description -*********** - -AX_EXT_HAVE_LIB is identical to AC_SEARCH_LIBS with the exception that -will add -L when looking, and use a different variable for -each directory. - -Any required -L 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 succeds 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_extra_dist, Next: ax_f77_cmain_fflags, Prev: ax_ext_have_lib, 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- target within -your Makefile.am, where is the name of the dist and then add - to EXTRA_SRC_DISTS or EXTRA_BIN_DISTS. For example: - - dist-foobar: - - - 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 directoris 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -Copyright (C) 2009 Alexander Pletzer - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_f90_module_flag, Next: ax_file_escapes, 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 -Copyright (C) 2009 Julian C. Cummings -Copyright (C) 2009 Alexander Pletzer - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_file_escapes, Next: ax_find_hamcrest, Prev: ax_f90_module_flag, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification,are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -Copyright (C) 2009 Rhys Ulerich - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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. - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -Copyright (C) 2008 Daniel Richard G. - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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= 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 -Copyright (C) 2008 Matteo Frigo -Copyright (C) 2014 Tsukasa Oi - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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_. Keep in mind that since -builtins usually start with two underscores they will be copied over -into the HAVE_ definition (e.g. HAVE___BUILTIN_EXPECT for -__builtin_expect()). - -The macro caches its result in the ax_cv_have_ variable (e.g. -ax_cv_have___builtin_expect). - -The macro currently supports the following built-in functions: - - __builtin_assume_aligned - __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_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 - -Unsuppored 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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_. - -The macro caches its result in the ax_cv_have_func_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 - flatten - format - format_arg - gnu_inline - hot - ifunc - leaf - malloc - noclone - noinline - nonnull - noreturn - nothrow - optimize - pure - unused - used - visibility - warning - warn_unused_result - weak - weakref - -Unsuppored 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_gcc_libgcc_eh, Next: ax_gcc_libraries_dir, 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_gcc_libraries_dir, Next: ax_gcc_libsupcxx, Prev: ax_gcc_libgcc_eh, Up: The Macros - -ax_gcc_libraries_dir -==================== - -Synopsis -******** - - AX_GCC_LIBRARIES_DIR(VARIABLE) - -Description -*********** - -AX_GCC_LIBRARIES_DIR(VARIABLE) defines VARIABLE as the gcc libraries -directory. The libraries directory will be obtained using the gcc --print-search-dirs option. This macro requires AX_GCC_OPTION macro. - -Thanks to Alessandro Massignan for his helpful hints. - -Source Code -*********** - -Download the latest version of 'ax_gcc_libraries_dir.m4' -(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_libraries_dir.m4) -or browse the macro's revision history -(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_libraries_dir.m4). - -License -******* - -Copyright (C) 2009 Francesco Salvestrini - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_gcc_libsupcxx, Next: ax_gcc_malloc_call, Prev: ax_gcc_libraries_dir, 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 - -Copyright (C) 2009 Alessandro Massignan - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_gcc_var_attribute, Next: ax_gcc_version, 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_. - -The macro caches its result in the ax_cv_have_var_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 - -Unsuppored 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_gcc_version, Next: ax_gcc_warn_unused_result, Prev: ax_gcc_var_attribute, Up: The Macros - -ax_gcc_version -============== - -Synopsis -******** - - AX_GCC_VERSION - -Description -*********** - -This macro retrieves the gcc version and returns it in the GCC_VERSION -variable if available, an empty string otherwise. - -Source Code -*********** - -Download the latest version of 'ax_gcc_version.m4' -(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_version.m4) -or browse the macro's revision history -(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_version.m4). - -License -******* - -Copyright (C) 2009 Francesco Salvestrini - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_gcc_warn_unused_result, Next: ax_gcc_x86_avx_xgetbv, Prev: ax_gcc_version, 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_gcc_x86_avx_xgetbv, Next: ax_gcc_x86_cpuid, 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 - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_gcc_x86_cpuid, Next: ax_generate_changelog, Prev: ax_gcc_x86_avx_xgetbv, 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 -Copyright (C) 2008 Matteo Frigo -Copyright (C) 2015 Michael Petch - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -Copyright (C) 2015 Philip Withnall - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 filesnames 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 stands for -one of the above prefixes): - - * : for use in top_srcdir/Makefile - * _foo : for use in top_srcdir/foo/Makefile - * _foo_bar : for use in top_srcdir/foo/bar/Makefile - * _baz : for use in top_srcdir/baz/Makefile - -The 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 _baz and either of _foo or _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]: - - -[2]: - -[3]: - -[4]: - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. diff -Nru autoconf-archive-20150925/doc/autoconf-archive.info-3 autoconf-archive-20170928/doc/autoconf-archive.info-3 --- autoconf-archive-20150925/doc/autoconf-archive.info-3 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/autoconf-archive.info-3 1970-01-01 00:00:00.000000000 +0000 @@ -1,8399 +0,0 @@ -This is autoconf-archive.info, produced by makeinfo version 6.0 from -autoconf-archive.texi. - -This manual is for GNU Autoconf Archive version 2015.09.25, a collection -of freely re-usable Autoconf macros. - -Copyright (C) 2015 Autoconf Archive Maintainers - - -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 - - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_have_epoll, Next: ax_have_opengl, 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 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_have_opengl, Next: ax_have_poll, Prev: ax_have_epoll, Up: The Macros - -ax_have_opengl -============== - -Synopsis -******** - - AX_HAVE_OPENGL - -Description -*********** - -Search for OpenGL. We search first for Mesa (a GPL'ed version of Mesa) -before a vendor's version of OpenGL, unless we were specifically asked -not to with '-with-Mesa=no' or '-without-Mesa'. - -The four "standard" OpenGL libraries are searched for: "-lGL", "-lGLU", -"-lGLX" (or "-lMesaGL", "-lMesaGLU" as the case may be) and "-lglut". - -All of the libraries that are found (since "-lglut" or "-lGLX" might be -missing) are added to the shell output variable "GL_LIBS", along with -any other libraries that are necessary to successfully link an OpenGL -application (e.g. the X11 libraries). Care has been taken to make sure -that all of the libraries in "GL_LIBS" are listed in the proper order. - -Additionally, the shell output variable "GL_CFLAGS" is set to any flags -(e.g. "-I" flags) that are necessary to successfully compile an OpenGL -application. - -The following shell variable (which are not output variables) are also -set to either "yes" or "no" (depending on which libraries were found) to -help you determine exactly what was found. - - have_GL - have_GLU - have_GLX - have_glut - -Source Code -*********** - -Download the latest version of 'ax_have_opengl.m4' -(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_opengl.m4) -or browse the macro's revision history -(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_opengl.m4). - -License -******* - -Copyright (C) 2008 Matthew D. Langston -Copyright (C) 2008 Ahmet Inan -Copyright (C) 2013 Bastien Roucaries . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_have_poll, Next: ax_have_qt, Prev: ax_have_opengl, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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_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 -Copyright (C) 2014 Alex Henrie - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_install_files, Next: ax_is_release, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_is_release, Next: ax_java_check_class, Prev: ax_install_files, 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 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 - * 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. - - -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(,,) - -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 . Some -newer compilers moan about the failure to use this but fail or produce a -class file anyway. All moaing 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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= in order to use some specific -LAPACK library . 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 - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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_ 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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_ 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 existance 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 intallation 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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_ 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -Copyright (C) 2011 Alessandro Candini - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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_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 Autconf'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 - -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 -Copyright (C) 2010 Rhys Ulerich - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 sucessful 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_lib_mysqlcppconn, Next: ax_lib_nettle, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_lib_nettle, Next: ax_lib_nokalva, Prev: ax_lib_mysqlcppconn, 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_ 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -enything. - -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 -Copyright (C) 2012 Krzysztof Burghardt - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -enything. - -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 -Copyright (C) 2015 Joost van Baal-Ilic - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 successfull -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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]) - -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 - -This macro calls: - - AC_SUBST(POSTGRESQL_CPPFLAGS) - AC_SUBST(POSTGRESQL_LDFLAGS) - AC_SUBST(POSTGRESQL_LIBS) - AC_SUBST(POSTGRESQL_VERSION) - -And sets: - - HAVE_POSTGRESQL - -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 -Copyright (C) 2014 Sree Harsha Totakura - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - # elif defined(HAVE_READLINE_H) - # include - # 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 - # elif defined(HAVE_HISTORY_H) - # include - # 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - #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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -Copyright (C) 2008 Stepan Kasal -Copyright (C) 2008 Warren Young - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 existance of SQLite 3. - -If no intallation 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - #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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 successfull -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -Copyright (C) 2008 Alan W. Irwin -Copyright (C) 2008 Rafael Laboissiere -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -Copyright (C) 2009 Bill Blough - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 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 -Copyright (C) 2008 Mateusz Loskot - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 existance 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-config will also include any libraries that are depended apon. - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_lua, Next: ax_maintainer_mode_auto_silent, 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 -Copyright (C) 2014 Tim Perkins - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_maintainer_mode_auto_silent, Next: ax_missing_prog, Prev: ax_lua, 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -Copyright (C) 2008 Julian C. Cummings - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_mpip, Next: ax_need_awk, 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 - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of 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. - - -File: autoconf-archive.info, Node: ax_need_awk, Next: ax_normalize_path, Prev: ax_mpip, 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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_numeric_namedlevel, Next: ax_openmp, 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 construcct of (some|plus) = bit-0, (many|much) -= bit-1, (more) = bit-2, (ultra|experimental) = bit-3 atleast 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_openmp, Next: ax_patch_libtool_changing_cmds_ifs, Prev: ax_numeric_namedlevel, 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 -Copyright (C) 2015 John W. Peterson - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 occured 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 -occurences 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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. 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. - -When cross compiling, only header versions are verified since it would -be difficult to check the library version. Additionally the default -Berkeley DB installation locations /usr/local/BerkeleyDB* are not -searched for higher versions of the library. - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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'. Prefereable use -CONFIG-SCRIPTS as config script, CFLAGS-ARG instead of '-cflags' and -LIBS-ARG instead of '-libs', if given. - -The SED-EXPR-EXTRACTOR parameter representes 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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= This option is used to explicitly - specify the base of the sendmail distribution. - - --with-sendmail-obj= 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -Copyright (C) 2008 Francesco Salvestrini - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -Copyright (C) 2014 Thomas Klausner - -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. - - -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 - -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. - - -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 avaiable in the -system. If all the modules in the list are avaiable ACTION-IF-TRUE is -executed. Case one module is not avaiable 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 -Copyright (C) 2009 Ruben Fonseca - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 wether 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 spcefied 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -Copyright (C) 2008 Alan W. Irwin -Copyright (C) 2008 Rafael Laboissiere -Copyright (C) 2008 Andrew Collier -Copyright (C) 2011 Murray Cumming - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_prefix_config_h, Next: ax_print_to_file, 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 - #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 - #else - #include - #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 -Copyright (C) 2008 Guido U. Draheim -Copyright (C) 2008 Marten Svantesson -Copyright (C) 2008 Gerald Point - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_print_to_file, Next: ax_printf_size_t, Prev: ax_prefix_config_h, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 , 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. - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 dynamicaly can use -@APACHE_MODULES@ to grab them in the appropriate sub directory. For -instance: - - ... - - 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copyright (C) 2010 Diego Elio Petteno' - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -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. - - -File: autoconf-archive.info, Node: ax_prog_cxx_mpi, Next: ax_prog_doxygen, 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 - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_prog_doxygen, Next: ax_prog_f77_mpi, Prev: ax_prog_cxx_mpi, 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 seperate .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 'Doxyfile', the same as Doxygen's default), and an optional -output directory name (the default is 'doxygen-doc'). - -Automake Support - -The following is a template aminclude.am file for use with Automake. -Make targets and variables values are controlled by the various -DX_COND_* conditionals set by autoconf. - -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, and some MAN). - - doxygen-man: Rename some doxygen generated man pages. - - 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. - - ----- begin aminclude.am ------------------------------------- - - ## --------------------------------- ## - ## Format-independent Doxygen rules. ## - ## --------------------------------- ## - - if DX_COND_doc - - ## ------------------------------- ## - ## Rules specific for HTML output. ## - ## ------------------------------- ## - - if DX_COND_html - - DX_CLEAN_HTML = @DX_DOCDIR@/html - - endif DX_COND_html - - ## ------------------------------ ## - ## Rules specific for CHM output. ## - ## ------------------------------ ## - - if DX_COND_chm - - DX_CLEAN_CHM = @DX_DOCDIR@/chm - - if DX_COND_chi - - DX_CLEAN_CHI = @DX_DOCDIR@/@PACKAGE@.chi - - endif DX_COND_chi - - endif DX_COND_chm - - ## ------------------------------ ## - ## Rules specific for MAN output. ## - ## ------------------------------ ## - - if DX_COND_man - - DX_CLEAN_MAN = @DX_DOCDIR@/man - - endif DX_COND_man - - ## ------------------------------ ## - ## Rules specific for RTF output. ## - ## ------------------------------ ## - - if DX_COND_rtf - - DX_CLEAN_RTF = @DX_DOCDIR@/rtf - - endif DX_COND_rtf - - ## ------------------------------ ## - ## Rules specific for XML output. ## - ## ------------------------------ ## - - if DX_COND_xml - - DX_CLEAN_XML = @DX_DOCDIR@/xml - - endif DX_COND_xml - - ## ----------------------------- ## - ## Rules specific for PS output. ## - ## ----------------------------- ## - - if DX_COND_ps - - DX_CLEAN_PS = @DX_DOCDIR@/@PACKAGE@.ps - - DX_PS_GOAL = doxygen-ps - - doxygen-ps: @DX_DOCDIR@/@PACKAGE@.ps - - @DX_DOCDIR@/@PACKAGE@.ps: @DX_DOCDIR@/@PACKAGE@.tag - cd @DX_DOCDIR@/latex; \ - rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \ - $(DX_LATEX) refman.tex; \ - $(MAKEINDEX_PATH) refman.idx; \ - $(DX_LATEX) refman.tex; \ - countdown=5; \ - while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \ - refman.log > /dev/null 2>&1 \ - && test $$countdown -gt 0; do \ - $(DX_LATEX) refman.tex; \ - countdown=`expr $$countdown - 1`; \ - done; \ - $(DX_DVIPS) -o ../@PACKAGE@.ps refman.dvi - - endif DX_COND_ps - - ## ------------------------------ ## - ## Rules specific for PDF output. ## - ## ------------------------------ ## - - if DX_COND_pdf - - DX_CLEAN_PDF = @DX_DOCDIR@/@PACKAGE@.pdf - - DX_PDF_GOAL = doxygen-pdf - - doxygen-pdf: @DX_DOCDIR@/@PACKAGE@.pdf - - @DX_DOCDIR@/@PACKAGE@.pdf: @DX_DOCDIR@/@PACKAGE@.tag - cd @DX_DOCDIR@/latex; \ - rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \ - $(DX_PDFLATEX) refman.tex; \ - $(DX_MAKEINDEX) refman.idx; \ - $(DX_PDFLATEX) refman.tex; \ - countdown=5; \ - while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \ - refman.log > /dev/null 2>&1 \ - && test $$countdown -gt 0; do \ - $(DX_PDFLATEX) refman.tex; \ - countdown=`expr $$countdown - 1`; \ - done; \ - mv refman.pdf ../@PACKAGE@.pdf - - endif DX_COND_pdf - - ## ------------------------------------------------- ## - ## Rules specific for LaTeX (shared for PS and PDF). ## - ## ------------------------------------------------- ## - - if DX_COND_latex - - DX_CLEAN_LATEX = @DX_DOCDIR@/latex - - endif DX_COND_latex - - .PHONY: doxygen-run doxygen-doc $(DX_PS_GOAL) $(DX_PDF_GOAL) - - .INTERMEDIATE: doxygen-run $(DX_PS_GOAL) $(DX_PDF_GOAL) - - doxygen-run: @DX_DOCDIR@/@PACKAGE@.tag - - doxygen-doc: doxygen-run $(DX_PS_GOAL) $(DX_PDF_GOAL) - - @DX_DOCDIR@/@PACKAGE@.tag: $(DX_CONFIG) $(pkginclude_HEADERS) - rm -rf @DX_DOCDIR@ - $(DX_ENV) $(DX_DOXYGEN) $(srcdir)/$(DX_CONFIG) - echo Timestamp >$@ - - DX_CLEANFILES = \ - @DX_DOCDIR@/@PACKAGE@.tag \ - -r \ - $(DX_CLEAN_HTML) \ - $(DX_CLEAN_CHM) \ - $(DX_CLEAN_CHI) \ - $(DX_CLEAN_MAN) \ - $(DX_CLEAN_RTF) \ - $(DX_CLEAN_XML) \ - $(DX_CLEAN_PS) \ - $(DX_CLEAN_PDF) \ - $(DX_CLEAN_LATEX) - - endif DX_COND_doc - - ----- end aminclude.am --------------------------------------- - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_prog_f77_mpi, Next: ax_prog_fasm, Prev: ax_prog_doxygen, 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 - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copyright (C) 2010 Diego Elio Petteno' - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_prog_flex_version, Next: ax_prog_guile_version, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_prog_guile_version, Next: ax_prog_haxe_version, Prev: ax_prog_flex_version, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_prog_haxe_version, Next: ax_prog_hla, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_prog_hla, Next: ax_prog_hla_opt, Prev: ax_prog_haxe_version, 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 - -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_prog_python_version, Next: ax_prog_ruby_version, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_prog_ruby_version, Next: ax_prog_scala, Prev: ax_prog_python_version, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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. -Copyright (C) 2008,2009 Dustin J. Mitchell - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. diff -Nru autoconf-archive-20150925/doc/autoconf-archive.info-4 autoconf-archive-20170928/doc/autoconf-archive.info-4 --- autoconf-archive-20150925/doc/autoconf-archive.info-4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/autoconf-archive.info-4 1970-01-01 00:00:00.000000000 +0000 @@ -1,5120 +0,0 @@ -This is autoconf-archive.info, produced by makeinfo version 6.0 from -autoconf-archive.texi. - -This manual is for GNU Autoconf Archive version 2015.09.25, a collection -of freely re-usable Autoconf macros. - -Copyright (C) 2015 Autoconf Archive Maintainers - - -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 - - - -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 - -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 , ... to successfully compile -. , , ... are substituted in and -with values found in , , ... respectively. -, , ... contain a list of possible values for each -corresponding tag and all combinations are tested. When -AC_TRY_COMPILE(include, code) is successfull 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 , , ... If no combination is successfull the -configure script is aborted with a message. - -Intended purpose is to find which combination of argument types is -acceptable for a given 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 - #include - ], - [ - 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 to any special C compiler that is needed for -multi-threaded programs (defaults to the value of CC otherwise). (This -is necessary on AIX to use the special cc_r compiler alias.) - -NOTE: You are assumed to not only compile your program with these flags, -but also link it with them as well. e.g. you should link with -$PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS - -If you are only building threads programs, you may wish to use these -variables in your default LIBS, CFLAGS, and CC: - - LIBS="$PTHREAD_LIBS $LIBS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - CC="$PTHREAD_CC" - -In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant -has a nonstandard name, 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 -Copyright (C) 2011 Daniel Richard G. - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 recurses through several python versions (from 2.1 to 2.6 in this -version), looking for an executable. 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -Copyright (C) 2009 Alan W. Irwin -Copyright (C) 2009 Rafael Laboissiere -Copyright (C) 2009 Andrew Collier -Copyright (C) 2009 Matteo Settenvini -Copyright (C) 2009 Horst Knorr -Copyright (C) 2013 Daniel Mullner - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -Copyright (C) 2008 Dustin J. Mitchell - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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. - - -File: autoconf-archive.info, Node: ax_python_module_version, Next: ax_require_defined, 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 and Kurt von Laven - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_require_defined, Next: ax_require_one_func, Prev: ax_python_module_version, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_restore_flags, Next: ax_rpm_init, 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 -Copyright (C) 2011 The Board of Trustees of the Leland Stanford Junior University - -Copyright (C) 2011 Russ Allbery -Copyright (C) 2013 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. - - -File: autoconf-archive.info, Node: ax_rpm_init, Next: ax_ruby_devel, Prev: ax_restore_flags, 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 - - %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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 "1.8.6". - -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 -Copyright (C) 2008 Sebastian Huber -Copyright (C) 2008 Alan W. Irwin -Copyright (C) 2008 Rafael Laboissiere -Copyright (C) 2008 Andrew Collier -Copyright (C) 2008 Matteo Settenvini -Copyright (C) 2008 Horst Knorr - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -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. - - -File: autoconf-archive.info, Node: ax_save_flags, Next: ax_set_default_paths_system, 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 -Copyright (C) 2011 The Board of Trustees of the Leland Stanford Junior University - -Copyright (C) 2011 Russ Allbery -Copyright (C) 2013 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. - - -File: autoconf-archive.info, Node: ax_set_default_paths_system, Next: ax_short_sleep, Prev: ax_save_flags, 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -Copyright (C) 2008 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. - - -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([]) - -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 -I - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 atleast three digits (1.2.3) and clensing superflous "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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_subdir_files, Next: ax_subst_with, 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_subst_with, Next: ax_swig_enable_cxx, Prev: ax_subdir_files, 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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -Copyright (C) 2008 Alan W. Irwin -Copyright (C) 2008 Rafael Laboissiere -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -Copyright (C) 2008 Alan W. Irwin -Copyright (C) 2008 Rafael Laboissiere -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -Copyright (C) 2008 Alan W. Irwin -Copyright (C) 2008 Rafael Laboissiere -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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 -Copyright (C) 2011 The Board of Trustees of the Leland Stanford Junior University - -Copyright (C) 2011 Russ Allbery -Copyright (C) 2013 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. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 neede to make the code use 64bit off_t - in many setups this -will also make the code use 64bit off_t immediatly. - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 prefered. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 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 -Copyright (C) 2010 Diego Elio Petteno' - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -Copyright (C) 2009 Thomas Porschberg -Copyright (C) 2009 Caolan McNamara -Copyright (C) 2009 Alexandre Duret-Lutz -Copyright (C) 2009 Matthew Mueller - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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- to -UPLOAD_BIN or UPLOAD_SRC, where is the type of dist that is being -uploaded and add a mapping from to the dist file name in the -format '{=>}' 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 binaru 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_valgrind_check, Next: ax_var_timezone_externals, Prev: ax_upload, Up: The Macros - -ax_valgrind_check -================= - -Synopsis -******** - - AX_VALGRIND_CHECK() - -Description -*********** - -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. - -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_CHECK - -Makefile.am: - - @VALGRIND_CHECK_RULES@ - VALGRIND_SUPPRESSIONS_FILES = my-project.supp - EXTRA_DIST = my-project.supp - -This results in a "check-valgrind" rule being added to any Makefile.am -which includes "@VALGRIND_CHECK_RULES@" (assuming the module has been -configured with -enable-valgrind). Running 'make check-valgrind' in -that directory will run the module's test suite ('make check') once for -each of the available Valgrind tools (out of memcheck, helgrind, drd and -sgcheck), and will output results to test-suite-$toolname.log for each. -The target will succeed if there are zero errors and fail otherwise. - -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 Philip Withnall - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_var_timezone_externals, Next: ax_very_nice, Prev: ax_valgrind_check, 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 -Copyright (C) 2011 Daniel Richard G. - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 in addition to -. 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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. - -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 is present and should be used - HAVE_NCURSESW_H - if should be used - HAVE_NCURSES_H - if should be used - HAVE_NCURSESW_CURSES_H - if should be used - HAVE_NCURSES_CURSES_H - if should be used - -(These preprocessor symbols are discussed later in this document.) - -The following output variable is defined by this macro; it is precious -and may be overridden on the ./configure command line: - - CURSES_LIB - library to add to xxx_LDADD - -The library listed in CURSES_LIB is NOT added to LIBS by default. You -need to add CURSES_LIB to the appropriate xxx_LDADD line in your -Makefile.am. For example: - - prog_LDADD = @CURSES_LIB@ - -If CURSES_LIB is set on the configure command line (such as by running -"./configure CURSES_LIB=-lmycurses"), then the only header searched for -is . The user may use the CPPFLAGS precious variable to -override the standard #include search path. 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 - #elif defined HAVE_NCURSESW_H - # include - #elif defined HAVE_NCURSES_CURSES_H - # include - #elif defined HAVE_NCURSES_H - # include - #elif defined HAVE_CURSES_H - # include - #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 -Copyright (C) 2009 Damian Pietras -Copyright (C) 2012 Reuben Thomas -Copyright (C) 2011 John Zaitseff - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 is present and should be used - HAVE_NCURSES_PANEL_H - if should be used - HAVE_NCURSESW_PANEL_H - if should be used - - By AX_WITH_CURSES_MENU: - - HAVE_MENU - if the Menu library is present - HAVE_MENU_H - if is present and should be used - HAVE_NCURSES_MENU_H - if should be used - HAVE_NCURSESW_MENU_H - if should be used - - By AX_WITH_CURSES_FORM: - - HAVE_FORM - if the Form library is present - HAVE_FORM_H - if is present and should be used - HAVE_NCURSES_FORM_H - if should be used - HAVE_NCURSESW_FORM_H - if 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_LIB - library to add to xxx_LDADD before CURSES_LIB - MENU_LIB - library to add to xxx_LDADD before CURSES_LIB - FORM_LIB - library to add to xxx_LDADD before CURSES_LIB - -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_LIB incantation. For example: - - prog_LDADD = @PANEL_LIB@ @CURSES_LIB@ - -If one of the xxx_LIB variables is set on the configure command line -(such as by running "./configure PANEL_LIB=-lmypanel"), then the header -file searched must NOT contain a subpath. In this case, in other words, -only 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 - #elif defined HAVE_NCURSES_PANEL_H - # include - #elif defined HAVE_PANEL_H - # include - #else - # error "SysV-compatible Curses Panel header file required" - #endif - - For AX_WITH_CURSES_MENU: - - #if defined HAVE_NCURSESW_MENU_H - # include - #elif defined HAVE_NCURSES_MENU_H - # include - #elif defined HAVE_MENU_H - # include - #else - # error "SysV-compatible Curses Menu header file required" - #endif - - For AX_WITH_CURSES_FORM: - - #if defined HAVE_NCURSESW_FORM_H - # include - #elif defined HAVE_NCURSES_FORM_H - # include - #elif defined HAVE_FORM_H - # include - #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 - -This program is free software: you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 . - -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 - #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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 . - -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 - -Copyright (C) 2008 Dustin J. Mitchell - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -File: autoconf-archive.info, Node: ax_xtra_classpath, Next: ax_zoneinfo, Prev: ax_xsdcxx, Up: The Macros - -ax_xtra_classpath -================= - -Synopsis -******** - - AX_XTRA_CLASSPATH(,,,,) - -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 - -This program is free software; you can 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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. - - -File: autoconf-archive.info, Node: ax_zoneinfo, Prev: ax_xtra_classpath, 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 - -Copying and distribution of this file, with or without modification, are -permitted in any medium without royalty provided the copyright notice -and this notice are preserved. This file is offered as-is, without any -warranty. - - -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. - - - 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 - . - - 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. - diff -Nru autoconf-archive-20150925/doc/autoconf-archive.texi autoconf-archive-20170928/doc/autoconf-archive.texi --- autoconf-archive-20150925/doc/autoconf-archive.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/autoconf-archive.texi 2017-09-27 22:00:00.000000000 +0000 @@ -13,7 +13,7 @@ This manual is for GNU Autoconf Archive version @value{VERSION}, a collection of freely re-usable Autoconf macros. -Copyright @copyright{} 2015 Autoconf Archive Maintainers +Copyright @copyright{} 2016 Autoconf Archive Maintainers @email{autoconf-archive-maintainers@@gnu.org} Permission is granted to copy, distribute and/or modify this document diff -Nru autoconf-archive-20150925/doc/ax_add_fortify_source.texi autoconf-archive-20170928/doc/ax_add_fortify_source.texi --- autoconf-archive-20150925/doc/ax_add_fortify_source.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_add_fortify_source.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,41 @@ +@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. Some distributions (such as Gentoo Linux) enable +_FORTIFY_SOURCE globally in their compilers, leading to unnecessary +warnings in the form of + +@smallexample + :0:0: error: "_FORTIFY_SOURCE" redefined [-Werror] + : 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. + +@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}} + +Copying and distribution of this file, with or without modification, are +permitted in any medium without royalty provided the copyright notice +and this notice are preserved. This file is offered as-is, without any +warranty. diff -Nru autoconf-archive-20150925/doc/ax_append_compile_flags.texi autoconf-archive-20170928/doc/ax_append_compile_flags.texi --- autoconf-archive-20150925/doc/ax_append_compile_flags.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_append_compile_flags.texi 2017-09-27 22:00:00.000000000 +0000 @@ -4,7 +4,7 @@ @majorheading Synopsis @smallexample -AX_APPEND_COMPILE_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS]) +AX_APPEND_COMPILE_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT]) @end smallexample @majorheading Description @@ -21,6 +21,8 @@ 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. @@ -48,7 +50,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_append_flag.texi autoconf-archive-20170928/doc/ax_append_flag.texi --- autoconf-archive-20150925/doc/ax_append_flag.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_append_flag.texi 2017-09-27 22:00:00.000000000 +0000 @@ -42,7 +42,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_append_link_flags.texi autoconf-archive-20170928/doc/ax_append_link_flags.texi --- autoconf-archive-20150925/doc/ax_append_link_flags.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_append_link_flags.texi 2017-09-27 22:00:00.000000000 +0000 @@ -4,7 +4,7 @@ @majorheading Synopsis @smallexample -AX_APPEND_LINK_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS]) +AX_APPEND_LINK_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT]) @end smallexample @majorheading Description @@ -20,6 +20,8 @@ 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. @@ -46,7 +48,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_arg_with_path_style.texi autoconf-archive-20170928/doc/ax_arg_with_path_style.texi --- autoconf-archive-20150925/doc/ax_arg_with_path_style.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_arg_with_path_style.texi 2017-09-27 22:00:00.000000000 +0000 @@ -29,7 +29,7 @@ for this macro. the mnemonic "strict" or "also" is used to instruct the code that -additional seperators shall be accepted but converted to the seperator +additional separators shall be accepted but converted to the separator of the underlying pathstyle system. (or-512) @smallexample @@ -61,7 +61,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_asm_inline.texi autoconf-archive-20170928/doc/ax_asm_inline.texi --- autoconf-archive-20150925/doc/ax_asm_inline.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_asm_inline.texi 2017-09-27 22:00:00.000000000 +0000 @@ -23,7 +23,7 @@ @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{} 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 diff -Nru autoconf-archive-20150925/doc/ax_blas_f77_func.texi autoconf-archive-20170928/doc/ax_blas_f77_func.texi --- autoconf-archive-20150925/doc/ax_blas_f77_func.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_blas_f77_func.texi 2017-09-27 22:00:00.000000000 +0000 @@ -46,7 +46,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_blas.texi autoconf-archive-20170928/doc/ax_blas.texi --- autoconf-archive-20150925/doc/ax_blas.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_blas.texi 2017-09-27 22:00:00.000000000 +0000 @@ -59,7 +59,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_boost_chrono.texi autoconf-archive-20170928/doc/ax_boost_chrono.texi --- autoconf-archive-20150925/doc/ax_boost_chrono.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_boost_chrono.texi 2017-09-27 22:00:00.000000000 +0000 @@ -9,7 +9,7 @@ @majorheading Description -Test for System library from the Boost C++ libraries. The macro requires +Test for Chrono library from the Boost C++ libraries. The macro requires a preceding call to AX_BOOST_BASE. Further documentation is available at . diff -Nru autoconf-archive-20150925/doc/ax_boost_python.texi autoconf-archive-20170928/doc/ax_boost_python.texi --- autoconf-archive-20150925/doc/ax_boost_python.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_boost_python.texi 2017-09-27 22:00:00.000000000 +0000 @@ -46,7 +46,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_build_date_epoch.texi autoconf-archive-20170928/doc/ax_build_date_epoch.texi --- autoconf-archive-20150925/doc/ax_build_date_epoch.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_build_date_epoch.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,61 @@ +@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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. diff -Nru autoconf-archive-20150925/doc/ax_caolan_check_package.texi autoconf-archive-20170928/doc/ax_caolan_check_package.texi --- autoconf-archive-20150925/doc/ax_caolan_check_package.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_caolan_check_package.texi 2017-09-27 22:00:00.000000000 +0000 @@ -13,7 +13,7 @@ --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 seperately +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 diff -Nru autoconf-archive-20150925/doc/ax_caolan_search_package.texi autoconf-archive-20170928/doc/ax_caolan_search_package.texi --- autoconf-archive-20150925/doc/ax_caolan_search_package.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_caolan_search_package.texi 2017-09-27 22:00:00.000000000 +0000 @@ -13,7 +13,7 @@ --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 seperately +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 diff -Nru autoconf-archive-20150925/doc/ax_c___attribute__.texi autoconf-archive-20170928/doc/ax_c___attribute__.texi --- autoconf-archive-20150925/doc/ax_c___attribute__.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_c___attribute__.texi 2017-09-27 22:00:00.000000000 +0000 @@ -35,7 +35,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_c_bigendian_cross.texi autoconf-archive-20170928/doc/ax_c_bigendian_cross.texi --- autoconf-archive-20150925/doc/ax_c_bigendian_cross.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_c_bigendian_cross.texi 1970-01-01 00:00:00.000000000 +0000 @@ -1,58 +0,0 @@ -@node ax_c_bigendian_cross -@unnumberedsec ax_c_bigendian_cross - -@majorheading Synopsis - -@smallexample -AX_C_BIGENDIAN_CROSS -@end smallexample - -@majorheading Description - -Check endianess even when crosscompiling (partially based on the -original AC_C_BIGENDIAN). - -The implementation will create a binary, but instead of running the -binary it will be grep'ed for some symbols that differ for different -endianess of the binary. - -NOTE: The upcoming autoconf 2.53 does include the idea of this macro, -what makes it superfluous by then. - -@majorheading Source Code - -Download the -@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_bigendian_cross.m4,latest -version of @file{ax_c_bigendian_cross.m4}} or browse -@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_bigendian_cross.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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. diff -Nru autoconf-archive-20150925/doc/ax_cc_for_build.texi autoconf-archive-20170928/doc/ax_cc_for_build.texi --- autoconf-archive-20150925/doc/ax_cc_for_build.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cc_for_build.texi 2017-09-27 22:00:00.000000000 +0000 @@ -34,7 +34,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_cc_maxopt.texi autoconf-archive-20170928/doc/ax_cc_maxopt.texi --- autoconf-archive-20150925/doc/ax_cc_maxopt.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cc_maxopt.texi 2017-09-27 22:00:00.000000000 +0000 @@ -48,7 +48,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_c_compile_value.texi autoconf-archive-20170928/doc/ax_c_compile_value.texi --- autoconf-archive-20150925/doc/ax_c_compile_value.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_c_compile_value.texi 2017-09-27 22:00:00.000000000 +0000 @@ -41,7 +41,7 @@ AX_C_COMPILE_VALUE([sizeof(int[[543]])], sizeof_int543) @end smallexample -As a result of runnfing the generated configure script, the following +As a result of running the generated configure script, the following definition will appear in config.h: @smallexample @@ -72,7 +72,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_c_declare_block.texi autoconf-archive-20170928/doc/ax_c_declare_block.texi --- autoconf-archive-20150925/doc/ax_c_declare_block.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_c_declare_block.texi 2017-09-27 22:00:00.000000000 +0000 @@ -16,7 +16,7 @@ quite a time already. #define DECLARE_BLOCK_NEEDED says they need to be at the beginning of of -a statement block. Additionlly two defines DECLARE_BLOCK @{ and +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): @@ -59,7 +59,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_cf_ebcdic.texi autoconf-archive-20170928/doc/ax_cf_ebcdic.texi --- autoconf-archive-20150925/doc/ax_cf_ebcdic.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cf_ebcdic.texi 2017-09-27 22:00:00.000000000 +0000 @@ -38,7 +38,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_cflags_aix_option.texi autoconf-archive-20170928/doc/ax_cflags_aix_option.texi --- autoconf-archive-20150925/doc/ax_cflags_aix_option.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cflags_aix_option.texi 2017-09-27 22:00:00.000000000 +0000 @@ -59,7 +59,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_cflags_force_c89.texi autoconf-archive-20170928/doc/ax_cflags_force_c89.texi --- autoconf-archive-20150925/doc/ax_cflags_force_c89.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cflags_force_c89.texi 2017-09-27 22:00:00.000000000 +0000 @@ -51,7 +51,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_cflags_hpux_option.texi autoconf-archive-20170928/doc/ax_cflags_hpux_option.texi --- autoconf-archive-20150925/doc/ax_cflags_hpux_option.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cflags_hpux_option.texi 2017-09-27 22:00:00.000000000 +0000 @@ -59,7 +59,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_cflags_irix_option.texi autoconf-archive-20170928/doc/ax_cflags_irix_option.texi --- autoconf-archive-20150925/doc/ax_cflags_irix_option.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cflags_irix_option.texi 2017-09-27 22:00:00.000000000 +0000 @@ -59,7 +59,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_cflags_no_writable_strings.texi autoconf-archive-20170928/doc/ax_cflags_no_writable_strings.texi --- autoconf-archive-20150925/doc/ax_cflags_no_writable_strings.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cflags_no_writable_strings.texi 2017-09-27 22:00:00.000000000 +0000 @@ -52,7 +52,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_cflags_strict_prototypes.texi autoconf-archive-20170928/doc/ax_cflags_strict_prototypes.texi --- autoconf-archive-20150925/doc/ax_cflags_strict_prototypes.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cflags_strict_prototypes.texi 2017-09-27 22:00:00.000000000 +0000 @@ -54,7 +54,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_cflags_sun_option.texi autoconf-archive-20170928/doc/ax_cflags_sun_option.texi --- autoconf-archive-20150925/doc/ax_cflags_sun_option.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cflags_sun_option.texi 2017-09-27 22:00:00.000000000 +0000 @@ -59,7 +59,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_cflags_warn_all.texi autoconf-archive-20170928/doc/ax_cflags_warn_all.texi --- autoconf-archive-20150925/doc/ax_cflags_warn_all.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cflags_warn_all.texi 2017-09-27 22:00:00.000000000 +0000 @@ -53,7 +53,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_c_float_words_bigendian.texi autoconf-archive-20170928/doc/ax_c_float_words_bigendian.texi --- autoconf-archive-20150925/doc/ax_c_float_words_bigendian.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_c_float_words_bigendian.texi 2017-09-27 22:00:00.000000000 +0000 @@ -14,7 +14,7 @@ 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 -implemenation was inspired by the AC_C_BIGENDIAN macro in autoconf. +implementation was inspired by the AC_C_BIGENDIAN macro in autoconf. The endianess is detected by first compiling C code that contains a special double float value, then grepping the resulting object file for diff -Nru autoconf-archive-20150925/doc/ax_check_aligned_access_required.texi autoconf-archive-20170928/doc/ax_check_aligned_access_required.texi --- autoconf-archive-20150925/doc/ax_check_aligned_access_required.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_aligned_access_required.texi 2017-09-27 22:00:00.000000000 +0000 @@ -4,7 +4,7 @@ @majorheading Synopsis @smallexample -AC_CHECK_ALIGNED_ACCESS_REQUIRED +AX_CHECK_ALIGNED_ACCESS_REQUIRED @end smallexample @majorheading Description @@ -20,6 +20,13 @@ 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 @@ -43,7 +50,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_classpath.texi autoconf-archive-20170928/doc/ax_check_classpath.texi --- autoconf-archive-20150925/doc/ax_check_classpath.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_classpath.texi 2017-09-27 22:00:00.000000000 +0000 @@ -42,7 +42,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_class.texi autoconf-archive-20170928/doc/ax_check_class.texi --- autoconf-archive-20150925/doc/ax_check_class.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_class.texi 2017-09-27 22:00:00.000000000 +0000 @@ -45,7 +45,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_compile_flag.texi autoconf-archive-20170928/doc/ax_check_compile_flag.texi --- autoconf-archive-20150925/doc/ax_check_compile_flag.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_compile_flag.texi 2017-09-27 22:00:00.000000000 +0000 @@ -48,7 +48,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_define.texi autoconf-archive-20170928/doc/ax_check_define.texi --- autoconf-archive-20150925/doc/ax_check_define.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_define.texi 2017-09-27 22:00:00.000000000 +0000 @@ -40,7 +40,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_docbook_dtd.texi autoconf-archive-20170928/doc/ax_check_docbook_dtd.texi --- autoconf-archive-20150925/doc/ax_check_docbook_dtd.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_docbook_dtd.texi 2017-09-27 22:00:00.000000000 +0000 @@ -53,7 +53,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_docbook_xslt_min.texi autoconf-archive-20170928/doc/ax_check_docbook_xslt_min.texi --- autoconf-archive-20150925/doc/ax_check_docbook_xslt_min.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_docbook_xslt_min.texi 2017-09-27 22:00:00.000000000 +0000 @@ -45,7 +45,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_docbook_xslt.texi autoconf-archive-20170928/doc/ax_check_docbook_xslt.texi --- autoconf-archive-20150925/doc/ax_check_docbook_xslt.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_docbook_xslt.texi 2017-09-27 22:00:00.000000000 +0000 @@ -53,7 +53,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_dos_filesys.texi autoconf-archive-20170928/doc/ax_check_dos_filesys.texi --- autoconf-archive-20150925/doc/ax_check_dos_filesys.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_dos_filesys.texi 2017-09-27 22:00:00.000000000 +0000 @@ -41,7 +41,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_func_in.texi autoconf-archive-20170928/doc/ax_check_func_in.texi --- autoconf-archive-20150925/doc/ax_check_func_in.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_func_in.texi 2017-09-27 22:00:00.000000000 +0000 @@ -34,7 +34,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_gd.texi autoconf-archive-20170928/doc/ax_check_gd.texi --- autoconf-archive-20150925/doc/ax_check_gd.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_gd.texi 2017-09-27 22:00:00.000000000 +0000 @@ -14,7 +14,7 @@ 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 lirbary supports +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 diff -Nru autoconf-archive-20150925/doc/ax_check_girs_gjs.texi autoconf-archive-20170928/doc/ax_check_girs_gjs.texi --- autoconf-archive-20150925/doc/ax_check_girs_gjs.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_girs_gjs.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,52 @@ +@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. diff -Nru autoconf-archive-20150925/doc/ax_check_gir_symbols_gjs.texi autoconf-archive-20170928/doc/ax_check_gir_symbols_gjs.texi --- autoconf-archive-20150925/doc/ax_check_gir_symbols_gjs.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_gir_symbols_gjs.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,52 @@ +@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. diff -Nru autoconf-archive-20150925/doc/ax_check_gl.texi autoconf-archive-20170928/doc/ax_check_gl.texi --- autoconf-archive-20150925/doc/ax_check_gl.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_gl.texi 2017-09-27 22:00:00.000000000 +0000 @@ -4,30 +4,37 @@ @majorheading Synopsis @smallexample -AX_CHECK_GL +AX_CHECK_GL([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND]) @end smallexample @majorheading Description -Check for an OpenGL implementation. If GL is found, the required -compiler and linker flags are included in the output variables -"GL_CFLAGS", "GL_LIBS", "GL_LDFLAGS", respectively. If no usable GL -implementation is found, "no_gl" is set to "yes". +Checks for an OpenGL implementation. If a valid OpenGL implementation is +found, this macro would set C preprocessor symbol HAVE_GL to 1. -You could disable OpenGL using --with-gl=no - -You could choose a specific OpenGL libs using --with-gl=lib_name - -Under darwin, cygwin and mingw target you could prefer the OpenGL -implementation that link with X setting --with-gl=x or without X support -with --with-gl=nox. Notes that this script try to guess the right -implementation. - -If the header "GL/gl.h" is found, "HAVE_GL_GL_H" is defined. If the -header "OpenGL/gl.h" is found, HAVE_OPENGL_GL_H is defined. These -preprocessor definitions may not be mutually exclusive. - -You should use something like this in your headers: +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) @@ -42,6 +49,13 @@ #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 @@ -52,7 +66,7 @@ @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{} 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 @@ -65,7 +79,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_glu.texi autoconf-archive-20170928/doc/ax_check_glu.texi --- autoconf-archive-20150925/doc/ax_check_glu.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_glu.texi 2017-09-27 22:00:00.000000000 +0000 @@ -4,19 +4,33 @@ @majorheading Synopsis @smallexample -AX_CHECK_GLU +AX_CHECK_GLU([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND]) @end smallexample @majorheading Description -Check for GLU. If GLU is found, the required preprocessor and linker -flags are included in the output variables "GLU_CFLAGS" and "GLU_LIBS", -respectively. If no GLU implementation is found, "no_glu" is set to -"yes". +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. These -preprocessor definitions may not be mutually exclusive. +header "OpenGL/glu.h" is found, HAVE_OPENGL_GLU_H is defined. You should use something like this in your headers: @@ -33,6 +47,10 @@ # 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 @@ -48,7 +66,7 @@ @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{} 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 @@ -61,7 +79,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_glut.texi autoconf-archive-20170928/doc/ax_check_glut.texi --- autoconf-archive-20150925/doc/ax_check_glut.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_glut.texi 2017-09-27 22:00:00.000000000 +0000 @@ -4,18 +4,33 @@ @majorheading Synopsis @smallexample -AX_CHECK_GLUT +AX_CHECK_GLUT([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND]) @end smallexample @majorheading Description -Check for GLUT. If GLUT is found, the required compiler and linker flags -are included in the output variables "GLUT_CFLAGS" and "GLUT_LIBS", -respectively. If GLUT is not found, "no_glut" is set to "yes". +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. These -preprocessor definitions may not be mutually exclusive. +header "GLUT/glut.h" is found, HAVE_GLUT_GLUT_H is defined. You should use something like this in your headers: @@ -32,6 +47,10 @@ # 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 @@ -42,7 +61,7 @@ @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{} 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 @@ -55,7 +74,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_glx.texi autoconf-archive-20170928/doc/ax_check_glx.texi --- autoconf-archive-20150925/doc/ax_check_glx.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_glx.texi 2017-09-27 22:00:00.000000000 +0000 @@ -56,7 +56,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_gnu_make.texi autoconf-archive-20170928/doc/ax_check_gnu_make.texi --- autoconf-archive-20150925/doc/ax_check_gnu_make.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_gnu_make.texi 2017-09-27 22:00:00.000000000 +0000 @@ -4,7 +4,7 @@ @majorheading Synopsis @smallexample -AX_CHECK_GNU_MAKE() +AX_CHECK_GNU_MAKE([run-if-true],[run-if-false]) @end smallexample @majorheading Description @@ -15,6 +15,10 @@ * 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 @@ -22,6 +26,8 @@ * 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: @@ -37,6 +43,8 @@ @smallexample @@ifGNUmake@@ ifeq ($(DEPEND),$(wildcard $(DEPEND))) @@ifGNUmake@@ include $(DEPEND) + @@ifGNUmake@@ else + fallback code @@ifGNUmake@@ endif @end smallexample diff -Nru autoconf-archive-20150925/doc/ax_check_java_home.texi autoconf-archive-20170928/doc/ax_check_java_home.texi --- autoconf-archive-20150925/doc/ax_check_java_home.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_java_home.texi 2017-09-27 22:00:00.000000000 +0000 @@ -37,7 +37,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_java_plugin.texi autoconf-archive-20170928/doc/ax_check_java_plugin.texi --- autoconf-archive-20150925/doc/ax_check_java_plugin.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_java_plugin.texi 2017-09-27 22:00:00.000000000 +0000 @@ -17,9 +17,9 @@ 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 versisonms. The pkzipc version is -assumed to work if I undertstand the documentation on pkware's site but -YMMV. I do not have access to pwkware's version to test it. +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 @@ -44,7 +44,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_library.texi autoconf-archive-20170928/doc/ax_check_library.texi --- autoconf-archive-20150925/doc/ax_check_library.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_library.texi 2017-09-27 22:00:00.000000000 +0000 @@ -56,7 +56,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_link_flag.texi autoconf-archive-20170928/doc/ax_check_link_flag.texi --- autoconf-archive-20150925/doc/ax_check_link_flag.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_link_flag.texi 2017-09-27 22:00:00.000000000 +0000 @@ -48,7 +48,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_mysql_db.texi autoconf-archive-20170928/doc/ax_check_mysql_db.texi --- autoconf-archive-20150925/doc/ax_check_mysql_db.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_mysql_db.texi 2017-09-27 22:00:00.000000000 +0000 @@ -47,7 +47,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_page_aligned_malloc.texi autoconf-archive-20170928/doc/ax_check_page_aligned_malloc.texi --- autoconf-archive-20150925/doc/ax_check_page_aligned_malloc.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_page_aligned_malloc.texi 2017-09-27 22:00:00.000000000 +0000 @@ -22,7 +22,7 @@ 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 probabalistic approach. If +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 diff -Nru autoconf-archive-20150925/doc/ax_check_pathname_style.texi autoconf-archive-20170928/doc/ax_check_pathname_style.texi --- autoconf-archive-20150925/doc/ax_check_pathname_style.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_pathname_style.texi 2017-09-27 22:00:00.000000000 +0000 @@ -42,7 +42,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_pgsql_db.texi autoconf-archive-20170928/doc/ax_check_pgsql_db.texi --- autoconf-archive-20150925/doc/ax_check_pgsql_db.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_pgsql_db.texi 2017-09-27 22:00:00.000000000 +0000 @@ -81,7 +81,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_postgres_db.texi autoconf-archive-20170928/doc/ax_check_postgres_db.texi --- autoconf-archive-20150925/doc/ax_check_postgres_db.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_postgres_db.texi 2017-09-27 22:00:00.000000000 +0000 @@ -22,7 +22,7 @@ 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 exectued after the variables have been +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 diff -Nru autoconf-archive-20150925/doc/ax_check_preproc_flag.texi autoconf-archive-20170928/doc/ax_check_preproc_flag.texi --- autoconf-archive-20150925/doc/ax_check_preproc_flag.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_preproc_flag.texi 2017-09-27 22:00:00.000000000 +0000 @@ -48,7 +48,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_rqrd_class.texi autoconf-archive-20170928/doc/ax_check_rqrd_class.texi --- autoconf-archive-20150925/doc/ax_check_rqrd_class.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_rqrd_class.texi 2017-09-27 22:00:00.000000000 +0000 @@ -44,7 +44,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_symbol.texi autoconf-archive-20170928/doc/ax_check_symbol.texi --- autoconf-archive-20150925/doc/ax_check_symbol.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_symbol.texi 2017-09-27 22:00:00.000000000 +0000 @@ -36,7 +36,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_typedef.texi autoconf-archive-20170928/doc/ax_check_typedef.texi --- autoconf-archive-20150925/doc/ax_check_typedef.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_typedef.texi 2017-09-27 22:00:00.000000000 +0000 @@ -41,7 +41,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_user.texi autoconf-archive-20170928/doc/ax_check_user.texi --- autoconf-archive-20150925/doc/ax_check_user.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_user.texi 2017-09-27 22:00:00.000000000 +0000 @@ -53,7 +53,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_check_x86_features.texi autoconf-archive-20170928/doc/ax_check_x86_features.texi --- autoconf-archive-20150925/doc/ax_check_x86_features.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_x86_features.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,70 @@ +@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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. diff -Nru autoconf-archive-20150925/doc/ax_check_zlib.texi autoconf-archive-20170928/doc/ax_check_zlib.texi --- autoconf-archive-20150925/doc/ax_check_zlib.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_check_zlib.texi 2017-09-27 22:00:00.000000000 +0000 @@ -57,7 +57,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_code_coverage.texi autoconf-archive-20170928/doc/ax_code_coverage.texi --- autoconf-archive-20150925/doc/ax_code_coverage.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_code_coverage.texi 2017-09-27 22:00:00.000000000 +0000 @@ -9,19 +9,20 @@ @majorheading Description -Defines CODE_COVERAGE_CFLAGS and CODE_COVERAGE_LDFLAGS which should be -included in the CFLAGS and LIBS/LDFLAGS variables of every build target -(program or library) which should be built with code coverage support. -Also defines CODE_COVERAGE_RULES which should be substituted in your -Makefile; 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. +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 defines CODE_COVERAGE_RULES which should be +substituted in your Makefile; 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 optimisation flags in CFLAGS must be disabled when code +Note that all optimization flags in CFLAGS must be disabled when code coverage is enabled. Usage example: @@ -36,8 +37,10 @@ @smallexample @@CODE_COVERAGE_RULES@@ - my_program_LIBS = ... $(CODE_COVERAGE_LDFLAGS) ... + 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 This results in a "check-code-coverage" rule being added to any @@ -47,6 +50,11 @@ (`make check`) and build a code coverage report detailing the code which was touched, then print the URI for the report. +In earlier versions of this macro, CODE_COVERAGE_LDFLAGS was defined +instead of CODE_COVERAGE_LIBS. They are both still defined, but use of +CODE_COVERAGE_LIBS is preferred for clarity; CODE_COVERAGE_LDFLAGS is +deprecated. They have the same value. + This code was derived from Makefile.decl in GLib, originally licenced under LGPLv2.1+. @@ -60,7 +68,7 @@ @majorheading License -@w{Copyright @copyright{} 2012 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 Bastien ROUCARIES} +@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 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 @@ -73,4 +81,4 @@ 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 . +along with this program. If not, see . diff -Nru autoconf-archive-20150925/doc/ax_compile_check_sizeof.texi autoconf-archive-20170928/doc/ax_compile_check_sizeof.texi --- autoconf-archive-20150925/doc/ax_compile_check_sizeof.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_compile_check_sizeof.texi 2017-09-27 22:00:00.000000000 +0000 @@ -75,7 +75,7 @@ @majorheading License -@w{Copyright @copyright{} 2008 Kaveh Ghazi @email{ghazi@@caip.rutgers.edu}} +@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 @@ -88,7 +88,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_compiler_vendor.texi autoconf-archive-20170928/doc/ax_compiler_vendor.texi --- autoconf-archive-20150925/doc/ax_compiler_vendor.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_compiler_vendor.texi 2017-09-27 22:00:00.000000000 +0000 @@ -37,7 +37,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_compiler_version.texi autoconf-archive-20170928/doc/ax_compiler_version.texi --- autoconf-archive-20150925/doc/ax_compiler_version.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_compiler_version.texi 2017-09-27 22:00:00.000000000 +0000 @@ -22,8 +22,8 @@ era, @smallexample - 1borlanc BORLANC++ before 5, 2cppbuilder for cppbuilder era, - 3borlancpp for return of BORLANC++ (after version 5.5), + 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 diff -Nru autoconf-archive-20150925/doc/ax_compute_relative_paths.texi autoconf-archive-20170928/doc/ax_compute_relative_paths.texi --- autoconf-archive-20150925/doc/ax_compute_relative_paths.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_compute_relative_paths.texi 2017-09-27 22:00:00.000000000 +0000 @@ -38,7 +38,7 @@ 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. +This macro requires AX_NORMALIZE_PATH and AX_RECURSIVE_EVAL. @majorheading Source Code @@ -63,7 +63,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_compute_standard_relative_paths.texi autoconf-archive-20170928/doc/ax_compute_standard_relative_paths.texi --- autoconf-archive-20150925/doc/ax_compute_standard_relative_paths.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_compute_standard_relative_paths.texi 2017-09-27 22:00:00.000000000 +0000 @@ -36,7 +36,7 @@ mandir (only for autoconf < 2.59c) lispdir (only for autoconf < 2.59c) sysconfdir - sharestatedir + sharedstatedir localstatedir runstatedir (only for autoconf >= 2.70) includedir @@ -80,7 +80,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_cond_with_level.texi autoconf-archive-20170928/doc/ax_cond_with_level.texi --- autoconf-archive-20150925/doc/ax_cond_with_level.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cond_with_level.texi 2017-09-27 22:00:00.000000000 +0000 @@ -31,7 +31,7 @@ @end smallexample this macro is most handily it making Makefile.in/Makefile.am that have a -set of with-level declarations, espcially optimization-levels +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) @@ -59,7 +59,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_config_feature.texi autoconf-archive-20170928/doc/ax_config_feature.texi --- autoconf-archive-20150925/doc/ax_config_feature.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_config_feature.texi 2017-09-27 22:00:00.000000000 +0000 @@ -98,7 +98,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_configure_args.texi autoconf-archive-20170928/doc/ax_configure_args.texi --- autoconf-archive-20150925/doc/ax_configure_args.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_configure_args.texi 2017-09-27 22:00:00.000000000 +0000 @@ -16,7 +16,7 @@ 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 alsways be present. +$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 $?". @@ -53,7 +53,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_count_cpus.texi autoconf-archive-20170928/doc/ax_count_cpus.texi --- autoconf-archive-20150925/doc/ax_count_cpus.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_count_cpus.texi 2017-09-27 22:00:00.000000000 +0000 @@ -4,15 +4,18 @@ @majorheading Synopsis @smallexample -AX_COUNT_CPUS +AX_COUNT_CPUS([ACTION-IF-DETECTED],[ACTION-IF-NOT-DETECTED]) @end smallexample @majorheading Description -Attempt to count the number of processors present on the machine. If the -detection fails, then a value of 1 is assumed. - -The value is placed in the CPU_COUNT variable. +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 @@ -24,7 +27,7 @@ @majorheading License -@w{Copyright @copyright{} 2014 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}} +@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 diff -Nru autoconf-archive-20150925/doc/ax_create_generic_config.texi autoconf-archive-20170928/doc/ax_create_generic_config.texi --- autoconf-archive-20150925/doc/ax_create_generic_config.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_create_generic_config.texi 2017-09-27 22:00:00.000000000 +0000 @@ -10,7 +10,7 @@ @majorheading Description Creates a generic PACKAGE-config file that has all the things that you -want, hmm, well, atleast it has --cflags, --version, --libs. Ahhm, did +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 @@ -57,7 +57,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_create_pkgconfig_info.texi autoconf-archive-20170928/doc/ax_create_pkgconfig_info.texi --- autoconf-archive-20150925/doc/ax_create_pkgconfig_info.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_create_pkgconfig_info.texi 2017-09-27 22:00:00.000000000 +0000 @@ -29,7 +29,7 @@ You will find this macro most useful in conjunction with ax_spec_defaults that can read good initializers from the .spec file. In -consequencd, most of the generatable installable stuff can be made from +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 @@ -55,7 +55,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_create_stdint_h.texi autoconf-archive-20170928/doc/ax_create_stdint_h.texi --- autoconf-archive-20150925/doc/ax_create_stdint_h.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_create_stdint_h.texi 2017-09-27 22:00:00.000000000 +0000 @@ -13,9 +13,9 @@ existence of an include file 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 -. In other enviroments we can use the inet-types in +. In other environments we can use the inet-types in which would define the typedefs int8_t and u_int8_t -respectivly. +respectively. This macros will create a local "_stdint.h" or the headerfile given as an argument. In many cases that file will just "#include " or @@ -44,7 +44,7 @@ Remember, if the system already had a valid , the generated file will include it directly. No need for fuzzy HAVE_STDINT_H things... -(oops, GCC 4.2.x has deliberatly disabled its stdint.h for non-c99 +(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). @@ -72,7 +72,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_create_target_h.texi autoconf-archive-20170928/doc/ax_create_target_h.texi --- autoconf-archive-20150925/doc/ax_create_target_h.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_create_target_h.texi 2017-09-27 22:00:00.000000000 +0000 @@ -122,7 +122,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_c_referenceable_passed_va_list.texi autoconf-archive-20170928/doc/ax_c_referenceable_passed_va_list.texi --- autoconf-archive-20150925/doc/ax_c_referenceable_passed_va_list.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_c_referenceable_passed_va_list.texi 2017-09-27 22:00:00.000000000 +0000 @@ -18,7 +18,7 @@ &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 -http://www.gnu.org/software/autoconf/manual/html_node/Function-Portability.html, +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. diff -Nru autoconf-archive-20150925/doc/ax_c_var_func.texi autoconf-archive-20170928/doc/ax_c_var_func.texi --- autoconf-archive-20150925/doc/ax_c_var_func.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_c_var_func.texi 2017-09-27 22:00:00.000000000 +0000 @@ -10,10 +10,10 @@ @majorheading Description This macro tests if the C complier supports the C9X standard __func__ -indentifier. +identifier. The new C9X standard for the C language stipulates that the identifier -__func__ shall be implictly declared by the compiler as if, immediately +__func__ shall be implicitly declared by the compiler as if, immediately following the opening brace of each function definition, the declaration @smallexample @@ -46,7 +46,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_cvs.texi autoconf-archive-20170928/doc/ax_cvs.texi --- autoconf-archive-20150925/doc/ax_cvs.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cvs.texi 2017-09-27 22:00:00.000000000 +0000 @@ -30,10 +30,10 @@ make commitlog @smallexample - Generates a ChangeLog template with the modifed, added + 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 instad called by - commit. It is usefull however if you want to document + 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 @@ -83,9 +83,9 @@ @smallexample performs a cvs update, followed by a distcheck, then - creates a release for the current version, increaments + creates a release for the current version, increments the point release number and checks out the release - into a new direcory + into a new directory @end smallexample make quick-release diff -Nru autoconf-archive-20150925/doc/ax_cxx_compiler_vendor.texi autoconf-archive-20170928/doc/ax_cxx_compiler_vendor.texi --- autoconf-archive-20150925/doc/ax_cxx_compiler_vendor.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cxx_compiler_vendor.texi 1970-01-01 00:00:00.000000000 +0000 @@ -1,33 +0,0 @@ -@node ax_cxx_compiler_vendor -@unnumberedsec ax_cxx_compiler_vendor - -@majorheading Synopsis - -@smallexample -AX_CXX_COMPILER_VENDOR(VENDOR-NAME, [NICKNAME]) -@end smallexample - -@majorheading Description - -Set VENDOR-NAME to the lower-case name of the compiler vendor or -`unknown' if the compiler's vendor is unknown. `compaq' means the CXX -compiler as available on Tru64/OSF1/Digital Unix on Alpha machines. If -NICKNAME is provided, set it to the compiler's usual name (eg. `g++', -`cxx', `aCC', etc.). - -@majorheading Source Code - -Download the -@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compiler_vendor.m4,latest -version of @file{ax_cxx_compiler_vendor.m4}} or browse -@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compiler_vendor.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. diff -Nru autoconf-archive-20150925/doc/ax_cxx_compile_stdcxx_0x.texi autoconf-archive-20170928/doc/ax_cxx_compile_stdcxx_0x.texi --- autoconf-archive-20150925/doc/ax_cxx_compile_stdcxx_0x.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cxx_compile_stdcxx_0x.texi 2017-09-27 22:00:00.000000000 +0000 @@ -12,6 +12,9 @@ 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 diff -Nru autoconf-archive-20150925/doc/ax_cxx_compile_stdcxx_11.texi autoconf-archive-20170928/doc/ax_cxx_compile_stdcxx_11.texi --- autoconf-archive-20150925/doc/ax_cxx_compile_stdcxx_11.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cxx_compile_stdcxx_11.texi 2017-09-27 22:00:00.000000000 +0000 @@ -4,24 +4,21 @@ @majorheading Synopsis @smallexample -AX_CXX_COMPILE_STDCXX_11([ext|noext],[mandatory|optional]) +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 CXXFLAGS to enable support. +standard; if necessary, add switches to CXX and CXXCPP to enable +support. -The first 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 an extended mode. - -The second argument, if specified 'mandatory' or if left unspecified, -indicates that baseline C++11 support 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_CXX11 if and only if a supporting mode is found. +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 @@ -33,7 +30,7 @@ @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{} 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 diff -Nru autoconf-archive-20150925/doc/ax_cxx_compile_stdcxx_14.texi autoconf-archive-20170928/doc/ax_cxx_compile_stdcxx_14.texi --- autoconf-archive-20150925/doc/ax_cxx_compile_stdcxx_14.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cxx_compile_stdcxx_14.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,38 @@ +@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. diff -Nru autoconf-archive-20150925/doc/ax_cxx_compile_stdcxx_17.texi autoconf-archive-20170928/doc/ax_cxx_compile_stdcxx_17.texi --- autoconf-archive-20150925/doc/ax_cxx_compile_stdcxx_17.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cxx_compile_stdcxx_17.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,38 @@ +@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. diff -Nru autoconf-archive-20150925/doc/ax_cxx_compile_stdcxx.texi autoconf-archive-20170928/doc/ax_cxx_compile_stdcxx.texi --- autoconf-archive-20150925/doc/ax_cxx_compile_stdcxx.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cxx_compile_stdcxx.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,44 @@ +@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' (for the C++11 standard) +or '14' (for the C++14 standard). + +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 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 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. diff -Nru autoconf-archive-20150925/doc/ax_cxx_explicit_instantiations.texi autoconf-archive-20170928/doc/ax_cxx_explicit_instantiations.texi --- autoconf-archive-20150925/doc/ax_cxx_explicit_instantiations.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cxx_explicit_instantiations.texi 2017-09-27 22:00:00.000000000 +0000 @@ -9,7 +9,7 @@ @majorheading Description -If the C++ compiler supports explicit instanciations syntax, define +If the C++ compiler supports explicit instantiations syntax, define HAVE_INSTANTIATIONS. @majorheading Source Code diff -Nru autoconf-archive-20150925/doc/ax_cxx_function_try_blocks.texi autoconf-archive-20170928/doc/ax_cxx_function_try_blocks.texi --- autoconf-archive-20150925/doc/ax_cxx_function_try_blocks.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cxx_function_try_blocks.texi 2017-09-27 22:00:00.000000000 +0000 @@ -35,7 +35,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_cxx_have_empty_iostream.texi autoconf-archive-20170928/doc/ax_cxx_have_empty_iostream.texi --- autoconf-archive-20150925/doc/ax_cxx_have_empty_iostream.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cxx_have_empty_iostream.texi 2017-09-27 22:00:00.000000000 +0000 @@ -35,7 +35,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_cxx_have_ext_hash_map.texi autoconf-archive-20170928/doc/ax_cxx_have_ext_hash_map.texi --- autoconf-archive-20150925/doc/ax_cxx_have_ext_hash_map.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cxx_have_ext_hash_map.texi 2017-09-27 22:00:00.000000000 +0000 @@ -49,7 +49,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_cxx_have_ext_hash_set.texi autoconf-archive-20170928/doc/ax_cxx_have_ext_hash_set.texi --- autoconf-archive-20150925/doc/ax_cxx_have_ext_hash_set.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cxx_have_ext_hash_set.texi 2017-09-27 22:00:00.000000000 +0000 @@ -46,7 +46,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_cxx_have_ext_slist.texi autoconf-archive-20170928/doc/ax_cxx_have_ext_slist.texi --- autoconf-archive-20150925/doc/ax_cxx_have_ext_slist.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cxx_have_ext_slist.texi 2017-09-27 22:00:00.000000000 +0000 @@ -46,7 +46,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_cxx_have_freeze_sstream.texi autoconf-archive-20170928/doc/ax_cxx_have_freeze_sstream.texi --- autoconf-archive-20150925/doc/ax_cxx_have_freeze_sstream.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cxx_have_freeze_sstream.texi 2017-09-27 22:00:00.000000000 +0000 @@ -53,7 +53,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_cxx_have_long_long_for_iostream.texi autoconf-archive-20170928/doc/ax_cxx_have_long_long_for_iostream.texi --- autoconf-archive-20150925/doc/ax_cxx_have_long_long_for_iostream.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cxx_have_long_long_for_iostream.texi 2017-09-27 22:00:00.000000000 +0000 @@ -56,7 +56,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_cxx_restrict_this.texi autoconf-archive-20170928/doc/ax_cxx_restrict_this.texi --- autoconf-archive-20150925/doc/ax_cxx_restrict_this.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cxx_restrict_this.texi 2017-09-27 22:00:00.000000000 +0000 @@ -52,4 +52,4 @@ 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 -. +. diff -Nru autoconf-archive-20150925/doc/ax_cxx_var_prettyfunc.texi autoconf-archive-20170928/doc/ax_cxx_var_prettyfunc.texi --- autoconf-archive-20150925/doc/ax_cxx_var_prettyfunc.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_cxx_var_prettyfunc.texi 2017-09-27 22:00:00.000000000 +0000 @@ -41,7 +41,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_czmq.texi autoconf-archive-20170928/doc/ax_czmq.texi --- autoconf-archive-20150925/doc/ax_czmq.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_czmq.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,45 @@ +@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. diff -Nru autoconf-archive-20150925/doc/ax_define_sub_path.texi autoconf-archive-20170928/doc/ax_define_sub_path.texi --- autoconf-archive-20150925/doc/ax_define_sub_path.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_define_sub_path.texi 2017-09-27 22:00:00.000000000 +0000 @@ -77,7 +77,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_dirname.texi autoconf-archive-20170928/doc/ax_dirname.texi --- autoconf-archive-20150925/doc/ax_dirname.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_dirname.texi 2017-09-27 22:00:00.000000000 +0000 @@ -39,7 +39,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_dist_rpm.texi autoconf-archive-20170928/doc/ax_dist_rpm.texi --- autoconf-archive-20150925/doc/ax_dist_rpm.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_dist_rpm.texi 2017-09-27 22:00:00.000000000 +0000 @@ -12,7 +12,7 @@ Adds support for a rpm dist target. You will need to create a spec template with everything except the files -and the Changlog. Use @@PACKAGE@@ and @@VERSION@@ to refer to the package +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: diff -Nru autoconf-archive-20150925/doc/ax_elisp.texi autoconf-archive-20170928/doc/ax_elisp.texi --- autoconf-archive-20150925/doc/ax_elisp.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_elisp.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,109 @@ +@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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. diff -Nru autoconf-archive-20150925/doc/ax_enable_builddir.texi autoconf-archive-20170928/doc/ax_enable_builddir.texi --- autoconf-archive-20150925/doc/ax_enable_builddir.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_enable_builddir.texi 2017-09-27 22:00:00.000000000 +0000 @@ -27,7 +27,7 @@ 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-dection through `config.guess` and build-time of course, as in +auto-detection through `config.guess` and build-time of course, as in @smallexample make HOST=i386-mingw-cross @@ -49,7 +49,7 @@ 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 overriden for the macro as well. +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 @@ -78,7 +78,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_expand_prefix.texi autoconf-archive-20170928/doc/ax_expand_prefix.texi --- autoconf-archive-20150925/doc/ax_expand_prefix.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_expand_prefix.texi 2017-09-27 22:00:00.000000000 +0000 @@ -18,7 +18,7 @@ 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 atleast two 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 @@ -50,7 +50,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_extend_srcdir.texi autoconf-archive-20170928/doc/ax_extend_srcdir.texi --- autoconf-archive-20150925/doc/ax_extend_srcdir.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_extend_srcdir.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,87 @@ +@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. diff -Nru autoconf-archive-20150925/doc/ax_ext_have_lib.texi autoconf-archive-20170928/doc/ax_ext_have_lib.texi --- autoconf-archive-20150925/doc/ax_ext_have_lib.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_ext_have_lib.texi 2017-09-27 22:00:00.000000000 +0000 @@ -26,7 +26,7 @@ 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 succeds system when it tries +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. diff -Nru autoconf-archive-20150925/doc/ax_ext.texi autoconf-archive-20170928/doc/ax_ext.texi --- autoconf-archive-20150925/doc/ax_ext.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_ext.texi 2017-09-27 22:00:00.000000000 +0000 @@ -35,7 +35,7 @@ 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_AVX512_IFMA / HAVE_AVX512_VBMI / HAVE_ALTIVEC / HAVE_VSX @end smallexample @majorheading Source Code @@ -48,7 +48,7 @@ @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{} 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 diff -Nru autoconf-archive-20150925/doc/ax_f77_cmain_fflags.texi autoconf-archive-20170928/doc/ax_f77_cmain_fflags.texi --- autoconf-archive-20150925/doc/ax_f77_cmain_fflags.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_f77_cmain_fflags.texi 2017-09-27 22:00:00.000000000 +0000 @@ -47,7 +47,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_f90_library.texi autoconf-archive-20170928/doc/ax_f90_library.texi --- autoconf-archive-20150925/doc/ax_f90_library.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_f90_library.texi 2017-09-27 22:00:00.000000000 +0000 @@ -17,7 +17,7 @@ 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 directoris for 'find' to +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 diff -Nru autoconf-archive-20150925/doc/ax_fc_check_define.texi autoconf-archive-20170928/doc/ax_fc_check_define.texi --- autoconf-archive-20150925/doc/ax_fc_check_define.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_fc_check_define.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,39 @@ +@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. diff -Nru autoconf-archive-20150925/doc/ax_func_accept_argtypes.texi autoconf-archive-20170928/doc/ax_func_accept_argtypes.texi --- autoconf-archive-20150925/doc/ax_func_accept_argtypes.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_func_accept_argtypes.texi 2017-09-27 22:00:00.000000000 +0000 @@ -48,7 +48,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_func_getopt_long.texi autoconf-archive-20170928/doc/ax_func_getopt_long.texi --- autoconf-archive-20150925/doc/ax_func_getopt_long.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_func_getopt_long.texi 2017-09-27 22:00:00.000000000 +0000 @@ -40,7 +40,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_func_mkdir.texi autoconf-archive-20170928/doc/ax_func_mkdir.texi --- autoconf-archive-20150925/doc/ax_func_mkdir.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_func_mkdir.texi 2017-09-27 22:00:00.000000000 +0000 @@ -54,7 +54,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_func_which_gethostbyname_r.texi autoconf-archive-20170928/doc/ax_func_which_gethostbyname_r.texi --- autoconf-archive-20150925/doc/ax_func_which_gethostbyname_r.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_func_which_gethostbyname_r.texi 2017-09-27 22:00:00.000000000 +0000 @@ -58,7 +58,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_func_which_getservbyname_r.texi autoconf-archive-20170928/doc/ax_func_which_getservbyname_r.texi --- autoconf-archive-20150925/doc/ax_func_which_getservbyname_r.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_func_which_getservbyname_r.texi 2017-09-27 22:00:00.000000000 +0000 @@ -46,7 +46,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_gcc_archflag.texi autoconf-archive-20170928/doc/ax_gcc_archflag.texi --- autoconf-archive-20150925/doc/ax_gcc_archflag.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_gcc_archflag.texi 2017-09-27 22:00:00.000000000 +0000 @@ -43,7 +43,7 @@ @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{} 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 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 @@ -56,7 +56,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_gcc_builtin.texi autoconf-archive-20170928/doc/ax_gcc_builtin.texi --- autoconf-archive-20150925/doc/ax_gcc_builtin.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_gcc_builtin.texi 2017-09-27 22:00:00.000000000 +0000 @@ -26,6 +26,7 @@ @smallexample __builtin_assume_aligned + __builtin_bswap16 __builtin_bswap32 __builtin_bswap64 __builtin_choose_expr @@ -81,7 +82,7 @@ __builtin_unreachable @end smallexample -Unsuppored built-ins will be tested with an empty parameter set and the +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 diff -Nru autoconf-archive-20150925/doc/ax_gcc_const_call.texi autoconf-archive-20170928/doc/ax_gcc_const_call.texi --- autoconf-archive-20150925/doc/ax_gcc_const_call.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_gcc_const_call.texi 2017-09-27 22:00:00.000000000 +0000 @@ -35,7 +35,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_gcc_func_attribute.texi autoconf-archive-20170928/doc/ax_gcc_func_attribute.texi --- autoconf-archive-20150925/doc/ax_gcc_func_attribute.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_gcc_func_attribute.texi 2017-09-27 22:00:00.000000000 +0000 @@ -40,6 +40,7 @@ dllimport error externally_visible + fallthrough flatten format format_arg @@ -64,9 +65,9 @@ weakref @end smallexample -Unsuppored 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. +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 diff -Nru autoconf-archive-20150925/doc/ax_gcc_libgcc_eh.texi autoconf-archive-20170928/doc/ax_gcc_libgcc_eh.texi --- autoconf-archive-20150925/doc/ax_gcc_libgcc_eh.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_gcc_libgcc_eh.texi 2017-09-27 22:00:00.000000000 +0000 @@ -35,7 +35,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_gcc_libraries_dir.texi autoconf-archive-20170928/doc/ax_gcc_libraries_dir.texi --- autoconf-archive-20150925/doc/ax_gcc_libraries_dir.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_gcc_libraries_dir.texi 1970-01-01 00:00:00.000000000 +0000 @@ -1,54 +0,0 @@ -@node ax_gcc_libraries_dir -@unnumberedsec ax_gcc_libraries_dir - -@majorheading Synopsis - -@smallexample -AX_GCC_LIBRARIES_DIR(VARIABLE) -@end smallexample - -@majorheading Description - -AX_GCC_LIBRARIES_DIR(VARIABLE) defines VARIABLE as the gcc libraries -directory. The libraries directory will be obtained using the gcc --print-search-dirs option. This macro requires AX_GCC_OPTION macro. - -Thanks to Alessandro Massignan for his helpful hints. - -@majorheading Source Code - -Download the -@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_libraries_dir.m4,latest -version of @file{ax_gcc_libraries_dir.m4}} or browse -@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_libraries_dir.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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. diff -Nru autoconf-archive-20150925/doc/ax_gcc_libsupcxx.texi autoconf-archive-20170928/doc/ax_gcc_libsupcxx.texi --- autoconf-archive-20150925/doc/ax_gcc_libsupcxx.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_gcc_libsupcxx.texi 2017-09-27 22:00:00.000000000 +0000 @@ -35,7 +35,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_gcc_lib.texi autoconf-archive-20170928/doc/ax_gcc_lib.texi --- autoconf-archive-20150925/doc/ax_gcc_lib.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_gcc_lib.texi 2017-09-27 22:00:00.000000000 +0000 @@ -37,7 +37,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_gcc_malloc_call.texi autoconf-archive-20170928/doc/ax_gcc_malloc_call.texi --- autoconf-archive-20150925/doc/ax_gcc_malloc_call.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_gcc_malloc_call.texi 2017-09-27 22:00:00.000000000 +0000 @@ -35,7 +35,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_gcc_var_attribute.texi autoconf-archive-20170928/doc/ax_gcc_var_attribute.texi --- autoconf-archive-20150925/doc/ax_gcc_var_attribute.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_gcc_var_attribute.texi 2017-09-27 22:00:00.000000000 +0000 @@ -42,7 +42,7 @@ init_priority @end smallexample -Unsuppored variable attributes will be tested against a global integer +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. diff -Nru autoconf-archive-20150925/doc/ax_gcc_version.texi autoconf-archive-20170928/doc/ax_gcc_version.texi --- autoconf-archive-20150925/doc/ax_gcc_version.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_gcc_version.texi 1970-01-01 00:00:00.000000000 +0000 @@ -1,51 +0,0 @@ -@node ax_gcc_version -@unnumberedsec ax_gcc_version - -@majorheading Synopsis - -@smallexample -AX_GCC_VERSION -@end smallexample - -@majorheading Description - -This macro retrieves the gcc version and returns it in the GCC_VERSION -variable if available, an empty string otherwise. - -@majorheading Source Code - -Download the -@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_version.m4,latest -version of @file{ax_gcc_version.m4}} or browse -@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_version.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 . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. diff -Nru autoconf-archive-20150925/doc/ax_gcc_warn_unused_result.texi autoconf-archive-20170928/doc/ax_gcc_warn_unused_result.texi --- autoconf-archive-20150925/doc/ax_gcc_warn_unused_result.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_gcc_warn_unused_result.texi 2017-09-27 22:00:00.000000000 +0000 @@ -35,7 +35,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_gcc_x86_avx_xgetbv.texi autoconf-archive-20170928/doc/ax_gcc_x86_avx_xgetbv.texi --- autoconf-archive-20150925/doc/ax_gcc_x86_avx_xgetbv.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_gcc_x86_avx_xgetbv.texi 2017-09-27 22:00:00.000000000 +0000 @@ -48,7 +48,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_gcc_x86_cpuid.texi autoconf-archive-20170928/doc/ax_gcc_x86_cpuid.texi --- autoconf-archive-20150925/doc/ax_gcc_x86_cpuid.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_gcc_x86_cpuid.texi 2017-09-27 22:00:00.000000000 +0000 @@ -50,7 +50,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_gcc_x86_cpu_supports.texi autoconf-archive-20170928/doc/ax_gcc_x86_cpu_supports.texi --- autoconf-archive-20150925/doc/ax_gcc_x86_cpu_supports.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_gcc_x86_cpu_supports.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,67 @@ +@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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. diff -Nru autoconf-archive-20150925/doc/ax_gnu_autotest.texi autoconf-archive-20170928/doc/ax_gnu_autotest.texi --- autoconf-archive-20150925/doc/ax_gnu_autotest.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_gnu_autotest.texi 2017-09-27 22:00:00.000000000 +0000 @@ -89,7 +89,7 @@ (for "yes"). If empty, defaults to "no". @end smallexample -All filesnames above must be relative. The testdir name is interpreted +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. diff -Nru autoconf-archive-20150925/doc/ax_have_opengl.texi autoconf-archive-20170928/doc/ax_have_opengl.texi --- autoconf-archive-20150925/doc/ax_have_opengl.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_have_opengl.texi 1970-01-01 00:00:00.000000000 +0000 @@ -1,76 +0,0 @@ -@node ax_have_opengl -@unnumberedsec ax_have_opengl - -@majorheading Synopsis - -@smallexample -AX_HAVE_OPENGL -@end smallexample - -@majorheading Description - -Search for OpenGL. We search first for Mesa (a GPL'ed version of Mesa) -before a vendor's version of OpenGL, unless we were specifically asked -not to with `--with-Mesa=no' or `--without-Mesa'. - -The four "standard" OpenGL libraries are searched for: "-lGL", "-lGLU", -"-lGLX" (or "-lMesaGL", "-lMesaGLU" as the case may be) and "-lglut". - -All of the libraries that are found (since "-lglut" or "-lGLX" might be -missing) are added to the shell output variable "GL_LIBS", along with -any other libraries that are necessary to successfully link an OpenGL -application (e.g. the X11 libraries). Care has been taken to make sure -that all of the libraries in "GL_LIBS" are listed in the proper order. - -Additionally, the shell output variable "GL_CFLAGS" is set to any flags -(e.g. "-I" flags) that are necessary to successfully compile an OpenGL -application. - -The following shell variable (which are not output variables) are also -set to either "yes" or "no" (depending on which libraries were found) to -help you determine exactly what was found. - -@smallexample - have_GL - have_GLU - have_GLX - have_glut -@end smallexample - -@majorheading Source Code - -Download the -@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_opengl.m4,latest -version of @file{ax_have_opengl.m4}} or browse -@uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_opengl.m4,the -macro's revision history}. - -@majorheading License - -@w{Copyright @copyright{} 2008 Matthew D. Langston} @* @w{Copyright @copyright{} 2008 Ahmet Inan @email{auto@@ainan.org}} @* @w{Copyright @copyright{} 2013 Bastien Roucaries . - -As a special exception, the respective Autoconf Macro's copyright owner -gives unlimited permission to copy, distribute and modify the configure -scripts that are the output of Autoconf when processing the Macro. You -need not follow the terms of the GNU General Public License when using -or distributing such scripts, even though portions of the text of the -Macro appear in them. The GNU General Public License (GPL) does govern -all other use of the material that constitutes the Autoconf Macro. - -This special exception to the GPL applies to versions of the Autoconf -Macro released by the Autoconf Archive. When you make and distribute a -modified version of the Autoconf Macro, you may extend this special -exception to the GPL to apply to your modified version as well. diff -Nru autoconf-archive-20150925/doc/ax_is_release.texi autoconf-archive-20170928/doc/ax_is_release.texi --- autoconf-archive-20150925/doc/ax_is_release.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_is_release.texi 2017-09-27 22:00:00.000000000 +0000 @@ -28,6 +28,10 @@ * 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 @@ -44,7 +48,7 @@ @majorheading License -@w{Copyright @copyright{} 2015 Philip Withnall @email{philip@@tecnocode.co.uk}} +@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 diff -Nru autoconf-archive-20150925/doc/ax_java_check_class.texi autoconf-archive-20170928/doc/ax_java_check_class.texi --- autoconf-archive-20150925/doc/ax_java_check_class.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_java_check_class.texi 2017-09-27 22:00:00.000000000 +0000 @@ -16,7 +16,7 @@ The macro tries to compile a minimal program importing . Some newer compilers moan about the failure to use this but fail or produce a -class file anyway. All moaing is sunk to /dev/null since I only wanted +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. @@ -43,7 +43,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_lapack.texi autoconf-archive-20170928/doc/ax_lapack.texi --- autoconf-archive-20150925/doc/ax_lapack.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_lapack.texi 2017-09-27 22:00:00.000000000 +0000 @@ -60,7 +60,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_lib_firebird.texi autoconf-archive-20170928/doc/ax_lib_firebird.texi --- autoconf-archive-20150925/doc/ax_lib_firebird.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_lib_firebird.texi 2017-09-27 22:00:00.000000000 +0000 @@ -12,12 +12,12 @@ 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 existance of Firebird client library. +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 intallation prefix to the installed Firebird library is given the +If no installation prefix to the installed Firebird library is given the macro searches under /usr, /usr/local, and /opt. This macro calls: diff -Nru autoconf-archive-20150925/doc/ax_libgcj_jar.texi autoconf-archive-20170928/doc/ax_libgcj_jar.texi --- autoconf-archive-20150925/doc/ax_libgcj_jar.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_libgcj_jar.texi 2017-09-27 22:00:00.000000000 +0000 @@ -35,7 +35,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_lib_hdf5.texi autoconf-archive-20170928/doc/ax_lib_hdf5.texi --- autoconf-archive-20150925/doc/ax_lib_hdf5.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_lib_hdf5.texi 2017-09-27 22:00:00.000000000 +0000 @@ -37,12 +37,13 @@ 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 Autconf's Fortran support is not used to perform this check. +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. @@ -89,6 +90,9 @@ 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 diff -Nru autoconf-archive-20150925/doc/ax_lib_metis.texi autoconf-archive-20170928/doc/ax_lib_metis.texi --- autoconf-archive-20150925/doc/ax_lib_metis.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_lib_metis.texi 2017-09-27 22:00:00.000000000 +0000 @@ -15,7 +15,7 @@ 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 sucessful completion the +/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 diff -Nru autoconf-archive-20150925/doc/ax_lib_netcdf4.texi autoconf-archive-20170928/doc/ax_lib_netcdf4.texi --- autoconf-archive-20150925/doc/ax_lib_netcdf4.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_lib_netcdf4.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,117 @@ +@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. diff -Nru autoconf-archive-20150925/doc/ax_lib_oracle_occi.texi autoconf-archive-20170928/doc/ax_lib_oracle_occi.texi --- autoconf-archive-20150925/doc/ax_lib_oracle_occi.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_lib_oracle_occi.texi 2017-09-27 22:00:00.000000000 +0000 @@ -31,7 +31,7 @@ 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 enything. +check anything. This macro calls: diff -Nru autoconf-archive-20150925/doc/ax_lib_oracle_oci.texi autoconf-archive-20170928/doc/ax_lib_oracle_oci.texi --- autoconf-archive-20150925/doc/ax_lib_oracle_oci.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_lib_oracle_oci.texi 2017-09-27 22:00:00.000000000 +0000 @@ -31,7 +31,7 @@ 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 -enything. +anything. This macro calls: diff -Nru autoconf-archive-20150925/doc/ax_lib_orbit2.texi autoconf-archive-20170928/doc/ax_lib_orbit2.texi --- autoconf-archive-20150925/doc/ax_lib_orbit2.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_lib_orbit2.texi 2017-09-27 22:00:00.000000000 +0000 @@ -9,7 +9,7 @@ @majorheading Description -Checks for minimum Orbit2 library version VERSION. If successfull +Checks for minimum Orbit2 library version VERSION. If successful executes ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE. Defines ORBIT2_LIBS and ORBIT2_CFLAGS. diff -Nru autoconf-archive-20150925/doc/ax_lib_samtools.texi autoconf-archive-20170928/doc/ax_lib_samtools.texi --- autoconf-archive-20150925/doc/ax_lib_samtools.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_lib_samtools.texi 2017-09-27 22:00:00.000000000 +0000 @@ -72,7 +72,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_lib_sqlite3.texi autoconf-archive-20170928/doc/ax_lib_sqlite3.texi --- autoconf-archive-20150925/doc/ax_lib_sqlite3.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_lib_sqlite3.texi 2017-09-27 22:00:00.000000000 +0000 @@ -13,9 +13,9 @@ 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 existance of SQLite 3. +of existence of SQLite 3. -If no intallation prefix to the installed SQLite library is given the +If no installation prefix to the installed SQLite library is given the macro searches under /usr, /usr/local, and /opt. This macro calls: diff -Nru autoconf-archive-20150925/doc/ax_lib_tabix.texi autoconf-archive-20170928/doc/ax_lib_tabix.texi --- autoconf-archive-20150925/doc/ax_lib_tabix.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_lib_tabix.texi 2017-09-27 22:00:00.000000000 +0000 @@ -72,7 +72,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_lib_taglib.texi autoconf-archive-20170928/doc/ax_lib_taglib.texi --- autoconf-archive-20150925/doc/ax_lib_taglib.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_lib_taglib.texi 2017-09-27 22:00:00.000000000 +0000 @@ -9,7 +9,7 @@ @majorheading Description -Checks for minimum taglib library version VERSION. If successfull +Checks for minimum taglib library version VERSION. If successful executes ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE. Defines TAGLIB_LIBS and TAGLIB_CFLAGS. diff -Nru autoconf-archive-20150925/doc/ax_lib_wad.texi autoconf-archive-20170928/doc/ax_lib_wad.texi --- autoconf-archive-20150925/doc/ax_lib_wad.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_lib_wad.texi 2017-09-27 22:00:00.000000000 +0000 @@ -34,7 +34,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_llvm.texi autoconf-archive-20170928/doc/ax_llvm.texi --- autoconf-archive-20150925/doc/ax_llvm.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_llvm.texi 2017-09-27 22:00:00.000000000 +0000 @@ -9,14 +9,14 @@ @majorheading Description -Test for the existance of llvm, and make sure that it can be linked with +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 @end smallexample -llvm-config will also include any libraries that are depended apon. +llvm-config will also include any libraries that are depended upon. @majorheading Source Code diff -Nru autoconf-archive-20150925/doc/ax_luarocks_rock.texi autoconf-archive-20170928/doc/ax_luarocks_rock.texi --- autoconf-archive-20150925/doc/ax_luarocks_rock.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_luarocks_rock.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,40 @@ +@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. diff -Nru autoconf-archive-20150925/doc/ax_lua.texi autoconf-archive-20170928/doc/ax_lua.texi --- autoconf-archive-20150925/doc/ax_lua.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_lua.texi 2017-09-27 22:00:00.000000000 +0000 @@ -180,7 +180,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_maintainer_mode_auto_silent.texi autoconf-archive-20170928/doc/ax_maintainer_mode_auto_silent.texi --- autoconf-archive-20150925/doc/ax_maintainer_mode_auto_silent.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_maintainer_mode_auto_silent.texi 2017-09-27 22:00:00.000000000 +0000 @@ -43,7 +43,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_missing_prog.texi autoconf-archive-20170928/doc/ax_missing_prog.texi --- autoconf-archive-20150925/doc/ax_missing_prog.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_missing_prog.texi 2017-09-27 22:00:00.000000000 +0000 @@ -46,7 +46,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_mpip.texi autoconf-archive-20170928/doc/ax_mpip.texi --- autoconf-archive-20150925/doc/ax_mpip.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_mpip.texi 2017-09-27 22:00:00.000000000 +0000 @@ -43,7 +43,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_mpi.texi autoconf-archive-20170928/doc/ax_mpi.texi --- autoconf-archive-20150925/doc/ax_mpi.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_mpi.texi 2017-09-27 22:00:00.000000000 +0000 @@ -56,7 +56,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_normalize_path.texi autoconf-archive-20170928/doc/ax_normalize_path.texi --- autoconf-archive-20150925/doc/ax_normalize_path.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_normalize_path.texi 2017-09-27 22:00:00.000000000 +0000 @@ -99,7 +99,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_not_enable_frame_pointer.texi autoconf-archive-20170928/doc/ax_not_enable_frame_pointer.texi --- autoconf-archive-20150925/doc/ax_not_enable_frame_pointer.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_not_enable_frame_pointer.texi 2017-09-27 22:00:00.000000000 +0000 @@ -37,7 +37,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_numeric_namedlevel.texi autoconf-archive-20170928/doc/ax_numeric_namedlevel.texi --- autoconf-archive-20150925/doc/ax_numeric_namedlevel.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_numeric_namedlevel.texi 2017-09-27 22:00:00.000000000 +0000 @@ -42,8 +42,8 @@ 1| some |some|plus @end smallexample -note that a level can be construcct of (some|plus) = bit-0, (many|much) -= bit-1, (more) = bit-2, (ultra|experimental) = bit-3 atleast in a +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: @@ -77,7 +77,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_open62541_check_h.texi autoconf-archive-20170928/doc/ax_open62541_check_h.texi --- autoconf-archive-20150925/doc/ax_open62541_check_h.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_open62541_check_h.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,80 @@ +@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]: + +@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. diff -Nru autoconf-archive-20150925/doc/ax_open62541_check_lib.texi autoconf-archive-20170928/doc/ax_open62541_check_lib.texi --- autoconf-archive-20150925/doc/ax_open62541_check_lib.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_open62541_check_lib.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,51 @@ +@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]: + +@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. diff -Nru autoconf-archive-20150925/doc/ax_open62541_path.texi autoconf-archive-20170928/doc/ax_open62541_path.texi --- autoconf-archive-20150925/doc/ax_open62541_path.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_open62541_path.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,71 @@ +@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/deps + * -I/include + * -I/plugins + * -I/src_generated + * -I + * -L +@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: : 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 "/build". + +[1]: + +@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. diff -Nru autoconf-archive-20150925/doc/ax_openmp.texi autoconf-archive-20170928/doc/ax_openmp.texi --- autoconf-archive-20150925/doc/ax_openmp.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_openmp.texi 2017-09-27 22:00:00.000000000 +0000 @@ -48,7 +48,7 @@ @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{} 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 @@ -61,7 +61,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_patch_libtool_changing_cmds_ifs.texi autoconf-archive-20170928/doc/ax_patch_libtool_changing_cmds_ifs.texi --- autoconf-archive-20150925/doc/ax_patch_libtool_changing_cmds_ifs.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_patch_libtool_changing_cmds_ifs.texi 2017-09-27 22:00:00.000000000 +0000 @@ -66,7 +66,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_path_generic.texi autoconf-archive-20170928/doc/ax_path_generic.texi --- autoconf-archive-20150925/doc/ax_path_generic.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_path_generic.texi 2017-09-27 22:00:00.000000000 +0000 @@ -15,11 +15,11 @@ 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'. Prefereable use +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 representes the expression used in sed +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'. diff -Nru autoconf-archive-20150925/doc/ax_path_lib_pcre.texi autoconf-archive-20170928/doc/ax_path_lib_pcre.texi --- autoconf-archive-20150925/doc/ax_path_lib_pcre.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_path_lib_pcre.texi 2017-09-27 22:00:00.000000000 +0000 @@ -41,7 +41,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_perl_module_version.texi autoconf-archive-20170928/doc/ax_perl_module_version.texi --- autoconf-archive-20150925/doc/ax_perl_module_version.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_perl_module_version.texi 2017-09-27 22:00:00.000000000 +0000 @@ -9,9 +9,9 @@ @majorheading Description -Checks to see if the list of 'Module Version' are avaiable in the -system. If all the modules in the list are avaiable ACTION-IF-TRUE is -executed. Case one module is not avaiable ACTION-IF-FALSE is executed +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: diff -Nru autoconf-archive-20150925/doc/ax_pgsql_priv_root.texi autoconf-archive-20170928/doc/ax_pgsql_priv_root.texi --- autoconf-archive-20150925/doc/ax_pgsql_priv_root.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_pgsql_priv_root.texi 2017-09-27 22:00:00.000000000 +0000 @@ -84,7 +84,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_pkg_mico.texi autoconf-archive-20170928/doc/ax_pkg_mico.texi --- autoconf-archive-20150925/doc/ax_pkg_mico.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_pkg_mico.texi 2017-09-27 22:00:00.000000000 +0000 @@ -25,7 +25,7 @@ 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 spcefied on the command line of +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 diff -Nru autoconf-archive-20150925/doc/ax_pkg_swig.texi autoconf-archive-20170928/doc/ax_pkg_swig.texi --- autoconf-archive-20150925/doc/ax_pkg_swig.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_pkg_swig.texi 2017-09-27 22:00:00.000000000 +0000 @@ -55,7 +55,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prefix_config_h.texi autoconf-archive-20170928/doc/ax_prefix_config_h.texi --- autoconf-archive-20150925/doc/ax_prefix_config_h.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prefix_config_h.texi 2017-09-27 22:00:00.000000000 +0000 @@ -115,7 +115,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_apache.texi autoconf-archive-20170928/doc/ax_prog_apache.texi --- autoconf-archive-20150925/doc/ax_prog_apache.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_apache.texi 2017-09-27 22:00:00.000000000 +0000 @@ -32,7 +32,7 @@ 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 dynamicaly can use +The httpd.conf file listing modules to be loaded dynamically can use @@APACHE_MODULES@@ to grab them in the appropriate sub directory. For instance: @@ -67,7 +67,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_bison.texi autoconf-archive-20170928/doc/ax_prog_bison.texi --- autoconf-archive-20150925/doc/ax_prog_bison.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_bison.texi 2017-09-27 22:00:00.000000000 +0000 @@ -35,7 +35,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_cc_char_subscripts.texi autoconf-archive-20170928/doc/ax_prog_cc_char_subscripts.texi --- autoconf-archive-20150925/doc/ax_prog_cc_char_subscripts.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_cc_char_subscripts.texi 2017-09-27 22:00:00.000000000 +0000 @@ -41,7 +41,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_cc_mpi.texi autoconf-archive-20170928/doc/ax_prog_cc_mpi.texi --- autoconf-archive-20150925/doc/ax_prog_cc_mpi.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_cc_mpi.texi 2017-09-27 22:00:00.000000000 +0000 @@ -68,7 +68,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_cp_s.texi autoconf-archive-20170928/doc/ax_prog_cp_s.texi --- autoconf-archive-20150925/doc/ax_prog_cp_s.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_cp_s.texi 2017-09-27 22:00:00.000000000 +0000 @@ -50,7 +50,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_crontab.texi autoconf-archive-20170928/doc/ax_prog_crontab.texi --- autoconf-archive-20150925/doc/ax_prog_crontab.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_crontab.texi 2017-09-27 22:00:00.000000000 +0000 @@ -42,7 +42,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_cxx_mpi.texi autoconf-archive-20170928/doc/ax_prog_cxx_mpi.texi --- autoconf-archive-20150925/doc/ax_prog_cxx_mpi.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_cxx_mpi.texi 2017-09-27 22:00:00.000000000 +0000 @@ -70,7 +70,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_dotnetcore_version.texi autoconf-archive-20170928/doc/ax_prog_dotnetcore_version.texi --- autoconf-archive-20150925/doc/ax_prog_dotnetcore_version.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_dotnetcore_version.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,45 @@ +@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. diff -Nru autoconf-archive-20150925/doc/ax_prog_doxygen.texi autoconf-archive-20170928/doc/ax_prog_doxygen.texi --- autoconf-archive-20150925/doc/ax_prog_doxygen.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_doxygen.texi 2017-09-27 22:00:00.000000000 +0000 @@ -4,7 +4,7 @@ @majorheading Synopsis @smallexample -DX_INIT_DOXYGEN(PROJECT-NAME, DOXYFILE-PATH, [OUTPUT-DIR]) +DX_INIT_DOXYGEN(PROJECT-NAME, [DOXYFILE-PATH], [OUTPUT-DIR], ...) DX_DOXYGEN_FEATURE(ON|OFF) DX_DOT_FEATURE(ON|OFF) DX_HTML_FEATURE(ON|OFF) @@ -22,7 +22,7 @@ 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 seperate .chi file by the +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. @@ -46,14 +46,19 @@ 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 'Doxyfile', the same as Doxygen's default), and an optional -output directory name (the default is 'doxygen-doc'). +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 following is a template aminclude.am file for use with Automake. -Make targets and variables values are controlled by the various -DX_COND_* conditionals set by autoconf. +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: @@ -65,11 +70,7 @@ 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, and some MAN). -@end smallexample - -@smallexample - doxygen-man: Rename some doxygen generated man pages. + for the rest of it (PS, PDF). @end smallexample @smallexample @@ -99,272 +100,6 @@ Then add this variable to MOSTLYCLEANFILES. -@smallexample - ----- begin aminclude.am ------------------------------------- -@end smallexample - -@smallexample - ## --------------------------------- ## - ## Format-independent Doxygen rules. ## - ## --------------------------------- ## -@end smallexample - -@smallexample - if DX_COND_doc -@end smallexample - -@smallexample - ## ------------------------------- ## - ## Rules specific for HTML output. ## - ## ------------------------------- ## -@end smallexample - -@smallexample - if DX_COND_html -@end smallexample - -@smallexample - DX_CLEAN_HTML = @@DX_DOCDIR@@/html -@end smallexample - -@smallexample - endif DX_COND_html -@end smallexample - -@smallexample - ## ------------------------------ ## - ## Rules specific for CHM output. ## - ## ------------------------------ ## -@end smallexample - -@smallexample - if DX_COND_chm -@end smallexample - -@smallexample - DX_CLEAN_CHM = @@DX_DOCDIR@@/chm -@end smallexample - -@smallexample - if DX_COND_chi -@end smallexample - -@smallexample - DX_CLEAN_CHI = @@DX_DOCDIR@@/@@PACKAGE@@.chi -@end smallexample - -@smallexample - endif DX_COND_chi -@end smallexample - -@smallexample - endif DX_COND_chm -@end smallexample - -@smallexample - ## ------------------------------ ## - ## Rules specific for MAN output. ## - ## ------------------------------ ## -@end smallexample - -@smallexample - if DX_COND_man -@end smallexample - -@smallexample - DX_CLEAN_MAN = @@DX_DOCDIR@@/man -@end smallexample - -@smallexample - endif DX_COND_man -@end smallexample - -@smallexample - ## ------------------------------ ## - ## Rules specific for RTF output. ## - ## ------------------------------ ## -@end smallexample - -@smallexample - if DX_COND_rtf -@end smallexample - -@smallexample - DX_CLEAN_RTF = @@DX_DOCDIR@@/rtf -@end smallexample - -@smallexample - endif DX_COND_rtf -@end smallexample - -@smallexample - ## ------------------------------ ## - ## Rules specific for XML output. ## - ## ------------------------------ ## -@end smallexample - -@smallexample - if DX_COND_xml -@end smallexample - -@smallexample - DX_CLEAN_XML = @@DX_DOCDIR@@/xml -@end smallexample - -@smallexample - endif DX_COND_xml -@end smallexample - -@smallexample - ## ----------------------------- ## - ## Rules specific for PS output. ## - ## ----------------------------- ## -@end smallexample - -@smallexample - if DX_COND_ps -@end smallexample - -@smallexample - DX_CLEAN_PS = @@DX_DOCDIR@@/@@PACKAGE@@.ps -@end smallexample - -@smallexample - DX_PS_GOAL = doxygen-ps -@end smallexample - -@smallexample - doxygen-ps: @@DX_DOCDIR@@/@@PACKAGE@@.ps -@end smallexample - -@smallexample - @@DX_DOCDIR@@/@@PACKAGE@@.ps: @@DX_DOCDIR@@/@@PACKAGE@@.tag - cd @@DX_DOCDIR@@/latex; \ - rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \ - $(DX_LATEX) refman.tex; \ - $(MAKEINDEX_PATH) refman.idx; \ - $(DX_LATEX) refman.tex; \ - countdown=5; \ - while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \ - refman.log > /dev/null 2>&1 \ - && test $$countdown -gt 0; do \ - $(DX_LATEX) refman.tex; \ - countdown=`expr $$countdown - 1`; \ - done; \ - $(DX_DVIPS) -o ../@@PACKAGE@@.ps refman.dvi -@end smallexample - -@smallexample - endif DX_COND_ps -@end smallexample - -@smallexample - ## ------------------------------ ## - ## Rules specific for PDF output. ## - ## ------------------------------ ## -@end smallexample - -@smallexample - if DX_COND_pdf -@end smallexample - -@smallexample - DX_CLEAN_PDF = @@DX_DOCDIR@@/@@PACKAGE@@.pdf -@end smallexample - -@smallexample - DX_PDF_GOAL = doxygen-pdf -@end smallexample - -@smallexample - doxygen-pdf: @@DX_DOCDIR@@/@@PACKAGE@@.pdf -@end smallexample - -@smallexample - @@DX_DOCDIR@@/@@PACKAGE@@.pdf: @@DX_DOCDIR@@/@@PACKAGE@@.tag - cd @@DX_DOCDIR@@/latex; \ - rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \ - $(DX_PDFLATEX) refman.tex; \ - $(DX_MAKEINDEX) refman.idx; \ - $(DX_PDFLATEX) refman.tex; \ - countdown=5; \ - while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \ - refman.log > /dev/null 2>&1 \ - && test $$countdown -gt 0; do \ - $(DX_PDFLATEX) refman.tex; \ - countdown=`expr $$countdown - 1`; \ - done; \ - mv refman.pdf ../@@PACKAGE@@.pdf -@end smallexample - -@smallexample - endif DX_COND_pdf -@end smallexample - -@smallexample - ## ------------------------------------------------- ## - ## Rules specific for LaTeX (shared for PS and PDF). ## - ## ------------------------------------------------- ## -@end smallexample - -@smallexample - if DX_COND_latex -@end smallexample - -@smallexample - DX_CLEAN_LATEX = @@DX_DOCDIR@@/latex -@end smallexample - -@smallexample - endif DX_COND_latex -@end smallexample - -@smallexample - .PHONY: doxygen-run doxygen-doc $(DX_PS_GOAL) $(DX_PDF_GOAL) -@end smallexample - -@smallexample - .INTERMEDIATE: doxygen-run $(DX_PS_GOAL) $(DX_PDF_GOAL) -@end smallexample - -@smallexample - doxygen-run: @@DX_DOCDIR@@/@@PACKAGE@@.tag -@end smallexample - -@smallexample - doxygen-doc: doxygen-run $(DX_PS_GOAL) $(DX_PDF_GOAL) -@end smallexample - -@smallexample - @@DX_DOCDIR@@/@@PACKAGE@@.tag: $(DX_CONFIG) $(pkginclude_HEADERS) - rm -rf @@DX_DOCDIR@@ - $(DX_ENV) $(DX_DOXYGEN) $(srcdir)/$(DX_CONFIG) - echo Timestamp >$@@ -@end smallexample - -@smallexample - DX_CLEANFILES = \ - @@DX_DOCDIR@@/@@PACKAGE@@.tag \ - -r \ - $(DX_CLEAN_HTML) \ - $(DX_CLEAN_CHM) \ - $(DX_CLEAN_CHI) \ - $(DX_CLEAN_MAN) \ - $(DX_CLEAN_RTF) \ - $(DX_CLEAN_XML) \ - $(DX_CLEAN_PS) \ - $(DX_CLEAN_PDF) \ - $(DX_CLEAN_LATEX) -@end smallexample - -@smallexample - endif DX_COND_doc -@end smallexample - -@smallexample - ----- end aminclude.am --------------------------------------- -@end smallexample - @majorheading Source Code Download the @@ -375,7 +110,7 @@ @majorheading License -@w{Copyright @copyright{} 2009 Oren Ben-Kiki @email{oren@@ben-kiki.org}} +@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 diff -Nru autoconf-archive-20150925/doc/ax_prog_emacs.texi autoconf-archive-20170928/doc/ax_prog_emacs.texi --- autoconf-archive-20150925/doc/ax_prog_emacs.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_emacs.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,66 @@ +@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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. diff -Nru autoconf-archive-20150925/doc/ax_prog_f77_mpi.texi autoconf-archive-20170928/doc/ax_prog_f77_mpi.texi --- autoconf-archive-20150925/doc/ax_prog_f77_mpi.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_f77_mpi.texi 2017-09-27 22:00:00.000000000 +0000 @@ -70,7 +70,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_fasm_opt.texi autoconf-archive-20170928/doc/ax_prog_fasm_opt.texi --- autoconf-archive-20150925/doc/ax_prog_fasm_opt.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_fasm_opt.texi 2017-09-27 22:00:00.000000000 +0000 @@ -42,7 +42,7 @@ 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 . +along with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_fasm.texi autoconf-archive-20170928/doc/ax_prog_fasm.texi --- autoconf-archive-20150925/doc/ax_prog_fasm.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_fasm.texi 2017-09-27 22:00:00.000000000 +0000 @@ -44,7 +44,7 @@ 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 . +along with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_fc_mpi.texi autoconf-archive-20170928/doc/ax_prog_fc_mpi.texi --- autoconf-archive-20150925/doc/ax_prog_fc_mpi.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_fc_mpi.texi 2017-09-27 22:00:00.000000000 +0000 @@ -70,7 +70,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_flex.texi autoconf-archive-20170928/doc/ax_prog_flex.texi --- autoconf-archive-20150925/doc/ax_prog_flex.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_flex.texi 2017-09-27 22:00:00.000000000 +0000 @@ -35,7 +35,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_gjs.texi autoconf-archive-20170928/doc/ax_prog_gjs.texi --- autoconf-archive-20150925/doc/ax_prog_gjs.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_gjs.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,33 @@ +@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. diff -Nru autoconf-archive-20150925/doc/ax_prog_help2man.texi autoconf-archive-20170928/doc/ax_prog_help2man.texi --- autoconf-archive-20150925/doc/ax_prog_help2man.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_help2man.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,173 @@ +@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. : 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. : directory prefix of the man pages directory + +Sets AX_HELP2MAN_PREFIX_MANS to . 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. : + +Sets AX_HELP2MAN_PREFIX_BIN to . 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 . diff -Nru autoconf-archive-20150925/doc/ax_prog_hla_opt.texi autoconf-archive-20170928/doc/ax_prog_hla_opt.texi --- autoconf-archive-20150925/doc/ax_prog_hla_opt.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_hla_opt.texi 2017-09-27 22:00:00.000000000 +0000 @@ -42,7 +42,7 @@ 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 . +along with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_hla.texi autoconf-archive-20170928/doc/ax_prog_hla.texi --- autoconf-archive-20150925/doc/ax_prog_hla.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_hla.texi 2017-09-27 22:00:00.000000000 +0000 @@ -44,7 +44,7 @@ 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 . +along with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_httpd.texi autoconf-archive-20170928/doc/ax_prog_httpd.texi --- autoconf-archive-20150925/doc/ax_prog_httpd.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_httpd.texi 2017-09-27 22:00:00.000000000 +0000 @@ -51,7 +51,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_java_cc.texi autoconf-archive-20170928/doc/ax_prog_java_cc.texi --- autoconf-archive-20150925/doc/ax_prog_java_cc.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_java_cc.texi 2017-09-27 22:00:00.000000000 +0000 @@ -75,7 +75,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_javac.texi autoconf-archive-20170928/doc/ax_prog_javac.texi --- autoconf-archive-20150925/doc/ax_prog_javac.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_javac.texi 2017-09-27 22:00:00.000000000 +0000 @@ -58,7 +58,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_javac_works.texi autoconf-archive-20170928/doc/ax_prog_javac_works.texi --- autoconf-archive-20150925/doc/ax_prog_javac_works.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_javac_works.texi 2017-09-27 22:00:00.000000000 +0000 @@ -41,7 +41,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_java.texi autoconf-archive-20170928/doc/ax_prog_java.texi --- autoconf-archive-20150925/doc/ax_prog_java.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_java.texi 2017-09-27 22:00:00.000000000 +0000 @@ -104,7 +104,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_java_works.texi autoconf-archive-20170928/doc/ax_prog_java_works.texi --- autoconf-archive-20150925/doc/ax_prog_java_works.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_java_works.texi 2017-09-27 22:00:00.000000000 +0000 @@ -41,7 +41,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_masm_opt.texi autoconf-archive-20170928/doc/ax_prog_masm_opt.texi --- autoconf-archive-20150925/doc/ax_prog_masm_opt.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_masm_opt.texi 2017-09-27 22:00:00.000000000 +0000 @@ -42,7 +42,7 @@ 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 . +along with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_masm.texi autoconf-archive-20170928/doc/ax_prog_masm.texi --- autoconf-archive-20150925/doc/ax_prog_masm.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_masm.texi 2017-09-27 22:00:00.000000000 +0000 @@ -44,7 +44,7 @@ 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 . +along with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_mysqladmin.texi autoconf-archive-20170928/doc/ax_prog_mysqladmin.texi --- autoconf-archive-20150925/doc/ax_prog_mysqladmin.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_mysqladmin.texi 2017-09-27 22:00:00.000000000 +0000 @@ -46,7 +46,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_mysqld.texi autoconf-archive-20170928/doc/ax_prog_mysqld.texi --- autoconf-archive-20150925/doc/ax_prog_mysqld.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_mysqld.texi 2017-09-27 22:00:00.000000000 +0000 @@ -42,7 +42,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_mysqlimport.texi autoconf-archive-20170928/doc/ax_prog_mysqlimport.texi --- autoconf-archive-20150925/doc/ax_prog_mysqlimport.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_mysqlimport.texi 2017-09-27 22:00:00.000000000 +0000 @@ -42,7 +42,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_mysqlshow.texi autoconf-archive-20170928/doc/ax_prog_mysqlshow.texi --- autoconf-archive-20150925/doc/ax_prog_mysqlshow.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_mysqlshow.texi 2017-09-27 22:00:00.000000000 +0000 @@ -46,7 +46,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_mysql.texi autoconf-archive-20170928/doc/ax_prog_mysql.texi --- autoconf-archive-20150925/doc/ax_prog_mysql.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_mysql.texi 2017-09-27 22:00:00.000000000 +0000 @@ -47,7 +47,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_nasm_opt.texi autoconf-archive-20170928/doc/ax_prog_nasm_opt.texi --- autoconf-archive-20150925/doc/ax_prog_nasm_opt.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_nasm_opt.texi 2017-09-27 22:00:00.000000000 +0000 @@ -42,7 +42,7 @@ 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 . +along with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_nasm.texi autoconf-archive-20170928/doc/ax_prog_nasm.texi --- autoconf-archive-20150925/doc/ax_prog_nasm.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_nasm.texi 2017-09-27 22:00:00.000000000 +0000 @@ -44,7 +44,7 @@ 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 . +along with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_pgclient.texi autoconf-archive-20170928/doc/ax_prog_pgclient.texi --- autoconf-archive-20150925/doc/ax_prog_pgclient.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_pgclient.texi 2017-09-27 22:00:00.000000000 +0000 @@ -45,7 +45,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_scp.texi autoconf-archive-20170928/doc/ax_prog_scp.texi --- autoconf-archive-20150925/doc/ax_prog_scp.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_scp.texi 2017-09-27 22:00:00.000000000 +0000 @@ -42,7 +42,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_ssh.texi autoconf-archive-20170928/doc/ax_prog_ssh.texi --- autoconf-archive-20150925/doc/ax_prog_ssh.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_ssh.texi 2017-09-27 22:00:00.000000000 +0000 @@ -42,7 +42,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_tasm_opt.texi autoconf-archive-20170928/doc/ax_prog_tasm_opt.texi --- autoconf-archive-20150925/doc/ax_prog_tasm_opt.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_tasm_opt.texi 2017-09-27 22:00:00.000000000 +0000 @@ -42,7 +42,7 @@ 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 . +along with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_tasm.texi autoconf-archive-20170928/doc/ax_prog_tasm.texi --- autoconf-archive-20150925/doc/ax_prog_tasm.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_tasm.texi 2017-09-27 22:00:00.000000000 +0000 @@ -44,7 +44,7 @@ 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 . +along with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_tcl.texi autoconf-archive-20170928/doc/ax_prog_tcl.texi --- autoconf-archive-20150925/doc/ax_prog_tcl.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_tcl.texi 2017-09-27 22:00:00.000000000 +0000 @@ -52,7 +52,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_xsltproc.texi autoconf-archive-20170928/doc/ax_prog_xsltproc.texi --- autoconf-archive-20150925/doc/ax_prog_xsltproc.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_xsltproc.texi 2017-09-27 22:00:00.000000000 +0000 @@ -45,7 +45,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_yasm_opt.texi autoconf-archive-20170928/doc/ax_prog_yasm_opt.texi --- autoconf-archive-20150925/doc/ax_prog_yasm_opt.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_yasm_opt.texi 2017-09-27 22:00:00.000000000 +0000 @@ -42,7 +42,7 @@ 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 . +along with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prog_yasm.texi autoconf-archive-20170928/doc/ax_prog_yasm.texi --- autoconf-archive-20150925/doc/ax_prog_yasm.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prog_yasm.texi 2017-09-27 22:00:00.000000000 +0000 @@ -44,7 +44,7 @@ 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 . +along with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prototype_accept.texi autoconf-archive-20170928/doc/ax_prototype_accept.texi --- autoconf-archive-20150925/doc/ax_prototype_accept.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prototype_accept.texi 2017-09-27 22:00:00.000000000 +0000 @@ -47,7 +47,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prototype_getsockname.texi autoconf-archive-20170928/doc/ax_prototype_getsockname.texi --- autoconf-archive-20150925/doc/ax_prototype_getsockname.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prototype_getsockname.texi 2017-09-27 22:00:00.000000000 +0000 @@ -47,7 +47,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prototype_setsockopt.texi autoconf-archive-20170928/doc/ax_prototype_setsockopt.texi --- autoconf-archive-20150925/doc/ax_prototype_setsockopt.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prototype_setsockopt.texi 2017-09-27 22:00:00.000000000 +0000 @@ -42,7 +42,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_prototype.texi autoconf-archive-20170928/doc/ax_prototype.texi --- autoconf-archive-20150925/doc/ax_prototype.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_prototype.texi 2017-09-27 22:00:00.000000000 +0000 @@ -14,10 +14,10 @@ values found in , , ... respectively. , , ... contain a list of possible values for each corresponding tag and all combinations are tested. When AC_TRY_COMPILE(include, code) -is successfull for a given substitution, the macro stops and defines the +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 , , ... If no -combination is successfull the configure script is aborted with a +combination is successful the configure script is aborted with a message. Intended purpose is to find which combination of argument types is @@ -122,7 +122,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_pthread.texi autoconf-archive-20170928/doc/ax_pthread.texi --- autoconf-archive-20150925/doc/ax_pthread.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_pthread.texi 2017-09-27 22:00:00.000000000 +0000 @@ -20,10 +20,10 @@ is necessary on AIX to use the special cc_r compiler alias.) NOTE: You are assumed to not only compile your program with these flags, -but also link it with them as well. e.g. you should link with +but also to link with them as well. For example, you might link with $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS -If you are only building threads programs, you may wish to use these +If you are only building threaded programs, you may wish to use these variables in your default LIBS, CFLAGS, and CC: @smallexample @@ -33,8 +33,8 @@ @end smallexample In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant -has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name -(e.g. PTHREAD_CREATE_UNDETACHED on AIX). +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 @@ -77,7 +77,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_python_devel.texi autoconf-archive-20170928/doc/ax_python_devel.texi --- autoconf-archive-20150925/doc/ax_python_devel.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_python_devel.texi 2017-09-27 22:00:00.000000000 +0000 @@ -55,7 +55,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_python.texi autoconf-archive-20170928/doc/ax_python.texi --- autoconf-archive-20150925/doc/ax_python.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_python.texi 2017-09-27 22:00:00.000000000 +0000 @@ -45,7 +45,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_recursive_eval.texi autoconf-archive-20170928/doc/ax_recursive_eval.texi --- autoconf-archive-20150925/doc/ax_recursive_eval.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_recursive_eval.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,52 @@ +@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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. diff -Nru autoconf-archive-20150925/doc/ax_restore_flags_with_prefix.texi autoconf-archive-20170928/doc/ax_restore_flags_with_prefix.texi --- autoconf-archive-20150925/doc/ax_restore_flags_with_prefix.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_restore_flags_with_prefix.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,73 @@ +@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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. diff -Nru autoconf-archive-20150925/doc/ax_ruby_devel.texi autoconf-archive-20170928/doc/ax_ruby_devel.texi --- autoconf-archive-20150925/doc/ax_ruby_devel.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_ruby_devel.texi 2017-09-27 22:00:00.000000000 +0000 @@ -15,7 +15,7 @@ code. You can search for some particular version of Ruby by passing a -parameter to this macro, for example "1.8.6". +parameter to this macro, for example "2.2.1". @majorheading Source Code @@ -40,7 +40,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_save_flags_with_prefix.texi autoconf-archive-20170928/doc/ax_save_flags_with_prefix.texi --- autoconf-archive-20150925/doc/ax_save_flags_with_prefix.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_save_flags_with_prefix.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,78 @@ +@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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. diff -Nru autoconf-archive-20150925/doc/ax_set_default_paths_system.texi autoconf-archive-20170928/doc/ax_set_default_paths_system.texi --- autoconf-archive-20150925/doc/ax_set_default_paths_system.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_set_default_paths_system.texi 2017-09-27 22:00:00.000000000 +0000 @@ -40,7 +40,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_spec_file.texi autoconf-archive-20170928/doc/ax_spec_file.texi --- autoconf-archive-20150925/doc/ax_spec_file.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_spec_file.texi 2017-09-27 22:00:00.000000000 +0000 @@ -42,7 +42,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_spec_package_version.texi autoconf-archive-20170928/doc/ax_spec_package_version.texi --- autoconf-archive-20150925/doc/ax_spec_package_version.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_spec_package_version.texi 2017-09-27 22:00:00.000000000 +0000 @@ -34,7 +34,7 @@ the value is set to `date +0.%y.%W%w`. the version value itself is sanitized somewhat with making it to always -carry atleast three digits (1.2.3) and clensing superflous "0" chars +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 @@ -76,7 +76,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_subdir_files.texi autoconf-archive-20170928/doc/ax_subdir_files.texi --- autoconf-archive-20150925/doc/ax_subdir_files.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_subdir_files.texi 2017-09-27 22:00:00.000000000 +0000 @@ -39,7 +39,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_subdirs_configure.texi autoconf-archive-20170928/doc/ax_subdirs_configure.texi --- autoconf-archive-20150925/doc/ax_subdirs_configure.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_subdirs_configure.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,165 @@ +@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 '--cache-file' and '--srcdir' and adds +'--disable-option-checking' and '--silent' if necessary. + +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 + $ --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 . diff -Nru autoconf-archive-20150925/doc/ax_subst_with.texi autoconf-archive-20170928/doc/ax_subst_with.texi --- autoconf-archive-20150925/doc/ax_subst_with.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_subst_with.texi 2017-09-27 22:00:00.000000000 +0000 @@ -51,7 +51,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_swig_enable_cxx.texi autoconf-archive-20170928/doc/ax_swig_enable_cxx.texi --- autoconf-archive-20150925/doc/ax_swig_enable_cxx.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_swig_enable_cxx.texi 2017-09-27 22:00:00.000000000 +0000 @@ -34,7 +34,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_swig_multi_module_support.texi autoconf-archive-20170928/doc/ax_swig_multi_module_support.texi --- autoconf-archive-20150925/doc/ax_swig_multi_module_support.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_swig_multi_module_support.texi 2017-09-27 22:00:00.000000000 +0000 @@ -38,7 +38,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_swig_python.texi autoconf-archive-20170928/doc/ax_swig_python.texi --- autoconf-archive-20150925/doc/ax_swig_python.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_swig_python.texi 2017-09-27 22:00:00.000000000 +0000 @@ -43,7 +43,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_sys_largefile_sensitive.texi autoconf-archive-20170928/doc/ax_sys_largefile_sensitive.texi --- autoconf-archive-20150925/doc/ax_sys_largefile_sensitive.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_sys_largefile_sensitive.texi 2017-09-27 22:00:00.000000000 +0000 @@ -15,8 +15,8 @@ is. This macro builds on top of AC_SYS_LARGEFILE to detect whether special -options are neede to make the code use 64bit off_t - in many setups this -will also make the code use 64bit off_t immediatly. +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. @@ -59,7 +59,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_tls.texi autoconf-archive-20170928/doc/ax_tls.texi --- autoconf-archive-20150925/doc/ax_tls.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_tls.texi 2017-09-27 22:00:00.000000000 +0000 @@ -10,9 +10,9 @@ @majorheading Description Provides a test for the compiler support of thread local storage (TLS) -extensions. Defines TLS if it is found. Currently knows about GCC/ICC -and MSVC. I think SunPro uses the same as GCC, and Borland apparently -supports either. +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 @@ -37,7 +37,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_type_socklen_t.texi autoconf-archive-20170928/doc/ax_type_socklen_t.texi --- autoconf-archive-20150925/doc/ax_type_socklen_t.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_type_socklen_t.texi 2017-09-27 22:00:00.000000000 +0000 @@ -36,7 +36,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_upload.texi autoconf-archive-20170928/doc/ax_upload.texi --- autoconf-archive-20150925/doc/ax_upload.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_upload.texi 2017-09-27 22:00:00.000000000 +0000 @@ -32,7 +32,7 @@ make upload-src @end smallexample -all the binaru distribution files by running: +all the binary distribution files by running: @smallexample make upload-bin diff -Nru autoconf-archive-20150925/doc/ax_valgrind_check.texi autoconf-archive-20170928/doc/ax_valgrind_check.texi --- autoconf-archive-20150925/doc/ax_valgrind_check.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_valgrind_check.texi 2017-09-27 22:00:00.000000000 +0000 @@ -4,20 +4,25 @@ @majorheading Synopsis @smallexample +AX_VALGRIND_DFLT(memcheck|helgrind|drd|sgcheck, on|off) AX_VALGRIND_CHECK() @end smallexample @majorheading Description -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. +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. +enabled if Valgrind is installed and disabled otherwise. Individual +Valgrind tools can be disabled via --disable-valgrind-, 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 @@ -32,10 +37,11 @@ configure.ac: @smallexample + AX_VALGRIND_DFLT([sgcheck], [off]) AX_VALGRIND_CHECK @end smallexample -Makefile.am: +in each Makefile.am with tests: @smallexample @@VALGRIND_CHECK_RULES@@ @@ -43,13 +49,17 @@ EXTRA_DIST = my-project.supp @end smallexample -This results in a "check-valgrind" rule being added to any Makefile.am -which includes "@@VALGRIND_CHECK_RULES@@" (assuming the module has been -configured with --enable-valgrind). Running `make check-valgrind` in -that directory will run the module's test suite (`make check`) once for -each of the available Valgrind tools (out of memcheck, helgrind, drd and -sgcheck), and will output results to test-suite-$toolname.log for each. -The target will succeed if there are zero errors and fail otherwise. +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. @@ -63,7 +73,7 @@ @majorheading License -@w{Copyright @copyright{} 2014, 2015 Philip Withnall @email{philip.withnall@@collabora.co.uk}} +@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 diff -Nru autoconf-archive-20150925/doc/ax_var_pop.texi autoconf-archive-20170928/doc/ax_var_pop.texi --- autoconf-archive-20150925/doc/ax_var_pop.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_var_pop.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,65 @@ +@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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. diff -Nru autoconf-archive-20150925/doc/ax_var_push.texi autoconf-archive-20170928/doc/ax_var_push.texi --- autoconf-archive-20150925/doc/ax_var_push.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_var_push.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,66 @@ +@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 . + +As a special exception, the respective Autoconf Macro's copyright owner +gives unlimited permission to copy, distribute and modify the configure +scripts that are the output of Autoconf when processing the Macro. You +need not follow the terms of the GNU General Public License when using +or distributing such scripts, even though portions of the text of the +Macro appear in them. The GNU General Public License (GPL) does govern +all other use of the material that constitutes the Autoconf Macro. + +This special exception to the GPL applies to versions of the Autoconf +Macro released by the Autoconf Archive. When you make and distribute a +modified version of the Autoconf Macro, you may extend this special +exception to the GPL to apply to your modified version as well. diff -Nru autoconf-archive-20150925/doc/ax_var_timezone_externals.texi autoconf-archive-20170928/doc/ax_var_timezone_externals.texi --- autoconf-archive-20150925/doc/ax_var_timezone_externals.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_var_timezone_externals.texi 2017-09-27 22:00:00.000000000 +0000 @@ -40,7 +40,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_very_nice.texi autoconf-archive-20170928/doc/ax_very_nice.texi --- autoconf-archive-20150925/doc/ax_very_nice.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_very_nice.texi 2017-09-27 22:00:00.000000000 +0000 @@ -47,7 +47,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_warning_default_aclocaldir.texi autoconf-archive-20170928/doc/ax_warning_default_aclocaldir.texi --- autoconf-archive-20150925/doc/ax_warning_default_aclocaldir.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_warning_default_aclocaldir.texi 2017-09-27 22:00:00.000000000 +0000 @@ -59,7 +59,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_warning_default_pkgconfig.texi autoconf-archive-20170928/doc/ax_warning_default_pkgconfig.texi --- autoconf-archive-20150925/doc/ax_warning_default_pkgconfig.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_warning_default_pkgconfig.texi 2017-09-27 22:00:00.000000000 +0000 @@ -59,7 +59,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_with_curses_extra.texi autoconf-archive-20170928/doc/ax_with_curses_extra.texi --- autoconf-archive-20150925/doc/ax_with_curses_extra.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_with_curses_extra.texi 2017-09-27 22:00:00.000000000 +0000 @@ -55,21 +55,25 @@ precious and may be overridden on the ./configure command line: @smallexample - PANEL_LIB - library to add to xxx_LDADD before CURSES_LIB - MENU_LIB - library to add to xxx_LDADD before CURSES_LIB - FORM_LIB - library to add to xxx_LDADD before CURSES_LIB + 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 -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_LIB incantation. For example: +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_LIB@@ @@CURSES_LIB@@ + prog_LDADD = @@PANEL_LIBS@@ @@CURSES_LIBS@@ @end smallexample -If one of the xxx_LIB variables is set on the configure command line -(such as by running "./configure PANEL_LIB=-lmypanel"), then the header +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 would be searched for. The user may use the CPPFLAGS precious variable to override the standard #include search path. @@ -170,7 +174,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_with_curses.texi autoconf-archive-20170928/doc/ax_with_curses.texi --- autoconf-archive-20150925/doc/ax_with_curses.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_with_curses.texi 2017-09-27 22:00:00.000000000 +0000 @@ -13,7 +13,9 @@ 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. +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 @@ -59,27 +61,33 @@ (These preprocessor symbols are discussed later in this document.) -The following output variable is defined by this macro; it is precious -and may be overridden on the ./configure command line: +The following output variables are defined by this macro; they are +precious and may be overridden on the ./configure command line: @smallexample - CURSES_LIB - library to add to xxx_LDADD + CURSES_LIBS - library to add to xxx_LDADD + CURSES_CFLAGS - include paths to add to xxx_CPPFLAGS @end smallexample -The library listed in CURSES_LIB is NOT added to LIBS by default. You -need to add CURSES_LIB to the appropriate xxx_LDADD line in your -Makefile.am. For example: +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_LIB@@ + prog_LDADD = @@CURSES_LIBS@@ + prog_CPPFLAGS = @@CURSES_CFLAGS@@ @end smallexample -If CURSES_LIB is set on the configure command line (such as by running -"./configure CURSES_LIB=-lmycurses"), then the only header searched for -is . The user may use the CPPFLAGS precious variable to -override the standard #include search path. 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. +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 . 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: @@ -193,7 +201,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_xercesc.texi autoconf-archive-20170928/doc/ax_xercesc.texi --- autoconf-archive-20150925/doc/ax_xercesc.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_xercesc.texi 2017-09-27 22:00:00.000000000 +0000 @@ -35,7 +35,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_xtra_classpath.texi autoconf-archive-20170928/doc/ax_xtra_classpath.texi --- autoconf-archive-20150925/doc/ax_xtra_classpath.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_xtra_classpath.texi 2017-09-27 22:00:00.000000000 +0000 @@ -36,7 +36,7 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with this program. If not, see . +with this program. If not, see . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure diff -Nru autoconf-archive-20150925/doc/ax_zmq.texi autoconf-archive-20170928/doc/ax_zmq.texi --- autoconf-archive-20150925/doc/ax_zmq.texi 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/ax_zmq.texi 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,45 @@ +@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. diff -Nru autoconf-archive-20150925/doc/contribute.texi autoconf-archive-20170928/doc/contribute.texi --- autoconf-archive-20150925/doc/contribute.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/contribute.texi 2017-09-27 22:00:00.000000000 +0000 @@ -3,6 +3,9 @@ Each macro in the Archive has an all-upper-case name with the prefix @code{AX_}. The macro is stored in a file with the same name, in lower case, and with the suffix @code{.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. @@ -71,10 +74,10 @@ @end itemize Macros can be submitted under any -@uref{http://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses,GPL-compatible +@uref{https://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses,GPL-compatible free software license}. The Free Software Foundation, however, recommends use of the -@uref{http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html,all-permissive +@uref{https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html,all-permissive license} for Autoconf macros. @section Writing Highly Usable Macros diff -Nru autoconf-archive-20150925/doc/introduction.texi autoconf-archive-20170928/doc/introduction.texi --- autoconf-archive-20150925/doc/introduction.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/introduction.texi 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ The GNU Autoconf Archive is a collection of more than 500 macros for -@uref{http://www.gnu.org/software/autoconf,GNU Autoconf} that have been +@uref{https://www.gnu.org/software/autoconf,GNU 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 @file{configure} @@ -15,7 +15,7 @@ software. This official web site of this project is located at -@uref{http://www.gnu.org/software/autoconf-archive/}. All available information +@uref{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 diff -Nru autoconf-archive-20150925/doc/Makefile.am autoconf-archive-20170928/doc/Makefile.am --- autoconf-archive-20150925/doc/Makefile.am 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/Makefile.am 2017-09-27 22:00:00.000000000 +0000 @@ -12,7 +12,7 @@ # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with -# this program. If not, see . +# this program. If not, see . CHAPTERS = introduction.texi downloads.texi contribute.texi fdl-1.3.texi info_TEXINFOS = autoconf-archive.texi diff -Nru autoconf-archive-20150925/doc/Makefile.in autoconf-archive-20170928/doc/Makefile.in --- autoconf-archive-20150925/doc/Makefile.in 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/Makefile.in 2017-09-27 22:00:00.000000000 +0000 @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.14.1 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2013 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -28,9 +28,19 @@ # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with -# this program. If not, see . +# this program. If not, see . VPATH = @srcdir@ -am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +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 \ ?) ;; \ @@ -92,13 +102,12 @@ PRE_UNINSTALL = : POST_UNINSTALL = : subdir = doc -DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ - $(top_srcdir)/build-aux/mdate-sh $(srcdir)/version.texi \ - $(srcdir)/stamp-vti $(top_srcdir)/build-aux/texinfo.tex 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 = @@ -191,6 +200,9 @@ $(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@ @@ -287,7 +299,6 @@ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu doc/Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -360,15 +371,16 @@ 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) - -@rm -f vti.tmp + 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 + -rm -f vti.tmp* $(srcdir)/version.texi.tmp* maintainer-clean-vti: -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi @@ -722,6 +734,8 @@ 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) diff -Nru autoconf-archive-20150925/doc/stamp-vti autoconf-archive-20170928/doc/stamp-vti --- autoconf-archive-20150925/doc/stamp-vti 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/stamp-vti 2017-09-27 22:00:00.000000000 +0000 @@ -1,4 +1,4 @@ -@set UPDATED 4 February 2015 -@set UPDATED-MONTH February 2015 -@set EDITION 2015.09.25 -@set VERSION 2015.09.25 +@set UPDATED 20 March 2016 +@set UPDATED-MONTH March 2016 +@set EDITION 2017.09.28 +@set VERSION 2017.09.28 diff -Nru autoconf-archive-20150925/doc/version.texi autoconf-archive-20170928/doc/version.texi --- autoconf-archive-20150925/doc/version.texi 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/doc/version.texi 2017-09-27 22:00:00.000000000 +0000 @@ -1,4 +1,4 @@ -@set UPDATED 4 February 2015 -@set UPDATED-MONTH February 2015 -@set EDITION 2015.09.25 -@set VERSION 2015.09.25 +@set UPDATED 20 March 2016 +@set UPDATED-MONTH March 2016 +@set EDITION 2017.09.28 +@set VERSION 2017.09.28 diff -Nru autoconf-archive-20150925/m4/ax_absolute_header.m4 autoconf-archive-20170928/m4/ax_absolute_header.m4 --- autoconf-archive-20150925/m4/ax_absolute_header.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_absolute_header.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_absolute_header.html +# https://www.gnu.org/software/autoconf-archive/ax_absolute_header.html # =========================================================================== # # SYNOPSIS @@ -27,7 +27,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 dnl Copyright (C) 2006, 2007 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation diff -Nru autoconf-archive-20150925/m4/ax_ac_append_to_file.m4 autoconf-archive-20170928/m4/ax_ac_append_to_file.m4 --- autoconf-archive-20150925/m4/ax_ac_append_to_file.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_ac_append_to_file.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_ac_append_to_file.html +# https://www.gnu.org/software/autoconf-archive/ax_ac_append_to_file.html # =========================================================================== # # SYNOPSIS @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_AC_APPEND_TO_FILE],[ AC_REQUIRE([AX_FILE_ESCAPES]) diff -Nru autoconf-archive-20150925/m4/ax_ac_print_to_file.m4 autoconf-archive-20170928/m4/ax_ac_print_to_file.m4 --- autoconf-archive-20150925/m4/ax_ac_print_to_file.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_ac_print_to_file.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_ac_print_to_file.html +# https://www.gnu.org/software/autoconf-archive/ax_ac_print_to_file.html # =========================================================================== # # SYNOPSIS @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_AC_PRINT_TO_FILE],[ m4_esyscmd( diff -Nru autoconf-archive-20150925/m4/ax_add_am_macro.m4 autoconf-archive-20170928/m4/ax_add_am_macro.m4 --- autoconf-archive-20150925/m4/ax_add_am_macro.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_add_am_macro.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_add_am_macro.html +# https://www.gnu.org/software/autoconf-archive/ax_add_am_macro.html # =========================================================================== # # SYNOPSIS @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 9 +#serial 10 AC_DEFUN([AX_ADD_AM_MACRO],[ AC_REQUIRE([AX_AM_MACROS]) diff -Nru autoconf-archive-20150925/m4/ax_add_am_macro_static.m4 autoconf-archive-20170928/m4/ax_add_am_macro_static.m4 --- autoconf-archive-20150925/m4/ax_add_am_macro_static.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_add_am_macro_static.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_add_am_macro_static.html +# https://www.gnu.org/software/autoconf-archive/ax_add_am_macro_static.html # =========================================================================== # # SYNOPSIS @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_ADD_AM_MACRO_STATIC],[ AC_REQUIRE([AX_AM_MACROS_STATIC]) diff -Nru autoconf-archive-20150925/m4/ax_add_am_trilinos_makefile_export.m4 autoconf-archive-20170928/m4/ax_add_am_trilinos_makefile_export.m4 --- autoconf-archive-20150925/m4/ax_add_am_trilinos_makefile_export.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_add_am_trilinos_makefile_export.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ====================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_add_am_trilinos_makefile_export.html -# ====================================================================================== +# ======================================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_add_am_trilinos_makefile_export.html +# ======================================================================================= # # SYNOPSIS # @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_ADD_AM_TRILINOS_MAKEFILE_EXPORT],[ AC_REQUIRE([AX_TRILINOS_BASE]) diff -Nru autoconf-archive-20150925/m4/ax_add_fortify_source.m4 autoconf-archive-20170928/m4/ax_add_fortify_source.m4 --- autoconf-archive-20150925/m4/ax_add_fortify_source.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_add_fortify_source.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,53 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_add_fortify_source.html +# =========================================================================== +# +# SYNOPSIS +# +# AX_ADD_FORTIFY_SOURCE +# +# DESCRIPTION +# +# Check whether -D_FORTIFY_SOURCE=2 can be added to CPPFLAGS without macro +# redefinition warnings. Some distributions (such as Gentoo Linux) enable +# _FORTIFY_SOURCE globally in their compilers, leading to unnecessary +# warnings in the form of +# +# :0:0: error: "_FORTIFY_SOURCE" redefined [-Werror] +# : 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. +# +# LICENSE +# +# Copyright (c) 2017 David Seifert +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +#serial 2 + +AC_DEFUN([AX_ADD_FORTIFY_SOURCE],[ + AC_MSG_CHECKING([whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS]) + AC_LINK_IFELSE([ + AC_LANG_SOURCE( + [[ + int main() { + #ifndef _FORTIFY_SOURCE + return 0; + #else + this_is_an_error; + #endif + } + ]] + )], [ + AC_MSG_RESULT([yes]) + CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2" + ], [ + AC_MSG_RESULT([no]) + ]) +]) diff -Nru autoconf-archive-20150925/m4/ax_add_recursive_am_macro.m4 autoconf-archive-20170928/m4/ax_add_recursive_am_macro.m4 --- autoconf-archive-20150925/m4/ax_add_recursive_am_macro.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_add_recursive_am_macro.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_add_recursive_am_macro.html -# ============================================================================= +# ============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_add_recursive_am_macro.html +# ============================================================================== # # SYNOPSIS # @@ -22,7 +22,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 9 +#serial 10 AC_DEFUN([AX_ADD_RECURSIVE_AM_MACRO],[ AX_ADD_AM_MACRO([ diff -Nru autoconf-archive-20150925/m4/ax_add_recursive_am_macro_static.m4 autoconf-archive-20170928/m4/ax_add_recursive_am_macro_static.m4 --- autoconf-archive-20150925/m4/ax_add_recursive_am_macro_static.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_add_recursive_am_macro_static.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ==================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_add_recursive_am_macro_static.html -# ==================================================================================== +# ===================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_add_recursive_am_macro_static.html +# ===================================================================================== # # SYNOPSIS # @@ -22,7 +22,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_ADD_RECURSIVE_AM_MACRO_STATIC],[ AX_ADD_AM_MACRO_STATIC([ diff -Nru autoconf-archive-20150925/m4/ax_afs.m4 autoconf-archive-20170928/m4/ax_afs.m4 --- autoconf-archive-20150925/m4/ax_afs.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_afs.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_afs.html +# https://www.gnu.org/software/autoconf-archive/ax_afs.html # =========================================================================== # # SYNOPSIS @@ -34,7 +34,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([SG_AFS], [AX_AFS]) AC_DEFUN([AX_AFS], diff -Nru autoconf-archive-20150925/m4/ax_am_jobserver.m4 autoconf-archive-20170928/m4/ax_am_jobserver.m4 --- autoconf-archive-20150925/m4/ax_am_jobserver.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_am_jobserver.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_am_jobserver.html +# https://www.gnu.org/software/autoconf-archive/ax_am_jobserver.html # =========================================================================== # # SYNOPSIS @@ -33,7 +33,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_AM_JOBSERVER], [ AC_REQUIRE([AX_COUNT_CPUS]) diff -Nru autoconf-archive-20150925/m4/ax_am_macros.m4 autoconf-archive-20170928/m4/ax_am_macros.m4 --- autoconf-archive-20150925/m4/ax_am_macros.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_am_macros.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_am_macros.html +# https://www.gnu.org/software/autoconf-archive/ax_am_macros.html # =========================================================================== # # SYNOPSIS @@ -24,7 +24,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 9 +#serial 10 AC_DEFUN([AX_AM_MACROS], [ diff -Nru autoconf-archive-20150925/m4/ax_am_macros_static.m4 autoconf-archive-20170928/m4/ax_am_macros_static.m4 --- autoconf-archive-20150925/m4/ax_am_macros_static.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_am_macros_static.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_am_macros_static.html +# https://www.gnu.org/software/autoconf-archive/ax_am_macros_static.html # =========================================================================== # # SYNOPSIS @@ -25,7 +25,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 9 +#serial 10 AC_DEFUN([AMINCLUDE_STATIC],[aminclude_static.am]) diff -Nru autoconf-archive-20150925/m4/ax_am_override_var.m4 autoconf-archive-20170928/m4/ax_am_override_var.m4 --- autoconf-archive-20150925/m4/ax_am_override_var.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_am_override_var.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_am_override_var.html +# https://www.gnu.org/software/autoconf-archive/ax_am_override_var.html # =========================================================================== # # SYNOPSIS @@ -105,7 +105,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_DEFUN([_AX_AM_OVERRIDE_INITIALIZE], [ diff -Nru autoconf-archive-20150925/m4/ax_append_compile_flags.m4 autoconf-archive-20170928/m4/ax_append_compile_flags.m4 --- autoconf-archive-20150925/m4/ax_append_compile_flags.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_append_compile_flags.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,10 +1,10 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_append_compile_flags.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_append_compile_flags.html +# ============================================================================ # # SYNOPSIS # -# AX_APPEND_COMPILE_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS]) +# AX_APPEND_COMPILE_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT]) # # DESCRIPTION # @@ -20,6 +20,8 @@ # 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. @@ -39,7 +41,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -54,12 +56,12 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 4 +#serial 6 AC_DEFUN([AX_APPEND_COMPILE_FLAGS], [AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG]) AX_REQUIRE_DEFINED([AX_APPEND_FLAG]) for flag in $1; do - AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [$2])], [], [$3]) + AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [$2])], [], [$3], [$4]) done ])dnl AX_APPEND_COMPILE_FLAGS diff -Nru autoconf-archive-20150925/m4/ax_append_flag.m4 autoconf-archive-20170928/m4/ax_append_flag.m4 --- autoconf-archive-20150925/m4/ax_append_flag.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_append_flag.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_append_flag.html +# https://www.gnu.org/software/autoconf-archive/ax_append_flag.html # =========================================================================== # # SYNOPSIS @@ -34,7 +34,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -49,7 +49,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 6 +#serial 7 AC_DEFUN([AX_APPEND_FLAG], [dnl diff -Nru autoconf-archive-20150925/m4/ax_append_link_flags.m4 autoconf-archive-20170928/m4/ax_append_link_flags.m4 --- autoconf-archive-20150925/m4/ax_append_link_flags.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_append_link_flags.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,10 +1,10 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_append_link_flags.html +# https://www.gnu.org/software/autoconf-archive/ax_append_link_flags.html # =========================================================================== # # SYNOPSIS # -# AX_APPEND_LINK_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS]) +# AX_APPEND_LINK_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT]) # # DESCRIPTION # @@ -19,6 +19,8 @@ # 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. # @@ -37,7 +39,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -52,12 +54,12 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 4 +#serial 6 AC_DEFUN([AX_APPEND_LINK_FLAGS], [AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG]) AX_REQUIRE_DEFINED([AX_APPEND_FLAG]) for flag in $1; do - AX_CHECK_LINK_FLAG([$flag], [AX_APPEND_FLAG([$flag], [m4_default([$2], [LDFLAGS])])], [], [$3]) + AX_CHECK_LINK_FLAG([$flag], [AX_APPEND_FLAG([$flag], [m4_default([$2], [LDFLAGS])])], [], [$3], [$4]) done ])dnl AX_APPEND_LINK_FLAGS diff -Nru autoconf-archive-20150925/m4/ax_append_to_file.m4 autoconf-archive-20170928/m4/ax_append_to_file.m4 --- autoconf-archive-20150925/m4/ax_append_to_file.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_append_to_file.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_append_to_file.html +# https://www.gnu.org/software/autoconf-archive/ax_append_to_file.html # =========================================================================== # # SYNOPSIS @@ -19,7 +19,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_APPEND_TO_FILE],[ AC_REQUIRE([AX_FILE_ESCAPES]) diff -Nru autoconf-archive-20150925/m4/ax_arg_with_path_style.m4 autoconf-archive-20170928/m4/ax_arg_with_path_style.m4 --- autoconf-archive-20150925/m4/ax_arg_with_path_style.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_arg_with_path_style.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_arg_with_path_style.html +# https://www.gnu.org/software/autoconf-archive/ax_arg_with_path_style.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # for this macro. # # the mnemonic "strict" or "also" is used to instruct the code that -# additional seperators shall be accepted but converted to the seperator +# additional separators shall be accepted but converted to the separator # of the underlying pathstyle system. (or-512) # # example: --with-path-style=win,slash @@ -48,7 +48,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -63,7 +63,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 10 AU_ALIAS([AC_ARG_WITH_PATH_STYLE], [AX_ARG_WITH_PATH_STYLE]) AC_DEFUN([AX_ARG_WITH_PATH_STYLE], diff -Nru autoconf-archive-20150925/m4/ax_asm_inline.m4 autoconf-archive-20170928/m4/ax_asm_inline.m4 --- autoconf-archive-20150925/m4/ax_asm_inline.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_asm_inline.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_asm_inline.html +# https://www.gnu.org/software/autoconf-archive/ax_asm_inline.html # =========================================================================== # # SYNOPSIS @@ -16,13 +16,14 @@ # # Copyright (c) 2008 Alan Woodland # Copyright (c) 2009 Rhys Ulerich +# Copyright (c) 2017 Reini Urban # # Copying and distribution of this file, with or without modification, are # permitted in any medium without royalty provided the copyright notice # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 4 AC_DEFUN([AX_ASM_INLINE], [ AC_LANG_PUSH([C]) @@ -33,14 +34,14 @@ case $ax_asm_inline_keyword in none) ac_cv_asm_inline=none ; break ;; *) - AC_TRY_COMPILE( + AC_COMPILE_IFELSE([AC_LANG_PROGRAM( [#include static void foo(void) { ] $ax_asm_inline_keyword [(""); exit(1); }], - [], + [])], [ac_cv_asm_inline=$ax_asm_inline_keyword ; break], ac_cv_asm_inline=none ) diff -Nru autoconf-archive-20150925/m4/ax_at_check_pattern.m4 autoconf-archive-20170928/m4/ax_at_check_pattern.m4 --- autoconf-archive-20150925/m4/ax_at_check_pattern.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_at_check_pattern.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_at_check_pattern.html +# https://www.gnu.org/software/autoconf-archive/ax_at_check_pattern.html # =========================================================================== # # SYNOPSIS @@ -34,7 +34,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 m4_defun([_AX_AT_CHECK_PATTERN_PREPARE], [dnl dnl Can't use AC_PROG_AWK() in autotest. diff -Nru autoconf-archive-20150925/m4/ax_auto_include_headers.m4 autoconf-archive-20170928/m4/ax_auto_include_headers.m4 --- autoconf-archive-20150925/m4/ax_auto_include_headers.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_auto_include_headers.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_auto_include_headers.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_auto_include_headers.html +# ============================================================================ # # SYNOPSIS # @@ -51,7 +51,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_AUTO_INCLUDE_HEADERS], [dnl AC_FOREACH([AX_Header], [$1], [dnl diff -Nru autoconf-archive-20150925/m4/ax_berkeley_db_cxx.m4 autoconf-archive-20170928/m4/ax_berkeley_db_cxx.m4 --- autoconf-archive-20150925/m4/ax_berkeley_db_cxx.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_berkeley_db_cxx.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_berkeley_db_cxx.html +# https://www.gnu.org/software/autoconf-archive/ax_berkeley_db_cxx.html # =========================================================================== # # SYNOPSIS @@ -37,7 +37,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AC_DEFUN([AX_BERKELEY_DB_CXX], [ diff -Nru autoconf-archive-20150925/m4/ax_berkeley_db.m4 autoconf-archive-20170928/m4/ax_berkeley_db.m4 --- autoconf-archive-20150925/m4/ax_berkeley_db.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_berkeley_db.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_berkeley_db.html +# https://www.gnu.org/software/autoconf-archive/ax_berkeley_db.html # =========================================================================== # # SYNOPSIS @@ -36,7 +36,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_BERKELEY_DB], [ diff -Nru autoconf-archive-20150925/m4/ax_blas_f77_func.m4 autoconf-archive-20170928/m4/ax_blas_f77_func.m4 --- autoconf-archive-20150925/m4/ax_blas_f77_func.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_blas_f77_func.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_blas_f77_func.html +# https://www.gnu.org/software/autoconf-archive/ax_blas_f77_func.html # =========================================================================== # # SYNOPSIS @@ -37,7 +37,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -52,7 +52,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 8 +#serial 9 AU_ALIAS([ACX_BLAS_F77_FUNC], [AX_BLAS_F77_FUNC]) AC_DEFUN([AX_BLAS_F77_FUNC], [ diff -Nru autoconf-archive-20150925/m4/ax_blas.m4 autoconf-archive-20170928/m4/ax_blas.m4 --- autoconf-archive-20150925/m4/ax_blas.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_blas.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_blas.html +# https://www.gnu.org/software/autoconf-archive/ax_blas.html # =========================================================================== # # SYNOPSIS @@ -48,7 +48,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -63,7 +63,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 14 +#serial 15 AU_ALIAS([ACX_BLAS], [AX_BLAS]) AC_DEFUN([AX_BLAS], [ diff -Nru autoconf-archive-20150925/m4/ax_boost_asio.m4 autoconf-archive-20170928/m4/ax_boost_asio.m4 --- autoconf-archive-20150925/m4/ax_boost_asio.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_asio.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_asio.html +# https://www.gnu.org/software/autoconf-archive/ax_boost_asio.html # =========================================================================== # # SYNOPSIS @@ -30,7 +30,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 16 +#serial 17 AC_DEFUN([AX_BOOST_ASIO], [ diff -Nru autoconf-archive-20150925/m4/ax_boost_base.m4 autoconf-archive-20170928/m4/ax_boost_base.m4 --- autoconf-archive-20150925/m4/ax_boost_base.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_base.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_base.html +# https://www.gnu.org/software/autoconf-archive/ax_boost_base.html # =========================================================================== # # SYNOPSIS @@ -33,7 +33,15 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 26 +#serial 42 + +# example boost program (need to pass version) +m4_define([_AX_BOOST_BASE_PROGRAM], + [AC_LANG_PROGRAM([[ +#include +]],[[ +(void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < ($1))])); +]])]) AC_DEFUN([AX_BOOST_BASE], [ @@ -44,104 +52,121 @@ or disable it (ARG=no) @<:@ARG=yes@:>@ ])], [ - if test "$withval" = "no"; then - want_boost="no" - elif test "$withval" = "yes"; then - want_boost="yes" - ac_boost_path="" - else - want_boost="yes" - ac_boost_path="$withval" - fi + AS_CASE([$withval], + [no],[want_boost="no";_AX_BOOST_BASE_boost_path=""], + [yes],[want_boost="yes";_AX_BOOST_BASE_boost_path=""], + [want_boost="yes";_AX_BOOST_BASE_boost_path="$withval"]) ], [want_boost="yes"]) AC_ARG_WITH([boost-libdir], - AS_HELP_STRING([--with-boost-libdir=LIB_DIR], - [Force given directory for boost libraries. Note that this will override library path detection, so use this parameter only if default library detection fails and you know exactly where your boost libraries are located.]), - [ - if test -d "$withval" - then - ac_boost_lib_path="$withval" - else - AC_MSG_ERROR(--with-boost-libdir expected directory name) - fi - ], - [ac_boost_lib_path=""] -) - -if test "x$want_boost" = "xyes"; then - boost_lib_version_req=ifelse([$1], ,1.20.0,$1) - boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([[0-9]]*\.[[0-9]]*\)'` - boost_lib_version_req_major=`expr $boost_lib_version_req : '\([[0-9]]*\)'` - boost_lib_version_req_minor=`expr $boost_lib_version_req : '[[0-9]]*\.\([[0-9]]*\)'` - boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)'` - if test "x$boost_lib_version_req_sub_minor" = "x" ; then - boost_lib_version_req_sub_minor="0" - fi - WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor` - AC_MSG_CHECKING(for boostlib >= $boost_lib_version_req) + [AS_HELP_STRING([--with-boost-libdir=LIB_DIR], + [Force given directory for boost libraries. + Note that this will override library path detection, + so use this parameter only if default library detection fails + and you know exactly where your boost libraries are located.])], + [ + AS_IF([test -d "$withval"], + [_AX_BOOST_BASE_boost_lib_path="$withval"], + [AC_MSG_ERROR([--with-boost-libdir expected directory name])]) + ], + [_AX_BOOST_BASE_boost_lib_path=""]) + +BOOST_LDFLAGS="" +BOOST_CPPFLAGS="" +AS_IF([test "x$want_boost" = "xyes"], + [_AX_BOOST_BASE_RUNDETECT([$1],[$2],[$3])]) +AC_SUBST(BOOST_CPPFLAGS) +AC_SUBST(BOOST_LDFLAGS) +]) + + +# convert a version string in $2 to numeric and affect to polymorphic var $1 +AC_DEFUN([_AX_BOOST_BASE_TONUMERICVERSION],[ + AS_IF([test "x$2" = "x"],[_AX_BOOST_BASE_TONUMERICVERSION_req="1.20.0"],[_AX_BOOST_BASE_TONUMERICVERSION_req="$2"]) + _AX_BOOST_BASE_TONUMERICVERSION_req_shorten=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '\([[0-9]]*\.[[0-9]]*\)'` + _AX_BOOST_BASE_TONUMERICVERSION_req_major=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '\([[0-9]]*\)'` + AS_IF([test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_major" = "x"], + [AC_MSG_ERROR([You should at least specify libboost major version])]) + _AX_BOOST_BASE_TONUMERICVERSION_req_minor=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '[[0-9]]*\.\([[0-9]]*\)'` + AS_IF([test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_minor" = "x"], + [_AX_BOOST_BASE_TONUMERICVERSION_req_minor="0"]) + _AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)'` + AS_IF([test "X$_AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor" = "X"], + [_AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor="0"]) + _AX_BOOST_BASE_TONUMERICVERSION_RET=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req_major \* 100000 \+ $_AX_BOOST_BASE_TONUMERICVERSION_req_minor \* 100 \+ $_AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor` + AS_VAR_SET($1,$_AX_BOOST_BASE_TONUMERICVERSION_RET) +]) + +dnl Run the detection of boost should be run only if $want_boost +AC_DEFUN([_AX_BOOST_BASE_RUNDETECT],[ + _AX_BOOST_BASE_TONUMERICVERSION(WANT_BOOST_VERSION,[$1]) succeeded=no + + AC_REQUIRE([AC_CANONICAL_HOST]) dnl On 64-bit systems check for system libraries in both lib64 and lib. dnl The former is specified by FHS, but e.g. Debian does not adhere to dnl this (as it rises problems for generic multi-arch support). dnl The last entry in the list is chosen by default when no libraries dnl are found, e.g. when only header-only libraries are installed! - libsubdirs="lib" - ax_arch=`uname -m` - case $ax_arch in - x86_64) - libsubdirs="lib64 libx32 lib lib64" - ;; - ppc64|s390x|sparc64|aarch64|ppc64le) - libsubdirs="lib64 lib lib64 ppc64le" - ;; - esac + AS_CASE([${host_cpu}], + [x86_64],[libsubdirs="lib64 libx32 lib lib64"], + [ppc64|s390x|sparc64|aarch64|ppc64le],[libsubdirs="lib64 lib lib64"], + [libsubdirs="lib"], + ) dnl allow for real multi-arch paths e.g. /usr/lib/x86_64-linux-gnu. Give dnl them priority over the other paths since, if libs are found there, they dnl are almost assuredly the ones desired. - AC_REQUIRE([AC_CANONICAL_HOST]) - libsubdirs="lib/${host_cpu}-${host_os} $libsubdirs" - - case ${host_cpu} in - i?86) - libsubdirs="lib/i386-${host_os} $libsubdirs" - ;; - esac + AS_CASE([${host_cpu}], + [i?86],[multiarch_libsubdir="lib/i386-${host_os}"], + [multiarch_libsubdir="lib/${host_cpu}-${host_os}"] + ) dnl first we check the system location for boost libraries dnl this location ist chosen if boost libraries are installed with the --layout=system option dnl or if you install boost with RPM - if test "$ac_boost_path" != ""; then - BOOST_CPPFLAGS="-I$ac_boost_path/include" - for ac_boost_path_tmp in $libsubdirs; do - if test -d "$ac_boost_path"/"$ac_boost_path_tmp" ; then - BOOST_LDFLAGS="-L$ac_boost_path/$ac_boost_path_tmp" - break - fi - done - elif test "$cross_compiling" != yes; then - for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do - if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then - for libsubdir in $libsubdirs ; do - if ls "$ac_boost_path_tmp/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi + AS_IF([test "x$_AX_BOOST_BASE_boost_path" != "x"],[ + AC_MSG_CHECKING([for boostlib >= $1 ($WANT_BOOST_VERSION) includes in "$_AX_BOOST_BASE_boost_path/include"]) + AS_IF([test -d "$_AX_BOOST_BASE_boost_path/include" && test -r "$_AX_BOOST_BASE_boost_path/include"],[ + AC_MSG_RESULT([yes]) + BOOST_CPPFLAGS="-I$_AX_BOOST_BASE_boost_path/include" + for _AX_BOOST_BASE_boost_path_tmp in $multiarch_libsubdir $libsubdirs; do + AC_MSG_CHECKING([for boostlib >= $1 ($WANT_BOOST_VERSION) lib path in "$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp"]) + AS_IF([test -d "$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp" && test -r "$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp" ],[ + AC_MSG_RESULT([yes]) + BOOST_LDFLAGS="-L$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp"; + break; + ], + [AC_MSG_RESULT([no])]) + done],[ + AC_MSG_RESULT([no])]) + ],[ + if test X"$cross_compiling" = Xyes; then + search_libsubdirs=$multiarch_libsubdir + else + search_libsubdirs="$multiarch_libsubdir $libsubdirs" + fi + for _AX_BOOST_BASE_boost_path_tmp in /usr /usr/local /opt /opt/local ; do + if test -d "$_AX_BOOST_BASE_boost_path_tmp/include/boost" && test -r "$_AX_BOOST_BASE_boost_path_tmp/include/boost" ; then + for libsubdir in $search_libsubdirs ; do + if ls "$_AX_BOOST_BASE_boost_path_tmp/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi done - BOOST_LDFLAGS="-L$ac_boost_path_tmp/$libsubdir" - BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include" + BOOST_LDFLAGS="-L$_AX_BOOST_BASE_boost_path_tmp/$libsubdir" + BOOST_CPPFLAGS="-I$_AX_BOOST_BASE_boost_path_tmp/include" break; fi done - fi + ]) dnl overwrite ld flags if we have required special directory with dnl --with-boost-libdir parameter - if test "$ac_boost_lib_path" != ""; then - BOOST_LDFLAGS="-L$ac_boost_lib_path" - fi + AS_IF([test "x$_AX_BOOST_BASE_boost_lib_path" != "x"], + [BOOST_LDFLAGS="-L$_AX_BOOST_BASE_boost_lib_path"]) + AC_MSG_CHECKING([for boostlib >= $1 ($WANT_BOOST_VERSION)]) CPPFLAGS_SAVED="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" export CPPFLAGS @@ -152,15 +177,7 @@ AC_REQUIRE([AC_PROG_CXX]) AC_LANG_PUSH(C++) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - @%:@include - ]], [[ - #if BOOST_VERSION >= $WANT_BOOST_VERSION - // Everything is okay - #else - # error Boost version is too old - #endif - ]])],[ + AC_COMPILE_IFELSE([_AX_BOOST_BASE_PROGRAM($WANT_BOOST_VERSION)],[ AC_MSG_RESULT(yes) succeeded=yes found_system=yes @@ -172,40 +189,50 @@ dnl if we found no boost with system layout we search for boost libraries dnl built and installed without the --layout=system option or for a staged(not installed) version - if test "x$succeeded" != "xyes"; then + if test "x$succeeded" != "xyes" ; then CPPFLAGS="$CPPFLAGS_SAVED" LDFLAGS="$LDFLAGS_SAVED" BOOST_CPPFLAGS= - BOOST_LDFLAGS= + if test -z "$_AX_BOOST_BASE_boost_lib_path" ; then + BOOST_LDFLAGS= + fi _version=0 - if test "$ac_boost_path" != ""; then - if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then - for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do - _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'` + if test -n "$_AX_BOOST_BASE_boost_path" ; then + if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path"; then + for i in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do + _version_tmp=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'` V_CHECK=`expr $_version_tmp \> $_version` - if test "$V_CHECK" = "1" ; then + if test "x$V_CHECK" = "x1" ; then _version=$_version_tmp fi VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'` - BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE" + BOOST_CPPFLAGS="-I$_AX_BOOST_BASE_boost_path/include/boost-$VERSION_UNDERSCORE" done dnl if nothing found search for layout used in Windows distributions if test -z "$BOOST_CPPFLAGS"; then - if test -d "$ac_boost_path/boost" && test -r "$ac_boost_path/boost"; then - BOOST_CPPFLAGS="-I$ac_boost_path" + if test -d "$_AX_BOOST_BASE_boost_path/boost" && test -r "$_AX_BOOST_BASE_boost_path/boost"; then + BOOST_CPPFLAGS="-I$_AX_BOOST_BASE_boost_path" fi fi + dnl if we found something and BOOST_LDFLAGS was unset before + dnl (because "$_AX_BOOST_BASE_boost_lib_path" = ""), set it here. + if test -n "$BOOST_CPPFLAGS" && test -z "$BOOST_LDFLAGS"; then + for libsubdir in $libsubdirs ; do + if ls "$_AX_BOOST_BASE_boost_path/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi + done + BOOST_LDFLAGS="-L$_AX_BOOST_BASE_boost_path/$libsubdir" + fi fi else - if test "$cross_compiling" != yes; then - for ac_boost_path in /usr /usr/local /opt /opt/local ; do - if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then - for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do - _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'` + if test "x$cross_compiling" != "xyes" ; then + for _AX_BOOST_BASE_boost_path in /usr /usr/local /opt /opt/local ; do + if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path" ; then + for i in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do + _version_tmp=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'` V_CHECK=`expr $_version_tmp \> $_version` - if test "$V_CHECK" = "1" ; then + if test "x$V_CHECK" = "x1" ; then _version=$_version_tmp - best_path=$ac_boost_path + best_path=$_AX_BOOST_BASE_boost_path fi done fi @@ -213,7 +240,7 @@ VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'` BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE" - if test "$ac_boost_lib_path" = ""; then + if test -z "$_AX_BOOST_BASE_boost_lib_path" ; then for libsubdir in $libsubdirs ; do if ls "$best_path/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi done @@ -221,7 +248,7 @@ fi fi - if test "x$BOOST_ROOT" != "x"; then + if test -n "$BOOST_ROOT" ; then for libsubdir in $libsubdirs ; do if ls "$BOOST_ROOT/stage/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi done @@ -230,7 +257,7 @@ stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'` stage_version_shorten=`expr $stage_version : '\([[0-9]]*\.[[0-9]]*\)'` V_CHECK=`expr $stage_version_shorten \>\= $_version` - if test "$V_CHECK" = "1" -a "$ac_boost_lib_path" = "" ; then + if test "x$V_CHECK" = "x1" && test -z "$_AX_BOOST_BASE_boost_lib_path" ; then AC_MSG_NOTICE(We will use a staged boost library from $BOOST_ROOT) BOOST_CPPFLAGS="-I$BOOST_ROOT" BOOST_LDFLAGS="-L$BOOST_ROOT/stage/$libsubdir" @@ -245,15 +272,7 @@ export LDFLAGS AC_LANG_PUSH(C++) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - @%:@include - ]], [[ - #if BOOST_VERSION >= $WANT_BOOST_VERSION - // Everything is okay - #else - # error Boost version is too old - #endif - ]])],[ + AC_COMPILE_IFELSE([_AX_BOOST_BASE_PROGRAM($WANT_BOOST_VERSION)],[ AC_MSG_RESULT(yes) succeeded=yes found_system=yes @@ -262,17 +281,15 @@ AC_LANG_POP([C++]) fi - if test "$succeeded" != "yes" ; then - if test "$_version" = "0" ; then - AC_MSG_NOTICE([[We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in . See http://randspringer.de/boost for more documentation.]]) + if test "x$succeeded" != "xyes" ; then + if test "x$_version" = "x0" ; then + AC_MSG_NOTICE([[We could not detect the boost libraries (version $1 or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in . See http://randspringer.de/boost for more documentation.]]) else AC_MSG_NOTICE([Your boost libraries seems to old (version $_version).]) fi # execute ACTION-IF-NOT-FOUND (if present): ifelse([$3], , :, [$3]) else - AC_SUBST(BOOST_CPPFLAGS) - AC_SUBST(BOOST_LDFLAGS) AC_DEFINE(HAVE_BOOST,,[define if the Boost library is available]) # execute ACTION-IF-FOUND (if present): ifelse([$2], , :, [$2]) @@ -280,6 +297,5 @@ CPPFLAGS="$CPPFLAGS_SAVED" LDFLAGS="$LDFLAGS_SAVED" -fi ]) diff -Nru autoconf-archive-20150925/m4/ax_boost_chrono.m4 autoconf-archive-20170928/m4/ax_boost_chrono.m4 --- autoconf-archive-20150925/m4/ax_boost_chrono.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_chrono.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_chrono.html +# https://www.gnu.org/software/autoconf-archive/ax_boost_chrono.html # =========================================================================== # # SYNOPSIS @@ -8,7 +8,7 @@ # # DESCRIPTION # -# Test for System library from the Boost C++ libraries. The macro requires +# Test for Chrono library from the Boost C++ libraries. The macro requires # a preceding call to AX_BOOST_BASE. Further documentation is available at # . # @@ -29,7 +29,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 3 AC_DEFUN([AX_BOOST_CHRONO], [ diff -Nru autoconf-archive-20150925/m4/ax_boost_context.m4 autoconf-archive-20170928/m4/ax_boost_context.m4 --- autoconf-archive-20150925/m4/ax_boost_context.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_context.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_context.html +# https://www.gnu.org/software/autoconf-archive/ax_boost_context.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_DEFUN([AX_BOOST_CONTEXT], [ diff -Nru autoconf-archive-20150925/m4/ax_boost_coroutine.m4 autoconf-archive-20170928/m4/ax_boost_coroutine.m4 --- autoconf-archive-20150925/m4/ax_boost_coroutine.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_coroutine.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_coroutine.html +# https://www.gnu.org/software/autoconf-archive/ax_boost_coroutine.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_DEFUN([AX_BOOST_COROUTINE], [ diff -Nru autoconf-archive-20150925/m4/ax_boost_date_time.m4 autoconf-archive-20170928/m4/ax_boost_date_time.m4 --- autoconf-archive-20150925/m4/ax_boost_date_time.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_date_time.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_date_time.html +# https://www.gnu.org/software/autoconf-archive/ax_boost_date_time.html # =========================================================================== # # SYNOPSIS @@ -30,7 +30,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 21 +#serial 22 AC_DEFUN([AX_BOOST_DATE_TIME], [ diff -Nru autoconf-archive-20150925/m4/ax_boost_filesystem.m4 autoconf-archive-20170928/m4/ax_boost_filesystem.m4 --- autoconf-archive-20150925/m4/ax_boost_filesystem.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_filesystem.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_filesystem.html +# https://www.gnu.org/software/autoconf-archive/ax_boost_filesystem.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 26 +#serial 27 AC_DEFUN([AX_BOOST_FILESYSTEM], [ diff -Nru autoconf-archive-20150925/m4/ax_boost_iostreams.m4 autoconf-archive-20170928/m4/ax_boost_iostreams.m4 --- autoconf-archive-20150925/m4/ax_boost_iostreams.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_iostreams.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_iostreams.html +# https://www.gnu.org/software/autoconf-archive/ax_boost_iostreams.html # =========================================================================== # # SYNOPSIS @@ -29,7 +29,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 20 +#serial 21 AC_DEFUN([AX_BOOST_IOSTREAMS], [ diff -Nru autoconf-archive-20150925/m4/ax_boost_locale.m4 autoconf-archive-20170928/m4/ax_boost_locale.m4 --- autoconf-archive-20150925/m4/ax_boost_locale.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_locale.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_locale.html +# https://www.gnu.org/software/autoconf-archive/ax_boost_locale.html # =========================================================================== # # SYNOPSIS @@ -29,7 +29,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_DEFUN([AX_BOOST_LOCALE], [ diff -Nru autoconf-archive-20150925/m4/ax_boost_log.m4 autoconf-archive-20170928/m4/ax_boost_log.m4 --- autoconf-archive-20150925/m4/ax_boost_log.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_log.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_log.html +# https://www.gnu.org/software/autoconf-archive/ax_boost_log.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_DEFUN([AX_BOOST_LOG], [ diff -Nru autoconf-archive-20150925/m4/ax_boost_log_setup.m4 autoconf-archive-20170928/m4/ax_boost_log_setup.m4 --- autoconf-archive-20150925/m4/ax_boost_log_setup.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_log_setup.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_log_setup.html +# https://www.gnu.org/software/autoconf-archive/ax_boost_log_setup.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_DEFUN([AX_BOOST_LOG_SETUP], [ diff -Nru autoconf-archive-20150925/m4/ax_boost_program_options.m4 autoconf-archive-20170928/m4/ax_boost_program_options.m4 --- autoconf-archive-20150925/m4/ax_boost_program_options.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_program_options.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_boost_program_options.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_boost_program_options.html +# ============================================================================= # # SYNOPSIS # @@ -29,7 +29,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 24 +#serial 25 AC_DEFUN([AX_BOOST_PROGRAM_OPTIONS], [ diff -Nru autoconf-archive-20150925/m4/ax_boost_python.m4 autoconf-archive-20170928/m4/ax_boost_python.m4 --- autoconf-archive-20150925/m4/ax_boost_python.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_python.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_python.html +# https://www.gnu.org/software/autoconf-archive/ax_boost_python.html # =========================================================================== # # SYNOPSIS @@ -38,7 +38,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -53,7 +53,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 20 +#serial 22 AC_DEFUN([AX_BOOST_PYTHON], [AC_REQUIRE([AX_PYTHON_DEVEL])dnl @@ -65,9 +65,19 @@ if test "x$PYTHON_CPPFLAGS" != "x"; then CPPFLAGS="$PYTHON_CPPFLAGS $CPPFLAGS" fi + +# Versions of AX_PYTHON_DEVEL() before serial 18 provided PYTHON_LDFLAGS +# instead of PYTHON_LIBS, so this is just here for compatibility. if test "x$PYTHON_LDFLAGS" != "x"; then LDFLAGS="$PYTHON_LDFLAGS $LDFLAGS" fi + +# Note: Only versions of AX_PYTHON_DEVEL() since serial 18 provide PYTHON_LIBS +# instead of PYTHON_LDFLAGS. +if test "x$PYTHON_LIBS" != "x"; then + LIBS="$PYTHON_LIBS $LIBS" +fi + if test "x$BOOST_CPPFLAGS" != "x"; then CPPFLAGS="$BOOST_CPPFLAGS $CPPFLAGS" fi @@ -93,7 +103,7 @@ for ax_lib in $ax_python_lib $ax_boost_python_lib `ls $BOOSTLIBDIR/libboost_python*.so* $BOOSTLIBDIR/libboost_python*.dylib* $BOOSTLIBDIR/libboost_python*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_python.*\)\.so.*$;\1;' -e 's;^lib\(boost_python.*\)\.dylib.*$;\1;' -e 's;^lib\(boost_python.*\)\.a.*$;\1;' ` boost_python boost_python3; do AS_VAR_PUSHDEF([ax_Lib], [ax_cv_lib_$ax_lib''_BOOST_PYTHON_MODULE])dnl AC_CACHE_CHECK([whether $ax_lib is the correct library], [ax_Lib], - [LIBS="-l$ax_lib $ax_boost_python_save_LIBS" + [LIBS="-l$ax_lib $ax_boost_python_save_LIBS $PYTHON_LIBS" AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include BOOST_PYTHON_MODULE(test) { throw "Boost::Python test."; }]], [])], diff -Nru autoconf-archive-20150925/m4/ax_boost_regex.m4 autoconf-archive-20170928/m4/ax_boost_regex.m4 --- autoconf-archive-20150925/m4/ax_boost_regex.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_regex.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_regex.html +# https://www.gnu.org/software/autoconf-archive/ax_boost_regex.html # =========================================================================== # # SYNOPSIS @@ -30,7 +30,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 22 +#serial 23 AC_DEFUN([AX_BOOST_REGEX], [ diff -Nru autoconf-archive-20150925/m4/ax_boost_serialization.m4 autoconf-archive-20170928/m4/ax_boost_serialization.m4 --- autoconf-archive-20150925/m4/ax_boost_serialization.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_serialization.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_serialization.html +# https://www.gnu.org/software/autoconf-archive/ax_boost_serialization.html # =========================================================================== # # SYNOPSIS @@ -29,7 +29,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 21 +#serial 22 AC_DEFUN([AX_BOOST_SERIALIZATION], [ diff -Nru autoconf-archive-20150925/m4/ax_boost_signals.m4 autoconf-archive-20170928/m4/ax_boost_signals.m4 --- autoconf-archive-20150925/m4/ax_boost_signals.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_signals.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_signals.html +# https://www.gnu.org/software/autoconf-archive/ax_boost_signals.html # =========================================================================== # # SYNOPSIS @@ -30,7 +30,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 21 +#serial 22 AC_DEFUN([AX_BOOST_SIGNALS], [ diff -Nru autoconf-archive-20150925/m4/ax_boost_system.m4 autoconf-archive-20170928/m4/ax_boost_system.m4 --- autoconf-archive-20150925/m4/ax_boost_system.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_system.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_system.html +# https://www.gnu.org/software/autoconf-archive/ax_boost_system.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 17 +#serial 19 AC_DEFUN([AX_BOOST_SYSTEM], [ @@ -68,9 +68,10 @@ ax_cv_boost_system, [AC_LANG_PUSH([C++]) CXXFLAGS_SAVE=$CXXFLAGS + CXXFLAGS= AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include ]], - [[boost::system::system_category]])], + [[boost::system::error_category *a = 0;]])], ax_cv_boost_system=yes, ax_cv_boost_system=no) CXXFLAGS=$CXXFLAGS_SAVE AC_LANG_POP([C++]) diff -Nru autoconf-archive-20150925/m4/ax_boost_test_exec_monitor.m4 autoconf-archive-20170928/m4/ax_boost_test_exec_monitor.m4 --- autoconf-archive-20150925/m4/ax_boost_test_exec_monitor.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_test_exec_monitor.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_test_exec_monitor.html -# ============================================================================== +# =============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_boost_test_exec_monitor.html +# =============================================================================== # # SYNOPSIS # @@ -30,7 +30,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 20 +#serial 21 AC_DEFUN([AX_BOOST_TEST_EXEC_MONITOR], [ diff -Nru autoconf-archive-20150925/m4/ax_boost_thread.m4 autoconf-archive-20170928/m4/ax_boost_thread.m4 --- autoconf-archive-20150925/m4/ax_boost_thread.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_thread.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_thread.html +# https://www.gnu.org/software/autoconf-archive/ax_boost_thread.html # =========================================================================== # # SYNOPSIS @@ -30,73 +30,75 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 27 +#serial 30 AC_DEFUN([AX_BOOST_THREAD], [ - AC_ARG_WITH([boost-thread], - AS_HELP_STRING([--with-boost-thread@<:@=special-lib@:>@], - [use the Thread library from boost - it is possible to specify a certain library for the linker - e.g. --with-boost-thread=boost_thread-gcc-mt ]), + AC_ARG_WITH([boost-thread], + AS_HELP_STRING([--with-boost-thread@<:@=special-lib@:>@], + [use the Thread library from boost - + it is possible to specify a certain library for the linker + e.g. --with-boost-thread=boost_thread-gcc-mt ]), [ - if test "$withval" = "no"; then - want_boost="no" - elif test "$withval" = "yes"; then + if test "$withval" = "yes"; then want_boost="yes" ax_boost_user_thread_lib="" else - want_boost="yes" - ax_boost_user_thread_lib="$withval" - fi + want_boost="yes" + ax_boost_user_thread_lib="$withval" + fi ], [want_boost="yes"] - ) + ) - if test "x$want_boost" = "xyes"; then + if test "x$want_boost" = "xyes"; then AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_BUILD]) - CPPFLAGS_SAVED="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" - export CPPFLAGS - - LDFLAGS_SAVED="$LDFLAGS" - LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" - export LDFLAGS + CPPFLAGS_SAVED="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" + export CPPFLAGS + + LDFLAGS_SAVED="$LDFLAGS" + LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" + export LDFLAGS AC_CACHE_CHECK(whether the Boost::Thread library is available, - ax_cv_boost_thread, + ax_cv_boost_thread, [AC_LANG_PUSH([C++]) - CXXFLAGS_SAVE=$CXXFLAGS + CXXFLAGS_SAVE=$CXXFLAGS - if test "x$host_os" = "xsolaris" ; then - CXXFLAGS="-pthreads $CXXFLAGS" - elif test "x$host_os" = "xmingw32" ; then - CXXFLAGS="-mthreads $CXXFLAGS" - else - CXXFLAGS="-pthread $CXXFLAGS" - fi - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include ]], - [[boost::thread_group thrds; - return 0;]])], - ax_cv_boost_thread=yes, ax_cv_boost_thread=no) - CXXFLAGS=$CXXFLAGS_SAVE + if test "x$host_os" = "xsolaris" ; then + CXXFLAGS="-pthreads $CXXFLAGS" + elif test "x$host_os" = "xmingw32" ; then + CXXFLAGS="-mthreads $CXXFLAGS" + else + CXXFLAGS="-pthread $CXXFLAGS" + fi + AC_COMPILE_IFELSE([ + AC_LANG_PROGRAM( + [[@%:@include ]], + [[boost::thread_group thrds; + return 0;]])], + ax_cv_boost_thread=yes, ax_cv_boost_thread=no) + CXXFLAGS=$CXXFLAGS_SAVE AC_LANG_POP([C++]) - ]) - if test "x$ax_cv_boost_thread" = "xyes"; then + ]) + if test "x$ax_cv_boost_thread" = "xyes"; then if test "x$host_os" = "xsolaris" ; then - BOOST_CPPFLAGS="-pthreads $BOOST_CPPFLAGS" - elif test "x$host_os" = "xmingw32" ; then - BOOST_CPPFLAGS="-mthreads $BOOST_CPPFLAGS" - else - BOOST_CPPFLAGS="-pthread $BOOST_CPPFLAGS" - fi + BOOST_CPPFLAGS="-pthreads $BOOST_CPPFLAGS" + elif test "x$host_os" = "xmingw32" ; then + BOOST_CPPFLAGS="-mthreads $BOOST_CPPFLAGS" + else + BOOST_CPPFLAGS="-pthread $BOOST_CPPFLAGS" + fi - AC_SUBST(BOOST_CPPFLAGS) + AC_SUBST(BOOST_CPPFLAGS) - AC_DEFINE(HAVE_BOOST_THREAD,,[define if the Boost::Thread library is available]) + AC_DEFINE(HAVE_BOOST_THREAD,, + [define if the Boost::Thread library is available]) BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'` - LDFLAGS_SAVE=$LDFLAGS + LDFLAGS_SAVE=$LDFLAGS case "x$host_os" in *bsd* ) LDFLAGS="-pthread $LDFLAGS" @@ -106,23 +108,23 @@ if test "x$ax_boost_user_thread_lib" = "x"; then for libextension in `ls -r $BOOSTLIBDIR/libboost_thread* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'`; do ax_lib=${libextension} - AC_CHECK_LIB($ax_lib, exit, - [BOOST_THREAD_LIB="-l$ax_lib"; AC_SUBST(BOOST_THREAD_LIB) link_thread="yes"; break], + AC_CHECK_LIB($ax_lib, exit, + [link_thread="yes"; break], [link_thread="no"]) - done + done if test "x$link_thread" != "xyes"; then for libextension in `ls -r $BOOSTLIBDIR/boost_thread* 2>/dev/null | sed 's,.*/,,' | sed 's,\..*,,'`; do ax_lib=${libextension} - AC_CHECK_LIB($ax_lib, exit, - [BOOST_THREAD_LIB="-l$ax_lib"; AC_SUBST(BOOST_THREAD_LIB) link_thread="yes"; break], + AC_CHECK_LIB($ax_lib, exit, + [link_thread="yes"; break], [link_thread="no"]) - done + done fi else for ax_lib in $ax_boost_user_thread_lib boost_thread-$ax_boost_user_thread_lib; do - AC_CHECK_LIB($ax_lib, exit, - [BOOST_THREAD_LIB="-l$ax_lib"; AC_SUBST(BOOST_THREAD_LIB) link_thread="yes"; break], + AC_CHECK_LIB($ax_lib, exit, + [link_thread="yes"; break], [link_thread="no"]) done @@ -130,20 +132,32 @@ if test "x$ax_lib" = "x"; then AC_MSG_ERROR(Could not find a version of the library!) fi - if test "x$link_thread" = "xno"; then - AC_MSG_ERROR(Could not link against $ax_lib !) - else - case "x$host_os" in - *bsd* ) - BOOST_LDFLAGS="-pthread $BOOST_LDFLAGS" - break; - ;; - esac - - fi - fi - - CPPFLAGS="$CPPFLAGS_SAVED" - LDFLAGS="$LDFLAGS_SAVED" - fi + if test "x$link_thread" = "xno"; then + AC_MSG_ERROR(Could not link against $ax_lib !) + else + BOOST_THREAD_LIB="-l$ax_lib" + case "x$host_os" in + *bsd* ) + BOOST_LDFLAGS="-pthread $BOOST_LDFLAGS" + break; + ;; + solaris ) + BOOST_THREAD_LIB="$BOOST_THREAD_LIB -lpthread" + break; + ;; + mingw32 ) + break; + ;; + * ) + BOOST_THREAD_LIB="$BOOST_THREAD_LIB -lpthread" + break; + ;; + esac + AC_SUBST(BOOST_THREAD_LIB) + fi + fi + + CPPFLAGS="$CPPFLAGS_SAVED" + LDFLAGS="$LDFLAGS_SAVED" + fi ]) diff -Nru autoconf-archive-20150925/m4/ax_boost_unit_test_framework.m4 autoconf-archive-20170928/m4/ax_boost_unit_test_framework.m4 --- autoconf-archive-20150925/m4/ax_boost_unit_test_framework.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_unit_test_framework.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ================================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_boost_unit_test_framework.html -# ================================================================================ +# ================================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_boost_unit_test_framework.html +# ================================================================================= # # SYNOPSIS # @@ -29,7 +29,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 19 +#serial 20 AC_DEFUN([AX_BOOST_UNIT_TEST_FRAMEWORK], [ diff -Nru autoconf-archive-20150925/m4/ax_boost_wave.m4 autoconf-archive-20170928/m4/ax_boost_wave.m4 --- autoconf-archive-20150925/m4/ax_boost_wave.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_wave.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_wave.html +# https://www.gnu.org/software/autoconf-archive/ax_boost_wave.html # =========================================================================== # # SYNOPSIS @@ -30,7 +30,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 15 +#serial 16 AC_DEFUN([AX_BOOST_WAVE], [ diff -Nru autoconf-archive-20150925/m4/ax_boost_wserialization.m4 autoconf-archive-20170928/m4/ax_boost_wserialization.m4 --- autoconf-archive-20150925/m4/ax_boost_wserialization.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_boost_wserialization.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_wserialization.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_boost_wserialization.html +# ============================================================================ # # SYNOPSIS # @@ -29,7 +29,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 20 +#serial 21 AC_DEFUN([AX_BOOST_WSERIALIZATION], [ diff -Nru autoconf-archive-20150925/m4/ax_build_date_epoch.m4 autoconf-archive-20170928/m4/ax_build_date_epoch.m4 --- autoconf-archive-20150925/m4/ax_build_date_epoch.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_build_date_epoch.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,70 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_build_date_epoch.html +# =========================================================================== +# +# 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. +# +# LICENSE +# +# Copyright (c) 2016 Eric Bavier +# +# This program is free software: you can 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 . +# +# As a special exception, the respective Autoconf Macro's copyright owner +# gives unlimited permission to copy, distribute and modify the configure +# scripts that are the output of Autoconf when processing the Macro. You +# need not follow the terms of the GNU General Public License when using +# or distributing such scripts, even though portions of the text of the +# Macro appear in them. The GNU General Public License (GPL) does govern +# all other use of the material that constitutes the Autoconf Macro. +# +# This special exception to the GPL applies to versions of the Autoconf +# Macro released by the Autoconf Archive. When you make and distribute a +# modified version of the Autoconf Macro, you may extend this special +# exception to the GPL to apply to your modified version as well. + +#serial 2 + +AC_DEFUN([AX_BUILD_DATE_EPOCH], +[dnl +AC_MSG_CHECKING([for build time]) +ax_date_fmt="m4_default($2,%s)" +AS_IF([test x"$SOURCE_DATE_EPOCH" = x], + [$1=`date "+$ax_date_fmt"`], + [ax_build_date=`date -u -d "@$SOURCE_DATE_EPOCH" "+$ax_date_fmt" 2>/dev/null \ + || date -u -r "$SOURCE_DATE_EPOCH" "+$ax_date_fmt" 2>/dev/null` + AS_IF([test x"$ax_build_date" = x], + [m4_ifval([$3], + [$3], + [AC_MSG_ERROR([malformed SOURCE_DATE_EPOCH])])], + [$1=$ax_build_date])]) +AC_MSG_RESULT([$$1]) +])dnl AX_BUILD_DATE_EPOCH diff -Nru autoconf-archive-20150925/m4/ax_c99_inline.m4 autoconf-archive-20170928/m4/ax_c99_inline.m4 --- autoconf-archive-20150925/m4/ax_c99_inline.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_c99_inline.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_c99_inline.html +# https://www.gnu.org/software/autoconf-archive/ax_c99_inline.html # =========================================================================== # # SYNOPSIS @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_C99_INLINE], [ AC_MSG_CHECKING([whether the compiler supports C99 inline functions]) diff -Nru autoconf-archive-20150925/m4/ax_cache_size.m4 autoconf-archive-20170928/m4/ax_cache_size.m4 --- autoconf-archive-20150925/m4/ax_cache_size.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cache_size.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cache_size.html +# https://www.gnu.org/software/autoconf-archive/ax_cache_size.html # =========================================================================== # # SYNOPSIS @@ -24,7 +24,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_CACHE_SIZE], [ diff -Nru autoconf-archive-20150925/m4/ax_caolan_check_package.m4 autoconf-archive-20170928/m4/ax_caolan_check_package.m4 --- autoconf-archive-20150925/m4/ax_caolan_check_package.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_caolan_check_package.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_caolan_check_package.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_caolan_check_package.html +# ============================================================================ # # SYNOPSIS # @@ -12,7 +12,7 @@ # --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 seperately +# 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 @@ -34,7 +34,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 8 AC_DEFUN([AX_caolan_CHECK_PACKAGE], [ diff -Nru autoconf-archive-20150925/m4/ax_caolan_search_package.m4 autoconf-archive-20170928/m4/ax_caolan_search_package.m4 --- autoconf-archive-20150925/m4/ax_caolan_search_package.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_caolan_search_package.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_caolan_search_package.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_caolan_search_package.html +# ============================================================================= # # SYNOPSIS # @@ -12,7 +12,7 @@ # --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 seperately +# 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 @@ -34,7 +34,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 8 AC_DEFUN([AX_caolan_SEARCH_PACKAGE], [ diff -Nru autoconf-archive-20150925/m4/ax_c_arithmetic_rshift.m4 autoconf-archive-20170928/m4/ax_c_arithmetic_rshift.m4 --- autoconf-archive-20150925/m4/ax_c_arithmetic_rshift.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_c_arithmetic_rshift.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_c_arithmetic_rshift.html +# https://www.gnu.org/software/autoconf-archive/ax_c_arithmetic_rshift.html # =========================================================================== # # SYNOPSIS @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_C_ARITHMETIC_RSHIFT], [ AC_CACHE_CHECK([whether right shift operation is arithmetic], diff -Nru autoconf-archive-20150925/m4/ax_c___attribute__.m4 autoconf-archive-20170928/m4/ax_c___attribute__.m4 --- autoconf-archive-20150925/m4/ax_c___attribute__.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_c___attribute__.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_c___attribute__.html +# https://www.gnu.org/software/autoconf-archive/ax_c___attribute__.html # =========================================================================== # # SYNOPSIS @@ -28,7 +28,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -43,7 +43,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 8 +#serial 9 AC_DEFUN([AX_C___ATTRIBUTE__], [ AC_CACHE_CHECK([for __attribute__], [ax_cv___attribute__], diff -Nru autoconf-archive-20150925/m4/ax_c_bigendian_cross.m4 autoconf-archive-20170928/m4/ax_c_bigendian_cross.m4 --- autoconf-archive-20150925/m4/ax_c_bigendian_cross.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_c_bigendian_cross.m4 1970-01-01 00:00:00.000000000 +0000 @@ -1,122 +0,0 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_c_bigendian_cross.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_C_BIGENDIAN_CROSS -# -# DESCRIPTION -# -# Check endianess even when crosscompiling (partially based on the -# original AC_C_BIGENDIAN). -# -# The implementation will create a binary, but instead of running the -# binary it will be grep'ed for some symbols that differ for different -# endianess of the binary. -# -# NOTE: The upcoming autoconf 2.53 does include the idea of this macro, -# what makes it superfluous by then. -# -# LICENSE -# -# Copyright (c) 2008 Guido U. Draheim -# -# This program is free software; you can 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 . -# -# As a special exception, the respective Autoconf Macro's copyright owner -# gives unlimited permission to copy, distribute and modify the configure -# scripts that are the output of Autoconf when processing the Macro. You -# need not follow the terms of the GNU General Public License when using -# or distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. -# -# This special exception to the GPL applies to versions of the Autoconf -# Macro released by the Autoconf Archive. When you make and distribute a -# modified version of the Autoconf Macro, you may extend this special -# exception to the GPL to apply to your modified version as well. - -#serial 5 - -AU_ALIAS([AC_C_BIGENDIAN_CROSS], [AX_C_BIGENDIAN_CROSS]) -AC_DEFUN([AX_C_BIGENDIAN_CROSS], -[AC_CACHE_CHECK(whether byte ordering is bigendian, ac_cv_c_bigendian, -[ac_cv_c_bigendian=unknown -# See if sys/param.h defines the BYTE_ORDER macro. -AC_TRY_COMPILE([#include -#include ], [ -#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN - bogus endian macros -#endif], [# It does; now see whether it defined to BIG_ENDIAN or not. -AC_TRY_COMPILE([#include -#include ], [ -#if BYTE_ORDER != BIG_ENDIAN - not big endian -#endif], ac_cv_c_bigendian=yes, ac_cv_c_bigendian=no)]) -if test $ac_cv_c_bigendian = unknown; then -AC_TRY_RUN([main () { - /* Are we little or big endian? From Harbison&Steele. */ - union - { - long l; - char c[sizeof (long)]; - } u; - u.l = 1; - exit (u.c[sizeof (long) - 1] == 1); -}], ac_cv_c_bigendian=no, ac_cv_c_bigendian=yes, -[ echo $ac_n "cross-compiling... " 2>&AC_FD_MSG ]) -fi]) -if test $ac_cv_c_bigendian = unknown; then -AC_MSG_CHECKING(to probe for byte ordering) -[ -cat >conftest.c <&AC_FD_MSG - ac_cv_c_bigendian=yes - fi - if test `grep -l LiTTleEnDian conftest.o` ; then - echo $ac_n ' little endian probe OK, ' 1>&AC_FD_MSG - if test $ac_cv_c_bigendian = yes ; then - ac_cv_c_bigendian=unknown; - else - ac_cv_c_bigendian=no - fi - fi - echo $ac_n 'guessing bigendian ... ' >&AC_FD_MSG - fi - fi -AC_MSG_RESULT($ac_cv_c_bigendian) -fi -if test $ac_cv_c_bigendian = yes; then - AC_DEFINE(WORDS_BIGENDIAN, 1, [whether byteorder is bigendian]) - BYTEORDER=4321 -else - BYTEORDER=1234 -fi -AC_DEFINE_UNQUOTED(BYTEORDER, $BYTEORDER, [1234 = LIL_ENDIAN, 4321 = BIGENDIAN]) -if test $ac_cv_c_bigendian = unknown; then - AC_MSG_ERROR(unknown endianess - sorry, please pre-set ac_cv_c_bigendian) -fi -]) diff -Nru autoconf-archive-20150925/m4/ax_cc_for_build.m4 autoconf-archive-20170928/m4/ax_cc_for_build.m4 --- autoconf-archive-20150925/m4/ax_cc_for_build.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cc_for_build.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cc_for_build.html +# https://www.gnu.org/software/autoconf-archive/ax_cc_for_build.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -41,7 +41,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 2 +#serial 3 dnl Get a default for CC_FOR_BUILD to put into Makefile. AC_DEFUN([AX_CC_FOR_BUILD], diff -Nru autoconf-archive-20150925/m4/ax_cc_maxopt.m4 autoconf-archive-20170928/m4/ax_cc_maxopt.m4 --- autoconf-archive-20150925/m4/ax_cc_maxopt.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cc_maxopt.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cc_maxopt.html +# https://www.gnu.org/software/autoconf-archive/ax_cc_maxopt.html # =========================================================================== # # SYNOPSIS @@ -40,7 +40,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -55,7 +55,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 16 +#serial 17 AC_DEFUN([AX_CC_MAXOPT], [ diff -Nru autoconf-archive-20150925/m4/ax_c_compile_value.m4 autoconf-archive-20170928/m4/ax_c_compile_value.m4 --- autoconf-archive-20150925/m4/ax_c_compile_value.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_c_compile_value.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_c_compile_value.html +# https://www.gnu.org/software/autoconf-archive/ax_c_compile_value.html # =========================================================================== # # SYNOPSIS @@ -36,7 +36,7 @@ # AX_C_COMPILE_VALUE(sizeof(int), sizeof_int) # AX_C_COMPILE_VALUE([sizeof(int[[543]])], sizeof_int543) # -# As a result of runnfing the generated configure script, the following +# As a result of running the generated configure script, the following # definition will appear in config.h: # # #define COMPILE_VALUE_SIZEOF_INT 4 @@ -57,7 +57,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -72,7 +72,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 4 +#serial 7 ## Portability defines that help interoperate with classic and modern autoconfs ifdef([AC_TR_SH],[ diff -Nru autoconf-archive-20150925/m4/ax_c_declare_block.m4 autoconf-archive-20170928/m4/ax_c_declare_block.m4 --- autoconf-archive-20150925/m4/ax_c_declare_block.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_c_declare_block.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_c_declare_block.html +# https://www.gnu.org/software/autoconf-archive/ax_c_declare_block.html # =========================================================================== # # SYNOPSIS @@ -15,7 +15,7 @@ # quite a time already. # # #define DECLARE_BLOCK_NEEDED says they need to be at the beginning of of -# a statement block. Additionlly two defines DECLARE_BLOCK { and +# 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): # @@ -46,7 +46,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -61,7 +61,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 10 AC_DEFUN([AX_C_DECLARE_BLOCK],[dnl AC_CACHE_CHECK( diff -Nru autoconf-archive-20150925/m4/ax_cf_ebcdic.m4 autoconf-archive-20170928/m4/ax_cf_ebcdic.m4 --- autoconf-archive-20150925/m4/ax_cf_ebcdic.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cf_ebcdic.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cf_ebcdic.html +# https://www.gnu.org/software/autoconf-archive/ax_cf_ebcdic.html # =========================================================================== # # SYNOPSIS @@ -29,7 +29,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -44,7 +44,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 dnl Check whether character set is EBCDIC. AU_ALIAS([CF_EBCDIC], [AX_CF_EBCDIC]) diff -Nru autoconf-archive-20150925/m4/ax_cflags_aix_option.m4 autoconf-archive-20170928/m4/ax_cflags_aix_option.m4 --- autoconf-archive-20150925/m4/ax_cflags_aix_option.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cflags_aix_option.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cflags_aix_option.html +# https://www.gnu.org/software/autoconf-archive/ax_cflags_aix_option.html # =========================================================================== # # SYNOPSIS @@ -48,7 +48,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -63,7 +63,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 13 +#serial 14 AC_DEFUN([AX_FLAGS_AIX_OPTION_PRIVATE], [dnl AX_CHECK_COMPILE_FLAG([$1], [flag_ok="yes"], [flag_ok="no"], [-qlanglvl=ansi -qsrcmsg]) diff -Nru autoconf-archive-20150925/m4/ax_cflags_force_c89.m4 autoconf-archive-20170928/m4/ax_cflags_force_c89.m4 --- autoconf-archive-20150925/m4/ax_cflags_force_c89.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cflags_force_c89.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cflags_force_c89.html +# https://www.gnu.org/software/autoconf-archive/ax_cflags_force_c89.html # =========================================================================== # # SYNOPSIS @@ -40,7 +40,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -55,7 +55,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 9 +#serial 10 AC_DEFUN([AX_CFLAGS_FORCE_C89],[dnl AS_VAR_PUSHDEF([FLAGS],[CFLAGS])dnl diff -Nru autoconf-archive-20150925/m4/ax_cflags_hpux_option.m4 autoconf-archive-20170928/m4/ax_cflags_hpux_option.m4 --- autoconf-archive-20150925/m4/ax_cflags_hpux_option.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cflags_hpux_option.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cflags_hpux_option.html +# https://www.gnu.org/software/autoconf-archive/ax_cflags_hpux_option.html # =========================================================================== # # SYNOPSIS @@ -48,7 +48,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -63,7 +63,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 13 +#serial 14 AC_DEFUN([AX_FLAGS_HPUX_OPTION_PRIVATE], [dnl AX_CHECK_COMPILE_FLAG([$1], [flag_ok="yes"], [flag_ok="no"], [+ESlit +w1 -Aa]) diff -Nru autoconf-archive-20150925/m4/ax_cflags_irix_option.m4 autoconf-archive-20170928/m4/ax_cflags_irix_option.m4 --- autoconf-archive-20150925/m4/ax_cflags_irix_option.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cflags_irix_option.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cflags_irix_option.html +# https://www.gnu.org/software/autoconf-archive/ax_cflags_irix_option.html # =========================================================================== # # SYNOPSIS @@ -48,7 +48,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -63,7 +63,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 13 +#serial 14 AC_DEFUN([AX_FLAGS_IRIX_OPTION_PRIVATE], [dnl AX_CHECK_COMPILE_FLAG([$1], [flag_ok="yes"], [flag_ok="no"], [-fullwarn -use_readonly_const]) diff -Nru autoconf-archive-20150925/m4/ax_cflags_no_writable_strings.m4 autoconf-archive-20170928/m4/ax_cflags_no_writable_strings.m4 --- autoconf-archive-20150925/m4/ax_cflags_no_writable_strings.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cflags_no_writable_strings.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ================================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_cflags_no_writable_strings.html -# ================================================================================= +# ================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cflags_no_writable_strings.html +# ================================================================================== # # SYNOPSIS # @@ -41,7 +41,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -56,7 +56,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 13 +#serial 14 AC_DEFUN([AX_FLAGS_NO_WRITABLE_STRINGS],[dnl AS_VAR_PUSHDEF([FLAGS],[_AC_LANG_PREFIX[]FLAGS])dnl diff -Nru autoconf-archive-20150925/m4/ax_cflags_strict_prototypes.m4 autoconf-archive-20170928/m4/ax_cflags_strict_prototypes.m4 --- autoconf-archive-20150925/m4/ax_cflags_strict_prototypes.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cflags_strict_prototypes.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =============================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cflags_strict_prototypes.html -# =============================================================================== +# ================================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_cflags_strict_prototypes.html +# ================================================================================ # # SYNOPSIS # @@ -43,7 +43,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -58,7 +58,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 13 +#serial 16 AC_DEFUN([AX_FLAGS_STRICT_PROTOTYPES],[dnl AS_VAR_PUSHDEF([FLAGS],[_AC_LANG_PREFIX[]FLAGS])dnl @@ -68,8 +68,8 @@ ac_save_[]FLAGS="$[]FLAGS" for ac_arg dnl in "-pedantic -Werror % -fstrict-prototypes -Wstrict-prototypes" dnl GCC - "-pedantic -Werror % -Wstrict-prototypes" dnl try to warn atleast - "-pedantic -Werror % -Wmissing-prototypes" dnl try to warn atleast + "-pedantic -Werror % -Wstrict-prototypes" dnl try to warn at least + "-pedantic -Werror % -Wmissing-prototypes" dnl try to warn at least "-pedantic -Werror % -Werror-implicit-function-declaration" dnl "-pedantic -Werror % -Wimplicit-function-declaration" dnl "-pedantic % -Wstrict-prototypes %% no, unsupported" dnl oops diff -Nru autoconf-archive-20150925/m4/ax_cflags_sun_option.m4 autoconf-archive-20170928/m4/ax_cflags_sun_option.m4 --- autoconf-archive-20150925/m4/ax_cflags_sun_option.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cflags_sun_option.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cflags_sun_option.html +# https://www.gnu.org/software/autoconf-archive/ax_cflags_sun_option.html # =========================================================================== # # SYNOPSIS @@ -48,7 +48,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -63,7 +63,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 14 +#serial 15 AC_DEFUN([AX_FLAGS_SUN_OPTION_PRIVATE], [dnl AX_CHECK_COMPILE_FLAG([$1], [flag_ok="yes"], [flag_ok="no"], [+xstrconst -Xc]) diff -Nru autoconf-archive-20150925/m4/ax_cflags_warn_all.m4 autoconf-archive-20170928/m4/ax_cflags_warn_all.m4 --- autoconf-archive-20150925/m4/ax_cflags_warn_all.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cflags_warn_all.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cflags_warn_all.html +# https://www.gnu.org/software/autoconf-archive/ax_cflags_warn_all.html # =========================================================================== # # SYNOPSIS @@ -43,7 +43,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -58,7 +58,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 15 +#serial 16 AC_DEFUN([AX_FLAGS_WARN_ALL],[dnl AS_VAR_PUSHDEF([FLAGS],[_AC_LANG_PREFIX[]FLAGS])dnl diff -Nru autoconf-archive-20150925/m4/ax_c_float_words_bigendian.m4 autoconf-archive-20170928/m4/ax_c_float_words_bigendian.m4 --- autoconf-archive-20150925/m4/ax_c_float_words_bigendian.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_c_float_words_bigendian.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_c_float_words_bigendian.html -# ============================================================================== +# =============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_c_float_words_bigendian.html +# =============================================================================== # # SYNOPSIS # @@ -13,7 +13,7 @@ # 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 -# implemenation was inspired by the AC_C_BIGENDIAN macro in autoconf. +# implementation was inspired by the AC_C_BIGENDIAN macro in autoconf. # # The endianess is detected by first compiling C code that contains a # special double float value, then grepping the resulting object file for @@ -36,7 +36,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 10 AC_DEFUN([AX_C_FLOAT_WORDS_BIGENDIAN], [AC_CACHE_CHECK(whether float word ordering is bigendian, diff -Nru autoconf-archive-20150925/m4/ax_check_aligned_access_required.m4 autoconf-archive-20170928/m4/ax_check_aligned_access_required.m4 --- autoconf-archive-20150925/m4/ax_check_aligned_access_required.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_aligned_access_required.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,10 +1,10 @@ -# ==================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_aligned_access_required.html -# ==================================================================================== +# ===================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_check_aligned_access_required.html +# ===================================================================================== # # SYNOPSIS # -# AC_CHECK_ALIGNED_ACCESS_REQUIRED +# AX_CHECK_ALIGNED_ACCESS_REQUIRED # # DESCRIPTION # @@ -19,6 +19,13 @@ # 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. +# # LICENSE # # Copyright (c) 2008 Guido U. Draheim @@ -34,7 +41,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -49,35 +56,36 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 10 AC_DEFUN([AX_CHECK_ALIGNED_ACCESS_REQUIRED], [AC_CACHE_CHECK([if pointers to integers require aligned access], [ax_cv_have_aligned_access_required], - [AC_TRY_RUN([ -#include -#include + [AC_RUN_IFELSE([ + AC_LANG_PROGRAM([[@%:@include ]], + [[ + int i; + int *p; + int *q; + char *str; + str = (char *) malloc(40); + for (i = 0; i < 40; i++) { + *(str + i) = i; + } + p = (int *) (str + 1); + q = (int *) (str + 2); + return (*p == *q); + ]])], + [ax_cv_have_aligned_access_required=no], + [ax_cv_have_aligned_access_required=yes], + [ax_cv_have_aligned_access_required=maybe])]) -int main() -{ - char* string = malloc(40); - int i; - for (i=0; i < 40; i++) string[[i]] = i; - { - void* s = string; - int* p = s+1; - int* q = s+2; +if test "x$ax_cv_have_aligned_access_required" = "xmaybe"; then + AC_MSG_WARN([Assuming aligned access is required when cross-compiling]) + ax_cv_have_aligned_access_required=yes +fi - if (*p == *q) { return 1; } - } - return 0; -} - ], - [ax_cv_have_aligned_access_required=yes], - [ax_cv_have_aligned_access_required=no], - [ax_cv_have_aligned_access_required=no]) - ]) -if test "$ax_cv_have_aligned_access_required" = yes ; then +if test "x$ax_cv_have_aligned_access_required" = "xyes"; then AC_DEFINE([HAVE_ALIGNED_ACCESS_REQUIRED], [1], [Define if pointers to integers require aligned access]) fi diff -Nru autoconf-archive-20150925/m4/ax_check_allocated_ctime.m4 autoconf-archive-20170928/m4/ax_check_allocated_ctime.m4 --- autoconf-archive-20150925/m4/ax_check_allocated_ctime.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_allocated_ctime.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_check_allocated_ctime.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_check_allocated_ctime.html +# ============================================================================= # # SYNOPSIS # @@ -19,7 +19,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AG_CHECK_ALLOCATED_CTIME], [AX_CHECK_ALLOCATED_CTIME]) AC_DEFUN([AX_CHECK_ALLOCATED_CTIME],[ diff -Nru autoconf-archive-20150925/m4/ax_check_awk_and.m4 autoconf-archive-20170928/m4/ax_check_awk_and.m4 --- autoconf-archive-20150925/m4/ax_check_awk_and.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_and.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_and.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_and.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_AND], [ AX_TRY_AWK_EXPOUT([and()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_argind.m4 autoconf-archive-20170928/m4/ax_check_awk_argind.m4 --- autoconf-archive-20150925/m4/ax_check_awk_argind.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_argind.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_argind.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_argind.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_ARGIND], [ AX_TRY_AWK_EXPOUT([ARGIND], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_array_delete_elem.m4 autoconf-archive-20170928/m4/ax_check_awk_array_delete_elem.m4 --- autoconf-archive-20150925/m4/ax_check_awk_array_delete_elem.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_array_delete_elem.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_array_delete_elem.html -# ================================================================================== +# =================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_array_delete_elem.html +# =================================================================================== # # SYNOPSIS # @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_ARRAY_DELETE_ELEM], [ AX_TRY_AWK_EXPOUT([array delete element], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_array_delete.m4 autoconf-archive-20170928/m4/ax_check_awk_array_delete.m4 --- autoconf-archive-20150925/m4/ax_check_awk_array_delete.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_array_delete.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_array_delete.html -# ============================================================================= +# ============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_array_delete.html +# ============================================================================== # # SYNOPSIS # @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_ARRAY_DELETE], [ AX_TRY_AWK_EXPOUT([array delete], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_array_in.m4 autoconf-archive-20170928/m4/ax_check_awk_array_in.m4 --- autoconf-archive-20150925/m4/ax_check_awk_array_in.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_array_in.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_array_in.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_array_in.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_ARRAY_IN], [ AX_TRY_AWK_EXPOUT([array in], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_asorti.m4 autoconf-archive-20170928/m4/ax_check_awk_asorti.m4 --- autoconf-archive-20150925/m4/ax_check_awk_asorti.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_asorti.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_asorti.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_asorti.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_ASORTI], [ AX_TRY_AWK_EXPOUT([asorti()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_asort.m4 autoconf-archive-20170928/m4/ax_check_awk_asort.m4 --- autoconf-archive-20150925/m4/ax_check_awk_asort.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_asort.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_asort.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_asort.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_ASORT], [ AX_TRY_AWK_EXPOUT([asort()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_associative_array.m4 autoconf-archive-20170928/m4/ax_check_awk_associative_array.m4 --- autoconf-archive-20150925/m4/ax_check_awk_associative_array.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_associative_array.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_associative_array.html -# ================================================================================== +# =================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_associative_array.html +# =================================================================================== # # SYNOPSIS # @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_ASSOCIATIVE_ARRAY], [ AX_TRY_AWK_EXPOUT([associative array], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_atan2.m4 autoconf-archive-20170928/m4/ax_check_awk_atan2.m4 --- autoconf-archive-20150925/m4/ax_check_awk_atan2.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_atan2.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_atan2.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_atan2.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_ATAN2], [ AX_TRY_AWK_EXPOUT([atan2()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_compl.m4 autoconf-archive-20170928/m4/ax_check_awk_compl.m4 --- autoconf-archive-20150925/m4/ax_check_awk_compl.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_compl.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_compl.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_compl.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_COMPL], [ AX_TRY_AWK_ANYOUT([compl()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_conditional_expression.m4 autoconf-archive-20170928/m4/ax_check_awk_conditional_expression.m4 --- autoconf-archive-20150925/m4/ax_check_awk_conditional_expression.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_conditional_expression.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ======================================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_conditional_expression.html -# ======================================================================================= +# ======================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_conditional_expression.html +# ======================================================================================== # # SYNOPSIS # @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_CONDITIONAL_EXPRESSION], [ AX_TRY_AWK_EXPOUT([conditional expression], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_cos.m4 autoconf-archive-20170928/m4/ax_check_awk_cos.m4 --- autoconf-archive-20150925/m4/ax_check_awk_cos.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_cos.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_cos.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_cos.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_COS], [ AX_TRY_AWK_EXPOUT([cos()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_environ.m4 autoconf-archive-20170928/m4/ax_check_awk_environ.m4 --- autoconf-archive-20150925/m4/ax_check_awk_environ.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_environ.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_environ.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_environ.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_ENVIRON], [ AX_TRY_AWK_EXPOUT([ENVIRON], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_errno.m4 autoconf-archive-20170928/m4/ax_check_awk_errno.m4 --- autoconf-archive-20150925/m4/ax_check_awk_errno.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_errno.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_errno.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_errno.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_ERRNO], [ AX_TRY_AWK_EXPOUT([ERRNO], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_exit.m4 autoconf-archive-20170928/m4/ax_check_awk_exit.m4 --- autoconf-archive-20150925/m4/ax_check_awk_exit.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_exit.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_exit.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_exit.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_EXIT],[ AC_REQUIRE([AX_NEED_AWK]) diff -Nru autoconf-archive-20150925/m4/ax_check_awk_exp.m4 autoconf-archive-20170928/m4/ax_check_awk_exp.m4 --- autoconf-archive-20150925/m4/ax_check_awk_exp.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_exp.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_exp.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_exp.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_EXP], [ AX_TRY_AWK_EXPOUT([exp()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_gensub.m4 autoconf-archive-20170928/m4/ax_check_awk_gensub.m4 --- autoconf-archive-20150925/m4/ax_check_awk_gensub.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_gensub.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_gensub.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_gensub.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_GENSUB], [ AX_TRY_AWK_EXPOUT([gensub()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_getline.m4 autoconf-archive-20170928/m4/ax_check_awk_getline.m4 --- autoconf-archive-20150925/m4/ax_check_awk_getline.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_getline.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_getline.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_getline.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_GETLINE], [ AX_TRY_AWK_ANYOUT([getline], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_gsub.m4 autoconf-archive-20170928/m4/ax_check_awk_gsub.m4 --- autoconf-archive-20150925/m4/ax_check_awk_gsub.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_gsub.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_gsub.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_gsub.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_GSUB], [ AX_TRY_AWK_EXPOUT([gsub()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_ignorecase.m4 autoconf-archive-20170928/m4/ax_check_awk_ignorecase.m4 --- autoconf-archive-20150925/m4/ax_check_awk_ignorecase.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_ignorecase.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_ignorecase.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_ignorecase.html +# ============================================================================ # # SYNOPSIS # @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_IGNORECASE], [ AX_TRY_AWK_EXPOUT([IGNORECASE], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_index.m4 autoconf-archive-20170928/m4/ax_check_awk_index.m4 --- autoconf-archive-20150925/m4/ax_check_awk_index.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_index.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_index.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_index.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_INDEX], [ AX_TRY_AWK_EXPOUT([index[]()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_int.m4 autoconf-archive-20170928/m4/ax_check_awk_int.m4 --- autoconf-archive-20150925/m4/ax_check_awk_int.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_int.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_int.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_int.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_INT], [ AX_TRY_AWK_EXPOUT([int()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_length.m4 autoconf-archive-20170928/m4/ax_check_awk_length.m4 --- autoconf-archive-20150925/m4/ax_check_awk_length.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_length.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_length.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_length.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_LENGTH], [ AX_TRY_AWK_EXPOUT([length()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_log.m4 autoconf-archive-20170928/m4/ax_check_awk_log.m4 --- autoconf-archive-20150925/m4/ax_check_awk_log.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_log.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_log.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_log.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_LOG], [ AX_TRY_AWK_EXPOUT([log()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_lshift.m4 autoconf-archive-20170928/m4/ax_check_awk_lshift.m4 --- autoconf-archive-20150925/m4/ax_check_awk_lshift.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_lshift.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_lshift.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_lshift.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_LSHIFT], [ AX_TRY_AWK_EXPOUT([lshift()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_match_2parms.m4 autoconf-archive-20170928/m4/ax_check_awk_match_2parms.m4 --- autoconf-archive-20150925/m4/ax_check_awk_match_2parms.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_match_2parms.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_match_2parms.html -# ============================================================================= +# ============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_match_2parms.html +# ============================================================================== # # SYNOPSIS # @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_MATCH_2PARMS], [ AX_TRY_AWK_EXPOUT([match() with 2 parameters], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_match_3parms.m4 autoconf-archive-20170928/m4/ax_check_awk_match_3parms.m4 --- autoconf-archive-20150925/m4/ax_check_awk_match_3parms.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_match_3parms.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_match_3parms.html -# ============================================================================= +# ============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_match_3parms.html +# ============================================================================== # # SYNOPSIS # @@ -27,7 +27,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_MATCH_3PARMS], [ AX_TRY_AWK_EXPOUT([match() with 3 parameters], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_operator_multiply_multiply.m4 autoconf-archive-20170928/m4/ax_check_awk_operator_multiply_multiply.m4 --- autoconf-archive-20150925/m4/ax_check_awk_operator_multiply_multiply.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_operator_multiply_multiply.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_operator_multiply_multiply.html -# =========================================================================================== +# ============================================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_operator_multiply_multiply.html +# ============================================================================================ # # SYNOPSIS # @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_OPERATOR_MULTIPLY_MULTIPLY], [ AX_TRY_AWK_EXPOUT([operator **], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_operator_square.m4 autoconf-archive-20170928/m4/ax_check_awk_operator_square.m4 --- autoconf-archive-20150925/m4/ax_check_awk_operator_square.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_operator_square.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ================================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_operator_square.html -# ================================================================================ +# ================================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_operator_square.html +# ================================================================================= # # SYNOPSIS # @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_OPERATOR_SQUARE], [ AX_TRY_AWK_EXPOUT([operator ^], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_or.m4 autoconf-archive-20170928/m4/ax_check_awk_or.m4 --- autoconf-archive-20150925/m4/ax_check_awk_or.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_or.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_or.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_or.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_OR], [ AX_TRY_AWK_EXPOUT([or()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_printf.m4 autoconf-archive-20170928/m4/ax_check_awk_printf.m4 --- autoconf-archive-20150925/m4/ax_check_awk_printf.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_printf.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_printf.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_printf.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_PRINTF], [ AX_TRY_AWK_EXPOUT([printf()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_rand.m4 autoconf-archive-20170928/m4/ax_check_awk_rand.m4 --- autoconf-archive-20150925/m4/ax_check_awk_rand.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_rand.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_rand.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_rand.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_RAND], [ AX_TRY_AWK_ANYOUT([rand()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_rshift.m4 autoconf-archive-20170928/m4/ax_check_awk_rshift.m4 --- autoconf-archive-20150925/m4/ax_check_awk_rshift.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_rshift.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_rshift.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_rshift.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_RSHIFT], [ AX_TRY_AWK_EXPOUT([rshift()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_sin.m4 autoconf-archive-20170928/m4/ax_check_awk_sin.m4 --- autoconf-archive-20150925/m4/ax_check_awk_sin.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_sin.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_sin.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_sin.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_SIN], [ AX_TRY_AWK_EXPOUT([sin()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_split.m4 autoconf-archive-20170928/m4/ax_check_awk_split.m4 --- autoconf-archive-20150925/m4/ax_check_awk_split.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_split.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_split.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_split.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_SPLIT], [ AX_TRY_AWK_EXPOUT([split()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_sprintf.m4 autoconf-archive-20170928/m4/ax_check_awk_sprintf.m4 --- autoconf-archive-20150925/m4/ax_check_awk_sprintf.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_sprintf.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_sprintf.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_sprintf.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_SPRINTF], [ AX_TRY_AWK_EXPOUT([sprintf()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_sqrt.m4 autoconf-archive-20170928/m4/ax_check_awk_sqrt.m4 --- autoconf-archive-20150925/m4/ax_check_awk_sqrt.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_sqrt.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_sqrt.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_sqrt.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_SQRT], [ AX_TRY_AWK_EXPOUT([sqrt()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_srand.m4 autoconf-archive-20170928/m4/ax_check_awk_srand.m4 --- autoconf-archive-20150925/m4/ax_check_awk_srand.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_srand.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_srand.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_srand.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_SRAND], [ AX_TRY_AWK_EXPOUT([srand()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_strftime.m4 autoconf-archive-20170928/m4/ax_check_awk_strftime.m4 --- autoconf-archive-20150925/m4/ax_check_awk_strftime.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_strftime.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_strftime.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_strftime.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_STRFTIME], [ AX_TRY_AWK_EXPOUT([strftime()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_strtonum.m4 autoconf-archive-20170928/m4/ax_check_awk_strtonum.m4 --- autoconf-archive-20150925/m4/ax_check_awk_strtonum.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_strtonum.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_strtonum.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_strtonum.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_STRTONUM], [ AX_TRY_AWK_EXPOUT([strtonum()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_sub.m4 autoconf-archive-20170928/m4/ax_check_awk_sub.m4 --- autoconf-archive-20150925/m4/ax_check_awk_sub.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_sub.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_sub.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_sub.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_SUB], [ AX_TRY_AWK_EXPOUT([sub()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_substr.m4 autoconf-archive-20170928/m4/ax_check_awk_substr.m4 --- autoconf-archive-20150925/m4/ax_check_awk_substr.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_substr.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_substr.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_substr.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_SUBSTR], [ AX_TRY_AWK_EXPOUT([substr()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_system.m4 autoconf-archive-20170928/m4/ax_check_awk_system.m4 --- autoconf-archive-20150925/m4/ax_check_awk_system.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_system.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_system.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_system.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_SYSTEM], [ AX_TRY_AWK_EXPOUT([system()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_systime.m4 autoconf-archive-20170928/m4/ax_check_awk_systime.m4 --- autoconf-archive-20150925/m4/ax_check_awk_systime.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_systime.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_systime.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_systime.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_SYSTIME], [ AX_TRY_AWK_ANYOUT([systime()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_tolower.m4 autoconf-archive-20170928/m4/ax_check_awk_tolower.m4 --- autoconf-archive-20150925/m4/ax_check_awk_tolower.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_tolower.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_tolower.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_tolower.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_TOLOWER], [ AX_TRY_AWK_EXPOUT([tolower()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_toupper.m4 autoconf-archive-20170928/m4/ax_check_awk_toupper.m4 --- autoconf-archive-20150925/m4/ax_check_awk_toupper.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_toupper.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_toupper.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_toupper.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_TOUPPER], [ AX_TRY_AWK_EXPOUT([toupper()], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_user_defined_functions.m4 autoconf-archive-20170928/m4/ax_check_awk_user_defined_functions.m4 --- autoconf-archive-20150925/m4/ax_check_awk_user_defined_functions.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_user_defined_functions.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ======================================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_user_defined_functions.html -# ======================================================================================= +# ======================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_user_defined_functions.html +# ======================================================================================== # # SYNOPSIS # @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_USER_DEFINED_FUNCTIONS],[ AC_REQUIRE([AX_NEED_AWK]) diff -Nru autoconf-archive-20150925/m4/ax_check_awk_variable_value_pairs.m4 autoconf-archive-20170928/m4/ax_check_awk_variable_value_pairs.m4 --- autoconf-archive-20150925/m4/ax_check_awk_variable_value_pairs.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_variable_value_pairs.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ===================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_variable_value_pairs.html -# ===================================================================================== +# ====================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_variable_value_pairs.html +# ====================================================================================== # # SYNOPSIS # @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_VARIABLE_VALUE_PAIRS],[ AC_REQUIRE([AX_NEED_AWK]) diff -Nru autoconf-archive-20150925/m4/ax_check_awk_var_regexp.m4 autoconf-archive-20170928/m4/ax_check_awk_var_regexp.m4 --- autoconf-archive-20150925/m4/ax_check_awk_var_regexp.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_var_regexp.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_var_regexp.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_var_regexp.html +# ============================================================================ # # SYNOPSIS # @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_VAR_REGEXP], [ AX_TRY_AWK_EXPOUT([variable regexp], diff -Nru autoconf-archive-20150925/m4/ax_check_awk__v.m4 autoconf-archive-20170928/m4/ax_check_awk__v.m4 --- autoconf-archive-20150925/m4/ax_check_awk__v.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk__v.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk__v.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk__v.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK__V],[ AC_REQUIRE([AX_NEED_AWK]) diff -Nru autoconf-archive-20150925/m4/ax_check_awk__x_escapes.m4 autoconf-archive-20170928/m4/ax_check_awk__x_escapes.m4 --- autoconf-archive-20150925/m4/ax_check_awk__x_escapes.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk__x_escapes.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk__x_escapes.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_check_awk__x_escapes.html +# ============================================================================ # # SYNOPSIS # @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK__X_ESCAPES], [ AX_TRY_AWK_EXPOUT([\x escapes], diff -Nru autoconf-archive-20150925/m4/ax_check_awk_xor.m4 autoconf-archive-20170928/m4/ax_check_awk_xor.m4 --- autoconf-archive-20150925/m4/ax_check_awk_xor.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_awk_xor.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_awk_xor.html +# https://www.gnu.org/software/autoconf-archive/ax_check_awk_xor.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CHECK_AWK_XOR], [ AX_TRY_AWK_EXPOUT([xor()], diff -Nru autoconf-archive-20150925/m4/ax_check_class.m4 autoconf-archive-20170928/m4/ax_check_class.m4 --- autoconf-archive-20150925/m4/ax_check_class.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_class.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_class.html +# https://www.gnu.org/software/autoconf-archive/ax_check_class.html # =========================================================================== # # SYNOPSIS @@ -36,7 +36,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -51,83 +51,18 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 12 AU_ALIAS([AC_CHECK_CLASS], [AX_CHECK_CLASS]) AC_DEFUN([AX_CHECK_CLASS],[ AC_REQUIRE([AX_PROG_JAVA]) ac_var_name=`echo $1 | sed 's/\./_/g'` -dnl Normaly I'd use a AC_CACHE_CHECK here but since the variable name is +dnl Normally I'd use a AC_CACHE_CHECK here but since the variable name is dnl dynamic I need an extra level of extraction AC_MSG_CHECKING([for $1 class]) AC_CACHE_VAL(ax_cv_class_$ac_var_name, [ -if test x$ac_cv_prog_uudecode_base64 = xyes; then -dnl /** -dnl * Test.java: used to test dynamicaly if a class exists. -dnl */ -dnl public class Test -dnl { -dnl -dnl public static void -dnl main( String[] argv ) -dnl { -dnl Class lib; -dnl if (argv.length < 1) -dnl { -dnl System.err.println ("Missing argument"); -dnl System.exit (77); -dnl } -dnl try -dnl { -dnl lib = Class.forName (argv[0]); -dnl } -dnl catch (ClassNotFoundException e) -dnl { -dnl System.exit (1); -dnl } -dnl lib = null; -dnl System.exit (0); -dnl } -dnl -dnl } -cat << \EOF > Test.uue -begin-base64 644 Test.class -yv66vgADAC0AKQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE -bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51 -bWJlclRhYmxlDAAKAAsBAANlcnIBABVMamF2YS9pby9QcmludFN0cmVhbTsJ -AA0ACQcADgEAEGphdmEvbGFuZy9TeXN0ZW0IABABABBNaXNzaW5nIGFyZ3Vt -ZW50DAASABMBAAdwcmludGxuAQAVKExqYXZhL2xhbmcvU3RyaW5nOylWCgAV -ABEHABYBABNqYXZhL2lvL1ByaW50U3RyZWFtDAAYABkBAARleGl0AQAEKEkp -VgoADQAXDAAcAB0BAAdmb3JOYW1lAQAlKExqYXZhL2xhbmcvU3RyaW5nOylM -amF2YS9sYW5nL0NsYXNzOwoAHwAbBwAgAQAPamF2YS9sYW5nL0NsYXNzBwAi -AQAgamF2YS9sYW5nL0NsYXNzTm90Rm91bmRFeGNlcHRpb24BAAY8aW5pdD4B -AAMoKVYMACMAJAoAAwAlAQAKU291cmNlRmlsZQEACVRlc3QuamF2YQAhAAEA -AwAAAAAAAgAJAAUABgABAAcAAABtAAMAAwAAACkqvgSiABCyAAwSD7YAFBBN -uAAaKgMyuAAeTKcACE0EuAAaAUwDuAAasQABABMAGgAdACEAAQAIAAAAKgAK -AAAACgAAAAsABgANAA4ADgATABAAEwASAB4AFgAiABgAJAAZACgAGgABACMA -JAABAAcAAAAhAAEAAQAAAAUqtwAmsQAAAAEACAAAAAoAAgAAAAQABAAEAAEA -JwAAAAIAKA== -==== -EOF - if $UUDECODE Test.uue; then - : - else - echo "configure: __oline__: uudecode had trouble decoding base 64 file 'Test.uue'" >&AS_MESSAGE_LOG_FD - echo "configure: failed file was:" >&AS_MESSAGE_LOG_FD - cat Test.uue >&AS_MESSAGE_LOG_FD - ac_cv_prog_uudecode_base64=no - fi - rm -f Test.uue - if AC_TRY_COMMAND($JAVA $JAVAFLAGS Test $1) >/dev/null 2>&1; then - eval "ac_cv_class_$ac_var_name=yes" - else - eval "ac_cv_class_$ac_var_name=no" - fi - rm -f Test.class -else AX_TRY_COMPILE_JAVA([$1], , [eval "ac_cv_class_$ac_var_name=yes"], [eval "ac_cv_class_$ac_var_name=no"]) -fi eval "ac_var_val=$`eval echo ac_cv_class_$ac_var_name`" eval "HAVE_$ac_var_name=$`echo ac_cv_class_$ac_var_val`" HAVE_LAST_CLASS=$ac_var_val @@ -137,7 +72,7 @@ ifelse([$3], , :, [$3]) fi ]) -dnl for some reason the above statment didn't fall though here? +dnl for some reason the above statement didn't fall though here? dnl do scripts have variable scoping? eval "ac_var_val=$`eval echo ac_cv_class_$ac_var_name`" AC_MSG_RESULT($ac_var_val) diff -Nru autoconf-archive-20150925/m4/ax_check_classpath.m4 autoconf-archive-20170928/m4/ax_check_classpath.m4 --- autoconf-archive-20150925/m4/ax_check_classpath.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_classpath.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_classpath.html +# https://www.gnu.org/software/autoconf-archive/ax_check_classpath.html # =========================================================================== # # SYNOPSIS @@ -33,7 +33,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -48,7 +48,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_CHECK_CLASSPATH], [AX_CHECK_CLASSPATH]) AC_DEFUN([AX_CHECK_CLASSPATH],[ diff -Nru autoconf-archive-20150925/m4/ax_check_compile_flag.m4 autoconf-archive-20170928/m4/ax_check_compile_flag.m4 --- autoconf-archive-20150925/m4/ax_check_compile_flag.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_compile_flag.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html +# https://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html # =========================================================================== # # SYNOPSIS @@ -40,7 +40,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -55,7 +55,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 4 +#serial 5 AC_DEFUN([AX_CHECK_COMPILE_FLAG], [AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF diff -Nru autoconf-archive-20150925/m4/ax_check_define.m4 autoconf-archive-20170928/m4/ax_check_define.m4 --- autoconf-archive-20150925/m4/ax_check_define.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_define.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_define.html +# https://www.gnu.org/software/autoconf-archive/ax_check_define.html # =========================================================================== # # SYNOPSIS @@ -29,7 +29,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -44,7 +44,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 8 +#serial 10 AU_ALIAS([AC_CHECK_DEFINED], [AC_CHECK_DEFINE]) AC_DEFUN([AC_CHECK_DEFINE],[ @@ -53,6 +53,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[ #ifdef $1 int ok; + (void)ok; #else choke me #endif @@ -68,6 +69,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <$1>]], [[ #ifdef $2 int ok; + (void)ok; #else choke me #endif diff -Nru autoconf-archive-20150925/m4/ax_check_docbook_dtd.m4 autoconf-archive-20170928/m4/ax_check_docbook_dtd.m4 --- autoconf-archive-20150925/m4/ax_check_docbook_dtd.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_docbook_dtd.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_docbook_dtd.html +# https://www.gnu.org/software/autoconf-archive/ax_check_docbook_dtd.html # =========================================================================== # # SYNOPSIS @@ -43,7 +43,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -58,7 +58,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_CHECK_DOCBOOK_DTD], [AX_CHECK_DOCBOOK_DTD]) AC_DEFUN([AX_CHECK_DOCBOOK_DTD], diff -Nru autoconf-archive-20150925/m4/ax_check_docbook_xslt.m4 autoconf-archive-20170928/m4/ax_check_docbook_xslt.m4 --- autoconf-archive-20150925/m4/ax_check_docbook_xslt.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_docbook_xslt.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_docbook_xslt.html +# https://www.gnu.org/software/autoconf-archive/ax_check_docbook_xslt.html # =========================================================================== # # SYNOPSIS @@ -43,7 +43,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -58,7 +58,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_CHECK_DOCBOOK_XSLT], [AX_CHECK_DOCBOOK_XSLT]) AC_DEFUN([AX_CHECK_DOCBOOK_XSLT], diff -Nru autoconf-archive-20150925/m4/ax_check_docbook_xslt_min.m4 autoconf-archive-20170928/m4/ax_check_docbook_xslt_min.m4 --- autoconf-archive-20150925/m4/ax_check_docbook_xslt_min.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_docbook_xslt_min.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_check_docbook_xslt_min.html -# ============================================================================= +# ============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_check_docbook_xslt_min.html +# ============================================================================== # # SYNOPSIS # @@ -35,7 +35,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -50,7 +50,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_CHECK_DOCBOOK_XSLT_MIN], [AX_CHECK_DOCBOOK_XSLT_MIN]) AC_DEFUN([AX_CHECK_DOCBOOK_XSLT_MIN], diff -Nru autoconf-archive-20150925/m4/ax_check_dos_filesys.m4 autoconf-archive-20170928/m4/ax_check_dos_filesys.m4 --- autoconf-archive-20150925/m4/ax_check_dos_filesys.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_dos_filesys.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_dos_filesys.html +# https://www.gnu.org/software/autoconf-archive/ax_check_dos_filesys.html # =========================================================================== # # SYNOPSIS @@ -32,7 +32,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -47,7 +47,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 4 +#serial 5 AU_ALIAS([ACX_CHECK_DOS_FILESYS], [AX_CHECK_DOS_FILESYS]) AC_DEFUN([AX_CHECK_DOS_FILESYS_LIMITATIONS], diff -Nru autoconf-archive-20150925/m4/ax_check_enable_debug.m4 autoconf-archive-20170928/m4/ax_check_enable_debug.m4 --- autoconf-archive-20150925/m4/ax_check_enable_debug.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_enable_debug.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_enable_debug.html +# https://www.gnu.org/software/autoconf-archive/ax_check_enable_debug.html # =========================================================================== # # SYNOPSIS @@ -42,7 +42,7 @@ # permitted in any medium without royalty provided the copyright notice # and this notice are preserved. -#serial 5 +#serial 8 AC_DEFUN([AX_CHECK_ENABLE_DEBUG],[ AC_BEFORE([$0],[AC_PROG_CC])dnl @@ -65,8 +65,8 @@ m4_define(ax_disable_debug_vars,[m4_normalize(ifelse([$3],,[NDEBUG],[$3]))]) AC_ARG_ENABLE(debug, - [AS_HELP_STRING([--enable-debug=]@<:@yes/info/profile/no@:>@,[compile with debugging])], - [],enable_debug=$ax_enable_debug_default) + [AS_HELP_STRING([--enable-debug=]@<:@yes/info/profile/no@:>@,[compile with debugging])], + [],enable_debug=$ax_enable_debug_default) # empty mean debug yes AS_IF([test "x$enable_debug" = "x"], @@ -75,44 +75,44 @@ # case of debug AS_CASE([$enable_debug], [yes],[ - AC_MSG_RESULT(yes) - CFLAGS="${CFLAGS} -g -O0" - CXXFLAGS="${CXXFLAGS} -g -O0" - FFLAGS="${FFLAGS} -g -O0" - FCFLAGS="${FCFLAGS} -g -O0" - OBJCFLAGS="${OBJCFLAGS} -g -O0" + AC_MSG_RESULT(yes) + CFLAGS="${CFLAGS} -g -O0" + CXXFLAGS="${CXXFLAGS} -g -O0" + FFLAGS="${FFLAGS} -g -O0" + FCFLAGS="${FCFLAGS} -g -O0" + OBJCFLAGS="${OBJCFLAGS} -g -O0" ], [info],[ - AC_MSG_RESULT(info) - CFLAGS="${CFLAGS} -g" - CXXFLAGS="${CXXFLAGS} -g" - FFLAGS="${FFLAGS} -g" - FCFLAGS="${FCFLAGS} -g" - OBJCFLAGS="${OBJCFLAGS} -g" + AC_MSG_RESULT(info) + CFLAGS="${CFLAGS} -g" + CXXFLAGS="${CXXFLAGS} -g" + FFLAGS="${FFLAGS} -g" + FCFLAGS="${FCFLAGS} -g" + OBJCFLAGS="${OBJCFLAGS} -g" ], [profile],[ - AC_MSG_RESULT(profile) - CFLAGS="${CFLAGS} -g -pg" - CXXFLAGS="${CXXFLAGS} -g -pg" - FFLAGS="${FFLAGS} -g -pg" - FCFLAGS="${FCFLAGS} -g -pg" - OBJCFLAGS="${OBJCFLAGS} -g -pg" - LDFLAGS="${LDFLAGS} -pg" + AC_MSG_RESULT(profile) + CFLAGS="${CFLAGS} -g -pg" + CXXFLAGS="${CXXFLAGS} -g -pg" + FFLAGS="${FFLAGS} -g -pg" + FCFLAGS="${FCFLAGS} -g -pg" + OBJCFLAGS="${OBJCFLAGS} -g -pg" + LDFLAGS="${LDFLAGS} -pg" ], [ - AC_MSG_RESULT(no) - dnl Ensure AC_PROG_CC/CXX/F77/FC/OBJC will not enable debug flags - dnl by setting any unset environment flag variables - AS_IF([test "x${CFLAGS+set}" != "xset"], - [CFLAGS=""]) - AS_IF([test "x${CXXFLAGS+set}" != "xset"], - [CXXFLAGS=""]) - AS_IF([test "x${FFLAGS+set}" != "xset"], - [FFLAGS=""]) - AS_IF([test "x${FCFLAGS+set}" != "xset"], - [FCFLAGS=""]) - AS_IF([test "x${OBJCFLAGS+set}" != "xset"], - [OBJCFLAGS=""]) + AC_MSG_RESULT(no) + dnl Ensure AC_PROG_CC/CXX/F77/FC/OBJC will not enable debug flags + dnl by setting any unset environment flag variables + AS_IF([test "x${CFLAGS+set}" != "xset"], + [CFLAGS=""]) + AS_IF([test "x${CXXFLAGS+set}" != "xset"], + [CXXFLAGS=""]) + AS_IF([test "x${FFLAGS+set}" != "xset"], + [FFLAGS=""]) + AS_IF([test "x${FCFLAGS+set}" != "xset"], + [FCFLAGS=""]) + AS_IF([test "x${OBJCFLAGS+set}" != "xset"], + [OBJCFLAGS=""]) ]) dnl Define various variables if debugging is disabled. diff -Nru autoconf-archive-20150925/m4/ax_check_func_in.m4 autoconf-archive-20170928/m4/ax_check_func_in.m4 --- autoconf-archive-20150925/m4/ax_check_func_in.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_func_in.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_func_in.html +# https://www.gnu.org/software/autoconf-archive/ax_check_func_in.html # =========================================================================== # # SYNOPSIS @@ -25,7 +25,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -40,7 +40,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 6 +#serial 7 dnl AX_CHECK_FUNC_IN(HEADER, FUNCTION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) AU_ALIAS([AC_CHECK_FUNC_IN], [AX_CHECK_FUNC_IN]) diff -Nru autoconf-archive-20150925/m4/ax_check_gd.m4 autoconf-archive-20170928/m4/ax_check_gd.m4 --- autoconf-archive-20150925/m4/ax_check_gd.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_gd.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_gd.html +# https://www.gnu.org/software/autoconf-archive/ax_check_gd.html # =========================================================================== # # SYNOPSIS @@ -13,7 +13,7 @@ # 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 lirbary supports +# 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 @@ -33,7 +33,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 11 AC_DEFUN([AX_CHECK_GD], [ AC_ARG_WITH(gd, diff -Nru autoconf-archive-20150925/m4/ax_check_girs_gjs.m4 autoconf-archive-20170928/m4/ax_check_girs_gjs.m4 --- autoconf-archive-20150925/m4/ax_check_girs_gjs.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_girs_gjs.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,68 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_check_girs_gjs.html +# =========================================================================== +# +# 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. +# +# LICENSE +# +# Copyright (c) 2013, 2016 Endless Mobile, Inc.; contributed by Philip Chimento +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +#serial 3 + +AC_DEFUN([_AX_CHECK_GIR_GJS], [ + AC_MSG_CHECKING([for version $2 of $1]) + _AX_GJS_IFELSE([ + imports.gi.versions@<:@\"$1\"@:>@ = \"$2\"; + const Library = imports.gi.$1; + ], + [AC_MSG_RESULT([yes])], + [ + AC_MSG_RESULT([no]) + AC_MSG_ERROR([You do not have API version $2 of the GObject +Introspection bindings for the $1 library. +Build a version from source, or find out what package to +install with one of these commands, depending on your system: + apt-file search $1-$2.typelib + dnf provides \*/$1-$2.typelib +]) + ] + ) +]) + +AC_DEFUN([AX_CHECK_GIRS_GJS], [ + AC_REQUIRE([AX_PROG_GJS]) + m4_map_args_pair([_AX_CHECK_GIR_GJS], [AC_MSG_ERROR], $@) +]) diff -Nru autoconf-archive-20150925/m4/ax_check_gir_symbols_gjs.m4 autoconf-archive-20170928/m4/ax_check_gir_symbols_gjs.m4 --- autoconf-archive-20150925/m4/ax_check_gir_symbols_gjs.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_gir_symbols_gjs.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,83 @@ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_check_gir_symbols_gjs.html +# ============================================================================= +# +# 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. +# +# LICENSE +# +# Copyright (c) 2013, 2016 Endless Mobile, Inc.; contributed by Philip Chimento +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +#serial 2 + +AC_DEFUN([AX_CHECK_GIR_SYMBOLS_GJS], [ + AC_REQUIRE([AX_PROG_GJS]) + m4_foreach_w([SYMBOL], [$3], [ + AC_MSG_CHECKING([for $1.SYMBOL in $1-$2]) + _AX_GJS_IFELSE([ + imports.gi.versions@<:@\"$1\"@:>@ = \"$2\"; + const Library = imports.gi.$1; + let symbols = \"SYMBOL\".split('.'); + function check_symbols(symbols_list) { + printerr('gjs: checking', symbols_list.join('.')); + try { + symbols_list.reduce(function (prev, curr) { + if (typeof prev@<:@curr@:>@ === 'undefined') + throw 1; + return prev@<:@curr@:>@; + }, Library); + return true; + } catch (e) { + if (e === 1) + return false; + throw e; + } + } + if (!check_symbols(symbols)) { + dnl For methods, we need to check the class's prototype + symbols.splice(-1, 0, 'prototype'); + if (!check_symbols(symbols)) + throw 1; + } + ], + [AC_MSG_RESULT([yes])], + [ + AC_MSG_RESULT([no]) + AC_MSG_ERROR([The symbol $1.SYMBOL was not importable +in GJS, although the $1 library was present. +Perhaps you need a newer version of the library?]) + ]) + ]) +]) diff -Nru autoconf-archive-20150925/m4/ax_check_gl.m4 autoconf-archive-20170928/m4/ax_check_gl.m4 --- autoconf-archive-20150925/m4/ax_check_gl.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_gl.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,32 +1,39 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_gl.html +# https://www.gnu.org/software/autoconf-archive/ax_check_gl.html # =========================================================================== # # SYNOPSIS # -# AX_CHECK_GL +# AX_CHECK_GL([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND]) # # DESCRIPTION # -# Check for an OpenGL implementation. If GL is found, the required -# compiler and linker flags are included in the output variables -# "GL_CFLAGS", "GL_LIBS", "GL_LDFLAGS", respectively. If no usable GL -# implementation is found, "no_gl" is set to "yes". +# Checks for an OpenGL implementation. If a valid OpenGL implementation is +# found, this macro would set C preprocessor symbol HAVE_GL to 1. # -# You could disable OpenGL using --with-gl=no -# -# You could choose a specific OpenGL libs using --with-gl=lib_name -# -# Under darwin, cygwin and mingw target you could prefer the OpenGL -# implementation that link with X setting --with-gl=x or without X support -# with --with-gl=nox. Notes that this script try to guess the right -# implementation. -# -# If the header "GL/gl.h" is found, "HAVE_GL_GL_H" is defined. If the -# header "OpenGL/gl.h" is found, HAVE_OPENGL_GL_H is defined. These -# preprocessor definitions may not be mutually exclusive. -# -# You should use something like this in your headers: +# 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 @@ -39,10 +46,18 @@ # # 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. +# # LICENSE # # Copyright (c) 2009 Braden McDaniel # Copyright (c) 2012 Bastien Roucaries +# Copyright (c) 2016 Felix Chern # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the @@ -55,7 +70,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -70,8 +85,9 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 17 +#serial 22 +# example gl program m4_define([_AX_CHECK_GL_PROGRAM], [AC_LANG_PROGRAM([[ # if defined(HAVE_WINDOWS_H) && defined(_WIN32) @@ -99,59 +115,44 @@ ] ]) -dnl local save flags -AC_DEFUN([_AX_CHECK_GL_SAVE_FLAGS], -[dnl -ax_check_gl_saved_libs="${LIBS}" -ax_check_gl_saved_cflags="${CFLAGS}" -ax_check_gl_saved_cppflags="${CPPFLAGS}" -ax_check_gl_saved_ldflags="${LDFLAGS}" -]) -dnl local restore flags -AC_DEFUN([_AX_CHECK_GL_RESTORE_FLAGS], -[dnl -LIBS="${ax_check_gl_saved_libs}" -CFLAGS="${ax_check_gl_saved_cflags}" -CPPFLAGS="${ax_check_gl_saved_cppflags}" -LDFLAGS="${ax_check_gl_saved_ldflags}" -]) - -dnl default switch case failure -AC_DEFUN([_AX_CHECK_MSG_FAILURE_ORDER], -[dnl - AC_MSG_FAILURE([Order logic in ax_check_gl is buggy]) +# _AX_CHECK_GL_SAVE_FLAGS(LIST-OF-FLAGS) +# Use this macro before you modify the flags. +# Restore the flags by _AX_CHECK_GL_RESTORE_FLAGS +# +# Example: _AX_CHECK_GL_SAVE_FLAGS([[CFLAGS],[LIBS]]) expands to +# gl_saved_flag_cflags=$CFLAGS +# gl_saved_flag_libs=$LIBS +# CFLAGS="$GL_CFLAGS $CFLAGS" +# LIBS="$GL_LIBS $LIBS" +AC_DEFUN([_AX_CHECK_GL_SAVE_FLAGS], [ + AX_SAVE_FLAGS_WITH_PREFIX([GL],[$1]) + AC_LANG_PUSH([C]) ]) -# set the varible ax_check_gl_need_x -# this variable determine if we need opengl that link with X -# value are default aka try the first library wether if it link or not with x -# yes that means we need a opengl with x -# no that means we do not need an opengl with x -AC_DEFUN([_AX_CHECK_GL_NEED_X], -[dnl - # do not check if empty : allow a subroutine to modify the choice - AS_IF([test "X$ax_check_gl_need_x" = "X"], - [ax_check_gl_need_x="default" - AS_IF([test "X$no_x" = "Xyes"],[ax_check_gl_need_x="no"]) - AS_IF([test "X$ax_check_gl_want_gl" = "Xnox"],[ax_check_gl_need_x="no"]) - AS_IF([test "X$ax_check_gl_want_gl" = "Xx"],[ax_check_gl_need_x="yes"])]) +# _AX_CHECK_GL_RESTORE_FLAGS(LIST-OF-FLAGS) +# Use this marcro to restore the flags you saved using +# _AX_CHECK_GL_SAVE_FLAGS +# +# Example: _AX_CHECK_GL_RESTORE_FLAGS([[CFLAGS],[LIBS]]) expands to +# CFLAGS="$gl_saved_flag_cflags" +# LIBS="$gl_saved_flag_libs" +AC_DEFUN([_AX_CHECK_GL_RESTORE_FLAGS], [ + AX_RESTORE_FLAGS_WITH_PREFIX([GL],[$1]) + AC_LANG_POP([C]) ]) -# compile the example program +# Check if the program compiles AC_DEFUN([_AX_CHECK_GL_COMPILE], [dnl - AC_LANG_PUSH([C]) - _AX_CHECK_GL_SAVE_FLAGS() - CFLAGS="${GL_CFLAGS} ${CFLAGS}" + _AX_CHECK_GL_SAVE_FLAGS([CFLAGS]) AC_COMPILE_IFELSE([_AX_CHECK_GL_PROGRAM], [ax_check_gl_compile_opengl="yes"], [ax_check_gl_compile_opengl="no"]) - _AX_CHECK_GL_RESTORE_FLAGS() - AC_LANG_POP([C]) + _AX_CHECK_GL_RESTORE_FLAGS([CFLAGS]) ]) -# compile the example program (cache) +# Compile the example program (cache) AC_DEFUN([_AX_CHECK_GL_COMPILE_CV], [dnl AC_CACHE_CHECK([for compiling a minimal OpenGL program],[ax_cv_check_gl_compile_opengl], @@ -160,22 +161,17 @@ ax_check_gl_compile_opengl="${ax_cv_check_gl_compile_opengl}" ]) -# link the example program +# Link the example program AC_DEFUN([_AX_CHECK_GL_LINK], [dnl - AC_LANG_PUSH([C]) - _AX_CHECK_GL_SAVE_FLAGS() - CFLAGS="${GL_CFLAGS} ${CFLAGS}" - LIBS="${GL_LIBS} ${LIBS}" - LDFLAGS="${GL_LDFLAGS} ${LDFLAGS}" + _AX_CHECK_GL_SAVE_FLAGS([[CFLAGS],[LIBS],[LDFLAGS]]) AC_LINK_IFELSE([_AX_CHECK_GL_PROGRAM], [ax_check_gl_link_opengl="yes"], [ax_check_gl_link_opengl="no"]) - _AX_CHECK_GL_RESTORE_FLAGS() - AC_LANG_POP([C]) + _AX_CHECK_GL_RESTORE_FLAGS([[CFLAGS],[LIBS],[LDFLAGS]]) ]) -# link the example program (cache) +# Link the example program (cache) AC_DEFUN([_AX_CHECK_GL_LINK_CV], [dnl AC_CACHE_CHECK([for linking a minimal OpenGL program],[ax_cv_check_gl_link_opengl], @@ -184,376 +180,119 @@ ax_check_gl_link_opengl="${ax_cv_check_gl_link_opengl}" ]) -dnl Check headers manually (default case) -AC_DEFUN([_AX_CHECK_GL_MANUAL_HEADERS_DEFAULT], -[AC_REQUIRE([AC_PATH_XTRA]) - AC_LANG_PUSH([C]) - _AX_CHECK_GL_SAVE_FLAGS() - CFLAGS="${GL_CFLAGS} ${CFLAGS}" - # see comment in _AX_CHECK_GL_INCLUDES_DEFAULT - AC_CHECK_HEADERS([windows.h],[],[],[AC_INCLUDES_DEFAULT]) - # FIXME: use extra cflags - AC_CHECK_HEADERS([GL/gl.h],[ax_check_gl_have_headers="yes"], - [ax_check_gl_have_headers_headers="no"], - [_AX_CHECK_GL_INCLUDES_DEFAULT()]) - # do not try darwin specific OpenGl/gl.h - _AX_CHECK_GL_RESTORE_FLAGS() - AC_LANG_POP([C]) -]) - -# darwin headers without X -AC_DEFUN([_AX_CHECK_GL_MANUAL_HEADERS_DARWIN_NOX],[ - AC_LANG_PUSH([C]) - _AX_CHECK_GL_SAVE_FLAGS() - # FIXME: use -framework opengl as an extra cflags - CFLAGS="-framework opengl ${GL_CFLAGS} ${CFLAGS}" - AC_CHECK_HEADERS([OpenGL/gl.h],[ax_check_gl_have_headers="yes"], - [ax_check_gl_have_headers_headers="no"], - [_AX_CHECK_GL_INCLUDES_DEFAULT()]) - AS_IF([test "X$ax_check_gl_have_headers" = "yes"], - [GL_CFLAGS="-framework opengl ${GL_CFLAGS}"]) - _AX_CHECK_GL_SAVE_FLAGS() - AC_LANG_POP([C]) -]) -# check header for darwin -AC_DEFUN([_AX_CHECK_GL_MANUAL_HEADERS_DARWIN], -[AC_REQUIRE([_AX_CHECK_GL_NEED_X])dnl - AS_CASE(["$ax_check_gl_order"], - # try to use framework - ["gl"],[_AX_CHECK_GL_MANUAL_HEADERS_DARWIN_NOX()], - # try to use framework then mesa (X) - ["gl mesagl"],[ - _AX_CHECK_GL_MANUAL_HEADERS_DARWIN_NOX() - AS_IF([test "X$ax_check_gl_have_headers" = "yes"], - [ax_check_gl_order="gl" - ax_check_gl_need_x="yes"], - [ax_check_gl_order="mesagl gl" - ax_check_gl_need_x="no"] - # retry with general test - _AX_CHECK_GL_MANUAL_HEADERS_DEFAULT()])], - ["mesagl gl"],[ - _AX_CHECK_GL_MANUAL_HEADERS_DEFAULT() - AS_IF([test "X$ax_check_gl_have_headers" = "yes"], - [ax_check_gl_order="mesagl gl" - ax_check_gl_need_x="no"], - [ax_check_gl_order="gl" - ax_check_gl_need_x="yes" - # retry with framework - _AX_CHECK_GL_MANUAL_HEADERS_DARWIN_NOX()])], - [_AX_CHECK_MSG_FAILURE_ORDER()]) -]) - -dnl Check headers manually: subroutine must set ax_check_gl_have_headers={yes,no} -AC_DEFUN([_AX_CHECK_GL_MANUAL_HEADERS], +# _AX_CHECK_GL_MANUAL_LIBS_GENERIC(LIBRARIES-TO-SEARCH) +# Searches library provided in $1, and output the flag +# $ax_check_gl_lib_opengl +AC_DEFUN([_AX_CHECK_GL_MANUAL_LIBS_GENERIC], [ + AS_IF([test -n "$GL_LIBS"],[], [ + ax_check_gl_manual_libs_generic_extra_libs="$1" + AS_IF([test "X$ax_check_gl_manual_libs_generic_extra_libs" = "X"], + [AC_MSG_ERROR([AX_CHECK_GL_MANUAL_LIBS_GENERIC argument must no be empty])]) + + _AX_CHECK_GL_SAVE_FLAGS([CFLAGS]) + AC_SEARCH_LIBS([glBegin],[$ax_check_gl_manual_libs_generic_extra_libs], [ + ax_check_gl_lib_opengl="yes" + break + ]) + AS_IF([test "X$ax_check_gl_lib_opengl"="Xyes"], + [GL_LIBS="${ac_cv_search_glBegin}"]) + _AX_CHECK_GL_RESTORE_FLAGS([CFLAGS]) + ]) +]) + +# _WITH_XQUARTZ_GL +# ---------------- +# Provides an option in command line to specify the XQuartz installation +# path on OSX, so that user can link to it instead of using the default +# OSX OpenGL framework. (Mac OSX only) +AC_DEFUN_ONCE([_WITH_XQUARTZ_GL],[ + AC_ARG_WITH([xquartz-gl], + [AS_HELP_STRING([--with-xquartz-gl@<:@=DIR@:>@], + [On Mac OSX, use opengl provided by X11/XQuartz instead of the built-in framework. + If enabled, the default location is @<:@DIR=/opt/X11@:>@. + This option is default to false.])], + [AS_IF([test "X$with_xquartz_gl"="Xyes"], + [with_xquartz_gl="/opt/X11"])], + [with_xquartz_gl=no]) + AS_IF([test "X$with_xquartz_gl" != "Xno"], + [AC_MSG_CHECKING([OSX X11 path]) + AS_IF([test -e "$with_xquartz_gl"], + [AC_MSG_RESULT(["$with_xquartz_gl"]) + CFLAGS="-I$with_xquartz_gl/include $CFLAGS" + LIBS="-L$with_xquartz_gl/lib $LIBS" + ], + [with_xquartz_gl=no + AC_MSG_RESULT([no]) + AC_MSG_WARN([--with-xquartz-gl was given, but test for X11 failed. Fallback to system framework]) + ]) + ]) +]) + +# OSX specific setup for OpenGL check +AC_DEFUN([_AX_CHECK_DARWIN_GL], [ + AC_REQUIRE([_WITH_XQUARTZ_GL]) + AS_IF([test "x$with_xquartz_gl" != "xno"], + [GL_LIBS="${GL_LIBS:--lGL}"], + [GL_LIBS="${GL_LIBS:--framework OpenGL}"]) +]) + + +# AX_CHECK_GL_LIB([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# --------------------------------------------------------- +# Checks OpenGL headers and library and provides hooks for success and failures. +# When $1 is not set, this macro would modify CFLAGS and LIBS environment variables. +# However, user can override this behavior by providing their own hooks. +# The CFLAGS and LIBS flags required by OpenGL is always exported in +# GL_CFLAGS and GL_LIBS environment variable. +# +# In other words, the default behavior of AX_CHECK_GL_LIB() is equivalent to +# AX_CHECK_GL_LIB( +# [CFLAGS="$GL_CFLAGS $CFLAGS" +# LIBS="$GL_LIBS $LIBS"] +# ) +AC_DEFUN([AX_CHECK_GL], [AC_REQUIRE([AC_CANONICAL_HOST]) - AS_CASE([${host}], - [*-darwin*],[_AX_CHECK_GL_MANUAL_HEADERS_DARWIN], - [_AX_CHECK_GL_MANUAL_HEADERS_DEFAULT()]) - AC_CACHE_CHECK([for OpenGL headers],[ax_cv_check_gl_have_headers], - [ax_cv_check_gl_have_headers="${ax_check_gl_have_headers}"]) -]) - -# dnl try to found library (generic case) -# dnl $1 is set to the library to found -AC_DEFUN([_AX_CHECK_GL_MANUAL_LIBS_GENERIC], -[dnl - ax_check_gl_manual_libs_generic_extra_libs="$1" - AS_IF([test "X$ax_check_gl_manual_libs_generic_extra_libs" = "X"], - [AC_MSG_ERROR([AX_CHECK_GL_MANUAL_LIBS_GENERIC argument must no be empty])]) + AC_REQUIRE([PKG_PROG_PKG_CONFIG]) + AC_ARG_VAR([GL_CFLAGS],[C compiler flags for GL, overriding configure script defaults]) + AC_ARG_VAR([GL_LIBS],[Linker flags for GL, overriding configure script defaults]) - AC_LANG_PUSH([C]) - _AX_CHECK_GL_SAVE_FLAGS() - CFLAGS="${GL_CFLAGS} ${CFLAGS}" - LIBS="${GL_LIBS} ${LIBS}" - AC_SEARCH_LIBS([glBegin],[$ax_check_gl_manual_libs_generic_extra_libs], - [ax_check_gl_lib_opengl="yes"], - [ax_check_gl_lib_opengl="no"]) - AS_CASE([$ac_cv_search_glBegin], - ["none required"],[], - [no],[], - [GL_LIBS="${ac_cv_search_glBegin} ${GL_LIBS}"]) - _AX_CHECK_GL_RESTORE_FLAGS() - AC_LANG_PUSH([C]) -]) - -# dnl try to found lib under darwin -# darwin opengl hack -# see http://web.archive.org/web/20090410052741/http://developer.apple.com/qa/qa2007/qa1567.html -# and http://web.eecs.umich.edu/~sugih/courses/eecs487/glut-howto/ -AC_DEFUN([_AX_CHECK_GL_MANUAL_LIBS_DARWIN], -[# ldhack list - ldhack1 = "-Wl,-framework,OpenGL" - ldhack2 = "-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib" - ldhack3 = "$ldhack1,$ldhack2" - - # select hack - AS_IF([test "X$ax_check_gl_need_x" = "Xyes"], - [# libs already set by -framework cflag - darwinlibs="" - ldhacks="$ldhack1 $ldhack2 $ldhack3"], - [# do not use framework ldflags in case of x version - darwinlibs="GL gl MesaGL" - ldhack="$ldhack2"]) - - ax_check_gl_link_opengl="no" - for extralibs in " " $darwinlibs; do - for extraldflags in " " ldhacks; do - AC_LANG_PUSH([C]) - _AX_CHECK_GL_SAVE_FLAGS() - CFLAGS="${GL_CFLAGS} ${CFLAGS}" - LIBS="$extralibs ${GL_LIBS} ${LIBS}" - LDFLAGS="$extraldflags ${GL_LDFLAGS} ${LDFLAGS}" - AC_LINK_IFELSE([_AX_CHECK_GL_PROGRAM], - [ax_check_gl_link_opengl="yes"], - [ax_check_gl_link_opengl="no"]) - _AX_CHECK_GL_RESTORE_FLAGS() - AC_LANG_POP([C]) - AS_IF([test "X$ax_check_gl_link_opengl" = "Xyes"],[break]) - done; - AS_IF([test "X$ax_check_gl_link_opengl" = "Xyes"],[break]) - done; - GL_LIBS="$extralibs ${GL_LIBS}" - GL_LDFLAGS="$extraldflags ${GL_LDFLAGS}" -]) - -dnl Check library manually: subroutine must set -dnl $ax_check_gl_lib_opengl={yes,no} -AC_DEFUN([_AX_CHECK_GL_MANUAL_LIBS], -[AC_REQUIRE([AC_CANONICAL_HOST]) + dnl --with-gl or not can be implemented outside of check-gl AS_CASE([${host}], - [*-darwin*],[_AX_CHECK_GL_MANUAL_LIBS_DARWIN()], - # try first cygwin version + [*-darwin*],[_AX_CHECK_DARWIN_GL], + dnl some windows may support X11 opengl, and should be able to linked + dnl by -lGL. However I have no machine to test it. [*-cygwin*|*-mingw*],[ - AS_CASE(["$ax_check_gl_order"], - ["gl"],[_AX_CHECK_GL_MANUAL_LIBS_GENERIC([opengl32])], - ["gl mesagl"],[_AX_CHECK_GL_MANUAL_LIBS_GENERIC([opengl32 GL gl MesaGL])], - ["mesagl gl"],[_AX_CHECK_GL_MANUAL_LIBS_GENERIC([GL gl MesaGL opengl32])], - [_AX_CHECK_MSG_FAILURE_ORDER()])], - [AS_CASE(["$ax_check_gl_order"], - ["gl"],[_AX_CHECK_GL_MANUAL_LIBS_GENERIC([GL gl])], - ["gl mesagl"],[_AX_CHECK_GL_MANUAL_LIBS_GENERIC([GL gl MesaGL])], - ["mesagl gl"],[_AX_CHECK_GL_MANUAL_LIBS_GENERIC([MesaGL GL gl])], - [_AX_CHECK_MSG_FAILURE_ORDER()])] - ) - - AC_CACHE_CHECK([for OpenGL libraries],[ax_cv_check_gl_lib_opengl], - [ax_cv_check_gl_lib_opengl="${ax_check_gl_lib_opengl}"]) - ax_check_gl_lib_opengl="${ax_cv_check_gl_lib_opengl}" -]) - -# manually check aka old way -AC_DEFUN([_AX_CHECK_GL_MANUAL], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl - AC_REQUIRE([AC_PATH_XTRA])dnl + _AX_CHECK_GL_MANUAL_LIBS_GENERIC([opengl32 GL gl]) + AC_CHECK_HEADERS([windows.h]) + ], + [PKG_PROG_PKG_CONFIG + PKG_CHECK_MODULES([GL],[gl], + [], + [_AX_CHECK_GL_MANUAL_LIBS_GENERIC([GL gl])]) + ]) dnl host specific checks + + dnl this was cache + _AX_CHECK_GL_SAVE_FLAGS([CFLAGS]) + AC_CHECK_HEADERS([GL/gl.h OpenGL/gl.h], + [ax_check_gl_have_headers="yes";break]) + _AX_CHECK_GL_RESTORE_FLAGS([CFLAGS]) - no_gl="yes" - - _AX_CHECK_GL_MANUAL_HEADERS() AS_IF([test "X$ax_check_gl_have_headers" = "Xyes"], [_AX_CHECK_GL_COMPILE_CV()], - [ax_check_gl_compile_opengl=no]) - + [no_gl=yes]) AS_IF([test "X$ax_check_gl_compile_opengl" = "Xyes"], - [_AX_CHECK_GL_MANUAL_LIBS], - [ax_check_gl_lib_opengl=no]) - - AS_IF([test "X$ax_check_gl_lib_opengl" = "Xyes"], [_AX_CHECK_GL_LINK_CV()], - [ax_check_gl_link_opengl=no]) - - AS_IF([test "X$ax_check_gl_link_opengl" = "Xyes"], - [no_gl="no"], - [no_gl="yes"]) -])dnl - - -# try to test using pkgconfig: set ax_check_gl_pkg_config=no if not found -AC_DEFUN([_AX_CHECK_GL_PKG_CONFIG],dnl -[dnl - AC_REQUIRE([PKG_PROG_PKG_CONFIG]) - - dnl First try mesagl - AS_CASE(["$ax_check_gl_order"], - ["gl"],[PKG_CHECK_MODULES([GL],[mesagl], - [ax_check_gl_pkg_config=yes], - [ax_check_gl_pkg_config=no])], - ["gl mesagl"],[PKG_CHECK_MODULES([GL],[gl], - [ax_check_gl_pkg_config=yes], - [PKG_CHECK_MODULES([GL],[mesagl], - [ax_check_gl_pkg_config=yes], - [ax_check_gl_pkg_config=no])])], - ["mesagl gl"],[PKG_CHECK_MODULES([GL],[mesagl], - [ax_check_gl_pkg_config=yes], - [PKG_CHECK_MODULES([GL],[gl], - [ax_check_gl_pkg_config=yes], - [ax_check_gl_pkg_config=no])])], - [_AX_CHECK_MSG_FAILURE_ORDER]) - - AS_IF([test "X$ax_check_gl_pkg_config" = "Xyes"],[ - # check headers - AC_LANG_PUSH([C]) - _AX_CHECK_GL_SAVE_FLAGS() - CFLAGS="${GL_CFLAGS} ${CFLAGS}" - AC_CHECK_HEADERS([windows.h],[],[],[AC_INCLUDES_DEFAULT]) - AC_CHECK_HEADERS([GL/gl.h OpenGL/gl.h], - [ax_check_gl_have_headers="yes";break], - [ax_check_gl_have_headers_headers="no"], - [_AX_CHECK_GL_INCLUDES_DEFAULT()]) - _AX_CHECK_GL_RESTORE_FLAGS() - AC_LANG_POP([C]) - AC_CACHE_CHECK([for OpenGL headers],[ax_cv_check_gl_have_headers], - [ax_cv_check_gl_have_headers="${ax_check_gl_have_headers}"]) - - # pkgconfig library are suposed to work ... - AS_IF([test "X$ax_cv_check_gl_have_headers" = "Xno"], - [AC_MSG_ERROR("Pkgconfig detected OpenGL library has no headers!")]) - - _AX_CHECK_GL_COMPILE_CV() - AS_IF([test "X$ax_cv_check_gl_compile_opengl" = "Xno"], - [AC_MSG_ERROR("Pkgconfig detected opengl library could not be used for compiling minimal program!")]) - - _AX_CHECK_GL_LINK_CV() - AS_IF([test "X$ax_cv_check_gl_link_opengl" = "Xno"], - [AC_MSG_ERROR("Pkgconfig detected opengl library could not be used for linking minimal program!")]) - ],[ax_check_gl_pkg_config=no]) -]) - -# test if gl link with X -AC_DEFUN([_AX_CHECK_GL_WITH_X], -[ - # try if opengl need X - AC_LANG_PUSH([C]) - _AX_CHECK_GL_SAVE_FLAGS() - CFLAGS="${GL_CFLAGS} ${CFLAGS}" - LIBS="${GL_LIBS} ${LIBS}" - LDFLAGS="${GL_LDFLAGS} ${LDFLAGS}" - AC_LINK_IFELSE([AC_LANG_CALL([], [glXQueryVersion])], - [ax_check_gl_link_implicitly_with_x="yes"], - [ax_check_gl_link_implicitly_with_x="no"]) - _AX_CHECK_GL_RESTORE_FLAGS() - AC_LANG_POP([C]) -]) - -# internal routine: entry point if gl not disable -AC_DEFUN([_AX_CHECK_GL],[dnl - AC_REQUIRE([PKG_PROG_PKG_CONFIG]) - AC_REQUIRE([AC_PATH_X])dnl - - # does we need X or not - _AX_CHECK_GL_NEED_X() - - # try first pkgconfig - AC_MSG_CHECKING([for a working OpenGL implementation by pkg-config]) - AS_IF([test "X${PKG_CONFIG}" = "X"], - [ AC_MSG_RESULT([no]) - ax_check_gl_pkg_config=no], - [ AC_MSG_RESULT([yes]) - _AX_CHECK_GL_PKG_CONFIG()]) - - # if no pkgconfig or pkgconfig fail try manual way - AS_IF([test "X$ax_check_gl_pkg_config" = "Xno"], - [_AX_CHECK_GL_MANUAL()], - [no_gl=no]) - - # test if need to test X compatibility - AS_IF([test $no_gl = no], - [# test X compatibility - AS_IF([test X$ax_check_gl_need_x != "Xdefault"], - [AC_CACHE_CHECK([wether OpenGL link implictly with X],[ax_cv_check_gl_link_with_x], - [_AX_CHECK_GL_WITH_X() - ax_cv_check_gl_link_with_x="${ax_check_gl_link_implicitly_with_x}"]) - AS_IF([test "X${ax_cv_check_gl_link_with_x}" = "X${ax_check_gl_need_x}"], - [no_gl="no"], - [no_gl=yes])]) - ]) -]) - -# ax_check_gl entry point -AC_DEFUN([AX_CHECK_GL], -[AC_REQUIRE([AC_PATH_X])dnl - AC_REQUIRE([AC_CANONICAL_HOST]) - - AC_ARG_WITH([gl], - [AS_HELP_STRING([--with-gl@<:@=ARG@:>@], - [use opengl (ARG=yes), - using the specific lib (ARG=), - using the OpenGL lib that link with X (ARG=x), - using the OpenGL lib that link without X (ARG=nox), - or disable it (ARG=no) - @<:@ARG=yes@:>@ ])], - [ - AS_CASE(["$withval"], - ["no"|"NO"],[ax_check_gl_want_gl="no"], - ["yes"|"YES"],[ax_check_gl_want_gl="yes"], - [ax_check_gl_want_gl="$withval"]) - ], - [ax_check_gl_want_gl="yes"]) - - dnl compatibility with AX_HAVE_OPENGL - AC_ARG_WITH([Mesa], - [AS_HELP_STRING([--with-Mesa@<:@=ARG@:>@], - [Prefer the Mesa library over a vendors native OpenGL (ARG=yes except on mingw ARG=no), - @<:@ARG=yes@:>@ ])], - [ - AS_CASE(["$withval"], - ["no"|"NO"],[ax_check_gl_want_mesa="no"], - ["yes"|"YES"],[ax_check_gl_want_mesa="yes"], - [AC_MSG_ERROR([--with-mesa flag is only yes no])]) - ], - [ax_check_gl_want_mesa="default"]) - - # check consistency of parameters - AS_IF([test "X$have_x" = "Xdisabled"], - [AS_IF([test X$ax_check_gl_want_gl = "Xx"], - [AC_MSG_ERROR([You prefer OpenGL with X and asked for no X support])])]) - - AS_IF([test "X$have_x" = "Xdisabled"], - [AS_IF([test X$x_check_gl_want_mesa = "Xyes"], - [AC_MSG_WARN([You prefer mesa but you disable X. Disable mesa because mesa need X]) - ax_check_gl_want_mesa="no"])]) - - # mesa default means yes except on mingw - AC_MSG_CHECKING([wether we should prefer mesa for opengl implementation]) - AS_IF([test X$ax_check_gl_want_mesa = "Xdefault"], - [AS_CASE([${host}], - [*-mingw*],[ax_check_gl_want_mesa=no], - [ax_check_gl_want_mesa=yes])]) - AC_MSG_RESULT($ax_check_gl_want_mesa) - - # set default guess order - AC_MSG_CHECKING([for a working OpenGL order detection]) - AS_IF([test "X$no_x" = "Xyes"], - [ax_check_gl_order="gl"], - [AS_IF([test X$ax_check_gl_want_mesa = "Xyes"], - [ax_check_gl_order="mesagl gl"], - [ax_check_gl_order="gl mesagl"])]) - AC_MSG_RESULT($ax_check_gl_order) - - # set flags - no_gl="yes" - have_GL="no" - - # now do the real testing - AS_IF([test X$ax_check_gl_want_gl != "Xno"], - [_AX_CHECK_GL()]) - - AC_MSG_CHECKING([for a working OpenGL implementation]) - AS_IF([test "X$no_gl" = "Xno"], - [have_GL="yes" - AC_MSG_RESULT([yes]) - AC_MSG_CHECKING([for CFLAGS needed for OpenGL]) - AC_MSG_RESULT(["${GL_CFLAGS}"]) - AC_MSG_CHECKING([for LIBS needed for OpenGL]) - AC_MSG_RESULT(["${GL_LIBS}"]) - AC_MSG_CHECKING([for LDFLAGS needed for OpenGL]) - AC_MSG_RESULT(["${GL_LDFLAGS}"])], - [AC_MSG_RESULT([no]) - GL_CFLAGS="" - GL_LIBS="" - GL_LDFLAGS=""]) - - AC_SUBST([GL_CFLAGS]) - AC_SUBST([GL_LIBS]) - AC_SUBST([GL_LDFLAGS]) + [no_gl=yes]) + AS_IF([test "X$no_gl" = "X"], + [AC_DEFINE([HAVE_GL], [1], [Defined if a valid OpenGL implementation is found.]) + m4_ifval([$1], + [$1], + [CFLAGS="$GL_CFLAGS $CFLAGS" + LIBS="$GL_LIBS $LIBS"]) + ], + [m4_ifval([$2], + [$2], + [AC_MSG_ERROR([Could not find a valid OpenGL implementation])]) + ]) ]) diff -Nru autoconf-archive-20150925/m4/ax_check_glu.m4 autoconf-archive-20170928/m4/ax_check_glu.m4 --- autoconf-archive-20150925/m4/ax_check_glu.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_glu.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,21 +1,35 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_glu.html +# https://www.gnu.org/software/autoconf-archive/ax_check_glu.html # =========================================================================== # # SYNOPSIS # -# AX_CHECK_GLU +# AX_CHECK_GLU([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND]) # # DESCRIPTION # -# Check for GLU. If GLU is found, the required preprocessor and linker -# flags are included in the output variables "GLU_CFLAGS" and "GLU_LIBS", -# respectively. If no GLU implementation is found, "no_glu" is set to -# "yes". +# 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. These -# preprocessor definitions may not be mutually exclusive. +# header "OpenGL/glu.h" is found, HAVE_OPENGL_GLU_H is defined. # # You should use something like this in your headers: # @@ -30,6 +44,10 @@ # # 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 @@ -39,6 +57,7 @@ # # Copyright (c) 2009 Braden McDaniel # Copyright (c) 2013 Bastien Roucaries +# Copyright (c) 2016 Felix Chern # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the @@ -51,7 +70,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -66,9 +85,9 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 18 +#serial 23 -# exemple program +# example program m4_define([_AX_CHECK_GLU_PROGRAM], [AC_LANG_PROGRAM([[ # if defined(HAVE_WINDOWS_H) && defined(_WIN32) @@ -97,88 +116,6 @@ ] ]) -dnl local save flags -AC_DEFUN([_AX_CHECK_GLU_SAVE_FLAGS], -[dnl -ax_check_glu_saved_libs="${LIBS}" -ax_check_glu_saved_cflags="${CFLAGS}" -ax_check_glu_saved_cppflags="${CPPFLAGS}" -ax_check_glu_saved_ldflags="${LDFLAGS}" -]) - - -dnl local restore flags -AC_DEFUN([_AX_CHECK_GLU_RESTORE_FLAGS], -[dnl -LIBS="${ax_check_glu_saved_libs}" -CFLAGS="${ax_check_glu_saved_cflags}" -CPPFLAGS="${ax_check_glu_saved_cppflags}" -LDFLAGS="${ax_check_glu_saved_ldflags}" -]) - - -# compile the example program -AC_DEFUN([_AX_CHECK_GLU_COMPILE], -[dnl - AC_LANG_PUSH([C]) - _AX_CHECK_GLU_SAVE_FLAGS() - CFLAGS="${GLU_CFLAGS} ${CFLAGS}" - AC_COMPILE_IFELSE([_AX_CHECK_GLU_PROGRAM], - [ax_check_glu_compile_opengl="yes"], - [ax_check_glu_compile_opengl="no"]) - _AX_CHECK_GLU_RESTORE_FLAGS() - AC_LANG_POP([C]) -]) - -# compile the example program (cache) -AC_DEFUN([_AX_CHECK_GLU_COMPILE_CV], -[dnl - AC_CACHE_CHECK([for compiling a minimal OpenGL Utility (GLU) program],[ax_cv_check_glu_compile_opengl], - [_AX_CHECK_GLU_COMPILE() - ax_cv_check_glu_compile_opengl="${ax_check_glu_compile_opengl}"]) - ax_check_glu_compile_opengl="${ax_cv_check_glu_compile_opengl}" -]) - -# link the example program -AC_DEFUN([_AX_CHECK_GLU_LINK], -[dnl - AC_LANG_PUSH([C]) - _AX_CHECK_GLU_SAVE_FLAGS() - CFLAGS="${GLU_CFLAGS} ${CFLAGS}" - LIBS="${GLU_LIBS} ${LIBS}" - LDFLAGS="${GLU_LDFLAGS} ${LDFLAGS}" - AC_LINK_IFELSE([_AX_CHECK_GLU_PROGRAM], - [ax_check_glu_link_opengl="yes"], - [ax_check_glu_link_opengl="no"]) - _AX_CHECK_GLU_RESTORE_FLAGS() - AC_LANG_POP([C]) -]) - -# link the example program (cache) -AC_DEFUN([_AX_CHECK_GLU_LINK_CV], -[dnl - AC_CACHE_CHECK([for linking a minimal OpenGL Utility (GLU) program],[ax_cv_check_glu_link_opengl], - [_AX_CHECK_GLU_LINK() - ax_cv_check_glu_link_opengl="${ax_check_glu_link_opengl}"]) - ax_check_glu_link_opengl="${ax_cv_check_glu_link_opengl}" -]) - -dnl Check headers manually (default case) -AC_DEFUN([_AX_CHECK_GLU_HEADERS], -[AC_LANG_PUSH([C]) - _AX_CHECK_GLU_SAVE_FLAGS() - CFLAGS="${GLU_CFLAGS} ${CFLAGS}" - # see comment in _AX_CHECK_GL_INCLUDES_DEFAULT - AC_CHECK_HEADERS([windows.h],[],[],[AC_INCLUDES_DEFAULT]) - AC_CHECK_HEADERS([GL/glu.h OpenGL/glu.h], - [ax_check_glu_have_headers="yes";break], - [ax_check_glu_have_headers_headers="no"], - [_AX_CHECK_GLU_INCLUDES_DEFAULT()]) - # do not try darwin specific OpenGl/gl.h - _AX_CHECK_GLU_RESTORE_FLAGS() - AC_LANG_POP([C]) -]) - # check tesselation callback function signature. m4_define([_AX_CHECK_GLU_VARARGS_TESSVB_PROGRAM], [AC_LANG_PROGRAM([[ @@ -196,189 +133,150 @@ [[GLvoid (*func)(...); gluTessCallback(0, 0, func)]]) ]) -# compile the tesselation callback function program -# test with c++ -AC_DEFUN([_AX_CHECK_GLU_COMPILE_VARARGS_TESSVB_PROGRAM], -[AC_REQUIRE([AC_PROG_CXX])dnl - - AC_LANG_PUSH([C++]) - _AX_CHECK_GLU_SAVE_FLAGS() - CFLAGS="${GLU_CFLAGS} ${CFLAGS}" - AC_COMPILE_IFELSE([_AX_CHECK_GLU_VARARGS_TESSVB_PROGRAM], - [ax_check_glu_compile_varargs_tessvb_program="yes"], - [ax_check_glu_compile_varargs_tessvb_program="no"]) - _AX_CHECK_GLU_RESTORE_FLAGS() - AC_LANG_POP([C++]) -]) +# _AX_CHECK_GLU_SAVE_FLAGS(LIST-OF-FLAGS,[LANG]) +# ---------------------------------------------- +# Save the flags to shell variables. +# Example: _AX_CHECK_GLU_SAVE_FLAGS([[CFLAGS],[LIBS]]) expands to +# AC_LANG_PUSH([C]) +# glu_saved_flag_cflags=$CFLAGS +# glu_saved_flag_libs=$LIBS +# CFLAGS="$GLU_CFLAGS $CFLAGS" +# LIBS="$GLU_LIBS $LIBS" +# +# Can optionally support other LANG by specifying $2 +AC_DEFUN([_AX_CHECK_GLU_SAVE_FLAGS], [ + m4_ifval([$2], + [AC_LANG_PUSH([$2])], + [AC_LANG_PUSH([C])]) + AX_SAVE_FLAGS_WITH_PREFIX([GLU],[$1]) dnl defined in ax_check_gl +]) + +# _AX_CHECK_GLU_RESTORE_FLAGS(LIST-OF-FLAGS) +# Use this marcro to restore the flags you saved using +# _AX_CHECK_GLU_SAVE_FLAGS +# +# Example: _AX_CHECK_GLU_RESTORE_FLAGS([[CFLAGS],[LIBS]]) expands to +# CFLAGS="$glu_saved_flag_cflags" +# LIBS="$glu_saved_flag_libs" +# AC_LANG_POP([C]) +AC_DEFUN([_AX_CHECK_GLU_RESTORE_FLAGS], [ + AX_RESTORE_FLAGS_WITH_PREFIX([GLU],[$1]) dnl defined in ax_check_gl + m4_ifval([$2], + [AC_LANG_POP([$2])], + [AC_LANG_POP([C])]) +]) + + +# Search headers and export $ax_check_glu_have_headers +AC_DEFUN([_AX_CHECK_GLU_HEADERS], [ + _AX_CHECK_GLU_SAVE_FLAGS([CFLAGS]) + AC_CHECK_HEADERS([$1], + [ax_check_glu_have_headers="yes";], + [], + [_AX_CHECK_GLU_INCLUDES_DEFAULT()]) + _AX_CHECK_GLU_RESTORE_FLAGS([CFLAGS]) +]) + + +# _AX_CHECK_GLU_SEARCH_LIBS(LIBS) +# ------------------------------- +# Search for a valid GLU lib from $1 and set +# GLU_LIBS respectively +AC_DEFUN([_AX_CHECK_GLU_SEARCH_LIBS], [ + _AX_CHECK_GLU_SAVE_FLAGS([[CFLAGS],[LIBS]]) + AC_SEARCH_LIBS([gluBeginCurve],[$1], + [GLU_LIBS="${GLU_LIBS:-$ac_cv_search_gluBeginCurve}"]) + _AX_CHECK_GLU_RESTORE_FLAGS([[CFLAGS],[LIBS]]) +]) + +# OSX specific GLU checks +AC_DEFUN([_AX_CHECK_DARWIN_GLU], [ + AC_REQUIRE([_WITH_XQUARTZ_GL]) + AS_IF([test "x$with_xquartz_gl" != "xno"], + [GLU_LIBS="${GLU_LIBS:--lGLU}"], + [GLU_LIBS="${GLU_LIBS:--framework OpenGL}"]) +]) + +# AX_CHECK_GLU([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND]) +# ----------------------------------------------------- +# Checks GLU and provides hooks for success and failures +AC_DEFUN([AX_CHECK_GLU],[ + AC_REQUIRE([AC_CANONICAL_HOST]) + AC_REQUIRE([_WITH_XQUARTZ_GL]) + AC_REQUIRE([PKG_PROG_PKG_CONFIG]) + AC_ARG_VAR([GLU_CFLAGS],[C compiler flags for GLU, overriding system check]) + AC_ARG_VAR([GLU_LIBS],[Linker flags for GLU, overriding system check]) + + dnl Setup GLU_CFLAGS and GLU_LIBS + AS_CASE([${host}], + [*-darwin*],[_AX_CHECK_DARWIN_GLU], + [*-cygwin*],[_AX_CHECK_GLU_SEARCH_LIBS([GLU glu MesaGLU glu32]) + AC_CHECK_HEADERS([windows.h])], + # try first native + [*-mingw*],[_AX_CHECK_GLU_SEARCH_LIBS([glu32 GLU glu MesaGLU]) + AC_CHECK_HEADERS([windows.h])], + [PKG_PROG_PKG_CONFIG + PKG_CHECK_MODULES([GLU],[glu], + [], + [_AX_CHECK_GLU_SEARCH_LIBS([GLU glu MesaGLU])]) + ]) + + AS_CASE([$host], + [*-darwin*], + [AS_IF([test "X$with_xquartz_gl" = "Xno"], + [_AX_CHECK_GLU_HEADERS([OpenGL/glu.h])], + [_AX_CHECK_GLU_HEADERS([GL/glu.h])] + )], + [_AX_CHECK_GLU_HEADERS([GL/glu.h])]) + + dnl compile test + AS_IF([test "X$ax_check_glu_have_headers" = "Xyes"], + [AC_CACHE_CHECK([for compiling a minimal OpenGL Utility (GLU) program], + [ax_cv_check_glu_compile], + [_AX_CHECK_GLU_SAVE_FLAGS([CFLAGS]) + AC_COMPILE_IFELSE([_AX_CHECK_GLU_PROGRAM], + [ax_cv_check_glu_compile="yes"], + [ax_cv_check_glu_compile="no"]) + _AX_CHECK_GLU_RESTORE_FLAGS([CFLAGS])]) + ]) + + dnl link test + AS_IF([test "X$ax_cv_check_glu_compile" = "Xyes"], + [AC_CACHE_CHECK([for linking a minimal GLU program], + [ax_cv_check_glu_link], + [_AX_CHECK_GLU_SAVE_FLAGS([[CFLAGS],[LIBS]]) + AC_LINK_IFELSE([_AX_CHECK_GLU_PROGRAM], + [ax_cv_check_glu_link="yes"], + [ax_cv_check_glu_link="no"]) + _AX_CHECK_GLU_RESTORE_FLAGS([[CFLAGS],[LIBS]])]) + ]) # # Some versions of Mac OS X include a broken interpretation of the GLU # tesselation callback function signature. -# -AC_DEFUN([_AX_CHECK_GLU_VARARGS_TESSVB], -[ -AC_CACHE_CHECK([for varargs OpenGL Utility (GLU) tesselator callback function type], - [ax_cv_varargs_glu_tesscb], - [_AX_CHECK_GLU_COMPILE_VARARGS_TESSVB_PROGRAM - ax_cv_varargs_glu_tesscb="${ax_check_glu_compile_varargs_tessvb_program}"]) -ax_check_glu_compile_varargs_tessvb_program="${ax_cv_varargs_glu_tesscb}" - -AS_IF([test X$ax_cv_varargs_glu_tesscb = Xyes], - [AC_DEFINE([HAVE_VARARGS_GLU_TESSCB], [1], - [Use nonstandard varargs form for the GLU tesselator callback])]) -]) - - -# dnl try to found library (generic case) -# dnl $1 is set to the library to found -AC_DEFUN([_AX_CHECK_GLU_MANUAL_LIBS_GENERIC], -[dnl - ax_check_glu_manual_libs_generic_extra_libs="$1" - AS_IF([test "X$ax_check_glu_manual_libs_generic_extra_libs" = "X"], - [AC_MSG_ERROR([AX_CHECK_GLU_MANUAL_LIBS_GENERIC argument must no be empty])]) - - AC_LANG_PUSH([C]) - _AX_CHECK_GLU_SAVE_FLAGS() - CFLAGS="${GLU_CFLAGS} ${CFLAGS}" - LIBS="${GLU_LIBS} ${LIBS}" - AC_SEARCH_LIBS([gluBeginCurve],[$ax_check_glu_manual_libs_generic_extra_libs], - [ax_check_glu_lib_opengl="yes"], - [ax_check_glu_lib_opengl="no"]) - AS_CASE([$ac_cv_search_gluBeginCurve], - ["none required"],[], - [no],[], - [GLU_LIBS="${ac_cv_search_gluBeginCurve} ${GLU_LIBS}"]) - _AX_CHECK_GLU_RESTORE_FLAGS() - AC_LANG_PUSH([C]) -]) - - -dnl Check library manually: subroutine must set -dnl $ax_check_gl_lib_opengl={yes,no} -AC_DEFUN([_AX_CHECK_GLU_MANUAL_LIBS], -[AC_REQUIRE([AC_CANONICAL_HOST]) - GLU_LIBS="${GLU_LIBS} ${GL_LIBS}" - AS_CASE([${host}], - # try first cygwin version - [*-cygwin*],[_AX_CHECK_GLU_MANUAL_LIBS_GENERIC([GLU glu MesaGLU glu32])], - # try first native - [*-mingw*],[_AX_CHECK_GLU_MANUAL_LIBS_GENERIC([glu32 GLU glu MesaGLU])], - [_AX_CHECK_GLU_MANUAL_LIBS_GENERIC([GLU glu MesaGLU])]) - - AC_CACHE_CHECK([for OpenGL Utility (GLU) libraries],[ax_cv_check_glu_lib_opengl], - [ax_cv_check_glu_lib_opengl="${ax_check_glu_lib_opengl}"]) - ax_check_glu_lib_opengl="${ax_cv_check_glu_lib_opengl}" -]) - - -dnl Manual way to detect GLU -AC_DEFUN([_AX_CHECK_GLU_MANUAL], -[dnl - -# inherit cflags -GLU_CFLAGS="${GLU_CFLAGS} ${GL_CFLAGS}" - -# check headers -_AX_CHECK_GLU_HEADERS - -AS_IF([test "X$ax_check_glu_have_headers" = "Xyes"], - [_AX_CHECK_GLU_MANUAL_LIBS], - [ax_check_glu_lib_opengl="no"]) - -AS_IF([test "X$ax_check_glu_lib_opengl" = "Xyes"], - [_AX_CHECK_GLU_COMPILE_CV()], - [ax_cv_check_glu_compile_opengl="no"]) - -AS_IF([test "X$ax_cv_check_glu_compile_opengl" = "Xyes"], - [_AX_CHECK_GLU_LINK_CV()], - [ax_cv_check_glu_link_opengl="no"]) - -AS_IF([test "X$ax_cv_check_glu_link_opengl" = "Xyes"], - [no_glu="no"], - [no_glu="yes"]) -]) - -# detect using pkgconfig -AC_DEFUN([_AX_CHECK_GLU_PKG_CONFIG], -[ - AC_REQUIRE([PKG_PROG_PKG_CONFIG]) - - PKG_CHECK_MODULES([GLU],[glu],[ax_check_glu_pkg_config=yes],[ax_check_glu_pkg_config=no]) - - AS_IF([test "X$ax_check_glu_pkg_config" = "Xyes"],[ - # check headers - AC_LANG_PUSH([C]) - _AX_CHECK_GLU_SAVE_FLAGS() - CFLAGS="${GLU_CFLAGS} ${CFLAGS}" - AC_CHECK_HEADERS([windows.h],[],[],[AC_INCLUDES_DEFAULT]) - AC_CHECK_HEADERS([GL/glu.h OpenGL/glu.h], - [ax_check_glu_have_headers="yes";break], - [ax_check_glu_have_headers_headers="no"], - [_AX_CHECK_GLU_INCLUDES_DEFAULT()]) - _AX_CHECK_GLU_RESTORE_FLAGS() - AC_LANG_POP([C]) - AC_CACHE_CHECK([for OpenGL Utility (GLU) headers],[ax_cv_check_glu_have_headers], - [ax_cv_check_glu_have_headers="${ax_check_glu_have_headers}"]) - - # pkgconfig library are suposed to work ... - AS_IF([test "X$ax_cv_check_glu_have_headers" = "Xno"], - [AC_MSG_ERROR("Pkgconfig detected OpenGL Utility (GLU) library has no headers!")]) - - _AX_CHECK_GLU_COMPILE_CV() - AS_IF([test "X$ax_cv_check_glu_compile_opengl" = "Xno"], - [AC_MSG_ERROR("Pkgconfig detected OpenGL Utility (GLU) library could not be used for compiling minimal program!")]) - - _AX_CHECK_GLU_LINK_CV() - AS_IF([test "X$ax_cv_check_glu_link_opengl" = "Xno"], - [AC_MSG_ERROR("Pkgconfig detected OpenGL Utility (GLU) library could not be used for linking minimal program!")]) - ]) -]) - -# entry point -AC_DEFUN([AX_CHECK_GLU],dnl -[ - AC_REQUIRE([AX_CHECK_GL]) - AC_REQUIRE([PKG_PROG_PKG_CONFIG]) - - # set flags - no_glu="yes" - have_GLU="no" - - AC_MSG_CHECKING([for a working OpenGL Utility (GLU) implementation by pkg-config]) - # try first pkgconfig - AS_IF([test "X${PKG_CONFIG}" = "X"], - [AC_MSG_RESULT([no]) - ax_check_glu_pkg_config=no], - [AC_MSG_RESULT([yes]) - _AX_CHECK_GLU_PKG_CONFIG()]) - - # if no pkg-config or pkg-config fail try manual way - AS_IF([test "X$ax_check_glu_pkg_config" = "Xno"], - [_AX_CHECK_GLU_MANUAL()], - [no_glu=no]) - - # check broken implementation - AS_IF([test "X$no_glu" = "Xno"], - [_AX_CHECK_GLU_VARARGS_TESSVB],[]) - - AC_MSG_CHECKING([for a working OpenGL Utility (GLU) implementation]) - AS_IF([test "X$no_glu" = "Xno"], - [have_GLU="yes" - AC_MSG_RESULT([yes]) - AC_MSG_CHECKING([for CFLAGS needed for OpenGL Utility (GLU)]) - AC_MSG_RESULT(["${GLU_CFLAGS}"]) - AC_MSG_CHECKING([for LIBS needed for OpenGL Utility (GLU)]) - AC_MSG_RESULT(["${GLU_LIBS}"]) - AC_MSG_CHECKING([for LDFLAGS needed for OpenGL Utility (GLU)]) - AC_MSG_RESULT(["${GLU_LDFLAGS}"])], - [AC_MSG_RESULT([no]) - GLU_CFLAGS="" - GLU_LIBS="" - GLU_LDFLAGS=""]) - - AC_SUBST([GLU_CFLAGS]) - AC_SUBST([GLU_LIBS]) - AC_SUBST([GLU_LDFLAGS]) - + AS_IF([test "X$ax_cv_check_glu_link" = "Xyes"], + [AC_CACHE_CHECK([if GLU varargs tesselator is using non-standard form], + [ax_cv_varargs_glu_tesscb], + [_AX_CHECK_GLU_SAVE_FLAGS([CFLAGS],[C++]) + AC_COMPILE_IFELSE([_AX_CHECK_GLU_VARARGS_TESSVB_PROGRAM], + [ax_cv_varargs_glu_tesscb="yes"], + [ax_cv_varargs_glu_tesscb="no"]) + _AX_CHECK_GLU_RESTORE_FLAGS([CFLAGS],[C++])]) + AS_IF([test "X$ax_cv_varargs_glu_tesscb" = "yes"], + [AC_DEFINE([HAVE_VARARGS_GLU_TESSCB], [1], + [Use nonstandard varargs form for the GLU tesselator callback])]) + ]) + + dnl hook + AS_IF([test "X$ax_cv_check_glu_link" = "Xyes"], + [AC_DEFINE([HAVE_GLU],[1],[Defined if a valid GLU implementation is found.]) + m4_ifval([$1], + [$1], + [CFLAGS="$GLU_CFLAGS $CFLAGS" + LIBS="$GLU_LIBS $LIBS"])], + [m4_ifval([$2], + [$2], + [AC_MSG_ERROR([Could not find a valid GLU implementation])]) + ]) ]) diff -Nru autoconf-archive-20150925/m4/ax_check_glut.m4 autoconf-archive-20170928/m4/ax_check_glut.m4 --- autoconf-archive-20150925/m4/ax_check_glut.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_glut.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,20 +1,35 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_glut.html +# https://www.gnu.org/software/autoconf-archive/ax_check_glut.html # =========================================================================== # # SYNOPSIS # -# AX_CHECK_GLUT +# AX_CHECK_GLUT([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND]) # # DESCRIPTION # -# Check for GLUT. If GLUT is found, the required compiler and linker flags -# are included in the output variables "GLUT_CFLAGS" and "GLUT_LIBS", -# respectively. If GLUT is not found, "no_glut" is set to "yes". +# 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. These -# preprocessor definitions may not be mutually exclusive. +# header "GLUT/glut.h" is found, HAVE_GLUT_GLUT_H is defined. # # You should use something like this in your headers: # @@ -29,10 +44,15 @@ # # 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. +# # LICENSE # # Copyright (c) 2009 Braden McDaniel # Copyright (c) 2013 Bastien Roucaries +# Copyright (c) 2016 Felix Chern # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the @@ -45,7 +65,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -60,25 +80,16 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 14 +#serial 17 -dnl local save flags -AC_DEFUN([_AX_CHECK_GLUT_SAVE_FLAGS], -[dnl -ax_check_glut_saved_libs="${LIBS}" -ax_check_glut_saved_cflags="${CFLAGS}" -ax_check_glut_saved_cppflags="${CPPFLAGS}" -ax_check_glut_saved_ldflags="${LDFLAGS}" +AC_DEFUN([_AX_CHECK_GLUT_SAVE_FLAGS], [ + AX_SAVE_FLAGS_WITH_PREFIX([GLUT],[$1]) dnl defined in ax_check_gl + AC_LANG_PUSH([C]) ]) - -dnl local restore flags -AC_DEFUN([_AX_CHECK_GLUT_RESTORE_FLAGS], -[dnl -LIBS="${ax_check_glut_saved_libs}" -CFLAGS="${ax_check_glut_saved_cflags}" -CPPFLAGS="${ax_check_glut_saved_cppflags}" -LDFLAGS="${ax_check_glut_saved_ldflags}" +AC_DEFUN([_AX_CHECK_GLUT_RESTORE_FLAGS], [ + AX_RESTORE_FLAGS_WITH_PREFIX([GLUT],[$1]) dnl defined in ax_check_gl + AC_LANG_POP([C]) ]) dnl Default include : add windows.h @@ -109,167 +120,91 @@ [[glutMainLoop()]])]) -dnl Check headers manually (default case) -AC_DEFUN([_AX_CHECK_GLUT_HEADERS], -[AC_LANG_PUSH([C]) - _AX_CHECK_GLUT_SAVE_FLAGS() - CFLAGS="${GLUT_CFLAGS} ${CFLAGS}" - # see comment in _AX_CHECK_GL_INCLUDES_DEFAULT - AC_CHECK_HEADERS([windows.h],[],[],[AC_INCLUDES_DEFAULT]) - AC_CHECK_HEADERS([GL/glut.h OpenGL/glut.h], - [ax_check_glut_have_headers="yes";break], - [ax_check_glut_have_headers_headers="no"], - [_AX_CHECK_GLUT_INCLUDES_DEFAULT()]) - # do not try darwin specific OpenGl/gl.h - _AX_CHECK_GLUT_RESTORE_FLAGS() - AC_LANG_POP([C]) -]) - -# dnl try to found library (generic case) -# dnl $1 is set to the library to found +# _AX_CHECK_GLUT_MANUAL_LIBS_GENERIC(LIST-OF-LIBS) +# ------------------------------------------------ +# Searches libraries provided in $1, and export variable +# $ax_check_glut_lib_glut AC_DEFUN([_AX_CHECK_GLUT_MANUAL_LIBS_GENERIC], -[dnl - ax_check_glut_manual_libs_generic_extra_libs="$1" - AS_IF([test "X$ax_check_glut_manual_libs_generic_extra_libs" = "X"], - [AC_MSG_ERROR([AX_CHECK_GLUT_MANUAL_LIBS_GENERIC argument must no be empty])]) - - AC_LANG_PUSH([C]) - _AX_CHECK_GLUT_SAVE_FLAGS() - CFLAGS="${GLUT_CFLAGS} ${CFLAGS}" - LIBS="${GLUT_LIBS} ${LIBS}" - AC_SEARCH_LIBS([glutMainLoop],[$ax_check_glut_manual_libs_generic_extra_libs], - [ax_check_glut_lib_opengl="yes"], - [ax_check_glut_lib_opengl="no"]) - AS_CASE([$ac_cv_search_glutMainLoop], - ["none required"],[], - [no],[], - [GLUT_LIBS="${ac_cv_search_glutMainLoop} ${GLU_LIBS}"]) - _AX_CHECK_GLUT_RESTORE_FLAGS() - AC_LANG_PUSH([C]) -]) - - -dnl Check library manually: subroutine must set -dnl $ax_check_glut_lib_opengl={yes,no} -dnl for windows part see -dnl - http://www.transmissionzero.co.uk/computing/using-glut-with-mingw/ -dnl - http://user.xmission.com/~nate/glut.html -AC_DEFUN([_AX_CHECK_GLUT_MANUAL_LIBS], -[AC_REQUIRE([AC_CANONICAL_HOST]) - GLUT_LIBS="${GLUT_LIBS} ${GLU_LIBS}" - AS_CASE([${host}], - # try first cygwin version - [*-cygwin*],[_AX_CHECK_GLUT_MANUAL_LIBS_GENERIC([GLUT glut MesaGLUT freeglut freeglut32 glut32])], - # try first native - [*-mingw*],[_AX_CHECK_GLUT_MANUAL_LIBS_GENERIC([glut32 GLUT glut MesaGLUT freeglut freeglut32])], - [_AX_CHECK_GLUT_MANUAL_LIBS_GENERIC([GLUT glut freeglut MesaGLUT])]) - - AC_CACHE_CHECK([for OpenGL Utility Toolkit (GLUT) libraries],[ax_cv_check_glut_lib_opengl], - [ax_cv_check_glut_lib_opengl="${ax_check_glut_lib_opengl}"]) - ax_check_glut_lib_opengl="${ax_cv_check_glut_lib_opengl}" -]) - -# compile the example program -AC_DEFUN([_AX_CHECK_GLUT_COMPILE], -[dnl - AC_LANG_PUSH([C]) - _AX_CHECK_GLUT_SAVE_FLAGS() - CFLAGS="${GLUT_CFLAGS} ${CFLAGS}" - AC_COMPILE_IFELSE([_AX_CHECK_GLUT_PROGRAM], - [ax_check_glut_compile_opengl="yes"], - [ax_check_glut_compile_opengl="no"]) - _AX_CHECK_GLUT_RESTORE_FLAGS() - AC_LANG_POP([C]) -]) - -# compile the example program (cache) -AC_DEFUN([_AX_CHECK_GLUT_COMPILE_CV], -[dnl - AC_CACHE_CHECK([for compiling a minimal OpenGL Utility Toolkit (GLUT) program],[ax_cv_check_glut_compile_opengl], - [_AX_CHECK_GLUT_COMPILE() - ax_cv_check_glut_compile_opengl="${ax_check_glut_compile_opengl}"]) - ax_check_glut_compile_opengl="${ax_cv_check_glut_compile_opengl}" -]) - -# link the example program -AC_DEFUN([_AX_CHECK_GLUT_LINK], -[dnl - AC_LANG_PUSH([C]) - _AX_CHECK_GLUT_SAVE_FLAGS() - CFLAGS="${GLUT_CFLAGS} ${CFLAGS}" - LIBS="${GLUT_LIBS} ${LIBS}" - LDFLAGS="${GLUT_LDFLAGS} ${LDFLAGS}" - AC_LINK_IFELSE([_AX_CHECK_GLUT_PROGRAM], - [ax_check_glut_link_opengl="yes"], - [ax_check_glut_link_opengl="no"]) - _AX_CHECK_GLUT_RESTORE_FLAGS() - AC_LANG_POP([C]) +[ + _AX_CHECK_GLUT_SAVE_FLAGS([[CFLAGS],[LIBS]]) + AC_SEARCH_LIBS([glutMainLoop],[$1], + [GLUT_LIBS="${GLUT_LIBS:-$ac_cv_search_glutMainLoop}"]) + _AX_CHECK_GLUT_RESTORE_FLAGS([[CFLAGS],[LIBS]]) ]) -# link the example program (cache) -AC_DEFUN([_AX_CHECK_GLUT_LINK_CV], -[dnl - AC_CACHE_CHECK([for linking a minimal OpenGL Utility Toolkit (GLUT) program],[ax_cv_check_glut_link_opengl], - [_AX_CHECK_GLUT_LINK() - ax_cv_check_glut_link_opengl="${ax_check_glut_link_opengl}"]) - ax_check_glut_link_opengl="${ax_cv_check_glut_link_opengl}" +# Wrapper macro to check GLUT header +AC_DEFUN([_AX_CHECK_GLUT_HEADER],[ + _AX_CHECK_GLUT_SAVE_FLAGS([CFLAGS]) + AC_CHECK_HEADERS([$1], + [ax_check_glut_have_headers=yes]) + _AX_CHECK_GLUT_RESTORE_FLAGS([CFLAGS]) ]) -# manually check GLUT -AC_DEFUN([_AX_CHECK_GLUT_MANUAL],dnl -[ -GLUT_CFLAGS="${GLUT_CFLAGS} ${GLU_CFLAGS}" -_AX_CHECK_GLUT_HEADERS +# AX_CHECK_GLUT_LIB([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# --------------------------------------------------------- +# Checks GLUT headers and library and provides hooks for success and failures. +AC_DEFUN([AX_CHECK_GLUT], +[AC_REQUIRE([AC_CANONICAL_HOST]) + AC_REQUIRE([_WITH_XQUARTZ_GL]) + AC_ARG_VAR([GLUT_CFLAGS],[C compiler flags for GLUT, overriding configure script defaults]) + AC_ARG_VAR([GLUT_LIBS],[Linker flags for GLUT, overriding configure script defaults]) -AS_IF([test "X$ax_check_glut_have_headers" = "Xyes"], - [_AX_CHECK_GLUT_MANUAL_LIBS], - [ax_check_glut_lib="no"]) - -AS_IF([test "X$ax_check_glut_lib_opengl" = "Xyes"], - [_AX_CHECK_GLUT_COMPILE_CV()], - [ax_cv_check_glut_compile_opengl="no"]) - -AS_IF([test "X$ax_cv_check_glut_compile_opengl" = "Xyes"], - [_AX_CHECK_GLUT_LINK_CV()], - [ax_cv_check_glut_link_opengl="no"]) - -AS_IF([test "X$ax_cv_check_glut_link_opengl" = "Xyes"], - [no_glut="no"], - [no_glut="yes"]) -]) + AS_CASE([${host}], + [*-darwin*],[AS_IF([test "x$with_xquartz_gl" != "xno"], + [GLUT_LIBS="${GLUT_LIBS:--lGLUT}"], + [GLUT_LIBS="${GLUT_LIBS:--framework GLUT}"])], + [*-cygwin*|*-mingw*],[ + _AX_CHECK_GLUT_MANUAL_LIBS_GENERIC([glut32 glut]) + AC_CHECK_HEADERS([windows.h]) + ], + [_AX_CHECK_GLUT_MANUAL_LIBS_GENERIC([glut]) + ]) dnl host specific checks + dnl checks header + AS_CASE([${host}], + [*-darwin*],[AS_IF([test "x$with_xquartz_gl" = "xno"], + [_AX_CHECK_GLUT_HEADER([GLUT/glut.h])], + [_AX_CHECK_GLUT_HEADER([GL/glut.h])] + )], + [_AX_CHECK_GLUT_HEADER([GL/glut.h])]) + + dnl compile + AS_IF([test "X$ax_check_glut_have_headers" = "Xyes"], + [AC_CACHE_CHECK([for compiling a minimal GLUT program], + [ax_cv_check_glut_compile], + [_AX_CHECK_GLUT_SAVE_FLAGS([CFLAGS]) + AC_COMPILE_IFELSE([_AX_CHECK_GLUT_PROGRAM], + [ax_cv_check_glut_compile="yes"], + [ax_cv_check_glut_compile="no"]) + _AX_CHECK_GLUT_RESTORE_FLAGS([CFLAGS]) + ]) + ]) + + dnl link + AS_IF([test "X$ax_cv_check_glut_compile" = "Xyes"], + [AC_CACHE_CHECK([for linking a minimal GLUT program], + [ax_cv_check_glut_link], + [_AX_CHECK_GLUT_SAVE_FLAGS([[CFLAGS],[LIBS]]) + AC_LINK_IFELSE([_AX_CHECK_GLUT_PROGRAM], + [ax_cv_check_glut_link="yes"], + [ax_cv_check_glut_link="no"]) + _AX_CHECK_GLUT_RESTORE_FLAGS([[CFLAGS],[LIBS]]) + ]) + ]) + + dnl hook + AS_IF([test "X$ax_cv_check_glut_link" = "Xyes"], + [AC_DEFINE([HAVE_GLUT], [1], [Defined if a valid GLUT implementation is found]) + m4_ifval([$1], + [$1], + [CFLAGS="$GLUT_CFLAGS $CFLAGS" + LIBS="$GLUT_LIBS $LIBS"]) + ], + [m4_ifval([$2], + [$2], + [AC_MSG_ERROR([Could not find a valid GLUT implementation])] + ) + ]) -# main entry point -AC_DEFUN([AX_CHECK_GLUT], -[dnl - AC_REQUIRE([AX_CHECK_GL])dnl - AC_REQUIRE([AX_CHECK_GLU])dnl - - # set flags - no_glut="yes" - have_GLUT="no" - have_glut="no" - - _AX_CHECK_GLUT_MANUAL - - AC_MSG_CHECKING([for a working OpenGL Utility Toolkit (GLUT) implementation]) - AS_IF([test "X$no_glut" = "Xno"], - [have_GLUT="yes" - have_glut="yes" - AC_MSG_RESULT([yes]) - AC_MSG_CHECKING([for CFLAGS needed for OpenGL Utility Toolkit (GLUT)]) - AC_MSG_RESULT(["${GLUT_CFLAGS}"]) - AC_MSG_CHECKING([for LIBS needed for OpenGL Utility Toolkit (GLUT)]) - AC_MSG_RESULT(["${GLUT_LIBS}"]) - AC_MSG_CHECKING([for LDFLAGS needed for OpenGL Utility Toolkit (GLUT)]) - AC_MSG_RESULT(["${GLUT_LDFLAGS}"])], - [AC_MSG_RESULT([no]) - GLUT_CFLAGS="" - GLUT_LIBS="" - GLUT_LDFLAGS=""]) - - AC_SUBST([GLUT_CFLAGS]) - AC_SUBST([GLUT_LIBS]) - AC_SUBST([GLUT_LDFLAGS]) ]) diff -Nru autoconf-archive-20150925/m4/ax_check_glx.m4 autoconf-archive-20170928/m4/ax_check_glx.m4 --- autoconf-archive-20150925/m4/ax_check_glx.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_glx.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_glx.html +# https://www.gnu.org/software/autoconf-archive/ax_check_glx.html # =========================================================================== # # SYNOPSIS @@ -46,7 +46,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -61,9 +61,9 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 4 +#serial 8 -# exemple program +# example program m4_define([_AX_CHECK_GLX_PROGRAM], [AC_LANG_PROGRAM([[ # if defined(HAVE_WINDOWS_H) && defined(_WIN32) @@ -264,7 +264,7 @@ AC_CACHE_CHECK([for OpenGL Utility (GLX) headers],[ax_cv_check_glx_have_headers], [ax_cv_check_glx_have_headers="${ax_check_glx_have_headers}"]) - # pkgconfig library are suposed to work ... + # pkgconfig library are supposed to work ... AS_IF([test "X$ax_cv_check_glx_have_headers" = "Xno"], [AC_MSG_ERROR("Pkgconfig detected OpenGL Utility (GLX) library has no headers!")]) diff -Nru autoconf-archive-20150925/m4/ax_check_gnu_make.m4 autoconf-archive-20170928/m4/ax_check_gnu_make.m4 --- autoconf-archive-20150925/m4/ax_check_gnu_make.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_gnu_make.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,10 +1,10 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_gnu_make.html +# https://www.gnu.org/software/autoconf-archive/ax_check_gnu_make.html # =========================================================================== # # SYNOPSIS # -# AX_CHECK_GNU_MAKE() +# AX_CHECK_GNU_MAKE([run-if-true],[run-if-false]) # # DESCRIPTION # @@ -13,6 +13,10 @@ # * 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 @@ -20,6 +24,8 @@ # * 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: # @@ -31,6 +37,8 @@ # # @ifGNUmake@ ifeq ($(DEPEND),$(wildcard $(DEPEND))) # @ifGNUmake@ include $(DEPEND) +# @ifGNUmake@ else +# fallback code # @ifGNUmake@ endif # # Then configure.in would normally contain: @@ -61,7 +69,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 11 AC_DEFUN([AX_CHECK_GNU_MAKE],dnl [AC_PROG_AWK @@ -79,6 +87,9 @@ done ;]) dnl If there was a GNU version, then set @ifGNUmake@ to the empty string, '#' otherwise AS_VAR_IF([_cv_gnu_make_command], [""], [AS_VAR_SET([ifGNUmake], ["#"])], [AS_VAR_SET([ifGNUmake], [""])]) + AS_VAR_IF([_cv_gnu_make_command], [""], [AS_VAR_SET([ifnGNUmake], [""])], [AS_VAR_SET([ifGNUmake], ["#"])]) AS_VAR_IF([_cv_gnu_make_command], [""], [AS_UNSET(ax_cv_gnu_make_command)], [AS_VAR_SET([ax_cv_gnu_make_command], [${_cv_gnu_make_command}])]) + AS_VAR_IF([_cv_gnu_make_command], [""],[$2],[$1]) AC_SUBST([ifGNUmake]) + AC_SUBST([ifnGNUmake]) ]) diff -Nru autoconf-archive-20150925/m4/ax_check_icu.m4 autoconf-archive-20170928/m4/ax_check_icu.m4 --- autoconf-archive-20150925/m4/ax_check_icu.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_icu.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_icu.html +# https://www.gnu.org/software/autoconf-archive/ax_check_icu.html # =========================================================================== # # SYNOPSIS @@ -19,7 +19,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CHECK_ICU], [AX_CHECK_ICU]) AC_DEFUN([AX_CHECK_ICU], [ diff -Nru autoconf-archive-20150925/m4/ax_check_java_home.m4 autoconf-archive-20170928/m4/ax_check_java_home.m4 --- autoconf-archive-20150925/m4/ax_check_java_home.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_java_home.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_java_home.html +# https://www.gnu.org/software/autoconf-archive/ax_check_java_home.html # =========================================================================== # # SYNOPSIS @@ -28,7 +28,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -43,7 +43,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 6 +#serial 7 AU_ALIAS([AC_CHECK_JAVA_HOME], [AX_CHECK_JAVA_HOME]) diff -Nru autoconf-archive-20150925/m4/ax_check_java_plugin.m4 autoconf-archive-20170928/m4/ax_check_java_plugin.m4 --- autoconf-archive-20150925/m4/ax_check_java_plugin.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_java_plugin.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_java_plugin.html +# https://www.gnu.org/software/autoconf-archive/ax_check_java_plugin.html # =========================================================================== # # SYNOPSIS @@ -16,9 +16,9 @@ # # 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 versisonms. The pkzipc version is -# assumed to work if I undertstand the documentation on pkware's site but -# YMMV. I do not have access to pwkware's version to test it. +# 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. # # LICENSE # @@ -35,7 +35,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -50,7 +50,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 11 AU_ALIAS([DPS_CHECK_PLUGIN], [AX_CHECK_JAVA_PLUGIN]) AC_DEFUN([AX_CHECK_JAVA_PLUGIN], diff -Nru autoconf-archive-20150925/m4/ax_check_junit.m4 autoconf-archive-20170928/m4/ax_check_junit.m4 --- autoconf-archive-20150925/m4/ax_check_junit.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_junit.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_junit.html +# https://www.gnu.org/software/autoconf-archive/ax_check_junit.html # =========================================================================== # # SYNOPSIS @@ -45,7 +45,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([AC_CHECK_JUNIT], [AX_CHECK_JUNIT]) AC_DEFUN([AX_CHECK_JUNIT],[ diff -Nru autoconf-archive-20150925/m4/ax_check_library.m4 autoconf-archive-20170928/m4/ax_check_library.m4 --- autoconf-archive-20150925/m4/ax_check_library.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_library.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_library.html +# https://www.gnu.org/software/autoconf-archive/ax_check_library.html # =========================================================================== # # SYNOPSIS @@ -45,7 +45,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -60,7 +60,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 4 +#serial 5 AC_DEFUN([AX_CHECK_LIBRARY], [ AC_ARG_VAR($1[_CPPFLAGS], [C preprocessor flags for ]$1[ headers]) diff -Nru autoconf-archive-20150925/m4/ax_check_link_flag.m4 autoconf-archive-20170928/m4/ax_check_link_flag.m4 --- autoconf-archive-20150925/m4/ax_check_link_flag.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_link_flag.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_link_flag.html +# https://www.gnu.org/software/autoconf-archive/ax_check_link_flag.html # =========================================================================== # # SYNOPSIS @@ -40,7 +40,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -55,7 +55,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 4 +#serial 5 AC_DEFUN([AX_CHECK_LINK_FLAG], [AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF diff -Nru autoconf-archive-20150925/m4/ax_check_mysql_db.m4 autoconf-archive-20170928/m4/ax_check_mysql_db.m4 --- autoconf-archive-20150925/m4/ax_check_mysql_db.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_mysql_db.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_mysql_db.html +# https://www.gnu.org/software/autoconf-archive/ax_check_mysql_db.html # =========================================================================== # # SYNOPSIS @@ -36,7 +36,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -51,7 +51,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 6 +#serial 7 AU_ALIAS([AC_CHECK_MYSQL_DB], [AX_CHECK_MYSQL_DB]) AC_DEFUN([AX_CHECK_MYSQL_DB],[ diff -Nru autoconf-archive-20150925/m4/ax_check_mysql.m4 autoconf-archive-20170928/m4/ax_check_mysql.m4 --- autoconf-archive-20150925/m4/ax_check_mysql.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_mysql.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_mysql.html +# https://www.gnu.org/software/autoconf-archive/ax_check_mysql.html # =========================================================================== # # SYNOPSIS @@ -63,7 +63,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 3 +#serial 6 AC_ARG_WITH(mysql,AS_HELP_STRING([--with-mysql],[root of the MySQL installation])) AC_ARG_WITH(mysql_plugin,AS_HELP_STRING([--with-mysql-plugin],[path to the MySQL installation plugin directory])) @@ -368,7 +368,7 @@ AC_MSG_RESULT([yes]) fi else - AC_MSG_ERROR([MINIMUM-VERSION varable in AX_CHEC_MYSQL is not formatted properly. Please use X.X or X.X.XX]) + AC_MSG_ERROR([MINIMUM-VERSION variable in AX_CHEC_MYSQL is not formatted properly. Please use X.X or X.X.XX]) fi fi diff -Nru autoconf-archive-20150925/m4/ax_check_mysqlr.m4 autoconf-archive-20170928/m4/ax_check_mysqlr.m4 --- autoconf-archive-20150925/m4/ax_check_mysqlr.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_mysqlr.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_mysqlr.html +# https://www.gnu.org/software/autoconf-archive/ax_check_mysqlr.html # =========================================================================== # # SYNOPSIS @@ -27,7 +27,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([AC_CHECK_MYSQLR], [AX_CHECK_MYSQLR]) AC_DEFUN([AX_CHECK_MYSQLR],[ diff -Nru autoconf-archive-20150925/m4/ax_check_off64_t.m4 autoconf-archive-20170928/m4/ax_check_off64_t.m4 --- autoconf-archive-20150925/m4/ax_check_off64_t.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_off64_t.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_off64_t.html +# https://www.gnu.org/software/autoconf-archive/ax_check_off64_t.html # =========================================================================== # # SYNOPSIS @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([RSSH_CHECK_OFF64_T], [AX_CHECK_OFF64_T]) AC_DEFUN([AX_CHECK_OFF64_T], [ diff -Nru autoconf-archive-20150925/m4/ax_check_openssl.m4 autoconf-archive-20170928/m4/ax_check_openssl.m4 --- autoconf-archive-20150925/m4/ax_check_openssl.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_openssl.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_openssl.html +# https://www.gnu.org/software/autoconf-archive/ax_check_openssl.html # =========================================================================== # # SYNOPSIS @@ -32,7 +32,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 10 AU_ALIAS([CHECK_SSL], [AX_CHECK_OPENSSL]) AC_DEFUN([AX_CHECK_OPENSSL], [ @@ -51,7 +51,7 @@ ], [ # if pkg-config is installed and openssl has installed a .pc file, # then use that information and don't search ssldirs - AC_PATH_PROG([PKG_CONFIG], [pkg-config]) + AC_CHECK_TOOL([PKG_CONFIG], [pkg-config]) if test x"$PKG_CONFIG" != x""; then OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null` if test $? = 0; then diff -Nru autoconf-archive-20150925/m4/ax_check_page_aligned_malloc.m4 autoconf-archive-20170928/m4/ax_check_page_aligned_malloc.m4 --- autoconf-archive-20150925/m4/ax_check_page_aligned_malloc.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_page_aligned_malloc.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ================================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_check_page_aligned_malloc.html -# ================================================================================ +# ================================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_check_page_aligned_malloc.html +# ================================================================================= # # SYNOPSIS # @@ -21,7 +21,7 @@ # 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 probabalistic approach. If +# 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 @@ -36,7 +36,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 10 AC_DEFUN([AX_CHECK_PAGE_ALIGNED_MALLOC], [AC_CACHE_CHECK([if large mallocs guarantee page-alignment], diff -Nru autoconf-archive-20150925/m4/ax_check_pathfind.m4 autoconf-archive-20170928/m4/ax_check_pathfind.m4 --- autoconf-archive-20150925/m4/ax_check_pathfind.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_pathfind.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_pathfind.html +# https://www.gnu.org/software/autoconf-archive/ax_check_pathfind.html # =========================================================================== # # SYNOPSIS @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([AG_CHECK_PATHFIND], [AX_CHECK_PATHFIND]) AC_DEFUN([AX_CHECK_PATHFIND],[ diff -Nru autoconf-archive-20150925/m4/ax_check_pathname_style.m4 autoconf-archive-20170928/m4/ax_check_pathname_style.m4 --- autoconf-archive-20150925/m4/ax_check_pathname_style.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_pathname_style.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_pathname_style.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_check_pathname_style.html +# ============================================================================ # # SYNOPSIS # @@ -33,7 +33,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -48,7 +48,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([ACX_CHECK_PATHNAME_STYLE], [AX_CHECK_PATHNAME_STYLE]) AC_DEFUN([AX_CHECK_PATHNAME_STYLE_DOS], diff -Nru autoconf-archive-20150925/m4/ax_check_pgsql_db.m4 autoconf-archive-20170928/m4/ax_check_pgsql_db.m4 --- autoconf-archive-20150925/m4/ax_check_pgsql_db.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_pgsql_db.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_pgsql_db.html +# https://www.gnu.org/software/autoconf-archive/ax_check_pgsql_db.html # =========================================================================== # # SYNOPSIS @@ -58,7 +58,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -73,7 +73,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([MS_CHECK_PGSQL_DB], [AX_CHECK_PGSQL_DB]) AC_DEFUN([AX_CHECK_PGSQL_DB], [ diff -Nru autoconf-archive-20150925/m4/ax_check_posix_regcomp.m4 autoconf-archive-20170928/m4/ax_check_posix_regcomp.m4 --- autoconf-archive-20150925/m4/ax_check_posix_regcomp.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_posix_regcomp.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_posix_regcomp.html +# https://www.gnu.org/software/autoconf-archive/ax_check_posix_regcomp.html # =========================================================================== # # SYNOPSIS @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([AG_CHECK_POSIX_REGCOMP], [AX_CHECK_POSIX_REGCOMP]) AC_DEFUN([AX_CHECK_POSIX_REGCOMP],[ diff -Nru autoconf-archive-20150925/m4/ax_check_posix_sysinfo.m4 autoconf-archive-20170928/m4/ax_check_posix_sysinfo.m4 --- autoconf-archive-20150925/m4/ax_check_posix_sysinfo.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_posix_sysinfo.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_posix_sysinfo.html +# https://www.gnu.org/software/autoconf-archive/ax_check_posix_sysinfo.html # =========================================================================== # # SYNOPSIS @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([AG_CHECK_POSIX_SYSINFO], [AX_CHECK_POSIX_SYSINFO]) AC_DEFUN([AX_CHECK_POSIX_SYSINFO],[ diff -Nru autoconf-archive-20150925/m4/ax_check_postgres_db.m4 autoconf-archive-20170928/m4/ax_check_postgres_db.m4 --- autoconf-archive-20150925/m4/ax_check_postgres_db.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_postgres_db.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_postgres_db.html +# https://www.gnu.org/software/autoconf-archive/ax_check_postgres_db.html # =========================================================================== # # SYNOPSIS @@ -21,7 +21,7 @@ # # 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 exectued after the variables have been +# 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 @@ -40,7 +40,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 9 +#serial 12 AU_ALIAS([CT_CHECK_POSTGRES_DB], [AX_CHECK_POSTGRES_DB]) AC_DEFUN([AX_CHECK_POSTGRES_DB], [ diff -Nru autoconf-archive-20150925/m4/ax_check_preproc_flag.m4 autoconf-archive-20170928/m4/ax_check_preproc_flag.m4 --- autoconf-archive-20150925/m4/ax_check_preproc_flag.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_preproc_flag.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_preproc_flag.html +# https://www.gnu.org/software/autoconf-archive/ax_check_preproc_flag.html # =========================================================================== # # SYNOPSIS @@ -40,7 +40,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -55,7 +55,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 4 +#serial 5 AC_DEFUN([AX_CHECK_PREPROC_FLAG], [AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF diff -Nru autoconf-archive-20150925/m4/ax_check_rqrd_class.m4 autoconf-archive-20170928/m4/ax_check_rqrd_class.m4 --- autoconf-archive-20150925/m4/ax_check_rqrd_class.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_rqrd_class.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_rqrd_class.html +# https://www.gnu.org/software/autoconf-archive/ax_check_rqrd_class.html # =========================================================================== # # SYNOPSIS @@ -35,7 +35,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -50,7 +50,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_CHECK_RQRD_CLASS], [AX_CHECK_RQRD_CLASS]) AC_DEFUN([AX_CHECK_RQRD_CLASS],[ diff -Nru autoconf-archive-20150925/m4/ax_check_sign.m4 autoconf-archive-20170928/m4/ax_check_sign.m4 --- autoconf-archive-20150925/m4/ax_check_sign.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_sign.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_sign.html +# https://www.gnu.org/software/autoconf-archive/ax_check_sign.html # =========================================================================== # # SYNOPSIS @@ -35,7 +35,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([VL_CHECK_SIGN], [AX_CHECK_SIGN]) AC_DEFUN([AX_CHECK_SIGN], [ diff -Nru autoconf-archive-20150925/m4/ax_check_strcspn.m4 autoconf-archive-20170928/m4/ax_check_strcspn.m4 --- autoconf-archive-20150925/m4/ax_check_strcspn.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_strcspn.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_strcspn.html +# https://www.gnu.org/software/autoconf-archive/ax_check_strcspn.html # =========================================================================== # # SYNOPSIS @@ -32,7 +32,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([AG_CHECK_STRCSPN], [AX_CHECK_STRCSPN]) AC_DEFUN([AX_CHECK_STRCSPN],[ diff -Nru autoconf-archive-20150925/m4/ax_check_strftime.m4 autoconf-archive-20170928/m4/ax_check_strftime.m4 --- autoconf-archive-20150925/m4/ax_check_strftime.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_strftime.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_strftime.html +# https://www.gnu.org/software/autoconf-archive/ax_check_strftime.html # =========================================================================== # # SYNOPSIS @@ -19,7 +19,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([AG_CHECK_STRFTIME], [AX_CHECK_STRFTIME]) AC_DEFUN([AX_CHECK_STRFTIME],[ diff -Nru autoconf-archive-20150925/m4/ax_check_struct_for.m4 autoconf-archive-20170928/m4/ax_check_struct_for.m4 --- autoconf-archive-20150925/m4/ax_check_struct_for.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_struct_for.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_struct_for.html +# https://www.gnu.org/software/autoconf-archive/ax_check_struct_for.html # =========================================================================== # # SYNOPSIS @@ -19,7 +19,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([AC_CHECK_STRUCT_FOR], [AX_CHECK_STRUCT_FOR]) AC_DEFUN([AX_CHECK_STRUCT_FOR],[ diff -Nru autoconf-archive-20150925/m4/ax_check_symbol.m4 autoconf-archive-20170928/m4/ax_check_symbol.m4 --- autoconf-archive-20150925/m4/ax_check_symbol.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_symbol.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_symbol.html +# https://www.gnu.org/software/autoconf-archive/ax_check_symbol.html # =========================================================================== # # SYNOPSIS @@ -27,7 +27,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -42,7 +42,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_CHECK_SYMBOL], [AX_CHECK_SYMBOL]) AC_DEFUN([AX_CHECK_SYMBOL], diff -Nru autoconf-archive-20150925/m4/ax_check_sys_siglist.m4 autoconf-archive-20170928/m4/ax_check_sys_siglist.m4 --- autoconf-archive-20150925/m4/ax_check_sys_siglist.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_sys_siglist.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_sys_siglist.html +# https://www.gnu.org/software/autoconf-archive/ax_check_sys_siglist.html # =========================================================================== # # SYNOPSIS @@ -19,7 +19,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([AG_CHECK_SYS_SIGLIST], [AX_CHECK_SYS_SIGLIST]) AC_DEFUN([AX_CHECK_SYS_SIGLIST],[ diff -Nru autoconf-archive-20150925/m4/ax_check_typedef.m4 autoconf-archive-20170928/m4/ax_check_typedef.m4 --- autoconf-archive-20150925/m4/ax_check_typedef.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_typedef.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_typedef.html +# https://www.gnu.org/software/autoconf-archive/ax_check_typedef.html # =========================================================================== # # SYNOPSIS @@ -32,7 +32,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -47,7 +47,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_CHECK_TYPEDEF], [AX_CHECK_TYPEDEF]) AC_DEFUN([AX_CHECK_TYPEDEF_], diff -Nru autoconf-archive-20150925/m4/ax_check_uname_syscall.m4 autoconf-archive-20170928/m4/ax_check_uname_syscall.m4 --- autoconf-archive-20150925/m4/ax_check_uname_syscall.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_uname_syscall.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_uname_syscall.html +# https://www.gnu.org/software/autoconf-archive/ax_check_uname_syscall.html # =========================================================================== # # SYNOPSIS @@ -19,7 +19,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([AG_CHECK_UNAME_SYSCALL], [AX_CHECK_UNAME_SYSCALL]) AC_DEFUN([AX_CHECK_UNAME_SYSCALL],[ diff -Nru autoconf-archive-20150925/m4/ax_check_user.m4 autoconf-archive-20170928/m4/ax_check_user.m4 --- autoconf-archive-20150925/m4/ax_check_user.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_user.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_user.html +# https://www.gnu.org/software/autoconf-archive/ax_check_user.html # =========================================================================== # # SYNOPSIS @@ -40,7 +40,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -55,7 +55,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_CHECK_USER], [AX_CHECK_USER]) AC_DEFUN([AX_CHECK_USER],[ diff -Nru autoconf-archive-20150925/m4/ax_check_vscript.m4 autoconf-archive-20170928/m4/ax_check_vscript.m4 --- autoconf-archive-20150925/m4/ax_check_vscript.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_vscript.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_vscript.html +# https://www.gnu.org/software/autoconf-archive/ax_check_vscript.html # =========================================================================== # # SYNOPSIS @@ -57,7 +57,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 # _AX_CHECK_VSCRIPT(flag, global-sym, action-if-link-succeeds, [junk-file=no]) AC_DEFUN([_AX_CHECK_VSCRIPT], [ diff -Nru autoconf-archive-20150925/m4/ax_check_x86_features.m4 autoconf-archive-20170928/m4/ax_check_x86_features.m4 --- autoconf-archive-20150925/m4/ax_check_x86_features.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_x86_features.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,77 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_check_x86_features.html +# =========================================================================== +# +# 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. +# +# LICENSE +# +# Copyright (c) 2016 Felix Chern +# +# This program is free software; you can 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 . +# +# As a special exception, the respective Autoconf Macro's copyright owner +# gives unlimited permission to copy, distribute and modify the configure +# scripts that are the output of Autoconf when processing the Macro. You +# need not follow the terms of the GNU General Public License when using +# or distributing such scripts, even though portions of the text of the +# Macro appear in them. The GNU General Public License (GPL) does govern +# all other use of the material that constitutes the Autoconf Macro. +# +# This special exception to the GPL applies to versions of the Autoconf +# Macro released by the Autoconf Archive. When you make and distribute a +# modified version of the Autoconf Macro, you may extend this special +# exception to the GPL to apply to your modified version as well. + +#serial 2 + +AC_DEFUN([AX_CHECK_X86_FEATURES], + [m4_foreach_w( + [ax_x86_feature], + [mmx popcnt sse sse2 sse3 sse4.1 sse4.2 sse4a avx avx2 avx512f fma fma4 bmi bmi2], + [AX_GCC_X86_CPU_SUPPORTS(ax_x86_feature, + [X86_FEATURE_CFLAGS="$X86_FEATURE_CFLAGS -m[]ax_x86_feature"], + []) + ]) + AC_SUBST([X86_FEATURE_CFLAGS]) + m4_ifval([$1],[$1], + [CFLAGS="$CFLAGS $X86_FEATURE_CFLAGS"]) + $2 +]) diff -Nru autoconf-archive-20150925/m4/ax_check_zlib.m4 autoconf-archive-20170928/m4/ax_check_zlib.m4 --- autoconf-archive-20150925/m4/ax_check_zlib.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_check_zlib.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_zlib.html +# https://www.gnu.org/software/autoconf-archive/ax_check_zlib.html # =========================================================================== # # SYNOPSIS @@ -47,7 +47,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -62,7 +62,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 14 +#serial 15 AU_ALIAS([CHECK_ZLIB], [AX_CHECK_ZLIB]) AC_DEFUN([AX_CHECK_ZLIB], diff -Nru autoconf-archive-20150925/m4/ax_c_long_long.m4 autoconf-archive-20170928/m4/ax_c_long_long.m4 --- autoconf-archive-20150925/m4/ax_c_long_long.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_c_long_long.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_c_long_long.html +# https://www.gnu.org/software/autoconf-archive/ax_c_long_long.html # =========================================================================== # # SYNOPSIS @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([AC_C_LONG_LONG], [AX_C_LONG_LONG]) AC_DEFUN([AX_C_LONG_LONG], diff -Nru autoconf-archive-20150925/m4/ax_code_coverage.m4 autoconf-archive-20170928/m4/ax_code_coverage.m4 --- autoconf-archive-20150925/m4/ax_code_coverage.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_code_coverage.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_code_coverage.html +# https://www.gnu.org/software/autoconf-archive/ax_code_coverage.html # =========================================================================== # # SYNOPSIS @@ -8,19 +8,20 @@ # # DESCRIPTION # -# Defines CODE_COVERAGE_CFLAGS and CODE_COVERAGE_LDFLAGS which should be -# included in the CFLAGS and LIBS/LDFLAGS variables of every build target -# (program or library) which should be built with code coverage support. -# Also defines CODE_COVERAGE_RULES which should be substituted in your -# Makefile; 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. +# 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 defines CODE_COVERAGE_RULES which should be +# substituted in your Makefile; 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 optimisation flags in CFLAGS must be disabled when code +# Note that all optimization flags in CFLAGS must be disabled when code # coverage is enabled. # # Usage example: @@ -32,8 +33,10 @@ # Makefile.am: # # @CODE_COVERAGE_RULES@ -# my_program_LIBS = ... $(CODE_COVERAGE_LDFLAGS) ... +# my_program_LIBS = ... $(CODE_COVERAGE_LIBS) ... +# my_program_CPPFLAGS = ... $(CODE_COVERAGE_CPPFLAGS) ... # my_program_CFLAGS = ... $(CODE_COVERAGE_CFLAGS) ... +# my_program_CXXFLAGS = ... $(CODE_COVERAGE_CXXFLAGS) ... # # This results in a "check-code-coverage" rule being added to any # Makefile.am which includes "@CODE_COVERAGE_RULES@" (assuming the module @@ -42,12 +45,17 @@ # (`make check`) and build a code coverage report detailing the code which # was touched, then print the URI for the report. # +# In earlier versions of this macro, CODE_COVERAGE_LDFLAGS was defined +# instead of CODE_COVERAGE_LIBS. They are both still defined, but use of +# CODE_COVERAGE_LIBS is preferred for clarity; CODE_COVERAGE_LDFLAGS is +# deprecated. They have the same value. +# # This code was derived from Makefile.decl in GLib, originally licenced # under LGPLv2.1+. # # LICENSE # -# Copyright (c) 2012 Philip Withnall +# Copyright (c) 2012, 2016 Philip Withnall # Copyright (c) 2012 Xan Lopez # Copyright (c) 2012 Christian Persch # Copyright (c) 2012 Paolo Borelli @@ -65,9 +73,9 @@ # 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 . +# along with this program. If not, see . -#serial 5 +#serial 25 AC_DEFUN([AX_CODE_COVERAGE],[ dnl Check for --enable-code-coverage @@ -103,52 +111,64 @@ AC_MSG_ERROR([not compiling with gcc, which is required for gcov code coverage]) ]) - # List of supported lcov versions. - lcov_version_list="1.6 1.7 1.8 1.9 1.10 1.11" - AC_CHECK_PROG([LCOV], [lcov], [lcov]) AC_CHECK_PROG([GENHTML], [genhtml], [genhtml]) - AS_IF([ test "$LCOV" ], [ - AC_CACHE_CHECK([for lcov version], ax_cv_lcov_version, [ - ax_cv_lcov_version=invalid - lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'` - for lcov_check_version in $lcov_version_list; do - if test "$lcov_version" = "$lcov_check_version"; then - ax_cv_lcov_version="$lcov_check_version (ok)" - fi - done - ]) - ], [ - lcov_msg="To enable code coverage reporting you must have one of the following lcov versions installed: $lcov_version_list" - AC_MSG_ERROR([$lcov_msg]) + AS_IF([ test -z "$LCOV" ], [ + AC_MSG_ERROR([To enable code coverage reporting you must have lcov installed]) ]) - case $ax_cv_lcov_version in - ""|invalid[)] - lcov_msg="You must have one of the following versions of lcov: $lcov_version_list (found: $lcov_version)." - AC_MSG_ERROR([$lcov_msg]) - LCOV="exit 0;" - ;; - esac - AS_IF([ test -z "$GENHTML" ], [ AC_MSG_ERROR([Could not find genhtml from the lcov package]) ]) dnl Build the code coverage flags + dnl Define CODE_COVERAGE_LDFLAGS for backwards compatibility + CODE_COVERAGE_CPPFLAGS="-DNDEBUG" CODE_COVERAGE_CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage" - CODE_COVERAGE_LDFLAGS="-lgcov" + CODE_COVERAGE_CXXFLAGS="-O0 -g -fprofile-arcs -ftest-coverage" + CODE_COVERAGE_LIBS="-lgcov" + CODE_COVERAGE_LDFLAGS="$CODE_COVERAGE_LIBS" + AC_SUBST([CODE_COVERAGE_CPPFLAGS]) AC_SUBST([CODE_COVERAGE_CFLAGS]) + AC_SUBST([CODE_COVERAGE_CXXFLAGS]) + AC_SUBST([CODE_COVERAGE_LIBS]) AC_SUBST([CODE_COVERAGE_LDFLAGS]) + + [CODE_COVERAGE_RULES_CHECK=' + -$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k check + $(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) code-coverage-capture +'] + [CODE_COVERAGE_RULES_CAPTURE=' + $(code_coverage_v_lcov_cap)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --capture --output-file "$(CODE_COVERAGE_OUTPUT_FILE).tmp" --test-name "$(call code_coverage_sanitize,$(PACKAGE_NAME)-$(PACKAGE_VERSION))" --no-checksum --compat-libtool $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_OPTIONS) + $(code_coverage_v_lcov_ign)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --remove "$(CODE_COVERAGE_OUTPUT_FILE).tmp" "/tmp/*" $(CODE_COVERAGE_IGNORE_PATTERN) --output-file "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_RMOPTS) + -@rm -f $(CODE_COVERAGE_OUTPUT_FILE).tmp + $(code_coverage_v_genhtml)LANG=C $(GENHTML) $(code_coverage_quiet) $(addprefix --prefix ,$(CODE_COVERAGE_DIRECTORY)) --output-directory "$(CODE_COVERAGE_OUTPUT_DIRECTORY)" --title "$(PACKAGE_NAME)-$(PACKAGE_VERSION) Code Coverage" --legend --show-details "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_GENHTML_OPTIONS) + @echo "file://$(abs_builddir)/$(CODE_COVERAGE_OUTPUT_DIRECTORY)/index.html" +'] + [CODE_COVERAGE_RULES_CLEAN=' +clean: code-coverage-clean +distclean: code-coverage-clean +code-coverage-clean: + -$(LCOV) --directory $(top_builddir) -z + -rm -rf $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_FILE).tmp $(CODE_COVERAGE_OUTPUT_DIRECTORY) + -find . \( -name "*.gcda" -o -name "*.gcno" -o -name "*.gcov" \) -delete +'] + ], [ + [CODE_COVERAGE_RULES_CHECK=' + @echo "Need to reconfigure with --enable-code-coverage" +'] + CODE_COVERAGE_RULES_CAPTURE="$CODE_COVERAGE_RULES_CHECK" + CODE_COVERAGE_RULES_CLEAN='' ]) -CODE_COVERAGE_RULES=' +[CODE_COVERAGE_RULES=' # Code coverage # # Optional: # - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting. +# Multiple directories may be specified, separated by whitespace. # (Default: $(top_builddir)) # - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated # by lcov for code coverage. (Default: @@ -156,13 +176,26 @@ # - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage # reports to be created. (Default: # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage) +# - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage, +# set to 0 to disable it and leave empty to stay with the default. +# (Default: empty) +# - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between both lcov +# instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE) +# - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov +# instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) # - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov -# - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the lcov instance. -# (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) -# - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the lcov instance. -# (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) +# - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the +# collecting lcov instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) +# - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the collecting lcov +# instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) +# - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the filtering +# lcov instance. (Default: empty) +# - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov +# instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) +# - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the +# genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE) # - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml -# instance. (Default: empty) +# instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) # - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore # # The generated report will be titled using the $(PACKAGE_NAME) and @@ -173,56 +206,58 @@ CODE_COVERAGE_DIRECTORY ?= $(top_builddir) CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage +CODE_COVERAGE_BRANCH_COVERAGE ?= +CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ +--rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) +CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)" CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) -CODE_COVERAGE_GENHTML_OPTIONS ?= +CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?= +CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) +CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\ +$(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ +--rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) +CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) CODE_COVERAGE_IGNORE_PATTERN ?= +GITIGNOREFILES ?= +GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY) + +code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V)) +code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY)) +code_coverage_v_lcov_cap_0 = @echo " LCOV --capture"\ + $(CODE_COVERAGE_OUTPUT_FILE); +code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V)) +code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY)) +code_coverage_v_lcov_ign_0 = @echo " LCOV --remove /tmp/*"\ + $(CODE_COVERAGE_IGNORE_PATTERN); +code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V)) +code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY)) +code_coverage_v_genhtml_0 = @echo " GEN " $(CODE_COVERAGE_OUTPUT_DIRECTORY); code_coverage_quiet = $(code_coverage_quiet_$(V)) code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY)) code_coverage_quiet_0 = --quiet +# sanitizes the test-name: replaces with underscores: dashes and dots +code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1))) + # Use recursive makes in order to ignore errors during check -check-code-coverage: -ifeq ($(CODE_COVERAGE_ENABLED),yes) - -$(MAKE) $(AM_MAKEFLAGS) -k check - $(MAKE) $(AM_MAKEFLAGS) code-coverage-capture -else - @echo "Need to reconfigure with --enable-code-coverage" -endif +check-code-coverage:'"$CODE_COVERAGE_RULES_CHECK"' # Capture code coverage data -code-coverage-capture: code-coverage-capture-hook -ifeq ($(CODE_COVERAGE_ENABLED),yes) - $(LCOV) $(code_coverage_quiet) --directory $(CODE_COVERAGE_DIRECTORY) --capture --output-file "$(CODE_COVERAGE_OUTPUT_FILE).tmp" --test-name "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" --no-checksum --compat-libtool $(CODE_COVERAGE_LCOV_OPTIONS) - $(LCOV) $(code_coverage_quiet) --directory $(CODE_COVERAGE_DIRECTORY) --remove "$(CODE_COVERAGE_OUTPUT_FILE).tmp" "/tmp/*" $(CODE_COVERAGE_IGNORE_PATTERN) --output-file "$(CODE_COVERAGE_OUTPUT_FILE)" - -@rm -f $(CODE_COVERAGE_OUTPUT_FILE).tmp - LANG=C $(GENHTML) $(code_coverage_quiet) --prefix $(CODE_COVERAGE_DIRECTORY) --output-directory "$(CODE_COVERAGE_OUTPUT_DIRECTORY)" --title "$(PACKAGE_NAME)-$(PACKAGE_VERSION) Code Coverage" --legend --show-details "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_GENHTML_OPTIONS) - @echo "file://$(abs_builddir)/$(CODE_COVERAGE_OUTPUT_DIRECTORY)/index.html" -else - @echo "Need to reconfigure with --enable-code-coverage" -endif +code-coverage-capture: code-coverage-capture-hook'"$CODE_COVERAGE_RULES_CAPTURE"' # Hook rule executed before code-coverage-capture, overridable by the user code-coverage-capture-hook: -ifeq ($(CODE_COVERAGE_ENABLED),yes) -clean: code-coverage-clean -code-coverage-clean: - -$(LCOV) --directory $(top_builddir) -z - -rm -rf $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_FILE).tmp $(CODE_COVERAGE_OUTPUT_DIRECTORY) - -find . -name "*.gcda" -o -name "*.gcov" -delete -endif - -GITIGNOREFILES ?= -GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY) +'"$CODE_COVERAGE_RULES_CLEAN"' -DISTCHECK_CONFIGURE_FLAGS ?= -DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage +A''M_DISTCHECK_CONFIGURE_FLAGS ?= +A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage .PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean -' +'] AC_SUBST([CODE_COVERAGE_RULES]) m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([CODE_COVERAGE_RULES])]) diff -Nru autoconf-archive-20150925/m4/ax_compare_version.m4 autoconf-archive-20170928/m4/ax_compare_version.m4 --- autoconf-archive-20150925/m4/ax_compare_version.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_compare_version.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_compare_version.html +# https://www.gnu.org/software/autoconf-archive/ax_compare_version.html # =========================================================================== # # SYNOPSIS @@ -79,7 +79,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 11 +#serial 12 dnl ######################################################################### AC_DEFUN([AX_COMPARE_VERSION], [ diff -Nru autoconf-archive-20150925/m4/ax_compile_check_sizeof.m4 autoconf-archive-20170928/m4/ax_compile_check_sizeof.m4 --- autoconf-archive-20150925/m4/ax_compile_check_sizeof.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_compile_check_sizeof.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_compile_check_sizeof.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_compile_check_sizeof.html +# ============================================================================ # # SYNOPSIS # @@ -57,6 +57,7 @@ # LICENSE # # Copyright (c) 2008 Kaveh Ghazi +# Copyright (c) 2017 Reini Urban # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the @@ -69,7 +70,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -84,7 +85,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 7 AU_ALIAS([AC_COMPILE_CHECK_SIZEOF], [AX_COMPILE_CHECK_SIZEOF]) AC_DEFUN([AX_COMPILE_CHECK_SIZEOF], @@ -97,10 +98,10 @@ AC_MSG_CHECKING(size of $1) AC_CACHE_VAL(AC_CV_NAME, [for ac_size in 4 8 1 2 16 $3 ; do # List sizes in rough order of prevalence. - AC_TRY_COMPILE([#include "confdefs.h" + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include $2 -], [switch (0) case 0: case (sizeof ($1) == $ac_size):;], AC_CV_NAME=$ac_size) +]], [[switch (0) case 0: case (sizeof ($1) == $ac_size):;]])], [AC_CV_NAME=$ac_size]) if test x$AC_CV_NAME != x ; then break; fi done ]) diff -Nru autoconf-archive-20150925/m4/ax_compiler_flags_cflags.m4 autoconf-archive-20170928/m4/ax_compiler_flags_cflags.m4 --- autoconf-archive-20150925/m4/ax_compiler_flags_cflags.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_compiler_flags_cflags.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_compiler_flags_cflags.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_compiler_flags_cflags.html +# ============================================================================= # # SYNOPSIS # @@ -25,7 +25,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 11 +#serial 14 AC_DEFUN([AX_COMPILER_FLAGS_CFLAGS],[ AC_REQUIRE([AC_PROG_SED]) @@ -34,7 +34,7 @@ AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG]) # Variable names - m4_define(ax_warn_cflags_variable, + m4_define([ax_warn_cflags_variable], [m4_normalize(ifelse([$1],,[WARN_CFLAGS],[$1]))]) AC_LANG_PUSH([C]) @@ -50,6 +50,13 @@ ax_compiler_flags_test="" ]) + # Check that -Wno-suggest-attribute=format is supported + AX_CHECK_COMPILE_FLAG([-Wno-suggest-attribute=format],[ + ax_compiler_no_suggest_attribute_flags="-Wno-suggest-attribute=format" + ],[ + ax_compiler_no_suggest_attribute_flags="" + ]) + # Base flags AX_APPEND_COMPILE_FLAGS([ dnl -fno-strict-aliasing dnl @@ -108,7 +115,7 @@ AX_APPEND_FLAG([-Werror],ax_warn_cflags_variable) AX_APPEND_COMPILE_FLAGS([ dnl - -Wno-suggest-attribute=format dnl + [$ax_compiler_no_suggest_attribute_flags] dnl ],ax_warn_cflags_variable,[$ax_compiler_flags_test]) ]) diff -Nru autoconf-archive-20150925/m4/ax_compiler_flags_cxxflags.m4 autoconf-archive-20170928/m4/ax_compiler_flags_cxxflags.m4 --- autoconf-archive-20150925/m4/ax_compiler_flags_cxxflags.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_compiler_flags_cxxflags.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_compiler_flags_cxxflags.html -# ============================================================================== +# =============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_compiler_flags_cxxflags.html +# =============================================================================== # # SYNOPSIS # @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 10 AC_DEFUN([AX_COMPILER_FLAGS_CXXFLAGS],[ AC_REQUIRE([AC_PROG_SED]) @@ -35,7 +35,7 @@ AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG]) # Variable names - m4_define(ax_warn_cxxflags_variable, + m4_define([ax_warn_cxxflags_variable], [m4_normalize(ifelse([$1],,[WARN_CXXFLAGS],[$1]))]) AC_LANG_PUSH([C++]) @@ -51,6 +51,13 @@ ax_compiler_flags_test="" ]) + # Check that -Wno-suggest-attribute=format is supported + AX_CHECK_COMPILE_FLAG([-Wno-suggest-attribute=format],[ + ax_compiler_no_suggest_attribute_flags="-Wno-suggest-attribute=format" + ],[ + ax_compiler_no_suggest_attribute_flags="" + ]) + # Base flags AX_APPEND_COMPILE_FLAGS([ dnl -fno-strict-aliasing dnl @@ -104,7 +111,7 @@ AX_APPEND_FLAG([-Werror],ax_warn_cxxflags_variable) AX_APPEND_COMPILE_FLAGS([ dnl - -Wno-suggest-attribute=format dnl + [$ax_compiler_no_suggest_attribute_flags] dnl ],ax_warn_cxxflags_variable,[$ax_compiler_flags_test]) ]) diff -Nru autoconf-archive-20150925/m4/ax_compiler_flags_gir.m4 autoconf-archive-20170928/m4/ax_compiler_flags_gir.m4 --- autoconf-archive-20150925/m4/ax_compiler_flags_gir.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_compiler_flags_gir.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_compiler_flags_gir.html +# https://www.gnu.org/software/autoconf-archive/ax_compiler_flags_gir.html # =========================================================================== # # SYNOPSIS @@ -26,13 +26,13 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 4 +#serial 6 AC_DEFUN([AX_COMPILER_FLAGS_GIR],[ AX_REQUIRE_DEFINED([AX_APPEND_FLAG]) # Variable names - m4_define(ax_warn_scannerflags_variable, + m4_define([ax_warn_scannerflags_variable], [m4_normalize(ifelse([$1],,[WARN_SCANNERFLAGS],[$1]))]) # Base flags diff -Nru autoconf-archive-20150925/m4/ax_compiler_flags_ldflags.m4 autoconf-archive-20170928/m4/ax_compiler_flags_ldflags.m4 --- autoconf-archive-20150925/m4/ax_compiler_flags_ldflags.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_compiler_flags_ldflags.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_compiler_flags_ldflags.html -# ============================================================================= +# ============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_compiler_flags_ldflags.html +# ============================================================================== # # SYNOPSIS # @@ -25,15 +25,16 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 8 AC_DEFUN([AX_COMPILER_FLAGS_LDFLAGS],[ AX_REQUIRE_DEFINED([AX_APPEND_LINK_FLAGS]) AX_REQUIRE_DEFINED([AX_APPEND_FLAG]) AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG]) + AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG]) # Variable names - m4_define(ax_warn_ldflags_variable, + m4_define([ax_warn_ldflags_variable], [m4_normalize(ifelse([$1],,[WARN_LDFLAGS],[$1]))]) # Always pass -Werror=unknown-warning-option to get Clang to fail on bad @@ -47,9 +48,25 @@ ax_compiler_flags_test="" ]) + # macOS linker does not have --as-needed + AX_CHECK_LINK_FLAG([-Wl,--no-as-needed], [ + ax_compiler_flags_as_needed_option="-Wl,--no-as-needed" + ], [ + ax_compiler_flags_as_needed_option="" + ]) + + # macOS linker speaks with a different accent + ax_compiler_flags_fatal_warnings_option="" + AX_CHECK_LINK_FLAG([-Wl,--fatal-warnings], [ + ax_compiler_flags_fatal_warnings_option="-Wl,--fatal-warnings" + ]) + AX_CHECK_LINK_FLAG([-Wl,-fatal_warnings], [ + ax_compiler_flags_fatal_warnings_option="-Wl,-fatal_warnings" + ]) + # Base flags AX_APPEND_LINK_FLAGS([ dnl - -Wl,--no-as-needed dnl + $ax_compiler_flags_as_needed_option dnl $3 dnl ],ax_warn_ldflags_variable,[$ax_compiler_flags_test]) @@ -66,7 +83,7 @@ # suggest-attribute=format is disabled because it gives too many false # positives AX_APPEND_LINK_FLAGS([ dnl - -Wl,--fatal-warnings dnl + $ax_compiler_flags_fatal_warnings_option dnl ],ax_warn_ldflags_variable,[$ax_compiler_flags_test]) ]) diff -Nru autoconf-archive-20150925/m4/ax_compiler_flags.m4 autoconf-archive-20170928/m4/ax_compiler_flags.m4 --- autoconf-archive-20150925/m4/ax_compiler_flags.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_compiler_flags.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_compiler_flags.html +# https://www.gnu.org/software/autoconf-archive/ax_compiler_flags.html # =========================================================================== # # SYNOPSIS @@ -101,7 +101,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 13 +#serial 14 # _AX_COMPILER_FLAGS_LANG([LANGNAME]) m4_defun([_AX_COMPILER_FLAGS_LANG], diff -Nru autoconf-archive-20150925/m4/ax_compiler_vendor.m4 autoconf-archive-20170928/m4/ax_compiler_vendor.m4 --- autoconf-archive-20150925/m4/ax_compiler_vendor.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_compiler_vendor.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_compiler_vendor.html +# https://www.gnu.org/software/autoconf-archive/ax_compiler_vendor.html # =========================================================================== # # SYNOPSIS @@ -29,7 +29,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -44,7 +44,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 15 +#serial 16 AC_DEFUN([AX_COMPILER_VENDOR], [AC_CACHE_CHECK([for _AC_LANG compiler vendor], ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor, diff -Nru autoconf-archive-20150925/m4/ax_compiler_version.m4 autoconf-archive-20170928/m4/ax_compiler_version.m4 --- autoconf-archive-20150925/m4/ax_compiler_version.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_compiler_version.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_compiler_version.html +# https://www.gnu.org/software/autoconf-archive/ax_compiler_version.html # =========================================================================== # # SYNOPSIS @@ -20,8 +20,8 @@ # Epoch use: * borland compiler use chronologically 0turboc for turboc # era, # -# 1borlanc BORLANC++ before 5, 2cppbuilder for cppbuilder era, -# 3borlancpp for return of BORLANC++ (after version 5.5), +# 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. # @@ -36,7 +36,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 4 +#serial 9 # for intel AC_DEFUN([_AX_COMPILER_VERSION_INTEL], @@ -299,7 +299,7 @@ _AX_COMPILER_VERSION_BORLANDC_NUMBER,, AC_MSG_FAILURE([[[$0]] unknown borlandc version])) AS_CASE([$_ax_[]_AC_LANG_ABBREV[]_compiler_version_borlandc_raw], - dnl BORLANC++ before 5.5 + dnl BORLANDC++ before 5.5 [512] ,[ax_cv_[]_AC_LANG_ABBREV[]_compiler_version="1borlanc:2.00"], [1024],[ax_cv_[]_AC_LANG_ABBREV[]_compiler_version="1borlanc:3.00"], [1024],[ax_cv_[]_AC_LANG_ABBREV[]_compiler_version="1borlanc:3.00"], @@ -310,7 +310,7 @@ dnl C++ Builder era [1328],[ax_cv_[]_AC_LANG_ABBREV[]_compiler_version="2cppbuilder:3.0"], [1344],[ax_cv_[]_AC_LANG_ABBREV[]_compiler_version="2cppbuilder:4.0"], - dnl BORLANC++ after 5.5 + dnl BORLANDC++ after 5.5 [1360],[ax_cv_[]_AC_LANG_ABBREV[]_compiler_version="3borlancpp:5.5"], [1361],[ax_cv_[]_AC_LANG_ABBREV[]_compiler_version="3borlancpp:5.51"], [1378],[ax_cv_[]_AC_LANG_ABBREV[]_compiler_version="3borlancpp:5.6.4"], @@ -325,7 +325,7 @@ [1616],[ax_cv_[]_AC_LANG_ABBREV[]_compiler_version="5xe:3"], [1632],[ax_cv_[]_AC_LANG_ABBREV[]_compiler_version="5xe:4"], [ - AC_MSG_WARN([[[$0]] Unknow borlanc compiler version $_ax_[]_AC_LANG_ABBREV[]_compiler_version_borlandc_raw please report bug]) + AC_MSG_WARN([[[$0]] Unknown borlandc compiler version $_ax_[]_AC_LANG_ABBREV[]_compiler_version_borlandc_raw please report bug]) ]) ]) ]) @@ -389,7 +389,7 @@ AC_COMPUTE_INT(_ax_[]_AC_LANG_ABBREV[]_compiler_version_major, (_MSC_VER/100)%100,, AC_MSG_FAILURE([[[$0]] unknown microsoft compiler major version])) - dnl could be overriden + dnl could be overridden _ax_[]_AC_LANG_ABBREV[]_compiler_version_patch=0 _ax_[]_AC_LANG_ABBREV[]_compiler_version_build=0 # special case for version 6 diff -Nru autoconf-archive-20150925/m4/ax_compute_relative_paths.m4 autoconf-archive-20170928/m4/ax_compute_relative_paths.m4 --- autoconf-archive-20150925/m4/ax_compute_relative_paths.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_compute_relative_paths.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_compute_relative_paths.html -# ============================================================================= +# ============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_compute_relative_paths.html +# ============================================================================== # # SYNOPSIS # @@ -33,7 +33,7 @@ # 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. +# This macro requires AX_NORMALIZE_PATH and AX_RECURSIVE_EVAL. # # LICENSE # @@ -50,7 +50,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -65,7 +65,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 6 +#serial 12 AU_ALIAS([ADL_COMPUTE_RELATIVE_PATHS], [AX_COMPUTE_RELATIVE_PATHS]) AC_DEFUN([AX_COMPUTE_RELATIVE_PATHS], @@ -95,7 +95,7 @@ dnl Compute the relative path to go from $FROM to $TO and set the value dnl of $RESULT to that value. This function work on raw filenames dnl (for instead it will considerate /usr//local and /usr/local as -dnl two distinct paths), you should really use AX_COMPUTE_REALTIVE_PATHS +dnl two distinct paths), you should really use AX_COMPUTE_RELATIVE_PATHS dnl instead to have the paths sanitized automatically. dnl dnl For instance: @@ -135,11 +135,11 @@ dnl AX_COMPUTE_SUFFIX_PATH(PATH, SUBPATH, RESULT) dnl ============================================== -dnl Substrack $SUBPATH from $PATH, and set the resulting suffix +dnl Subtract $SUBPATH from $PATH, and set the resulting suffix dnl (or the empty string if $SUBPATH is not a subpath of $PATH) dnl to $RESULT. dnl -dnl For instace: +dnl For instance: dnl first_path=/somewhere/on/my/disk/bin dnl second_path=/somewhere/on dnl AX_COMPUTE_SUFFIX_PATH(first_path, second_path, common_path) @@ -171,20 +171,3 @@ $3="../[$]$3" fi done]) - - -dnl AX_RECURSIVE_EVAL(VALUE, RESULT) -dnl ================================= -dnl Interpolate the VALUE in loop until it doesn't change, -dnl and set the result to $RESULT. -dnl WARNING: It's easy to get an infinite loop with some unsane input. -AC_DEFUN([AX_RECURSIVE_EVAL], -[_lcl_receval="$1" -$2=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix" - test "x$exec_prefix" = xNONE && exec_prefix="${prefix}" - _lcl_receval_old='' - while test "[$]_lcl_receval_old" != "[$]_lcl_receval"; do - _lcl_receval_old="[$]_lcl_receval" - eval _lcl_receval="\"[$]_lcl_receval\"" - done - echo "[$]_lcl_receval")`]) diff -Nru autoconf-archive-20150925/m4/ax_compute_standard_relative_paths.m4 autoconf-archive-20170928/m4/ax_compute_standard_relative_paths.m4 --- autoconf-archive-20150925/m4/ax_compute_standard_relative_paths.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_compute_standard_relative_paths.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ====================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_compute_standard_relative_paths.html -# ====================================================================================== +# ======================================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_compute_standard_relative_paths.html +# ======================================================================================= # # SYNOPSIS # @@ -34,7 +34,7 @@ # mandir (only for autoconf < 2.59c) # lispdir (only for autoconf < 2.59c) # sysconfdir -# sharestatedir +# sharedstatedir # localstatedir # runstatedir (only for autoconf >= 2.70) # includedir @@ -70,7 +70,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -85,7 +85,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 9 +#serial 12 AU_ALIAS([ADL_COMPUTE_STANDARD_RELATIVE_PATHS], [AX_COMPUTE_STANDARD_RELATIVE_PATHS]) AC_DEFUN([AX_COMPUTE_STANDARD_RELATIVE_PATHS], @@ -120,7 +120,7 @@ m4_version_prereq([2.59c],[TRIPLET(datarootdir,mandir)],[TRIPLET(prefix,mandir)]) dnl m4_version_prereq([2.59c],[TRIPLET(datarootdir,lispdir)],[TRIPLET(prefix,lispdir)]) dnl TRIPLET(prefix, sysconfdir) dnl -TRIPLET(prefix, sharestatedir) dnl +TRIPLET(prefix, sharedstatedir) dnl TRIPLET(prefix, localstatedir) dnl dnl only available for >=2.70 m4_version_prereq([2.70],[TRIPLET(localstatedir,runstatedir)],[[]]) dnl diff -Nru autoconf-archive-20150925/m4/ax_cond_with_level.m4 autoconf-archive-20170928/m4/ax_cond_with_level.m4 --- autoconf-archive-20150925/m4/ax_cond_with_level.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cond_with_level.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cond_with_level.html +# https://www.gnu.org/software/autoconf-archive/ax_cond_with_level.html # =========================================================================== # # SYNOPSIS @@ -28,7 +28,7 @@ # 9 = insane # # this macro is most handily it making Makefile.in/Makefile.am that have a -# set of with-level declarations, espcially optimization-levels +# 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) @@ -48,7 +48,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -63,7 +63,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 8 +#serial 11 AU_ALIAS([AC_COND_WITH_LEVEL], [AX_COND_WITH_LEVEL]) AC_DEFUN([AX_COND_WITH_LEVEL], diff -Nru autoconf-archive-20150925/m4/ax_config_feature.m4 autoconf-archive-20170928/m4/ax_config_feature.m4 --- autoconf-archive-20150925/m4/ax_config_feature.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_config_feature.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_config_feature.html +# https://www.gnu.org/software/autoconf-archive/ax_config_feature.html # =========================================================================== # # SYNOPSIS @@ -73,7 +73,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -88,7 +88,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 10 +#serial 11 AC_DEFUN([AX_CONFIG_FEATURE],[ dnl m4_pushdef([FEATURE], patsubst([$1], -, _))dnl diff -Nru autoconf-archive-20150925/m4/ax_configure_args.m4 autoconf-archive-20170928/m4/ax_configure_args.m4 --- autoconf-archive-20150925/m4/ax_configure_args.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_configure_args.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_configure_args.html +# https://www.gnu.org/software/autoconf-archive/ax_configure_args.html # =========================================================================== # # SYNOPSIS @@ -15,7 +15,7 @@ # 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 alsways be present. +# $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 $?". @@ -42,7 +42,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -57,10 +57,10 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 9 +#serial 13 AC_DEFUN([AX_CONFIGURE_ARGS],[ - # [$]@ is unsable in 2.60+ but earlier autoconf had no ac_configure_args + # [$]@ is unusable in 2.60+ but earlier autoconf had no ac_configure_args if test "${ac_configure_args+set}" != "set" ; then ac_configure_args= for ac_arg in ${1+"[$]@"}; do diff -Nru autoconf-archive-20150925/m4/ax_count_cpus.m4 autoconf-archive-20170928/m4/ax_count_cpus.m4 --- autoconf-archive-20150925/m4/ax_count_cpus.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_count_cpus.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,21 +1,24 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_count_cpus.html +# https://www.gnu.org/software/autoconf-archive/ax_count_cpus.html # =========================================================================== # # SYNOPSIS # -# AX_COUNT_CPUS +# AX_COUNT_CPUS([ACTION-IF-DETECTED],[ACTION-IF-NOT-DETECTED]) # # DESCRIPTION # -# Attempt to count the number of processors present on the machine. If the -# detection fails, then a value of 1 is assumed. -# -# The value is placed in the CPU_COUNT variable. +# 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. # # LICENSE # -# Copyright (c) 2014 Karlson2k (Evgeny Grin) +# Copyright (c) 2014,2016 Karlson2k (Evgeny Grin) # Copyright (c) 2012 Brian Aker # Copyright (c) 2008 Michael Paul Bailey # Copyright (c) 2008 Christophe Tournayre @@ -25,42 +28,74 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 11 +#serial 22 - AC_DEFUN([AX_COUNT_CPUS],[ - AC_REQUIRE([AC_CANONICAL_HOST]) - AC_REQUIRE([AC_PROG_EGREP]) + AC_DEFUN([AX_COUNT_CPUS],[dnl + AC_REQUIRE([AC_CANONICAL_HOST])dnl + AC_REQUIRE([AC_PROG_EGREP])dnl AC_MSG_CHECKING([the number of available CPUs]) CPU_COUNT="0" - AS_CASE([$host_os],[ - *darwin*],[ - AS_IF([test -x /usr/sbin/sysctl],[ - sysctl_a=`/usr/sbin/sysctl -a 2>/dev/null| grep -c hw.cpu` - AS_IF([test sysctl_a],[ - CPU_COUNT=`/usr/sbin/sysctl -n hw.ncpu` - ]) - ])],[ - *linux*],[ - AS_IF([test "x$CPU_COUNT" = "x0" -a -e /proc/cpuinfo],[ - AS_IF([test "x$CPU_COUNT" = "x0" -a -e /proc/cpuinfo],[ - CPU_COUNT=`$EGREP -c '^processor' /proc/cpuinfo` - ]) - ])],[ - *mingw*],[ - AS_IF([test -n "$NUMBER_OF_PROCESSORS"],[ - CPU_COUNT="$NUMBER_OF_PROCESSORS" - ])],[ - *cygwin*],[ - AS_IF([test -n "$NUMBER_OF_PROCESSORS"],[ - CPU_COUNT="$NUMBER_OF_PROCESSORS" - ]) - ]) - - AS_IF([test "x$CPU_COUNT" = "x0"],[ - CPU_COUNT="1" - AC_MSG_RESULT( [unable to detect (assuming 1)] ) - ],[ - AC_MSG_RESULT( $CPU_COUNT ) - ]) - ]) + # Try generic methods + + # 'getconf' is POSIX utility, but '_NPROCESSORS_ONLN' and + # 'NPROCESSORS_ONLN' are platform-specific + command -v getconf >/dev/null 2>&1 && \ + CPU_COUNT=`getconf _NPROCESSORS_ONLN 2>/dev/null || getconf NPROCESSORS_ONLN 2>/dev/null` || CPU_COUNT="0" + AS_IF([[test "$CPU_COUNT" -gt "0" 2>/dev/null || ! command -v nproc >/dev/null 2>&1]],[[: # empty]],[dnl + # 'nproc' is part of GNU Coreutils and is widely available + CPU_COUNT=`OMP_NUM_THREADS='' nproc 2>/dev/null` || CPU_COUNT=`nproc 2>/dev/null` || CPU_COUNT="0" + ])dnl + + AS_IF([[test "$CPU_COUNT" -gt "0" 2>/dev/null]],[[: # empty]],[dnl + # Try platform-specific preferred methods + AS_CASE([[$host_os]],dnl + [[*linux*]],[[CPU_COUNT=`lscpu -p 2>/dev/null | $EGREP -e '^@<:@0-9@:>@+,' -c` || CPU_COUNT="0"]],dnl + [[*darwin*]],[[CPU_COUNT=`sysctl -n hw.logicalcpu 2>/dev/null` || CPU_COUNT="0"]],dnl + [[freebsd*]],[[command -v sysctl >/dev/null 2>&1 && CPU_COUNT=`sysctl -n kern.smp.cpus 2>/dev/null` || CPU_COUNT="0"]],dnl + [[netbsd*]], [[command -v sysctl >/dev/null 2>&1 && CPU_COUNT=`sysctl -n hw.ncpuonline 2>/dev/null` || CPU_COUNT="0"]],dnl + [[solaris*]],[[command -v psrinfo >/dev/null 2>&1 && CPU_COUNT=`psrinfo 2>/dev/null | $EGREP -e '^@<:@0-9@:>@.*on-line' -c 2>/dev/null` || CPU_COUNT="0"]],dnl + [[mingw*]],[[CPU_COUNT=`ls -qpU1 /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProcessor/ 2>/dev/null | $EGREP -e '^@<:@0-9@:>@+/' -c` || CPU_COUNT="0"]],dnl + [[msys*]],[[CPU_COUNT=`ls -qpU1 /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProcessor/ 2>/dev/null | $EGREP -e '^@<:@0-9@:>@+/' -c` || CPU_COUNT="0"]],dnl + [[cygwin*]],[[CPU_COUNT=`ls -qpU1 /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProcessor/ 2>/dev/null | $EGREP -e '^@<:@0-9@:>@+/' -c` || CPU_COUNT="0"]]dnl + )dnl + ])dnl + + AS_IF([[test "$CPU_COUNT" -gt "0" 2>/dev/null || ! command -v sysctl >/dev/null 2>&1]],[[: # empty]],[dnl + # Try less preferred generic method + # 'hw.ncpu' exist on many platforms, but not on GNU/Linux + CPU_COUNT=`sysctl -n hw.ncpu 2>/dev/null` || CPU_COUNT="0" + ])dnl + + AS_IF([[test "$CPU_COUNT" -gt "0" 2>/dev/null]],[[: # empty]],[dnl + # Try platform-specific fallback methods + # They can be less accurate and slower then preferred methods + AS_CASE([[$host_os]],dnl + [[*linux*]],[[CPU_COUNT=`$EGREP -e '^processor' -c /proc/cpuinfo 2>/dev/null` || CPU_COUNT="0"]],dnl + [[*darwin*]],[[CPU_COUNT=`system_profiler SPHardwareDataType 2>/dev/null | $EGREP -i -e 'number of cores:'|cut -d : -f 2 -s|tr -d ' '` || CPU_COUNT="0"]],dnl + [[freebsd*]],[[CPU_COUNT=`dmesg 2>/dev/null| $EGREP -e '^cpu@<:@0-9@:>@+: '|sort -u|$EGREP -e '^' -c` || CPU_COUNT="0"]],dnl + [[netbsd*]], [[CPU_COUNT=`command -v cpuctl >/dev/null 2>&1 && cpuctl list 2>/dev/null| $EGREP -e '^@<:@0-9@:>@+ .* online ' -c` || \ + CPU_COUNT=`dmesg 2>/dev/null| $EGREP -e '^cpu@<:@0-9@:>@+ at'|sort -u|$EGREP -e '^' -c` || CPU_COUNT="0"]],dnl + [[solaris*]],[[command -v kstat >/dev/null 2>&1 && CPU_COUNT=`kstat -m cpu_info -s state -p 2>/dev/null | $EGREP -c -e 'on-line'` || \ + CPU_COUNT=`kstat -m cpu_info 2>/dev/null | $EGREP -c -e 'module: cpu_info'` || CPU_COUNT="0"]],dnl + [[mingw*]],[AS_IF([[CPU_COUNT=`reg query 'HKLM\\Hardware\\Description\\System\\CentralProcessor' 2>/dev/null | $EGREP -e '\\\\@<:@0-9@:>@+$' -c`]],dnl + [[: # empty]],[[test "$NUMBER_OF_PROCESSORS" -gt "0" 2>/dev/null && CPU_COUNT="$NUMBER_OF_PROCESSORS"]])],dnl + [[msys*]],[[test "$NUMBER_OF_PROCESSORS" -gt "0" 2>/dev/null && CPU_COUNT="$NUMBER_OF_PROCESSORS"]],dnl + [[cygwin*]],[[test "$NUMBER_OF_PROCESSORS" -gt "0" 2>/dev/null && CPU_COUNT="$NUMBER_OF_PROCESSORS"]]dnl + )dnl + ])dnl + + AS_IF([[test "x$CPU_COUNT" != "x0" && test "$CPU_COUNT" -gt 0 2>/dev/null]],[dnl + AC_MSG_RESULT([[$CPU_COUNT]]) + m4_ifvaln([$1],[$1],)dnl + ],[dnl + m4_ifval([$2],[dnl + AS_UNSET([[CPU_COUNT]]) + AC_MSG_RESULT([[unable to detect]]) + $2 + ], [dnl + CPU_COUNT="1" + AC_MSG_RESULT([[unable to detect (assuming 1)]]) + ])dnl + ])dnl + ])dnl diff -Nru autoconf-archive-20150925/m4/ax_cpu_freq.m4 autoconf-archive-20170928/m4/ax_cpu_freq.m4 --- autoconf-archive-20150925/m4/ax_cpu_freq.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cpu_freq.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cpu_freq.html +# https://www.gnu.org/software/autoconf-archive/ax_cpu_freq.html # =========================================================================== # # SYNOPSIS @@ -19,7 +19,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_CPU_FREQ], [AC_REQUIRE([AC_PROG_CC]) diff -Nru autoconf-archive-20150925/m4/ax_cpu_vendor.m4 autoconf-archive-20170928/m4/ax_cpu_vendor.m4 --- autoconf-archive-20150925/m4/ax_cpu_vendor.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cpu_vendor.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cpu_vendor.html +# https://www.gnu.org/software/autoconf-archive/ax_cpu_vendor.html # =========================================================================== # # SYNOPSIS @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_CPU_VENDOR], [ diff -Nru autoconf-archive-20150925/m4/ax_create_generic_config.m4 autoconf-archive-20170928/m4/ax_create_generic_config.m4 --- autoconf-archive-20150925/m4/ax_create_generic_config.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_create_generic_config.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_create_generic_config.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_create_generic_config.html +# ============================================================================= # # SYNOPSIS # @@ -9,7 +9,7 @@ # DESCRIPTION # # Creates a generic PACKAGE-config file that has all the things that you -# want, hmm, well, atleast it has --cflags, --version, --libs. Ahhm, did +# 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 @@ -44,7 +44,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -59,7 +59,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 6 +#serial 9 AU_ALIAS([AC_CREATE_GENERIC_CONFIG], [AX_CREATE_GENERIC_CONFIG]) AC_DEFUN([AX_CREATE_GENERIC_CONFIG],[# create a generic PACKAGE-config file diff -Nru autoconf-archive-20150925/m4/ax_create_pkgconfig_info.m4 autoconf-archive-20170928/m4/ax_create_pkgconfig_info.m4 --- autoconf-archive-20150925/m4/ax_create_pkgconfig_info.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_create_pkgconfig_info.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_create_pkgconfig_info.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_create_pkgconfig_info.html +# ============================================================================= # # SYNOPSIS # @@ -24,7 +24,7 @@ # # You will find this macro most useful in conjunction with # ax_spec_defaults that can read good initializers from the .spec file. In -# consequencd, most of the generatable installable stuff can be made from +# consequence, most of the generatable installable stuff can be made from # information being updated in a single place for the whole project. # # LICENSE @@ -43,7 +43,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -58,7 +58,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 13 +#serial 16 AC_DEFUN([AX_CREATE_PKGCONFIG_INFO],[dnl AS_VAR_PUSHDEF([PKGCONFIG_suffix],[ax_create_pkgconfig_suffix])dnl diff -Nru autoconf-archive-20150925/m4/ax_create_stdint_h.m4 autoconf-archive-20170928/m4/ax_create_stdint_h.m4 --- autoconf-archive-20150925/m4/ax_create_stdint_h.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_create_stdint_h.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_create_stdint_h.html +# https://www.gnu.org/software/autoconf-archive/ax_create_stdint_h.html # =========================================================================== # # SYNOPSIS @@ -12,9 +12,9 @@ # existence of an include file 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 -# . In other enviroments we can use the inet-types in +# . In other environments we can use the inet-types in # which would define the typedefs int8_t and u_int8_t -# respectivly. +# respectively. # # This macros will create a local "_stdint.h" or the headerfile given as # an argument. In many cases that file will just "#include " or @@ -39,7 +39,7 @@ # # Remember, if the system already had a valid , the generated # file will include it directly. No need for fuzzy HAVE_STDINT_H things... -# (oops, GCC 4.2.x has deliberatly disabled its stdint.h for non-c99 +# (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). @@ -59,7 +59,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -74,7 +74,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 10 +#serial 19 AC_DEFUN([AX_CHECK_DATA_MODEL],[ AC_CHECK_SIZEOF(char) @@ -251,7 +251,7 @@ AC_CHECK_TYPE(int_fast32_t,,,[#include<$ac_cv_header_stdint>]) AC_CHECK_TYPE(intmax_t,,,[#include <$ac_cv_header_stdint>]) -fi # shortcircut to system "stdint.h" +fi # shortcircuit to system "stdint.h" # ------------------ PREPARE VARIABLES ------------------------------ if test "$GCC" = "yes" ; then ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1` @@ -370,7 +370,7 @@ cat >>$ac_stdint <. +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -108,7 +108,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_CREATE_TARGET_H], [AX_CREATE_TARGET_H]) AC_DEFUN([AX_CREATE_TARGET_H], diff -Nru autoconf-archive-20150925/m4/ax_c_referenceable_passed_va_list.m4 autoconf-archive-20170928/m4/ax_c_referenceable_passed_va_list.m4 --- autoconf-archive-20150925/m4/ax_c_referenceable_passed_va_list.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_c_referenceable_passed_va_list.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ===================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_c_referenceable_passed_va_list.html -# ===================================================================================== +# ====================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_c_referenceable_passed_va_list.html +# ====================================================================================== # # SYNOPSIS # @@ -17,7 +17,7 @@ # &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 -# http://www.gnu.org/software/autoconf/manual/html_node/Function-Portability.html, +# 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. @@ -51,7 +51,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_C_REFERENCEABLE_PASSED_VA_LIST], [ AC_CACHE_CHECK([whether f(va_list va){ &va; } works as expected], diff -Nru autoconf-archive-20150925/m4/ax_c_var_func.m4 autoconf-archive-20170928/m4/ax_c_var_func.m4 --- autoconf-archive-20150925/m4/ax_c_var_func.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_c_var_func.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_c_var_func.html +# https://www.gnu.org/software/autoconf-archive/ax_c_var_func.html # =========================================================================== # # SYNOPSIS @@ -9,10 +9,10 @@ # DESCRIPTION # # This macro tests if the C complier supports the C9X standard __func__ -# indentifier. +# identifier. # # The new C9X standard for the C language stipulates that the identifier -# __func__ shall be implictly declared by the compiler as if, immediately +# __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"; @@ -35,7 +35,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -50,7 +50,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 6 +#serial 10 AU_ALIAS([AC_C_VAR_FUNC], [AX_C_VAR_FUNC]) AC_DEFUN([AX_C_VAR_FUNC], diff -Nru autoconf-archive-20150925/m4/ax_cvs.m4 autoconf-archive-20170928/m4/ax_cvs.m4 --- autoconf-archive-20150925/m4/ax_cvs.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cvs.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cvs.html +# https://www.gnu.org/software/autoconf-archive/ax_cvs.html # =========================================================================== # # SYNOPSIS @@ -24,10 +24,10 @@ # # make commitlog # -# Generates a ChangeLog template with the modifed, added +# 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 instad called by -# commit. It is usefull however if you want to document +# 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. # @@ -65,9 +65,9 @@ # make release # # performs a cvs update, followed by a distcheck, then -# creates a release for the current version, increaments +# creates a release for the current version, increments # the point release number and checks out the release -# into a new direcory +# into a new directory # # make quick-release # @@ -82,7 +82,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 13 +#serial 21 AC_DEFUN([AX_CVS], [ @@ -181,7 +181,7 @@ if test "x$AX_USING_CVS" = "x"; then AX_USING_CVS=no else - AC_MSG_ERROR([CVS support cannot be enabled: USERNAME enviorment variable not set]) + AC_MSG_ERROR([CVS support cannot be enabled: USERNAME environment variable not set]) fi fi AC_SUBST([USERNAME]) @@ -196,7 +196,7 @@ if test "x$AX_USING_CVS" = "x"; then AX_USING_CVS=no else - AC_MSG_ERROR([CVS support cannot be enabled: USEREMAIL enviorment variable not set]) + AC_MSG_ERROR([CVS support cannot be enabled: USEREMAIL environment variable not set]) fi fi AC_SUBST([USEREMAIL]) @@ -464,8 +464,8 @@ tag: do_tag inc_rel -# creates a release for the current version, increaments the point -# release number and checkout the release into a new direcory +# creates a release for the current version, increments the point +# release number and checkout the release into a new directory release: update distcheck add_rel tag # same as release, but distcheck is not performed before releasing diff -Nru autoconf-archive-20150925/m4/ax_cxx_bool.m4 autoconf-archive-20170928/m4/ax_cxx_bool.m4 --- autoconf-archive-20150925/m4/ax_cxx_bool.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_bool.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_bool.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_bool.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AU_ALIAS([AC_CXX_BOOL], [AX_CXX_BOOL]) AC_DEFUN([AX_CXX_BOOL], diff -Nru autoconf-archive-20150925/m4/ax_cxx_compiler_vendor.m4 autoconf-archive-20170928/m4/ax_cxx_compiler_vendor.m4 --- autoconf-archive-20150925/m4/ax_cxx_compiler_vendor.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_compiler_vendor.m4 1970-01-01 00:00:00.000000000 +0000 @@ -1,48 +0,0 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_compiler_vendor.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Please use AC_LANG_PUSH([C++]) AX_COMPILER_VENDOR AC_LANG_POP([C++]) -# -# SYNOPSIS -# -# AX_CXX_COMPILER_VENDOR(VENDOR-NAME, [NICKNAME]) -# -# DESCRIPTION -# -# Set VENDOR-NAME to the lower-case name of the compiler vendor or -# `unknown' if the compiler's vendor is unknown. `compaq' means the CXX -# compiler as available on Tru64/OSF1/Digital Unix on Alpha machines. If -# NICKNAME is provided, set it to the compiler's usual name (eg. `g++', -# `cxx', `aCC', etc.). -# -# LICENSE -# -# Copyright (c) 2008 Ludovic Courtes -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty provided the copyright notice -# and this notice are preserved. This file is offered as-is, without any -# warranty. - -#serial 9 - -AU_ALIAS([AC_CXX_COMPILER_VENDOR], [AX_CXX_COMPILER_VENDOR]) -AC_DEFUN([AX_CXX_COMPILER_VENDOR], - [dnl - AC_OBSOLETE($[$0],[[;please use AX_COMPILER_VENDOR]]) - AC_MSG_WARN([[AX_CXX_COMPILER_VENDOR is obsolete; please use AX_COMPILER_VENDOR]]) - - AC_REQUIRE([AC_PROG_CXX]) - - AC_LANG_PUSH([C++]) - AX_COMPILER_VENDOR() - AC_LANG_POP([C++]) - - # be compatible with old ABI - AS_IF([test X$ax_cv_cxx_compiler = "Xdec"], - [$ax_cv_cxx_compiler=compact]) - ] -)dnl diff -Nru autoconf-archive-20150925/m4/ax_cxx_compile_stdcxx_0x.m4 autoconf-archive-20170928/m4/ax_cxx_compile_stdcxx_0x.m4 --- autoconf-archive-20150925/m4/ax_cxx_compile_stdcxx_0x.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_compile_stdcxx_0x.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_0x.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_0x.html +# ============================================================================= # # SYNOPSIS # @@ -11,6 +11,9 @@ # 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. +# # LICENSE # # Copyright (c) 2008 Benjamin Kosnik @@ -20,10 +23,11 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 11 AU_ALIAS([AC_CXX_COMPILE_STDCXX_0X], [AX_CXX_COMPILE_STDCXX_0X]) AC_DEFUN([AX_CXX_COMPILE_STDCXX_0X], [ + AC_OBSOLETE([$0], [; use AX_CXX_COMPILE_STDCXX_11 instead]) AC_CACHE_CHECK(if g++ supports C++0x features without additional flags, ax_cv_cxx_compile_cxx0x_native, [AC_LANG_SAVE @@ -51,8 +55,8 @@ ax_cv_cxx_compile_cxx0x_cxx, [AC_LANG_SAVE AC_LANG_CPLUSPLUS - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS -std=c++0x" + ac_save_CXX="$CXX" + CXX="$CXX -std=c++0x" AC_TRY_COMPILE([ template struct check @@ -69,7 +73,7 @@ check_type c; check_type&& cr = static_cast(c);],, ax_cv_cxx_compile_cxx0x_cxx=yes, ax_cv_cxx_compile_cxx0x_cxx=no) - CXXFLAGS="$ac_save_CXXFLAGS" + CXX="$ac_save_CXX" AC_LANG_RESTORE ]) @@ -77,8 +81,8 @@ ax_cv_cxx_compile_cxx0x_gxx, [AC_LANG_SAVE AC_LANG_CPLUSPLUS - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS -std=gnu++0x" + ac_save_CXX="$CXX" + CXX="$CXX -std=gnu++0x" AC_TRY_COMPILE([ template struct check @@ -95,7 +99,7 @@ check_type c; check_type&& cr = static_cast(c);],, ax_cv_cxx_compile_cxx0x_gxx=yes, ax_cv_cxx_compile_cxx0x_gxx=no) - CXXFLAGS="$ac_save_CXXFLAGS" + CXX="$ac_save_CXX" AC_LANG_RESTORE ]) diff -Nru autoconf-archive-20150925/m4/ax_cxx_compile_stdcxx_11.m4 autoconf-archive-20170928/m4/ax_cxx_compile_stdcxx_11.m4 --- autoconf-archive-20150925/m4/ax_cxx_compile_stdcxx_11.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_compile_stdcxx_11.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,26 +1,23 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_11.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_11.html +# ============================================================================= # # SYNOPSIS # -# AX_CXX_COMPILE_STDCXX_11([ext|noext],[mandatory|optional]) +# 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 CXXFLAGS to enable support. +# standard; if necessary, add switches to CXX and CXXCPP to enable +# support. # -# The first 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 an extended mode. -# -# The second argument, if specified 'mandatory' or if left unspecified, -# indicates that baseline C++11 support 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_CXX11 if and only if a supporting mode is found. +# 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. # # LICENSE # @@ -29,144 +26,14 @@ # Copyright (c) 2013 Roy Stogner # Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov # Copyright (c) 2015 Paul Norman +# Copyright (c) 2015 Moritz Klammler # # Copying and distribution of this file, with or without modification, are # permitted in any medium without royalty provided the copyright notice # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 13 +#serial 18 -m4_define([_AX_CXX_COMPILE_STDCXX_11_testbody], [[ - template - struct check - { - static_assert(sizeof(int) <= sizeof(T), "not big enough"); - }; - - struct Base { - virtual void f() {} - }; - struct Child : public Base { - virtual void f() override {} - }; - - typedef check> right_angle_brackets; - - int a; - decltype(a) b; - - typedef check check_type; - check_type c; - check_type&& cr = static_cast(c); - - auto d = a; - auto l = [](){}; - // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable] - struct use_l { use_l() { l(); } }; - - // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae - // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this - namespace test_template_alias_sfinae { - struct foo {}; - - template - using member = typename T::member_type; - - template - void func(...) {} - - template - void func(member*) {} - - void test(); - - void test() { - func(0); - } - } - - // Check for C++11 attribute support - void noret [[noreturn]] () { throw 0; } -]]) - -AC_DEFUN([AX_CXX_COMPILE_STDCXX_11], [dnl - m4_if([$1], [], [], - [$1], [ext], [], - [$1], [noext], [], - [m4_fatal([invalid argument `$1' to AX_CXX_COMPILE_STDCXX_11])])dnl - m4_if([$2], [], [ax_cxx_compile_cxx11_required=true], - [$2], [mandatory], [ax_cxx_compile_cxx11_required=true], - [$2], [optional], [ax_cxx_compile_cxx11_required=false], - [m4_fatal([invalid second argument `$2' to AX_CXX_COMPILE_STDCXX_11])]) - AC_LANG_PUSH([C++])dnl - ac_success=no - AC_CACHE_CHECK(whether $CXX supports C++11 features by default, - ax_cv_cxx_compile_cxx11, - [AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_11_testbody])], - [ax_cv_cxx_compile_cxx11=yes], - [ax_cv_cxx_compile_cxx11=no])]) - if test x$ax_cv_cxx_compile_cxx11 = xyes; then - ac_success=yes - fi - - m4_if([$1], [noext], [], [dnl - if test x$ac_success = xno; then - for switch in -std=gnu++11 -std=gnu++0x; do - cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx11_$switch]) - AC_CACHE_CHECK(whether $CXX supports C++11 features with $switch, - $cachevar, - [ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $switch" - AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_11_testbody])], - [eval $cachevar=yes], - [eval $cachevar=no]) - CXXFLAGS="$ac_save_CXXFLAGS"]) - if eval test x\$$cachevar = xyes; then - CXXFLAGS="$CXXFLAGS $switch" - ac_success=yes - break - fi - done - fi]) - - m4_if([$1], [ext], [], [dnl - if test x$ac_success = xno; then - dnl HP's aCC needs +std=c++11 according to: - dnl http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/PDF_Release_Notes/769149-001.pdf - dnl Cray's crayCC needs "-h std=c++11" - for switch in -std=c++11 -std=c++0x +std=c++11 "-h std=c++11"; do - cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx11_$switch]) - AC_CACHE_CHECK(whether $CXX supports C++11 features with $switch, - $cachevar, - [ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $switch" - AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_11_testbody])], - [eval $cachevar=yes], - [eval $cachevar=no]) - CXXFLAGS="$ac_save_CXXFLAGS"]) - if eval test x\$$cachevar = xyes; then - CXXFLAGS="$CXXFLAGS $switch" - ac_success=yes - break - fi - done - fi]) - AC_LANG_POP([C++]) - if test x$ax_cxx_compile_cxx11_required = xtrue; then - if test x$ac_success = xno; then - AC_MSG_ERROR([*** A compiler with support for C++11 language features is required.]) - fi - else - if test x$ac_success = xno; then - HAVE_CXX11=0 - AC_MSG_NOTICE([No compiler with C++11 support was found]) - else - HAVE_CXX11=1 - AC_DEFINE(HAVE_CXX11,1, - [define if the compiler supports basic C++11 syntax]) - fi - - AC_SUBST(HAVE_CXX11) - fi -]) +AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX]) +AC_DEFUN([AX_CXX_COMPILE_STDCXX_11], [AX_CXX_COMPILE_STDCXX([11], [$1], [$2])]) diff -Nru autoconf-archive-20150925/m4/ax_cxx_compile_stdcxx_14.m4 autoconf-archive-20170928/m4/ax_cxx_compile_stdcxx_14.m4 --- autoconf-archive-20150925/m4/ax_cxx_compile_stdcxx_14.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_compile_stdcxx_14.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,34 @@ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_14.html +# ============================================================================= +# +# 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. +# +# LICENSE +# +# Copyright (c) 2015 Moritz Klammler +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +#serial 5 + +AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX]) +AC_DEFUN([AX_CXX_COMPILE_STDCXX_14], [AX_CXX_COMPILE_STDCXX([14], [$1], [$2])]) diff -Nru autoconf-archive-20150925/m4/ax_cxx_compile_stdcxx_17.m4 autoconf-archive-20170928/m4/ax_cxx_compile_stdcxx_17.m4 --- autoconf-archive-20150925/m4/ax_cxx_compile_stdcxx_17.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_compile_stdcxx_17.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,35 @@ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_17.html +# ============================================================================= +# +# 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. +# +# LICENSE +# +# Copyright (c) 2015 Moritz Klammler +# Copyright (c) 2016 Krzesimir Nowak +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +#serial 2 + +AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX]) +AC_DEFUN([AX_CXX_COMPILE_STDCXX_17], [AX_CXX_COMPILE_STDCXX([17], [$1], [$2])]) diff -Nru autoconf-archive-20150925/m4/ax_cxx_compile_stdcxx.m4 autoconf-archive-20170928/m4/ax_cxx_compile_stdcxx.m4 --- autoconf-archive-20150925/m4/ax_cxx_compile_stdcxx.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_compile_stdcxx.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,982 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html +# =========================================================================== +# +# 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' (for the C++11 standard) +# or '14' (for the C++14 standard). +# +# 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 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. +# +# LICENSE +# +# Copyright (c) 2008 Benjamin Kosnik +# Copyright (c) 2012 Zack Weinberg +# Copyright (c) 2013 Roy Stogner +# Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov +# Copyright (c) 2015 Paul Norman +# Copyright (c) 2015 Moritz Klammler +# Copyright (c) 2016 Krzesimir Nowak +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +#serial 7 + +dnl This macro is based on the code from the AX_CXX_COMPILE_STDCXX_11 macro +dnl (serial version number 13). + +AX_REQUIRE_DEFINED([AC_MSG_WARN]) +AC_DEFUN([AX_CXX_COMPILE_STDCXX], [dnl + m4_if([$1], [11], [ax_cxx_compile_alternatives="11 0x"], + [$1], [14], [ax_cxx_compile_alternatives="14 1y"], + [$1], [17], [ax_cxx_compile_alternatives="17 1z"], + [m4_fatal([invalid first argument `$1' to AX_CXX_COMPILE_STDCXX])])dnl + m4_if([$2], [], [], + [$2], [ext], [], + [$2], [noext], [], + [m4_fatal([invalid second argument `$2' to AX_CXX_COMPILE_STDCXX])])dnl + m4_if([$3], [], [ax_cxx_compile_cxx$1_required=true], + [$3], [mandatory], [ax_cxx_compile_cxx$1_required=true], + [$3], [optional], [ax_cxx_compile_cxx$1_required=false], + [m4_fatal([invalid third argument `$3' to AX_CXX_COMPILE_STDCXX])]) + AC_LANG_PUSH([C++])dnl + ac_success=no + AC_CACHE_CHECK(whether $CXX supports C++$1 features by default, + ax_cv_cxx_compile_cxx$1, + [AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])], + [ax_cv_cxx_compile_cxx$1=yes], + [ax_cv_cxx_compile_cxx$1=no])]) + if test x$ax_cv_cxx_compile_cxx$1 = xyes; then + ac_success=yes + fi + + m4_if([$2], [noext], [], [dnl + if test x$ac_success = xno; then + for alternative in ${ax_cxx_compile_alternatives}; do + switch="-std=gnu++${alternative}" + cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch]) + AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch, + $cachevar, + [ac_save_CXX="$CXX" + CXX="$CXX $switch" + AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])], + [eval $cachevar=yes], + [eval $cachevar=no]) + CXX="$ac_save_CXX"]) + if eval test x\$$cachevar = xyes; then + CXX="$CXX $switch" + if test -n "$CXXCPP" ; then + CXXCPP="$CXXCPP $switch" + fi + ac_success=yes + break + fi + done + fi]) + + m4_if([$2], [ext], [], [dnl + if test x$ac_success = xno; then + dnl HP's aCC needs +std=c++11 according to: + dnl http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/PDF_Release_Notes/769149-001.pdf + dnl Cray's crayCC needs "-h std=c++11" + for alternative in ${ax_cxx_compile_alternatives}; do + for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do + cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch]) + AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch, + $cachevar, + [ac_save_CXX="$CXX" + CXX="$CXX $switch" + AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])], + [eval $cachevar=yes], + [eval $cachevar=no]) + CXX="$ac_save_CXX"]) + if eval test x\$$cachevar = xyes; then + CXX="$CXX $switch" + if test -n "$CXXCPP" ; then + CXXCPP="$CXXCPP $switch" + fi + ac_success=yes + break + fi + done + if test x$ac_success = xyes; then + break + fi + done + fi]) + AC_LANG_POP([C++]) + if test x$ax_cxx_compile_cxx$1_required = xtrue; then + if test x$ac_success = xno; then + AC_MSG_ERROR([*** A compiler with support for C++$1 language features is required.]) + fi + fi + if test x$ac_success = xno; then + HAVE_CXX$1=0 + AC_MSG_NOTICE([No compiler with C++$1 support was found]) + else + HAVE_CXX$1=1 + AC_DEFINE(HAVE_CXX$1,1, + [define if the compiler supports basic C++$1 syntax]) + fi + AC_SUBST(HAVE_CXX$1) + m4_if([$1], [17], [AC_MSG_WARN([C++17 is not yet standardized, so the checks may change in incompatible ways anytime])]) +]) + + +dnl Test body for checking C++11 support + +m4_define([_AX_CXX_COMPILE_STDCXX_testbody_11], + _AX_CXX_COMPILE_STDCXX_testbody_new_in_11 +) + + +dnl Test body for checking C++14 support + +m4_define([_AX_CXX_COMPILE_STDCXX_testbody_14], + _AX_CXX_COMPILE_STDCXX_testbody_new_in_11 + _AX_CXX_COMPILE_STDCXX_testbody_new_in_14 +) + +m4_define([_AX_CXX_COMPILE_STDCXX_testbody_17], + _AX_CXX_COMPILE_STDCXX_testbody_new_in_11 + _AX_CXX_COMPILE_STDCXX_testbody_new_in_14 + _AX_CXX_COMPILE_STDCXX_testbody_new_in_17 +) + +dnl Tests for new features in C++11 + +m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_11], [[ + +// If the compiler admits that it is not ready for C++11, why torture it? +// Hopefully, this will speed up the test. + +#ifndef __cplusplus + +#error "This is not a C++ compiler" + +#elif __cplusplus < 201103L + +#error "This is not a C++11 compiler" + +#else + +namespace cxx11 +{ + + namespace test_static_assert + { + + template + struct check + { + static_assert(sizeof(int) <= sizeof(T), "not big enough"); + }; + + } + + namespace test_final_override + { + + struct Base + { + virtual void f() {} + }; + + struct Derived : public Base + { + virtual void f() override {} + }; + + } + + namespace test_double_right_angle_brackets + { + + template < typename T > + struct check {}; + + typedef check single_type; + typedef check> double_type; + typedef check>> triple_type; + typedef check>>> quadruple_type; + + } + + namespace test_decltype + { + + int + f() + { + int a = 1; + decltype(a) b = 2; + return a + b; + } + + } + + namespace test_type_deduction + { + + template < typename T1, typename T2 > + struct is_same + { + static const bool value = false; + }; + + template < typename T > + struct is_same + { + static const bool value = true; + }; + + template < typename T1, typename T2 > + auto + add(T1 a1, T2 a2) -> decltype(a1 + a2) + { + return a1 + a2; + } + + int + test(const int c, volatile int v) + { + static_assert(is_same::value == true, ""); + static_assert(is_same::value == false, ""); + static_assert(is_same::value == false, ""); + auto ac = c; + auto av = v; + auto sumi = ac + av + 'x'; + auto sumf = ac + av + 1.0; + static_assert(is_same::value == true, ""); + static_assert(is_same::value == true, ""); + static_assert(is_same::value == true, ""); + static_assert(is_same::value == false, ""); + static_assert(is_same::value == true, ""); + return (sumf > 0.0) ? sumi : add(c, v); + } + + } + + namespace test_noexcept + { + + int f() { return 0; } + int g() noexcept { return 0; } + + static_assert(noexcept(f()) == false, ""); + static_assert(noexcept(g()) == true, ""); + + } + + namespace test_constexpr + { + + template < typename CharT > + unsigned long constexpr + strlen_c_r(const CharT *const s, const unsigned long acc) noexcept + { + return *s ? strlen_c_r(s + 1, acc + 1) : acc; + } + + template < typename CharT > + unsigned long constexpr + strlen_c(const CharT *const s) noexcept + { + return strlen_c_r(s, 0UL); + } + + static_assert(strlen_c("") == 0UL, ""); + static_assert(strlen_c("1") == 1UL, ""); + static_assert(strlen_c("example") == 7UL, ""); + static_assert(strlen_c("another\0example") == 7UL, ""); + + } + + namespace test_rvalue_references + { + + template < int N > + struct answer + { + static constexpr int value = N; + }; + + answer<1> f(int&) { return answer<1>(); } + answer<2> f(const int&) { return answer<2>(); } + answer<3> f(int&&) { return answer<3>(); } + + void + test() + { + int i = 0; + const int c = 0; + static_assert(decltype(f(i))::value == 1, ""); + static_assert(decltype(f(c))::value == 2, ""); + static_assert(decltype(f(0))::value == 3, ""); + } + + } + + namespace test_uniform_initialization + { + + struct test + { + static const int zero {}; + static const int one {1}; + }; + + static_assert(test::zero == 0, ""); + static_assert(test::one == 1, ""); + + } + + namespace test_lambdas + { + + void + test1() + { + auto lambda1 = [](){}; + auto lambda2 = lambda1; + lambda1(); + lambda2(); + } + + int + test2() + { + auto a = [](int i, int j){ return i + j; }(1, 2); + auto b = []() -> int { return '0'; }(); + auto c = [=](){ return a + b; }(); + auto d = [&](){ return c; }(); + auto e = [a, &b](int x) mutable { + const auto identity = [](int y){ return y; }; + for (auto i = 0; i < a; ++i) + a += b--; + return x + identity(a + b); + }(0); + return a + b + c + d + e; + } + + int + test3() + { + const auto nullary = [](){ return 0; }; + const auto unary = [](int x){ return x; }; + using nullary_t = decltype(nullary); + using unary_t = decltype(unary); + const auto higher1st = [](nullary_t f){ return f(); }; + const auto higher2nd = [unary](nullary_t f1){ + return [unary, f1](unary_t f2){ return f2(unary(f1())); }; + }; + return higher1st(nullary) + higher2nd(nullary)(unary); + } + + } + + namespace test_variadic_templates + { + + template + struct sum; + + template + struct sum + { + static constexpr auto value = N0 + sum::value; + }; + + template <> + struct sum<> + { + static constexpr auto value = 0; + }; + + static_assert(sum<>::value == 0, ""); + static_assert(sum<1>::value == 1, ""); + static_assert(sum<23>::value == 23, ""); + static_assert(sum<1, 2>::value == 3, ""); + static_assert(sum<5, 5, 11>::value == 21, ""); + static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); + + } + + // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae + // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function + // because of this. + namespace test_template_alias_sfinae + { + + struct foo {}; + + template + using member = typename T::member_type; + + template + void func(...) {} + + template + void func(member*) {} + + void test(); + + void test() { func(0); } + + } + +} // namespace cxx11 + +#endif // __cplusplus >= 201103L + +]]) + + +dnl Tests for new features in C++14 + +m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_14], [[ + +// If the compiler admits that it is not ready for C++14, why torture it? +// Hopefully, this will speed up the test. + +#ifndef __cplusplus + +#error "This is not a C++ compiler" + +#elif __cplusplus < 201402L + +#error "This is not a C++14 compiler" + +#else + +namespace cxx14 +{ + + namespace test_polymorphic_lambdas + { + + int + test() + { + const auto lambda = [](auto&&... args){ + const auto istiny = [](auto x){ + return (sizeof(x) == 1UL) ? 1 : 0; + }; + const int aretiny[] = { istiny(args)... }; + return aretiny[0]; + }; + return lambda(1, 1L, 1.0f, '1'); + } + + } + + namespace test_binary_literals + { + + constexpr auto ivii = 0b0000000000101010; + static_assert(ivii == 42, "wrong value"); + + } + + namespace test_generalized_constexpr + { + + template < typename CharT > + constexpr unsigned long + strlen_c(const CharT *const s) noexcept + { + auto length = 0UL; + for (auto p = s; *p; ++p) + ++length; + return length; + } + + static_assert(strlen_c("") == 0UL, ""); + static_assert(strlen_c("x") == 1UL, ""); + static_assert(strlen_c("test") == 4UL, ""); + static_assert(strlen_c("another\0test") == 7UL, ""); + + } + + namespace test_lambda_init_capture + { + + int + test() + { + auto x = 0; + const auto lambda1 = [a = x](int b){ return a + b; }; + const auto lambda2 = [a = lambda1(x)](){ return a; }; + return lambda2(); + } + + } + + namespace test_digit_separators + { + + constexpr auto ten_million = 100'000'000; + static_assert(ten_million == 100000000, ""); + + } + + namespace test_return_type_deduction + { + + auto f(int& x) { return x; } + decltype(auto) g(int& x) { return x; } + + template < typename T1, typename T2 > + struct is_same + { + static constexpr auto value = false; + }; + + template < typename T > + struct is_same + { + static constexpr auto value = true; + }; + + int + test() + { + auto x = 0; + static_assert(is_same::value, ""); + static_assert(is_same::value, ""); + return x; + } + + } + +} // namespace cxx14 + +#endif // __cplusplus >= 201402L + +]]) + + +dnl Tests for new features in C++17 + +m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_17], [[ + +// If the compiler admits that it is not ready for C++17, why torture it? +// Hopefully, this will speed up the test. + +#ifndef __cplusplus + +#error "This is not a C++ compiler" + +#elif __cplusplus <= 201402L + +#error "This is not a C++17 compiler" + +#else + +#if defined(__clang__) + #define REALLY_CLANG +#else + #if defined(__GNUC__) + #define REALLY_GCC + #endif +#endif + +#include +#include +#include + +namespace cxx17 +{ + +#if !defined(REALLY_CLANG) + namespace test_constexpr_lambdas + { + + // TODO: test it with clang++ from git + + constexpr int foo = [](){return 42;}(); + + } +#endif // !defined(REALLY_CLANG) + + namespace test::nested_namespace::definitions + { + + } + + namespace test_fold_expression + { + + template + int multiply(Args... args) + { + return (args * ... * 1); + } + + template + bool all(Args... args) + { + return (args && ...); + } + + } + + namespace test_extended_static_assert + { + + static_assert (true); + + } + + namespace test_auto_brace_init_list + { + + auto foo = {5}; + auto bar {5}; + + static_assert(std::is_same, decltype(foo)>::value); + static_assert(std::is_same::value); + } + + namespace test_typename_in_template_template_parameter + { + + template typename X> struct D; + + } + + namespace test_fallthrough_nodiscard_maybe_unused_attributes + { + + int f1() + { + return 42; + } + + [[nodiscard]] int f2() + { + [[maybe_unused]] auto unused = f1(); + + switch (f1()) + { + case 17: + f1(); + [[fallthrough]]; + case 42: + f1(); + } + return f1(); + } + + } + + namespace test_extended_aggregate_initialization + { + + struct base1 + { + int b1, b2 = 42; + }; + + struct base2 + { + base2() { + b3 = 42; + } + int b3; + }; + + struct derived : base1, base2 + { + int d; + }; + + derived d1 {{1, 2}, {}, 4}; // full initialization + derived d2 {{}, {}, 4}; // value-initialized bases + + } + + namespace test_general_range_based_for_loop + { + + struct iter + { + int i; + + int& operator* () + { + return i; + } + + const int& operator* () const + { + return i; + } + + iter& operator++() + { + ++i; + return *this; + } + }; + + struct sentinel + { + int i; + }; + + bool operator== (const iter& i, const sentinel& s) + { + return i.i == s.i; + } + + bool operator!= (const iter& i, const sentinel& s) + { + return !(i == s); + } + + struct range + { + iter begin() const + { + return {0}; + } + + sentinel end() const + { + return {5}; + } + }; + + void f() + { + range r {}; + + for (auto i : r) + { + [[maybe_unused]] auto v = i; + } + } + + } + + namespace test_lambda_capture_asterisk_this_by_value + { + + struct t + { + int i; + int foo() + { + return [*this]() + { + return i; + }(); + } + }; + + } + + namespace test_enum_class_construction + { + + enum class byte : unsigned char + {}; + + byte foo {42}; + + } + + namespace test_constexpr_if + { + + template + int f () + { + if constexpr(cond) + { + return 13; + } + else + { + return 42; + } + } + + } + + namespace test_selection_statement_with_initializer + { + + int f() + { + return 13; + } + + int f2() + { + if (auto i = f(); i > 0) + { + return 3; + } + + switch (auto i = f(); i + 4) + { + case 17: + return 2; + + default: + return 1; + } + } + + } + +#if !defined(REALLY_CLANG) + namespace test_template_argument_deduction_for_class_templates + { + + // TODO: test it with clang++ from git + + template + struct pair + { + pair (T1 p1, T2 p2) + : m1 {p1}, + m2 {p2} + {} + + T1 m1; + T2 m2; + }; + + void f() + { + [[maybe_unused]] auto p = pair{13, 42u}; + } + + } +#endif // !defined(REALLY_CLANG) + + namespace test_non_type_auto_template_parameters + { + + template + struct B + {}; + + B<5> b1; + B<'a'> b2; + + } + +#if !defined(REALLY_CLANG) + namespace test_structured_bindings + { + + // TODO: test it with clang++ from git + + int arr[2] = { 1, 2 }; + std::pair pr = { 1, 2 }; + + auto f1() -> int(&)[2] + { + return arr; + } + + auto f2() -> std::pair& + { + return pr; + } + + struct S + { + int x1 : 2; + volatile double y1; + }; + + S f3() + { + return {}; + } + + auto [ x1, y1 ] = f1(); + auto& [ xr1, yr1 ] = f1(); + auto [ x2, y2 ] = f2(); + auto& [ xr2, yr2 ] = f2(); + const auto [ x3, y3 ] = f3(); + + } +#endif // !defined(REALLY_CLANG) + +#if !defined(REALLY_CLANG) + namespace test_exception_spec_type_system + { + + // TODO: test it with clang++ from git + + struct Good {}; + struct Bad {}; + + void g1() noexcept; + void g2(); + + template + Bad + f(T*, T*); + + template + Good + f(T1*, T2*); + + static_assert (std::is_same_v); + + } +#endif // !defined(REALLY_CLANG) + + namespace test_inline_variables + { + + template void f(T) + {} + + template inline T g(T) + { + return T{}; + } + + template<> inline void f<>(int) + {} + + template<> int g<>(int) + { + return 5; + } + + } + +} // namespace cxx17 + +#endif // __cplusplus <= 201402L + +]]) diff -Nru autoconf-archive-20150925/m4/ax_cxx_complex_math_in_namespace_std.m4 autoconf-archive-20170928/m4/ax_cxx_complex_math_in_namespace_std.m4 --- autoconf-archive-20150925/m4/ax_cxx_complex_math_in_namespace_std.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_complex_math_in_namespace_std.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ======================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_complex_math_in_namespace_std.html -# ======================================================================================== +# ========================================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_complex_math_in_namespace_std.html +# ========================================================================================= # # SYNOPSIS # @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AU_ALIAS([AC_CXX_COMPLEX_MATH_IN_NAMESPACE_STD], [AX_CXX_COMPLEX_MATH_IN_NAMESPACE_STD]) AC_DEFUN([AX_CXX_COMPLEX_MATH_IN_NAMESPACE_STD], diff -Nru autoconf-archive-20150925/m4/ax_cxx_const_cast.m4 autoconf-archive-20170928/m4/ax_cxx_const_cast.m4 --- autoconf-archive-20150925/m4/ax_cxx_const_cast.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_const_cast.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_const_cast.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_const_cast.html # =========================================================================== # # SYNOPSIS @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AU_ALIAS([AC_CXX_CONST_CAST], [AX_CXX_CONST_CAST]) AC_DEFUN([AX_CXX_CONST_CAST], diff -Nru autoconf-archive-20150925/m4/ax_cxx_cppflags_std_lang.m4 autoconf-archive-20170928/m4/ax_cxx_cppflags_std_lang.m4 --- autoconf-archive-20150925/m4/ax_cxx_cppflags_std_lang.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_cppflags_std_lang.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_cxx_cppflags_std_lang.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_cppflags_std_lang.html +# ============================================================================= # # SYNOPSIS # @@ -22,7 +22,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 9 +#serial 10 AU_ALIAS([AC_CXX_CPPFLAGS_STD_LANG], [AX_CXX_CPPFLAGS_STD_LANG]) AC_DEFUN([AX_CXX_CPPFLAGS_STD_LANG], diff -Nru autoconf-archive-20150925/m4/ax_cxx_cxxflags_std_lang.m4 autoconf-archive-20170928/m4/ax_cxx_cxxflags_std_lang.m4 --- autoconf-archive-20150925/m4/ax_cxx_cxxflags_std_lang.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_cxxflags_std_lang.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_cxx_cxxflags_std_lang.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_cxxflags_std_lang.html +# ============================================================================= # # SYNOPSIS # @@ -24,7 +24,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AU_ALIAS([AC_CXX_CXXFLAGS_STD_LANG], [AX_CXX_CXXFLAGS_STD_LANG]) AC_DEFUN([AX_CXX_CXXFLAGS_STD_LANG], diff -Nru autoconf-archive-20150925/m4/ax_cxx_default_template_parameters.m4 autoconf-archive-20170928/m4/ax_cxx_default_template_parameters.m4 --- autoconf-archive-20150925/m4/ax_cxx_default_template_parameters.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_default_template_parameters.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ====================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_default_template_parameters.html -# ====================================================================================== +# ======================================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_default_template_parameters.html +# ======================================================================================= # # SYNOPSIS # @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AU_ALIAS([AC_CXX_DEFAULT_TEMPLATE_PARAMETERS], [AX_CXX_DEFAULT_TEMPLATE_PARAMETERS]) AC_DEFUN([AX_CXX_DEFAULT_TEMPLATE_PARAMETERS], diff -Nru autoconf-archive-20150925/m4/ax_cxx_delete_method.m4 autoconf-archive-20170928/m4/ax_cxx_delete_method.m4 --- autoconf-archive-20150925/m4/ax_cxx_delete_method.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_delete_method.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_delete_method.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_delete_method.html # =========================================================================== # # SYNOPSIS @@ -34,7 +34,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_DEFUN([AX_CXX_DELETE_METHOD], [dnl AC_LANG_ASSERT([C++]) diff -Nru autoconf-archive-20150925/m4/ax_cxx_dtor_after_atexit.m4 autoconf-archive-20170928/m4/ax_cxx_dtor_after_atexit.m4 --- autoconf-archive-20150925/m4/ax_cxx_dtor_after_atexit.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_dtor_after_atexit.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_cxx_dtor_after_atexit.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_dtor_after_atexit.html +# ============================================================================= # # SYNOPSIS # @@ -39,7 +39,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AU_ALIAS([AC_CXX_DTOR_AFTER_ATEXIT], [AX_CXX_DTOR_AFTER_ATEXIT]) AC_DEFUN([AX_CXX_DTOR_AFTER_ATEXIT], diff -Nru autoconf-archive-20150925/m4/ax_cxx_dynamic_cast.m4 autoconf-archive-20170928/m4/ax_cxx_dynamic_cast.m4 --- autoconf-archive-20150925/m4/ax_cxx_dynamic_cast.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_dynamic_cast.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_dynamic_cast.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_dynamic_cast.html # =========================================================================== # # SYNOPSIS @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_DYNAMIC_CAST], [AX_CXX_DYNAMIC_CAST]) AC_DEFUN([AX_CXX_DYNAMIC_CAST], diff -Nru autoconf-archive-20150925/m4/ax_cxx_enum_computations.m4 autoconf-archive-20170928/m4/ax_cxx_enum_computations.m4 --- autoconf-archive-20150925/m4/ax_cxx_enum_computations.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_enum_computations.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_cxx_enum_computations.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_enum_computations.html +# ============================================================================= # # SYNOPSIS # @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_ENUM_COMPUTATIONS], [AX_CXX_ENUM_COMPUTATIONS]) AC_DEFUN([AX_CXX_ENUM_COMPUTATIONS], diff -Nru autoconf-archive-20150925/m4/ax_cxx_enum_computations_with_cast.m4 autoconf-archive-20170928/m4/ax_cxx_enum_computations_with_cast.m4 --- autoconf-archive-20150925/m4/ax_cxx_enum_computations_with_cast.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_enum_computations_with_cast.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ====================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_enum_computations_with_cast.html -# ====================================================================================== +# ======================================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_enum_computations_with_cast.html +# ======================================================================================= # # SYNOPSIS # @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_ENUM_COMPUTATIONS_WITH_CAST], [AX_CXX_ENUM_COMPUTATIONS_WITH_CAST]) AC_DEFUN([AX_CXX_ENUM_COMPUTATIONS_WITH_CAST], diff -Nru autoconf-archive-20150925/m4/ax_cxx_erase_iterator_type.m4 autoconf-archive-20170928/m4/ax_cxx_erase_iterator_type.m4 --- autoconf-archive-20150925/m4/ax_cxx_erase_iterator_type.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_erase_iterator_type.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_erase_iterator_type.html -# ============================================================================== +# =============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_erase_iterator_type.html +# =============================================================================== # # SYNOPSIS # @@ -25,7 +25,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_CXX_ERASE_ITERATOR_TYPE], [dnl diff -Nru autoconf-archive-20150925/m4/ax_cxx_exceptions.m4 autoconf-archive-20170928/m4/ax_cxx_exceptions.m4 --- autoconf-archive-20150925/m4/ax_cxx_exceptions.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_exceptions.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_exceptions.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_exceptions.html # =========================================================================== # # SYNOPSIS @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_EXCEPTIONS], [AX_CXX_EXCEPTIONS]) AC_DEFUN([AX_CXX_EXCEPTIONS], diff -Nru autoconf-archive-20150925/m4/ax_cxx_explicit_instantiations.m4 autoconf-archive-20170928/m4/ax_cxx_explicit_instantiations.m4 --- autoconf-archive-20150925/m4/ax_cxx_explicit_instantiations.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_explicit_instantiations.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_explicit_instantiations.html -# ================================================================================== +# =================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_explicit_instantiations.html +# =================================================================================== # # SYNOPSIS # @@ -8,7 +8,7 @@ # # DESCRIPTION # -# If the C++ compiler supports explicit instanciations syntax, define +# If the C++ compiler supports explicit instantiations syntax, define # HAVE_INSTANTIATIONS. # # LICENSE @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 9 AU_ALIAS([AC_CXX_EXPLICIT_INSTANTIATIONS], [AX_CXX_EXPLICIT_INSTANTIATIONS]) AC_DEFUN([AX_CXX_EXPLICIT_INSTANTIATIONS], diff -Nru autoconf-archive-20150925/m4/ax_cxx_explicit.m4 autoconf-archive-20170928/m4/ax_cxx_explicit.m4 --- autoconf-archive-20150925/m4/ax_cxx_explicit.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_explicit.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_explicit.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_explicit.html # =========================================================================== # # SYNOPSIS @@ -22,7 +22,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_EXPLICIT], [AX_CXX_EXPLICIT]) AC_DEFUN([AX_CXX_EXPLICIT], diff -Nru autoconf-archive-20150925/m4/ax_cxx_explicit_template_function_qualification.m4 autoconf-archive-20170928/m4/ax_cxx_explicit_template_function_qualification.m4 --- autoconf-archive-20150925/m4/ax_cxx_explicit_template_function_qualification.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_explicit_template_function_qualification.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =================================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_explicit_template_function_qualification.html -# =================================================================================================== +# ==================================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_explicit_template_function_qualification.html +# ==================================================================================================== # # SYNOPSIS # @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION], [AX_CXX_EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION]) AC_DEFUN([AX_CXX_EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION], diff -Nru autoconf-archive-20150925/m4/ax_cxx_extern_template.m4 autoconf-archive-20170928/m4/ax_cxx_extern_template.m4 --- autoconf-archive-20150925/m4/ax_cxx_extern_template.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_extern_template.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_extern_template.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_extern_template.html # =========================================================================== # # SYNOPSIS @@ -19,7 +19,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_EXTERN_TEMPLATE], [AX_CXX_EXTERN_TEMPLATE]) AC_DEFUN([AX_CXX_EXTERN_TEMPLATE],[ diff -Nru autoconf-archive-20150925/m4/ax_cxx_full_specialization_syntax.m4 autoconf-archive-20170928/m4/ax_cxx_full_specialization_syntax.m4 --- autoconf-archive-20150925/m4/ax_cxx_full_specialization_syntax.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_full_specialization_syntax.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ===================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_full_specialization_syntax.html -# ===================================================================================== +# ====================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_full_specialization_syntax.html +# ====================================================================================== # # SYNOPSIS # @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_FULL_SPECIALIZATION_SYNTAX], [AX_CXX_FULL_SPECIALIZATION_SYNTAX]) AC_DEFUN([AX_CXX_FULL_SPECIALIZATION_SYNTAX], diff -Nru autoconf-archive-20150925/m4/ax_cxx_function_nontype_parameters.m4 autoconf-archive-20170928/m4/ax_cxx_function_nontype_parameters.m4 --- autoconf-archive-20150925/m4/ax_cxx_function_nontype_parameters.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_function_nontype_parameters.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ====================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_function_nontype_parameters.html -# ====================================================================================== +# ======================================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_function_nontype_parameters.html +# ======================================================================================= # # SYNOPSIS # @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_FUNCTION_NONTYPE_PARAMETERS], [AX_CXX_FUNCTION_NONTYPE_PARAMETERS]) AC_DEFUN([AX_CXX_FUNCTION_NONTYPE_PARAMETERS], diff -Nru autoconf-archive-20150925/m4/ax_cxx_function_try_blocks.m4 autoconf-archive-20170928/m4/ax_cxx_function_try_blocks.m4 --- autoconf-archive-20150925/m4/ax_cxx_function_try_blocks.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_function_try_blocks.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_function_try_blocks.html -# ============================================================================== +# =============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_function_try_blocks.html +# =============================================================================== # # SYNOPSIS # @@ -26,7 +26,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -41,7 +41,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 4 +#serial 5 AU_ALIAS([MDL_CXX_FUNCTION_TRY_BLOCKS], [AX_CXX_FUNCTION_TRY_BLOCKS]) AC_DEFUN([AX_CXX_FUNCTION_TRY_BLOCKS], diff -Nru autoconf-archive-20150925/m4/ax_cxx_gcc_abi_demangle.m4 autoconf-archive-20170928/m4/ax_cxx_gcc_abi_demangle.m4 --- autoconf-archive-20150925/m4/ax_cxx_gcc_abi_demangle.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_gcc_abi_demangle.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_gcc_abi_demangle.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_cxx_gcc_abi_demangle.html +# ============================================================================ # # SYNOPSIS # @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_CXX_GCC_ABI_DEMANGLE], [AC_CACHE_CHECK(whether the compiler supports GCC C++ ABI name demangling, diff -Nru autoconf-archive-20150925/m4/ax_cxx_gnucxx_hashmap.m4 autoconf-archive-20170928/m4/ax_cxx_gnucxx_hashmap.m4 --- autoconf-archive-20150925/m4/ax_cxx_gnucxx_hashmap.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_gnucxx_hashmap.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_gnucxx_hashmap.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_gnucxx_hashmap.html # =========================================================================== # # SYNOPSIS @@ -19,7 +19,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_GNUCXX_HASHMAP], [AX_CXX_GNUCXX_HASHMAP]) AC_DEFUN([AX_CXX_GNUCXX_HASHMAP],[ diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_bad_function_call.m4 autoconf-archive-20170928/m4/ax_cxx_have_bad_function_call.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_bad_function_call.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_bad_function_call.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ================================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_bad_function_call.html -# ================================================================================= +# ================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_bad_function_call.html +# ================================================================================== # # SYNOPSIS # @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_CXX_HAVE_BAD_FUNCTION_CALL], [AC_CACHE_CHECK( diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_bind.m4 autoconf-archive-20170928/m4/ax_cxx_have_bind.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_bind.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_bind.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_bind.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_bind.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_CXX_HAVE_BIND], [AC_CACHE_CHECK( diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_bit_and.m4 autoconf-archive-20170928/m4/ax_cxx_have_bit_and.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_bit_and.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_bit_and.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_bit_and.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_bit_and.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_CXX_HAVE_BIT_AND], [AC_CACHE_CHECK( diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_bit_or.m4 autoconf-archive-20170928/m4/ax_cxx_have_bit_or.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_bit_or.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_bit_or.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_bit_or.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_bit_or.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_CXX_HAVE_BIT_OR], [AC_CACHE_CHECK( diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_bit_xor.m4 autoconf-archive-20170928/m4/ax_cxx_have_bit_xor.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_bit_xor.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_bit_xor.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_bit_xor.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_bit_xor.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_CXX_HAVE_BIT_XOR], [AC_CACHE_CHECK( diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_complex.m4 autoconf-archive-20170928/m4/ax_cxx_have_complex.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_complex.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_complex.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_complex.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_complex.html # =========================================================================== # # SYNOPSIS @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_HAVE_COMPLEX], [AX_CXX_HAVE_COMPLEX]) AC_DEFUN([AX_CXX_HAVE_COMPLEX], diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_complex_math1.m4 autoconf-archive-20170928/m4/ax_cxx_have_complex_math1.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_complex_math1.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_complex_math1.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_complex_math1.html -# ============================================================================= +# ============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_complex_math1.html +# ============================================================================== # # SYNOPSIS # @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_HAVE_COMPLEX_MATH1], [AX_CXX_HAVE_COMPLEX_MATH1]) AC_DEFUN([AX_CXX_HAVE_COMPLEX_MATH1], diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_complex_math2.m4 autoconf-archive-20170928/m4/ax_cxx_have_complex_math2.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_complex_math2.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_complex_math2.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_complex_math2.html -# ============================================================================= +# ============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_complex_math2.html +# ============================================================================== # # SYNOPSIS # @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_HAVE_COMPLEX_MATH2], [AX_CXX_HAVE_COMPLEX_MATH2]) AC_DEFUN([AX_CXX_HAVE_COMPLEX_MATH2], diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_cref.m4 autoconf-archive-20170928/m4/ax_cxx_have_cref.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_cref.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_cref.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_cref.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_cref.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_CXX_HAVE_CREF], [AC_CACHE_CHECK( diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_empty_iostream.m4 autoconf-archive-20170928/m4/ax_cxx_have_empty_iostream.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_empty_iostream.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_empty_iostream.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_empty_iostream.html -# ============================================================================== +# =============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_empty_iostream.html +# =============================================================================== # # SYNOPSIS # @@ -26,7 +26,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -41,7 +41,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_CXX_HAVE_EMPTY_IOSTREAM], [AX_CXX_HAVE_EMPTY_IOSTREAM]) AC_DEFUN([AX_CXX_HAVE_EMPTY_IOSTREAM], diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_ext_hash_map.m4 autoconf-archive-20170928/m4/ax_cxx_have_ext_hash_map.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_ext_hash_map.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_ext_hash_map.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_ext_hash_map.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_ext_hash_map.html +# ============================================================================= # # SYNOPSIS # @@ -38,7 +38,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -53,7 +53,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_CXX_HAVE_EXT_HASH_MAP], [AX_CXX_HAVE_EXT_HASH_MAP]) AC_DEFUN([AX_CXX_HAVE_EXT_HASH_MAP], diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_ext_hash_set.m4 autoconf-archive-20170928/m4/ax_cxx_have_ext_hash_set.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_ext_hash_set.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_ext_hash_set.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_ext_hash_set.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_ext_hash_set.html +# ============================================================================= # # SYNOPSIS # @@ -35,7 +35,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -50,7 +50,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_CXX_HAVE_EXT_HASH_SET], [AX_CXX_HAVE_EXT_HASH_SET]) AC_DEFUN([AX_CXX_HAVE_EXT_HASH_SET], diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_ext_slist.m4 autoconf-archive-20170928/m4/ax_cxx_have_ext_slist.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_ext_slist.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_ext_slist.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_ext_slist.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_ext_slist.html # =========================================================================== # # SYNOPSIS @@ -35,7 +35,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -50,7 +50,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_CXX_HAVE_EXT_SLIST], [AX_CXX_HAVE_EXT_SLIST]) AC_DEFUN([AX_CXX_HAVE_EXT_SLIST], diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_freeze_sstream.m4 autoconf-archive-20170928/m4/ax_cxx_have_freeze_sstream.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_freeze_sstream.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_freeze_sstream.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_freeze_sstream.html -# ============================================================================== +# =============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_freeze_sstream.html +# =============================================================================== # # SYNOPSIS # @@ -42,7 +42,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -57,7 +57,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_CXX_HAVE_FREEZE_SSTREAM], [AX_CXX_HAVE_FREEZE_SSTREAM]) AC_DEFUN([AX_CXX_HAVE_FREEZE_SSTREAM], diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_function.m4 autoconf-archive-20170928/m4/ax_cxx_have_function.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_function.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_function.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_function.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_function.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_CXX_HAVE_FUNCTION], [AC_CACHE_CHECK( diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_hash.m4 autoconf-archive-20170928/m4/ax_cxx_have_hash.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_hash.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_hash.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_hash.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_hash.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_CXX_HAVE_HASH], [AC_CACHE_CHECK( diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_ieee_math.m4 autoconf-archive-20170928/m4/ax_cxx_have_ieee_math.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_ieee_math.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_ieee_math.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_ieee_math.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_ieee_math.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_HAVE_IEEE_MATH], [AX_CXX_HAVE_IEEE_MATH]) AC_DEFUN([AX_CXX_HAVE_IEEE_MATH], diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_is_bind_expression.m4 autoconf-archive-20170928/m4/ax_cxx_have_is_bind_expression.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_is_bind_expression.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_is_bind_expression.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_is_bind_expression.html -# ================================================================================== +# =================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_is_bind_expression.html +# =================================================================================== # # SYNOPSIS # @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_CXX_HAVE_IS_BIND_EXPRESSION], [AC_CACHE_CHECK( diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_is_placeholder.m4 autoconf-archive-20170928/m4/ax_cxx_have_is_placeholder.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_is_placeholder.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_is_placeholder.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_is_placeholder.html -# ============================================================================== +# =============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_is_placeholder.html +# =============================================================================== # # SYNOPSIS # @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_CXX_HAVE_IS_PLACEHOLDER], [AC_CACHE_CHECK( diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_koenig_lookup.m4 autoconf-archive-20170928/m4/ax_cxx_have_koenig_lookup.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_koenig_lookup.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_koenig_lookup.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_koenig_lookup.html -# ============================================================================= +# ============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_koenig_lookup.html +# ============================================================================== # # SYNOPSIS # @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AU_ALIAS([MNI_CXX_HAVE_KOENIG_LOOKUP], [AX_CXX_HAVE_KOENIG_LOOKUP]) AC_DEFUN([AX_CXX_HAVE_KOENIG_LOOKUP], diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_long_long_for_iostream.m4 autoconf-archive-20170928/m4/ax_cxx_have_long_long_for_iostream.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_long_long_for_iostream.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_long_long_for_iostream.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ====================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_long_long_for_iostream.html -# ====================================================================================== +# ======================================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_long_long_for_iostream.html +# ======================================================================================= # # SYNOPSIS # @@ -45,7 +45,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -60,7 +60,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_CXX_HAVE_LONG_LONG_FOR_IOSTREAM], [AX_CXX_HAVE_LONG_LONG_FOR_IOSTREAM]) AC_DEFUN([AX_CXX_HAVE_LONG_LONG_FOR_IOSTREAM], diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_mem_fn.m4 autoconf-archive-20170928/m4/ax_cxx_have_mem_fn.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_mem_fn.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_mem_fn.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_mem_fn.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_mem_fn.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_CXX_HAVE_MEM_FN], [AC_CACHE_CHECK( diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_numeric_limits.m4 autoconf-archive-20170928/m4/ax_cxx_have_numeric_limits.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_numeric_limits.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_numeric_limits.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_numeric_limits.html -# ============================================================================== +# =============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_numeric_limits.html +# =============================================================================== # # SYNOPSIS # @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_HAVE_NUMERIC_LIMITS], [AX_CXX_HAVE_NUMERIC_LIMITS]) AC_DEFUN([AX_CXX_HAVE_NUMERIC_LIMITS], diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_placeholders.m4 autoconf-archive-20170928/m4/ax_cxx_have_placeholders.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_placeholders.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_placeholders.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_placeholders.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_placeholders.html +# ============================================================================= # # SYNOPSIS # @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_DEFUN([AX_CXX_HAVE_PLACEHOLDERS], [AC_CACHE_CHECK( diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_reference_wrapper.m4 autoconf-archive-20170928/m4/ax_cxx_have_reference_wrapper.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_reference_wrapper.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_reference_wrapper.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ================================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_reference_wrapper.html -# ================================================================================= +# ================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_reference_wrapper.html +# ================================================================================== # # SYNOPSIS # @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_CXX_HAVE_REFERENCE_WRAPPER], [AC_CACHE_CHECK( diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_ref.m4 autoconf-archive-20170928/m4/ax_cxx_have_ref.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_ref.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_ref.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_ref.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_ref.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_CXX_HAVE_REF], [AC_CACHE_CHECK( diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_sstream.m4 autoconf-archive-20170928/m4/ax_cxx_have_sstream.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_sstream.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_sstream.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_sstream.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_sstream.html # =========================================================================== # # SYNOPSIS @@ -19,7 +19,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_HAVE_SSTREAM], [AX_CXX_HAVE_SSTREAM]) AC_DEFUN([AX_CXX_HAVE_SSTREAM], diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_std.m4 autoconf-archive-20170928/m4/ax_cxx_have_std.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_std.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_std.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_std.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_std.html # =========================================================================== # # SYNOPSIS @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_HAVE_STD], [AX_CXX_HAVE_STD]) AC_DEFUN([AX_CXX_HAVE_STD], diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_stl.m4 autoconf-archive-20170928/m4/ax_cxx_have_stl.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_stl.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_stl.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_stl.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_stl.html # =========================================================================== # # SYNOPSIS @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_HAVE_STL], [AX_CXX_HAVE_STL]) AC_DEFUN([AX_CXX_HAVE_STL], diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_string_push_back.m4 autoconf-archive-20170928/m4/ax_cxx_have_string_push_back.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_string_push_back.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_string_push_back.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ================================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_string_push_back.html -# ================================================================================ +# ================================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_string_push_back.html +# ================================================================================= # # SYNOPSIS # @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_HAVE_STRING_PUSH_BACK], [AX_CXX_HAVE_STRING_PUSH_BACK]) AC_DEFUN([AX_CXX_HAVE_STRING_PUSH_BACK], diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_system_v_math.m4 autoconf-archive-20170928/m4/ax_cxx_have_system_v_math.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_system_v_math.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_system_v_math.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_system_v_math.html -# ============================================================================= +# ============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_system_v_math.html +# ============================================================================== # # SYNOPSIS # @@ -22,7 +22,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_HAVE_SYSTEM_V_MATH], [AX_CXX_HAVE_SYSTEM_V_MATH]) AC_DEFUN([AX_CXX_HAVE_SYSTEM_V_MATH], diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_valarray.m4 autoconf-archive-20170928/m4/ax_cxx_have_valarray.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_valarray.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_valarray.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_valarray.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_valarray.html # =========================================================================== # # SYNOPSIS @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_HAVE_VALARRAY], [AX_CXX_HAVE_VALARRAY]) AC_DEFUN([AX_CXX_HAVE_VALARRAY], diff -Nru autoconf-archive-20150925/m4/ax_cxx_have_vector_at.m4 autoconf-archive-20170928/m4/ax_cxx_have_vector_at.m4 --- autoconf-archive-20150925/m4/ax_cxx_have_vector_at.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_have_vector_at.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_have_vector_at.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_have_vector_at.html # =========================================================================== # # SYNOPSIS @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_HAVE_VECTOR_AT], [AX_CXX_HAVE_VECTOR_AT]) AC_DEFUN([AX_CXX_HAVE_VECTOR_AT], diff -Nru autoconf-archive-20150925/m4/ax_cxx_header_pre_stdcxx.m4 autoconf-archive-20170928/m4/ax_cxx_header_pre_stdcxx.m4 --- autoconf-archive-20150925/m4/ax_cxx_header_pre_stdcxx.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_header_pre_stdcxx.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_cxx_header_pre_stdcxx.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_header_pre_stdcxx.html +# ============================================================================= # # SYNOPSIS # @@ -19,7 +19,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_HEADER_PRE_STDCXX], [AX_CXX_HEADER_PRE_STDCXX]) AC_DEFUN([AX_CXX_HEADER_PRE_STDCXX], [ diff -Nru autoconf-archive-20150925/m4/ax_cxx_header_stdcxx_0x.m4 autoconf-archive-20170928/m4/ax_cxx_header_stdcxx_0x.m4 --- autoconf-archive-20150925/m4/ax_cxx_header_stdcxx_0x.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_header_stdcxx_0x.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_header_stdcxx_0x.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_cxx_header_stdcxx_0x.html +# ============================================================================ # # SYNOPSIS # @@ -19,7 +19,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AU_ALIAS([AC_CXX_HEADER_STDCXX_0X], [AX_CXX_HEADER_STDCXX_0X]) AC_DEFUN([AX_CXX_HEADER_STDCXX_0X], [ diff -Nru autoconf-archive-20150925/m4/ax_cxx_header_stdcxx_98.m4 autoconf-archive-20170928/m4/ax_cxx_header_stdcxx_98.m4 --- autoconf-archive-20150925/m4/ax_cxx_header_stdcxx_98.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_header_stdcxx_98.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_header_stdcxx_98.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_cxx_header_stdcxx_98.html +# ============================================================================ # # SYNOPSIS # @@ -19,7 +19,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_HEADER_STDCXX_98], [AX_CXX_HEADER_STDCXX_98]) AC_DEFUN([AX_CXX_HEADER_STDCXX_98], [ diff -Nru autoconf-archive-20150925/m4/ax_cxx_header_stdcxx_tr1.m4 autoconf-archive-20170928/m4/ax_cxx_header_stdcxx_tr1.m4 --- autoconf-archive-20150925/m4/ax_cxx_header_stdcxx_tr1.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_header_stdcxx_tr1.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_cxx_header_stdcxx_tr1.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_header_stdcxx_tr1.html +# ============================================================================= # # SYNOPSIS # @@ -19,7 +19,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_HEADER_STDCXX_TR1], [AX_CXX_HEADER_STDCXX_TR1]) AC_DEFUN([AX_CXX_HEADER_STDCXX_TR1], [ diff -Nru autoconf-archive-20150925/m4/ax_cxx_header_tr1_unordered_map.m4 autoconf-archive-20170928/m4/ax_cxx_header_tr1_unordered_map.m4 --- autoconf-archive-20150925/m4/ax_cxx_header_tr1_unordered_map.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_header_tr1_unordered_map.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_header_tr1_unordered_map.html -# =================================================================================== +# ==================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_header_tr1_unordered_map.html +# ==================================================================================== # # SYNOPSIS # @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_HEADER_TR1_UNORDERED_MAP], [AX_CXX_HEADER_TR1_UNORDERED_MAP]) AC_DEFUN([AX_CXX_HEADER_TR1_UNORDERED_MAP], [ diff -Nru autoconf-archive-20150925/m4/ax_cxx_header_tr1_unordered_set.m4 autoconf-archive-20170928/m4/ax_cxx_header_tr1_unordered_set.m4 --- autoconf-archive-20150925/m4/ax_cxx_header_tr1_unordered_set.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_header_tr1_unordered_set.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_header_tr1_unordered_set.html -# =================================================================================== +# ==================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_header_tr1_unordered_set.html +# ==================================================================================== # # SYNOPSIS # @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_HEADER_TR1_UNORDERED_SET], [AX_CXX_HEADER_TR1_UNORDERED_SET]) AC_DEFUN([AX_CXX_HEADER_TR1_UNORDERED_SET], [ diff -Nru autoconf-archive-20150925/m4/ax_cxx_header_unordered_map.m4 autoconf-archive-20170928/m4/ax_cxx_header_unordered_map.m4 --- autoconf-archive-20150925/m4/ax_cxx_header_unordered_map.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_header_unordered_map.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =============================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_header_unordered_map.html -# =============================================================================== +# ================================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_cxx_header_unordered_map.html +# ================================================================================ # # SYNOPSIS # @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_HEADER_UNORDERED_MAP], [AX_CXX_HEADER_UNORDERED_MAP]) AC_DEFUN([AX_CXX_HEADER_UNORDERED_MAP], [ diff -Nru autoconf-archive-20150925/m4/ax_cxx_header_unordered_set.m4 autoconf-archive-20170928/m4/ax_cxx_header_unordered_set.m4 --- autoconf-archive-20150925/m4/ax_cxx_header_unordered_set.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_header_unordered_set.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =============================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_header_unordered_set.html -# =============================================================================== +# ================================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_cxx_header_unordered_set.html +# ================================================================================ # # SYNOPSIS # @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_HEADER_UNORDERED_SET], [AX_CXX_HEADER_UNORDERED_SET]) AC_DEFUN([AX_CXX_HEADER_UNORDERED_SET], [ diff -Nru autoconf-archive-20150925/m4/ax_cxx_ldflags_std_lang.m4 autoconf-archive-20170928/m4/ax_cxx_ldflags_std_lang.m4 --- autoconf-archive-20150925/m4/ax_cxx_ldflags_std_lang.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_ldflags_std_lang.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_ldflags_std_lang.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_cxx_ldflags_std_lang.html +# ============================================================================ # # SYNOPSIS # @@ -24,7 +24,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AU_ALIAS([AC_CXX_LDFLAGS_STD_LANG], [AX_CXX_LDFLAGS_STD_LANG]) AC_DEFUN([AX_CXX_LDFLAGS_STD_LANG], diff -Nru autoconf-archive-20150925/m4/ax_cxx_member_constants.m4 autoconf-archive-20170928/m4/ax_cxx_member_constants.m4 --- autoconf-archive-20150925/m4/ax_cxx_member_constants.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_member_constants.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_member_constants.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_cxx_member_constants.html +# ============================================================================ # # SYNOPSIS # @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_MEMBER_CONSTANTS], [AX_CXX_MEMBER_CONSTANTS]) AC_DEFUN([AX_CXX_MEMBER_CONSTANTS], diff -Nru autoconf-archive-20150925/m4/ax_cxx_member_templates.m4 autoconf-archive-20170928/m4/ax_cxx_member_templates.m4 --- autoconf-archive-20150925/m4/ax_cxx_member_templates.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_member_templates.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_member_templates.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_cxx_member_templates.html +# ============================================================================ # # SYNOPSIS # @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_MEMBER_TEMPLATES], [AX_CXX_MEMBER_TEMPLATES]) AC_DEFUN([AX_CXX_MEMBER_TEMPLATES], diff -Nru autoconf-archive-20150925/m4/ax_cxx_member_templates_outside_class.m4 autoconf-archive-20170928/m4/ax_cxx_member_templates_outside_class.m4 --- autoconf-archive-20150925/m4/ax_cxx_member_templates_outside_class.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_member_templates_outside_class.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ========================================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_cxx_member_templates_outside_class.html -# ========================================================================================= +# ========================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_member_templates_outside_class.html +# ========================================================================================== # # SYNOPSIS # @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_MEMBER_TEMPLATES_OUTSIDE_CLASS], [AX_CXX_MEMBER_TEMPLATES_OUTSIDE_CLASS]) AC_DEFUN([AX_CXX_MEMBER_TEMPLATES_OUTSIDE_CLASS], diff -Nru autoconf-archive-20150925/m4/ax_cxx_mutable.m4 autoconf-archive-20170928/m4/ax_cxx_mutable.m4 --- autoconf-archive-20150925/m4/ax_cxx_mutable.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_mutable.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_mutable.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_mutable.html # =========================================================================== # # SYNOPSIS @@ -22,7 +22,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_MUTABLE], [AX_CXX_MUTABLE]) AC_DEFUN([AX_CXX_MUTABLE], diff -Nru autoconf-archive-20150925/m4/ax_cxx_namespaces.m4 autoconf-archive-20170928/m4/ax_cxx_namespaces.m4 --- autoconf-archive-20150925/m4/ax_cxx_namespaces.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_namespaces.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_namespaces.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_namespaces.html # =========================================================================== # # SYNOPSIS @@ -22,7 +22,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AU_ALIAS([AC_CXX_NAMESPACES], [AX_CXX_NAMESPACES]) AC_DEFUN([AX_CXX_NAMESPACES], diff -Nru autoconf-archive-20150925/m4/ax_cxx_namespace_std.m4 autoconf-archive-20170928/m4/ax_cxx_namespace_std.m4 --- autoconf-archive-20150925/m4/ax_cxx_namespace_std.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_namespace_std.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_namespace_std.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_namespace_std.html # =========================================================================== # # SYNOPSIS @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_NAMESPACE_STD], [AX_CXX_NAMESPACE_STD]) AC_DEFUN([AX_CXX_NAMESPACE_STD], [ diff -Nru autoconf-archive-20150925/m4/ax_cxx_new_for_scoping.m4 autoconf-archive-20170928/m4/ax_cxx_new_for_scoping.m4 --- autoconf-archive-20150925/m4/ax_cxx_new_for_scoping.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_new_for_scoping.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_new_for_scoping.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_new_for_scoping.html # =========================================================================== # # SYNOPSIS @@ -22,7 +22,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_NEW_FOR_SCOPING], [AX_CXX_NEW_FOR_SCOPING]) AC_DEFUN([AX_CXX_NEW_FOR_SCOPING], diff -Nru autoconf-archive-20150925/m4/ax_cxx_old_for_scoping.m4 autoconf-archive-20170928/m4/ax_cxx_old_for_scoping.m4 --- autoconf-archive-20150925/m4/ax_cxx_old_for_scoping.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_old_for_scoping.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_old_for_scoping.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_old_for_scoping.html # =========================================================================== # # SYNOPSIS @@ -24,7 +24,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_OLD_FOR_SCOPING], [AX_CXX_OLD_FOR_SCOPING]) AC_DEFUN([AX_CXX_OLD_FOR_SCOPING], diff -Nru autoconf-archive-20150925/m4/ax_cxx_partial_ordering.m4 autoconf-archive-20170928/m4/ax_cxx_partial_ordering.m4 --- autoconf-archive-20150925/m4/ax_cxx_partial_ordering.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_partial_ordering.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_partial_ordering.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_cxx_partial_ordering.html +# ============================================================================ # # SYNOPSIS # @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_PARTIAL_ORDERING], [AX_CXX_PARTIAL_ORDERING]) AC_DEFUN([AX_CXX_PARTIAL_ORDERING], diff -Nru autoconf-archive-20150925/m4/ax_cxx_partial_specialization.m4 autoconf-archive-20170928/m4/ax_cxx_partial_specialization.m4 --- autoconf-archive-20150925/m4/ax_cxx_partial_specialization.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_partial_specialization.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ================================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_cxx_partial_specialization.html -# ================================================================================= +# ================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_partial_specialization.html +# ================================================================================== # # SYNOPSIS # @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_PARTIAL_SPECIALIZATION], [AX_CXX_PARTIAL_SPECIALIZATION]) AC_DEFUN([AX_CXX_PARTIAL_SPECIALIZATION], diff -Nru autoconf-archive-20150925/m4/ax_cxx_reinterpret_cast.m4 autoconf-archive-20170928/m4/ax_cxx_reinterpret_cast.m4 --- autoconf-archive-20150925/m4/ax_cxx_reinterpret_cast.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_reinterpret_cast.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_reinterpret_cast.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_cxx_reinterpret_cast.html +# ============================================================================ # # SYNOPSIS # @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_REINTERPRET_CAST], [AX_CXX_REINTERPRET_CAST]) AC_DEFUN([AX_CXX_REINTERPRET_CAST], diff -Nru autoconf-archive-20150925/m4/ax_cxx_restrict_this.m4 autoconf-archive-20170928/m4/ax_cxx_restrict_this.m4 --- autoconf-archive-20150925/m4/ax_cxx_restrict_this.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_restrict_this.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_restrict_this.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_restrict_this.html # =========================================================================== # # SYNOPSIS @@ -41,9 +41,9 @@ # 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 -# . +# . -#serial 1 +#serial 2 AC_DEFUN([AX_CXX_RESTRICT_THIS], [AC_CACHE_CHECK([whether C++ supports GCC's restrict "this" syntax], ax_cv_cxx_restrict_this, diff -Nru autoconf-archive-20150925/m4/ax_cxx_rtti.m4 autoconf-archive-20170928/m4/ax_cxx_rtti.m4 --- autoconf-archive-20150925/m4/ax_cxx_rtti.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_rtti.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_rtti.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_rtti.html # =========================================================================== # # SYNOPSIS @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_RTTI], [AX_CXX_RTTI]) AC_DEFUN([AX_CXX_RTTI], diff -Nru autoconf-archive-20150925/m4/ax_cxx_rvalue_references.m4 autoconf-archive-20170928/m4/ax_cxx_rvalue_references.m4 --- autoconf-archive-20150925/m4/ax_cxx_rvalue_references.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_rvalue_references.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_cxx_rvalue_references.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_rvalue_references.html +# ============================================================================= # # SYNOPSIS # @@ -22,7 +22,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_DEFUN([AX_CXX_RVALUE_REFERENCES], [dnl AC_LANG_ASSERT([C++]) diff -Nru autoconf-archive-20150925/m4/ax_cxx_static_cast.m4 autoconf-archive-20170928/m4/ax_cxx_static_cast.m4 --- autoconf-archive-20150925/m4/ax_cxx_static_cast.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_static_cast.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_static_cast.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_static_cast.html # =========================================================================== # # SYNOPSIS @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_STATIC_CAST], [AX_CXX_STATIC_CAST]) AC_DEFUN([AX_CXX_STATIC_CAST], diff -Nru autoconf-archive-20150925/m4/ax_cxx_stlport_hashmap.m4 autoconf-archive-20170928/m4/ax_cxx_stlport_hashmap.m4 --- autoconf-archive-20150925/m4/ax_cxx_stlport_hashmap.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_stlport_hashmap.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_stlport_hashmap.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_stlport_hashmap.html # =========================================================================== # # SYNOPSIS @@ -19,7 +19,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_STLPORT_HASHMAP], [AX_CXX_STLPORT_HASHMAP]) AC_DEFUN([AX_CXX_STLPORT_HASHMAP],[ diff -Nru autoconf-archive-20150925/m4/ax_cxx_template_keyword_qualifier.m4 autoconf-archive-20170928/m4/ax_cxx_template_keyword_qualifier.m4 --- autoconf-archive-20150925/m4/ax_cxx_template_keyword_qualifier.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_template_keyword_qualifier.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ===================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_template_keyword_qualifier.html -# ===================================================================================== +# ====================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_template_keyword_qualifier.html +# ====================================================================================== # # SYNOPSIS # @@ -22,7 +22,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_TEMPLATE_KEYWORD_QUALIFIER], [AX_CXX_TEMPLATE_KEYWORD_QUALIFIER]) AC_DEFUN([AX_CXX_TEMPLATE_KEYWORD_QUALIFIER], diff -Nru autoconf-archive-20150925/m4/ax_cxx_template_qualified_base_class.m4 autoconf-archive-20170928/m4/ax_cxx_template_qualified_base_class.m4 --- autoconf-archive-20150925/m4/ax_cxx_template_qualified_base_class.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_template_qualified_base_class.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ======================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_template_qualified_base_class.html -# ======================================================================================== +# ========================================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_template_qualified_base_class.html +# ========================================================================================= # # SYNOPSIS # @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_TEMPLATE_QUALIFIED_BASE_CLASS], [AX_CXX_TEMPLATE_QUALIFIED_BASE_CLASS]) AC_DEFUN([AX_CXX_TEMPLATE_QUALIFIED_BASE_CLASS], diff -Nru autoconf-archive-20150925/m4/ax_cxx_template_qualified_return_type.m4 autoconf-archive-20170928/m4/ax_cxx_template_qualified_return_type.m4 --- autoconf-archive-20150925/m4/ax_cxx_template_qualified_return_type.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_template_qualified_return_type.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ========================================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_cxx_template_qualified_return_type.html -# ========================================================================================= +# ========================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_template_qualified_return_type.html +# ========================================================================================== # # SYNOPSIS # @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_TEMPLATE_QUALIFIED_RETURN_TYPE], [AX_CXX_TEMPLATE_QUALIFIED_RETURN_TYPE]) AC_DEFUN([AX_CXX_TEMPLATE_QUALIFIED_RETURN_TYPE], diff -Nru autoconf-archive-20150925/m4/ax_cxx_templates_as_template_arguments.m4 autoconf-archive-20170928/m4/ax_cxx_templates_as_template_arguments.m4 --- autoconf-archive-20150925/m4/ax_cxx_templates_as_template_arguments.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_templates_as_template_arguments.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ========================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_templates_as_template_arguments.html -# ========================================================================================== +# =========================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_templates_as_template_arguments.html +# =========================================================================================== # # SYNOPSIS # @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_TEMPLATES_AS_TEMPLATE_ARGUMENTS], [AX_CXX_TEMPLATES_AS_TEMPLATE_ARGUMENTS]) AC_DEFUN([AX_CXX_TEMPLATES_AS_TEMPLATE_ARGUMENTS], diff -Nru autoconf-archive-20150925/m4/ax_cxx_template_scoped_argument_matching.m4 autoconf-archive-20170928/m4/ax_cxx_template_scoped_argument_matching.m4 --- autoconf-archive-20150925/m4/ax_cxx_template_scoped_argument_matching.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_template_scoped_argument_matching.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_cxx_template_scoped_argument_matching.html -# ============================================================================================ +# ============================================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_cxx_template_scoped_argument_matching.html +# ============================================================================================= # # SYNOPSIS # @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_TEMPLATE_SCOPED_ARGUMENT_MATCHING], [AX_CXX_TEMPLATE_SCOPED_ARGUMENT_MATCHING]) AC_DEFUN([AX_CXX_TEMPLATE_SCOPED_ARGUMENT_MATCHING], diff -Nru autoconf-archive-20150925/m4/ax_cxx_templates.m4 autoconf-archive-20170928/m4/ax_cxx_templates.m4 --- autoconf-archive-20150925/m4/ax_cxx_templates.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_templates.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_templates.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_templates.html # =========================================================================== # # SYNOPSIS @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AU_ALIAS([AC_CXX_TEMPLATES], [AX_CXX_TEMPLATES]) AC_DEFUN([AX_CXX_TEMPLATES], diff -Nru autoconf-archive-20150925/m4/ax_cxx_typename.m4 autoconf-archive-20170928/m4/ax_cxx_typename.m4 --- autoconf-archive-20150925/m4/ax_cxx_typename.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_typename.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_typename.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_typename.html # =========================================================================== # # SYNOPSIS @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_TYPENAME], [AX_CXX_TYPENAME]) AC_DEFUN([AX_CXX_TYPENAME], diff -Nru autoconf-archive-20150925/m4/ax_cxx_use_numtrait.m4 autoconf-archive-20170928/m4/ax_cxx_use_numtrait.m4 --- autoconf-archive-20150925/m4/ax_cxx_use_numtrait.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_use_numtrait.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_use_numtrait.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_use_numtrait.html # =========================================================================== # # SYNOPSIS @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_CXX_USE_NUMTRAIT], [AX_CXX_USE_NUMTRAIT]) AC_DEFUN([AX_CXX_USE_NUMTRAIT], diff -Nru autoconf-archive-20150925/m4/ax_cxx_var_prettyfunc.m4 autoconf-archive-20170928/m4/ax_cxx_var_prettyfunc.m4 --- autoconf-archive-20150925/m4/ax_cxx_var_prettyfunc.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_var_prettyfunc.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_var_prettyfunc.html +# https://www.gnu.org/software/autoconf-archive/ax_cxx_var_prettyfunc.html # =========================================================================== # # SYNOPSIS @@ -32,7 +32,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -47,7 +47,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 1 +#serial 2 AC_DEFUN([AX_CXX_VAR_PRETTYFUNC], [ diff -Nru autoconf-archive-20150925/m4/ax_cxx_verbose_terminate_handler.m4 autoconf-archive-20170928/m4/ax_cxx_verbose_terminate_handler.m4 --- autoconf-archive-20150925/m4/ax_cxx_verbose_terminate_handler.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_cxx_verbose_terminate_handler.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ==================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_cxx_verbose_terminate_handler.html -# ==================================================================================== +# ===================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_cxx_verbose_terminate_handler.html +# ===================================================================================== # # SYNOPSIS # @@ -33,7 +33,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. This file is offered as-is, without any warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_CXX_VERBOSE_TERMINATE_HANDLER], [AC_CACHE_CHECK([whether the terminate function prints useful information], diff -Nru autoconf-archive-20150925/m4/ax_czmq.m4 autoconf-archive-20170928/m4/ax_czmq.m4 --- autoconf-archive-20150925/m4/ax_czmq.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_czmq.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,86 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_czmq.html +# =========================================================================== +# +# 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 +# +# LICENSE +# +# Copyright (c) 2016 Jeroen Meijer +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +#serial 2 + +AC_DEFUN([AX_CZMQ], [ + AC_ARG_WITH([czmq], [AS_HELP_STRING([--with-czmq=],[CZMQ prefix directory])], [ + CZMQ_LDFLAGS="-L${with_czmq}/lib" + CZMQ_CPPFLAGS="-I${with_czmq}/include" + ]) + + HAVE_CZMQ=0 + if test "$with_czmq" != "no"; then + + LD_FLAGS="$LDFLAGS $CZMQ_LDFLAGS" + CPPFLAGS="$CPPFLAGS $CZMQ_CPPFLAGS" + + AC_LANG_SAVE + AC_LANG_C + AC_CHECK_HEADER(czmq.h, [czmq_h=yes], [czmq_h=no]) + AC_LANG_RESTORE + + if test "$czmq_h" = "yes"; then + version=ifelse([$1], ,3.0.0,$1) + AC_MSG_CHECKING([for CZMQ version >= $version]) + version=$(echo $version | tr '.' ',') + AC_EGREP_CPP([version_ok], [ +#include +#if defined(CZMQ_VERSION) && CZMQ_VERSION >= CZMQ_MAKE_VERSION($version) + version_ok +#endif + ],[ + AC_MSG_RESULT(yes) + HAVE_CZMQ=1 + CZMQ_LIBS="-lczmq" + AC_SUBST(CZMQ_LDFLAGS) + AC_SUBST(CZMQ_CPPFLAGS) + AC_SUBST(CZMQ_LIBS) + ], AC_MSG_RESULT([no valid CZMQ version was found])) + else + AC_MSG_WARN([no valid CZMQ installation was found]) + fi + + if test $HAVE_CZMQ = 1; then + # execute ACTION-IF-FOUND (if present): + ifelse([$2], , :, [$2]) + else + # execute ACTION-IF-NOT-FOUND (if present): + ifelse([$3], , :, [$3]) + fi + else + AC_MSG_NOTICE([not checking for CZMQ]) + fi + + AC_DEFINE(HAVE_CZMQ,,[define if the CZMQ library is available]) +]) diff -Nru autoconf-archive-20150925/m4/ax_decl_wchar_max.m4 autoconf-archive-20170928/m4/ax_decl_wchar_max.m4 --- autoconf-archive-20150925/m4/ax_decl_wchar_max.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_decl_wchar_max.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_decl_wchar_max.html +# https://www.gnu.org/software/autoconf-archive/ax_decl_wchar_max.html # =========================================================================== # # SYNOPSIS @@ -22,7 +22,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([VL_DECL_WCHAR_MAX], [AX_DECL_WCHAR_MAX]) AC_DEFUN([AX_DECL_WCHAR_MAX], [ diff -Nru autoconf-archive-20150925/m4/ax_define_integer_bits.m4 autoconf-archive-20170928/m4/ax_define_integer_bits.m4 --- autoconf-archive-20150925/m4/ax_define_integer_bits.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_define_integer_bits.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_define_integer_bits.html +# https://www.gnu.org/software/autoconf-archive/ax_define_integer_bits.html # =========================================================================== # # SYNOPSIS @@ -44,7 +44,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_DEFINE_INTEGER_BITS], [AX_DEFINE_INTEGER_BITS]) AC_DEFUN([AX_DEFINE_INTEGER_BITS], diff -Nru autoconf-archive-20150925/m4/ax_define_sub_path.m4 autoconf-archive-20170928/m4/ax_define_sub_path.m4 --- autoconf-archive-20150925/m4/ax_define_sub_path.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_define_sub_path.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,7 +1,12 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_define_sub_path.html +# https://www.gnu.org/software/autoconf-archive/ax_define_sub_path.html # =========================================================================== # +# OBSOLETE MACRO +# +# This macro is obsolete because its been completely broken for several +# years without anybody noticing, so apparently it's not used very much. +# # SYNOPSIS # # AX_DEFINE_SUB_PATH(DEFNAME, varname, description) @@ -64,7 +69,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -79,7 +84,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 8 +#serial 11 AU_ALIAS([AC_DEFINE_SUB_PATH], [AX_DEFINE_SUB_PATH]) AC_DEFUN([AX_DEFINE_SUB_PATH], @@ -87,7 +92,7 @@ test "_$prefix" = _NONE && prefix="$ac_default_prefix" test "_$exec_prefix" = _NONE && exec_prefix='${prefix}' P=`echo ifelse( $2, , [$]$1, [$]$2) | sed -e 's:^\${[a-z_]*prefix}:.:'` - ifelse ($3, , + ifelse($3, , AC_DEFINE($1, $P, [sub path $2]), AC_DEFINE($1, $P, $3)) ]) diff -Nru autoconf-archive-20150925/m4/ax_dirname.m4 autoconf-archive-20170928/m4/ax_dirname.m4 --- autoconf-archive-20150925/m4/ax_dirname.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_dirname.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_dirname.html +# https://www.gnu.org/software/autoconf-archive/ax_dirname.html # =========================================================================== # # SYNOPSIS @@ -30,7 +30,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -45,7 +45,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 8 AC_DEFUN([AX_DIRNAME], [echo X[]$1 | diff -Nru autoconf-archive-20150925/m4/ax_dist_msi.m4 autoconf-archive-20170928/m4/ax_dist_msi.m4 --- autoconf-archive-20150925/m4/ax_dist_msi.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_dist_msi.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_dist_msi.html +# https://www.gnu.org/software/autoconf-archive/ax_dist_msi.html # =========================================================================== # # SYNOPSIS @@ -24,7 +24,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 12 +#serial 15 AC_DEFUN([AX_DIST_MSI], [ @@ -83,7 +83,7 @@ msi_up_to_date_notice: @if test -f \"\$(top_builddir)/\$(MSI_SETUP_FILE)\"; then \\ - echo \"Warning: Depedancy tracking cannot be enabled\"; \\ + echo \"Warning: Dependency tracking cannot be enabled\"; \\ echo \"Warning: the msi file (\$(MSI_SETUP_FILE))\"; \\ echo \"Warning: Please make sure it is up to date.\"; \\ exit -1; \\ diff -Nru autoconf-archive-20150925/m4/ax_dist_rpm.m4 autoconf-archive-20170928/m4/ax_dist_rpm.m4 --- autoconf-archive-20150925/m4/ax_dist_rpm.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_dist_rpm.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_dist_rpm.html +# https://www.gnu.org/software/autoconf-archive/ax_dist_rpm.html # =========================================================================== # # SYNOPSIS @@ -11,7 +11,7 @@ # Adds support for a rpm dist target. # # You will need to create a spec template with everything except the files -# and the Changlog. Use @PACKAGE@ and @VERSION@ to refer to the package +# 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: # @@ -61,7 +61,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 19 +#serial 22 AC_DEFUN([AX_DIST_RPM], [ diff -Nru autoconf-archive-20150925/m4/ax_dll_string.m4 autoconf-archive-20170928/m4/ax_dll_string.m4 --- autoconf-archive-20150925/m4/ax_dll_string.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_dll_string.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_dll_string.html +# https://www.gnu.org/software/autoconf-archive/ax_dll_string.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 dnl Plan: compile conftest-dll.cc, conftest-exe.cc. It has a 'crash' param dnl that can be passed. Verify the compile worked and we can run it normally diff -Nru autoconf-archive-20150925/m4/ax_elisp.m4 autoconf-archive-20170928/m4/ax_elisp.m4 --- autoconf-archive-20150925/m4/ax_elisp.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_elisp.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,170 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_elisp.html +# =========================================================================== +# +# 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. +# +# 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 . +# +# As a special exception, the respective Autoconf Macro's copyright owner +# gives unlimited permission to copy, distribute and modify the configure +# scripts that are the output of Autoconf when processing the Macro. You +# need not follow the terms of the GNU General Public License when using +# or distributing such scripts, even though portions of the text of the +# Macro appear in them. The GNU General Public License (GPL) does govern +# all other use of the material that constitutes the Autoconf Macro. +# +# This special exception to the GPL applies to versions of the Autoconf +# Macro released by the Autoconf Archive. When you make and distribute a +# modified version of the Autoconf Macro, you may extend this special +# exception to the GPL to apply to your modified version as well. + +#serial 2 + +AC_DEFUN([AX_ELISP_CONFIG_FILE],[dnl +dnl 1 -- relative filename (from 'top_srcdir') +m4_define([AX_ELISP__CONFIG_FILENAME],[$1])dnl +])dnl + + +AC_DEFUN([AX_ELISP__PREP],[dnl +AS_IF([AS_VAR_TEST_SET([EMACS])],,dnl + [AC_MSG_ERROR([No value for EMACS])]) +dnl FIXME: Check at autoconf-time that AX_ELISP__CONFIG_FILENAME is set. +dnl (If not, or if the value is unsuitable, throw fatal error.) +rm -f AX_ELISP__CONFIG_FILENAME +touch AX_ELISP__CONFIG_FILENAME +])dnl + + +AC_DEFUN([AX_ELISP_CHECK],[dnl +dnl 1 -- Emacs Lisp symbol to add to config file if "success" +dnl 2 -- description +dnl 3 -- Emacs Lisp body (zero or more forms) +dnl 4 -- Emacs Lisp expression for "success" +AC_REQUIRE([AX_ELISP__PREP])dnl +AS_VAR_PUSHDEF([CV],[elisp_cv_$1])dnl +AC_CACHE_CHECK([$2],[CV],[dnl +cat >conftest.el <&5 2>&5],[CV=yes],[CV=no])]) +AS_IF([test yes = $[]CV],[echo "$1" >> AX_ELISP__CONFIG_FILENAME]) +AS_VAR_POPDEF([CV])dnl +])dnl + + +AC_DEFUN([AX_ELISP_CHECK_FEATURE],[dnl +dnl 1 -- Emacs Lisp symbol (a feature name) +AC_REQUIRE([AX_ELISP__PREP])dnl +AX_ELISP_CHECK([featurep-$1],[if $EMACS supports feature '$1'],[dnl +(require (quote $1)) +],[dnl +(featurep (quote $1)) +])]) + + +AC_DEFUN([AX_ELISP_CHECK_FBOUNDP],[dnl +dnl 1 -- Emacs Lisp symbol +dnl 2 -- (optional) space-separated list of features to 'require' +AX_ELISP_CHECK([$1],[if '$1' is defined],[dnl +m4_foreach([FEATURE],m4_split(m4_normalize($2)),[dnl +(require 'FEATURE) +])],[(fboundp '$1)])])dnl + + +AC_DEFUN([AX_ELISP_CHECK_BOUNDP],[dnl +dnl 1 -- Emacs Lisp symbol +dnl 2 -- (optional) space-separated list of features to 'require' +AX_ELISP_CHECK([$1],[if '$1' is defined],[dnl +m4_foreach([FEATURE],m4_split(m4_normalize($2)),[dnl +(require 'FEATURE) +])],[(boundp '$1)])])dnl + + +dnl TODO: +dnl - Add error checking (see FIXME in code). +dnl - Validate m4 mumblings -- is this the right crazy?! +dnl - Add customization of $EMACS invocation. +dnl +dnl Local variables: +dnl mode: autoconf +dnl End: +dnl ax_elisp.m4 ends here diff -Nru autoconf-archive-20150925/m4/ax_enable_builddir.m4 autoconf-archive-20170928/m4/ax_enable_builddir.m4 --- autoconf-archive-20150925/m4/ax_enable_builddir.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_enable_builddir.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_enable_builddir.html +# https://www.gnu.org/software/autoconf-archive/ax_enable_builddir.html # =========================================================================== # # SYNOPSIS @@ -24,7 +24,7 @@ # 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-dection through `config.guess` and build-time of course, as in +# auto-detection through `config.guess` and build-time of course, as in # # make HOST=i386-mingw-cross # @@ -42,7 +42,7 @@ # 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 overriden for the macro as well. +# 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 @@ -64,7 +64,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -79,10 +79,11 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 24 +#serial 30 AC_DEFUN([AX_ENABLE_BUILDDIR],[ AC_REQUIRE([AC_CANONICAL_HOST])[]dnl +AC_REQUIRE([AC_CANONICAL_TARGET])[]dnl AC_REQUIRE([AX_CONFIGURE_ARGS])[]dnl AC_REQUIRE([AM_AUX_DIR_EXPAND])[]dnl AC_BEFORE([$0],[AM_INIT_AUTOMAKE])dnl @@ -121,7 +122,7 @@ test -f $srcdir/$cache_file && mv $srcdir/$cache_file . AC_MSG_RESULT(....exec $SHELL $srcdir/[$]0 "--srcdir=$srcdir" "--enable-builddir=$SUB" ${1+"[$]@"}) case "[$]0" in # restart - [[\\/]]* | ?:[[\\/]]*) # Asbolute name + [[\\/]]* | ?:[[\\/]]*) # Absolute name eval $SHELL "'[$]0'" "'--srcdir=$srcdir'" "'--enable-builddir=$SUB'" $ac_configure_args ;; *) eval $SHELL "'$srcdir/[$]0'" "'--srcdir=$srcdir'" "'--enable-builddir=$SUB'" $ac_configure_args ;; esac ; exit $? diff -Nru autoconf-archive-20150925/m4/ax_execinfo.m4 autoconf-archive-20170928/m4/ax_execinfo.m4 --- autoconf-archive-20150925/m4/ax_execinfo.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_execinfo.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_execinfo.html +# https://www.gnu.org/software/autoconf-archive/ax_execinfo.html # =========================================================================== # # SYNOPSIS @@ -30,7 +30,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_DEFUN([AX_EXECINFO], [AC_CHECK_HEADERS([execinfo.h]) diff -Nru autoconf-archive-20150925/m4/ax_expand_prefix.m4 autoconf-archive-20170928/m4/ax_expand_prefix.m4 --- autoconf-archive-20150925/m4/ax_expand_prefix.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_expand_prefix.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_expand_prefix.html +# https://www.gnu.org/software/autoconf-archive/ax_expand_prefix.html # =========================================================================== # # SYNOPSIS @@ -17,7 +17,7 @@ # 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 atleast two 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 @@ -41,7 +41,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -56,7 +56,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 10 AC_DEFUN([AX_EXPAND_PREFIX],[dnl # The prefix default can be set in configure.ac (otherwise it is /usr/local) diff -Nru autoconf-archive-20150925/m4/ax_ext_check_header.m4 autoconf-archive-20170928/m4/ax_ext_check_header.m4 --- autoconf-archive-20150925/m4/ax_ext_check_header.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_ext_check_header.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_ext_check_header.html +# https://www.gnu.org/software/autoconf-archive/ax_ext_check_header.html # =========================================================================== # # SYNOPSIS @@ -29,7 +29,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_EXT_HAVE_HEADER], [AC_LANG_PUSH(C) diff -Nru autoconf-archive-20150925/m4/ax_extend_srcdir.m4 autoconf-archive-20170928/m4/ax_extend_srcdir.m4 --- autoconf-archive-20150925/m4/ax_extend_srcdir.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_extend_srcdir.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,86 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_extend_srcdir.html +# =========================================================================== +# +# 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@ +# +# LICENSE +# +# Copyright (c) 2016 Michael Stapelberg +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +#serial 5 + +AC_DEFUN([AX_EXTEND_SRCDIR], +[dnl +AS_CASE([$srcdir], + [.|.*|/*], + [ + # pwd -P is specified in IEEE 1003.1 from 2004 + as_dir=`cd "$srcdir" && pwd -P` + as_base=`AS_BASENAME([$as_dir])` + srcdir=${srcdir}/../${as_base} + + AC_SUBST([AX_EXTEND_SRCDIR_CPPFLAGS], ["-DSTRIPPED__FILE__=AS_ESCAPE([\"$$(basename $<)\"])"]) + ]) +])dnl AX_EXTEND_SRCDIR diff -Nru autoconf-archive-20150925/m4/ax_ext_have_lib.m4 autoconf-archive-20170928/m4/ax_ext_have_lib.m4 --- autoconf-archive-20150925/m4/ax_ext_have_lib.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_ext_have_lib.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_ext_have_lib.html +# https://www.gnu.org/software/autoconf-archive/ax_ext_have_lib.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # # 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 succeds system when it tries +# 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. # @@ -38,7 +38,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 9 +#serial 12 AC_DEFUN([AX_EXT_HAVE_LIB], [ diff -Nru autoconf-archive-20150925/m4/ax_ext.m4 autoconf-archive-20170928/m4/ax_ext.m4 --- autoconf-archive-20150925/m4/ax_ext.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_ext.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_ext.html +# https://www.gnu.org/software/autoconf-archive/ax_ext.html # =========================================================================== # # SYNOPSIS @@ -31,19 +31,20 @@ # 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_AVX512_IFMA / HAVE_AVX512_VBMI / HAVE_ALTIVEC / HAVE_VSX # # LICENSE # # Copyright (c) 2007 Christophe Tournayre # Copyright (c) 2013,2015 Michael Petch +# Copyright (c) 2017 Rafael de Lucena Valle # # Copying and distribution of this file, with or without modification, are # permitted in any medium without royalty provided the copyright notice # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 15 +#serial 17 AC_DEFUN([AX_EXT], [ @@ -55,19 +56,43 @@ case $host_cpu in powerpc*) - AC_CACHE_CHECK([whether altivec is supported], [ax_cv_have_altivec_ext], + AC_CACHE_CHECK([whether altivec is supported for old distros], [ax_cv_have_altivec_old_ext], [ if test `/usr/sbin/sysctl -a 2>/dev/null| grep -c hw.optional.altivec` != 0; then if test `/usr/sbin/sysctl -n hw.optional.altivec` = 1; then - ax_cv_have_altivec_ext=yes + ax_cv_have_altivec_old_ext=yes fi fi ]) - if test "$ax_cv_have_altivec_ext" = yes; then + if test "$ax_cv_have_altivec_old_ext" = yes; then AC_DEFINE(HAVE_ALTIVEC,,[Support Altivec instructions]) AX_CHECK_COMPILE_FLAG(-faltivec, SIMD_FLAGS="$SIMD_FLAGS -faltivec", []) fi + + AC_CACHE_CHECK([whether altivec is supported], [ax_cv_have_altivec_ext], + [ + if test `LD_SHOW_AUXV=1 /bin/true 2>/dev/null|grep -c altivec` != 0; then + ax_cv_have_altivec_ext=yes + fi + ]) + + if test "$ax_cv_have_altivec_ext" = yes; then + AC_DEFINE(HAVE_ALTIVEC,,[Support Altivec instructions]) + AX_CHECK_COMPILE_FLAG(-maltivec, SIMD_FLAGS="$SIMD_FLAGS -maltivec", []) + fi + + AC_CACHE_CHECK([whether vsx is supported], [ax_cv_have_vsx_ext], + [ + if test `LD_SHOW_AUXV=1 /bin/true 2>/dev/null|grep -c vsx` != 0; then + ax_cv_have_vsx_ext=yes + fi + ]) + + if test "$ax_cv_have_vsx_ext" = yes; then + AC_DEFINE(HAVE_VSX,,[Support VSX instructions]) + AX_CHECK_COMPILE_FLAG(-mvsx, SIMD_FLAGS="$SIMD_FLAGS -mvsx", []) + fi ;; i[[3456]]86*|x86_64*|amd64*) diff -Nru autoconf-archive-20150925/m4/ax_extra_dist.m4 autoconf-archive-20170928/m4/ax_extra_dist.m4 --- autoconf-archive-20150925/m4/ax_extra_dist.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_extra_dist.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_extra_dist.html +# https://www.gnu.org/software/autoconf-archive/ax_extra_dist.html # =========================================================================== # # SYNOPSIS @@ -40,7 +40,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 11 +#serial 12 AC_DEFUN([AX_EXTRA_DIST], [ diff -Nru autoconf-archive-20150925/m4/ax_f77_cmain_fflags.m4 autoconf-archive-20170928/m4/ax_f77_cmain_fflags.m4 --- autoconf-archive-20150925/m4/ax_f77_cmain_fflags.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_f77_cmain_fflags.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_f77_cmain_fflags.html +# https://www.gnu.org/software/autoconf-archive/ax_f77_cmain_fflags.html # =========================================================================== # # SYNOPSIS @@ -38,7 +38,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -53,7 +53,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([ACX_F77_CMAIN_FFLAGS], [AX_F77_CMAIN_FFLAGS]) AC_DEFUN([AX_F77_CMAIN_FFLAGS], diff -Nru autoconf-archive-20150925/m4/ax_f90_header.m4 autoconf-archive-20170928/m4/ax_f90_header.m4 --- autoconf-archive-20150925/m4/ax_f90_header.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_f90_header.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_f90_header.html +# https://www.gnu.org/software/autoconf-archive/ax_f90_header.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_F90_HEADER],[ AX_F90_INTERNAL_HEADMOD([$1 fortran 90 header],[$2],-I, diff -Nru autoconf-archive-20150925/m4/ax_f90_internal_headmod.m4 autoconf-archive-20170928/m4/ax_f90_internal_headmod.m4 --- autoconf-archive-20150925/m4/ax_f90_internal_headmod.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_f90_internal_headmod.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_f90_internal_headmod.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_f90_internal_headmod.html +# ============================================================================ # # SYNOPSIS # @@ -19,7 +19,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 9 +#serial 10 AC_DEFUN([AX_F90_INTERNAL_HEADMOD],[ AS_VAR_PUSHDEF([ax_include],[ax_cv_f90_headmod_$2]) diff -Nru autoconf-archive-20150925/m4/ax_f90_library.m4 autoconf-archive-20170928/m4/ax_f90_library.m4 --- autoconf-archive-20150925/m4/ax_f90_library.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_f90_library.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_f90_library.html +# https://www.gnu.org/software/autoconf-archive/ax_f90_library.html # =========================================================================== # # SYNOPSIS @@ -16,7 +16,7 @@ # 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 directoris for 'find' to +# 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 @@ -32,7 +32,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 10 +#serial 13 AC_DEFUN([AX_F90_LIBRARY],[ AS_VAR_PUSHDEF([ax_ldflags],[ax_cv_f90_ldflags_$1]) diff -Nru autoconf-archive-20150925/m4/ax_f90_library_setup.m4 autoconf-archive-20170928/m4/ax_f90_library_setup.m4 --- autoconf-archive-20150925/m4/ax_f90_library_setup.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_f90_library_setup.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_f90_library_setup.html +# https://www.gnu.org/software/autoconf-archive/ax_f90_library_setup.html # =========================================================================== # # SYNOPSIS @@ -55,7 +55,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 9 +#serial 10 AC_DEFUN([AX_F90_LIBRARY_SETUP],[ AC_ARG_WITH([$1],[ --with-$1=path specify search path form $1 module and library], diff -Nru autoconf-archive-20150925/m4/ax_f90_module_extension.m4 autoconf-archive-20170928/m4/ax_f90_module_extension.m4 --- autoconf-archive-20150925/m4/ax_f90_module_extension.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_f90_module_extension.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_f90_module_extension.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_f90_module_extension.html +# ============================================================================ # # SYNOPSIS # @@ -22,7 +22,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 11 +#serial 12 AC_DEFUN([AX_F90_MODULE_EXTENSION],[ AC_CACHE_CHECK([fortran 90 modules extension], diff -Nru autoconf-archive-20150925/m4/ax_f90_module_flag.m4 autoconf-archive-20170928/m4/ax_f90_module_flag.m4 --- autoconf-archive-20150925/m4/ax_f90_module_flag.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_f90_module_flag.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_f90_module_flag.html +# https://www.gnu.org/software/autoconf-archive/ax_f90_module_flag.html # =========================================================================== # # SYNOPSIS @@ -24,7 +24,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 13 +#serial 14 AC_DEFUN([AX_F90_MODULE_FLAG],[ AC_CACHE_CHECK([fortran 90 modules inclusion flag], diff -Nru autoconf-archive-20150925/m4/ax_f90_module.m4 autoconf-archive-20170928/m4/ax_f90_module.m4 --- autoconf-archive-20150925/m4/ax_f90_module.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_f90_module.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_f90_module.html +# https://www.gnu.org/software/autoconf-archive/ax_f90_module.html # =========================================================================== # # SYNOPSIS @@ -32,7 +32,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 9 +#serial 10 AC_DEFUN([AX_F90_MODULE],[ AC_REQUIRE([AX_F90_MODULE_FLAG]) diff -Nru autoconf-archive-20150925/m4/ax_fc_check_define.m4 autoconf-archive-20170928/m4/ax_fc_check_define.m4 --- autoconf-archive-20150925/m4/ax_fc_check_define.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_fc_check_define.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,52 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_fc_check_define.html +# =========================================================================== +# +# 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])) +# +# LICENSE +# +# Copyright (c) 2016 Timothy Brown +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +#serial 2 + +AC_DEFUN([AX_FC_CHECK_DEFINE], [ + +AS_VAR_PUSHDEF([ax_var],[ax_cv_defined_$1])dnl +AC_LANG_PUSH([Fortran]) +ax_fc_check_define_srcext_save=$ac_fc_srcext +AC_FC_PP_SRCEXT([F]) +AC_CACHE_CHECK([if $1 is defined], [ax_var], + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[ +#ifdef $1 + integer :: ok +#else + choke me +#endif + ]])], + [AS_VAR_SET([ax_var], yes)], + [AS_VAR_SET([ax_var], no)])) +AS_IF([test AS_VAR_GET([ax_var]) != "no"], [$2], [$3]) +ac_fc_srcext=$ax_fc_check_define_srcext_save +AC_LANG_POP()dnl +AS_VAR_POPDEF([ax_var])dnl +]) diff -Nru autoconf-archive-20150925/m4/ax_file_escapes.m4 autoconf-archive-20170928/m4/ax_file_escapes.m4 --- autoconf-archive-20150925/m4/ax_file_escapes.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_file_escapes.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_file_escapes.html +# https://www.gnu.org/software/autoconf-archive/ax_file_escapes.html # =========================================================================== # # SYNOPSIS @@ -19,7 +19,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_FILE_ESCAPES],[ AX_DOLLAR="\$" diff -Nru autoconf-archive-20150925/m4/ax_find_hamcrest.m4 autoconf-archive-20170928/m4/ax_find_hamcrest.m4 --- autoconf-archive-20150925/m4/ax_find_hamcrest.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_find_hamcrest.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_find_hamcrest.html +# https://www.gnu.org/software/autoconf-archive/ax_find_hamcrest.html # =========================================================================== # # SYNOPSIS @@ -22,7 +22,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_ARG_VAR(HAMCREST_JAR, [the location of the Hamcrest Matcher java library]) diff -Nru autoconf-archive-20150925/m4/ax_find_junit.m4 autoconf-archive-20170928/m4/ax_find_junit.m4 --- autoconf-archive-20150925/m4/ax_find_junit.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_find_junit.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_find_junit.html +# https://www.gnu.org/software/autoconf-archive/ax_find_junit.html # =========================================================================== # # SYNOPSIS @@ -22,7 +22,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_ARG_VAR(JUNIT_JAR, [the location of JUnit 4]) diff -Nru autoconf-archive-20150925/m4/ax_find_scala_stdlib.m4 autoconf-archive-20170928/m4/ax_find_scala_stdlib.m4 --- autoconf-archive-20150925/m4/ax_find_scala_stdlib.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_find_scala_stdlib.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_find_scala_stdlib.html +# https://www.gnu.org/software/autoconf-archive/ax_find_scala_stdlib.html # =========================================================================== # # SYNOPSIS @@ -22,7 +22,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_ARG_VAR(SCALA_STDLIB, [path to the Scala Standard Library]) diff -Nru autoconf-archive-20150925/m4/ax_forceinline.m4 autoconf-archive-20170928/m4/ax_forceinline.m4 --- autoconf-archive-20150925/m4/ax_forceinline.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_forceinline.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_forceinline.html +# https://www.gnu.org/software/autoconf-archive/ax_forceinline.html # =========================================================================== # # SYNOPSIS @@ -22,7 +22,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_FORCEINLINE], [ AC_LANG_PUSH([C]) diff -Nru autoconf-archive-20150925/m4/ax_func_accept_argtypes.m4 autoconf-archive-20170928/m4/ax_func_accept_argtypes.m4 --- autoconf-archive-20150925/m4/ax_func_accept_argtypes.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_func_accept_argtypes.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_func_accept_argtypes.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_func_accept_argtypes.html +# ============================================================================ # # SYNOPSIS # @@ -37,7 +37,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -52,7 +52,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_FUNC_ACCEPT_ARGTYPES], [AX_FUNC_ACCEPT_ARGTYPES]) AC_DEFUN([AX_FUNC_ACCEPT_ARGTYPES], diff -Nru autoconf-archive-20150925/m4/ax_func_getopt_long.m4 autoconf-archive-20170928/m4/ax_func_getopt_long.m4 --- autoconf-archive-20150925/m4/ax_func_getopt_long.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_func_getopt_long.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_func_getopt_long.html +# https://www.gnu.org/software/autoconf-archive/ax_func_getopt_long.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -46,7 +46,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([ADL_FUNC_GETOPT_LONG], [AX_FUNC_GETOPT_LONG]) AC_DEFUN([AX_FUNC_GETOPT_LONG], diff -Nru autoconf-archive-20150925/m4/ax_func_memmove.m4 autoconf-archive-20170928/m4/ax_func_memmove.m4 --- autoconf-archive-20150925/m4/ax_func_memmove.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_func_memmove.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_func_memmove.html +# https://www.gnu.org/software/autoconf-archive/ax_func_memmove.html # =========================================================================== # # SYNOPSIS @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([AC_FUNC_MEMMOVE], [AX_FUNC_MEMMOVE]) AC_DEFUN([AX_FUNC_MEMMOVE], diff -Nru autoconf-archive-20150925/m4/ax_func_mkdir.m4 autoconf-archive-20170928/m4/ax_func_mkdir.m4 --- autoconf-archive-20150925/m4/ax_func_mkdir.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_func_mkdir.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_func_mkdir.html +# https://www.gnu.org/software/autoconf-archive/ax_func_mkdir.html # =========================================================================== # # SYNOPSIS @@ -43,7 +43,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -58,7 +58,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 4 +#serial 5 AU_ALIAS([AC_FUNC_MKDIR], [AX_FUNC_MKDIR]) AC_DEFUN([AX_FUNC_MKDIR], diff -Nru autoconf-archive-20150925/m4/ax_func_posix_memalign.m4 autoconf-archive-20170928/m4/ax_func_posix_memalign.m4 --- autoconf-archive-20150925/m4/ax_func_posix_memalign.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_func_posix_memalign.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_func_posix_memalign.html +# https://www.gnu.org/software/autoconf-archive/ax_func_posix_memalign.html # =========================================================================== # # SYNOPSIS @@ -22,7 +22,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_FUNC_POSIX_MEMALIGN], [AC_CACHE_CHECK([for working posix_memalign], diff -Nru autoconf-archive-20150925/m4/ax_func_snprintf.m4 autoconf-archive-20170928/m4/ax_func_snprintf.m4 --- autoconf-archive-20150925/m4/ax_func_snprintf.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_func_snprintf.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_func_snprintf.html +# https://www.gnu.org/software/autoconf-archive/ax_func_snprintf.html # =========================================================================== # # SYNOPSIS @@ -24,7 +24,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([AC_FUNC_SNPRINTF], [AX_FUNC_SNPRINTF]) AC_DEFUN([AX_FUNC_SNPRINTF], diff -Nru autoconf-archive-20150925/m4/ax_func_which_gethostbyname_r.m4 autoconf-archive-20170928/m4/ax_func_which_gethostbyname_r.m4 --- autoconf-archive-20150925/m4/ax_func_which_gethostbyname_r.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_func_which_gethostbyname_r.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ================================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_func_which_gethostbyname_r.html -# ================================================================================= +# ================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_func_which_gethostbyname_r.html +# ================================================================================== # # SYNOPSIS # @@ -46,7 +46,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -61,7 +61,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 8 AC_DEFUN([AX_FUNC_WHICH_GETHOSTBYNAME_R], [ diff -Nru autoconf-archive-20150925/m4/ax_func_which_getservbyname_r.m4 autoconf-archive-20170928/m4/ax_func_which_getservbyname_r.m4 --- autoconf-archive-20150925/m4/ax_func_which_getservbyname_r.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_func_which_getservbyname_r.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ================================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_func_which_getservbyname_r.html -# ================================================================================= +# ================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_func_which_getservbyname_r.html +# ================================================================================== # # SYNOPSIS # @@ -35,7 +35,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -50,7 +50,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_RAF_FUNC_WHICH_GETSERVBYNAME_R], [AX_FUNC_WHICH_GETSERVBYNAME_R]) AC_DEFUN([AX_FUNC_WHICH_GETSERVBYNAME_R], diff -Nru autoconf-archive-20150925/m4/ax_gcc_archflag.m4 autoconf-archive-20170928/m4/ax_gcc_archflag.m4 --- autoconf-archive-20150925/m4/ax_gcc_archflag.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_gcc_archflag.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_gcc_archflag.html +# https://www.gnu.org/software/autoconf-archive/ax_gcc_archflag.html # =========================================================================== # # SYNOPSIS @@ -37,6 +37,7 @@ # Copyright (c) 2008 Steven G. Johnson # Copyright (c) 2008 Matteo Frigo # Copyright (c) 2014 Tsukasa Oi +# Copyright (c) 2017 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 @@ -49,7 +50,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -64,7 +65,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 17 +#serial 20 AC_DEFUN([AX_GCC_ARCHFLAG], [AC_REQUIRE([AC_PROG_CC]) @@ -201,6 +202,28 @@ esac ax_gcc_arch="$ax_gcc_arch powerpc" ;; + aarch64) + cpuimpl=`grep 'CPU implementer' /proc/cpuinfo 2> /dev/null | cut -d: -f2 | tr -d " " | head -n 1` + cpuarch=`grep 'CPU architecture' /proc/cpuinfo 2> /dev/null | cut -d: -f2 | tr -d " " | head -n 1` + cpuvar=`grep 'CPU variant' /proc/cpuinfo 2> /dev/null | cut -d: -f2 | tr -d " " | head -n 1` + case $cpuimpl in + 0x42) case $cpuarch in + 8) case $cpuvar in + 0x0) ax_gcc_arch="thunderx2t99 vulcan armv8.1-a armv8-a+lse armv8-a native" ;; + esac + ;; + esac + ;; + 0x43) case $cpuarch in + 8) case $cpuvar in + 0x0) ax_gcc_arch="thunderx armv8-a native" ;; + 0x1) ax_gcc_arch="thunderx+lse armv8.1-a armv8-a+lse armv8-a native" ;; + esac + ;; + esac + ;; + esac + ;; esac fi # not cross-compiling fi # guess arch diff -Nru autoconf-archive-20150925/m4/ax_gcc_builtin.m4 autoconf-archive-20170928/m4/ax_gcc_builtin.m4 --- autoconf-archive-20150925/m4/ax_gcc_builtin.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_gcc_builtin.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_gcc_builtin.html +# https://www.gnu.org/software/autoconf-archive/ax_gcc_builtin.html # =========================================================================== # # SYNOPSIS @@ -24,6 +24,7 @@ # The macro currently supports the following built-in functions: # # __builtin_assume_aligned +# __builtin_bswap16 # __builtin_bswap32 # __builtin_bswap64 # __builtin_choose_expr @@ -78,7 +79,7 @@ # __builtin_types_compatible_p # __builtin_unreachable # -# Unsuppored built-ins will be tested with an empty parameter set and the +# 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. # # LICENSE @@ -90,7 +91,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 6 AC_DEFUN([AX_GCC_BUILTIN], [ AS_VAR_PUSHDEF([ac_var], [ax_cv_have_$1]) @@ -99,6 +100,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([], [ m4_case([$1], [__builtin_assume_aligned], [$1("", 0)], + [__builtin_bswap16], [$1(0)], [__builtin_bswap32], [$1(0)], [__builtin_bswap64], [$1(0)], [__builtin_choose_expr], [$1(0, 0, 0)], diff -Nru autoconf-archive-20150925/m4/ax_gcc_const_call.m4 autoconf-archive-20170928/m4/ax_gcc_const_call.m4 --- autoconf-archive-20150925/m4/ax_gcc_const_call.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_gcc_const_call.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_gcc_const_call.html +# https://www.gnu.org/software/autoconf-archive/ax_gcc_const_call.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -41,7 +41,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 8 AC_DEFUN([AX_GCC_CONST_CALL],[dnl AC_CACHE_CHECK( diff -Nru autoconf-archive-20150925/m4/ax_gcc_func_attribute.m4 autoconf-archive-20170928/m4/ax_gcc_func_attribute.m4 --- autoconf-archive-20150925/m4/ax_gcc_func_attribute.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_gcc_func_attribute.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_gcc_func_attribute.html +# https://www.gnu.org/software/autoconf-archive/ax_gcc_func_attribute.html # =========================================================================== # # SYNOPSIS @@ -38,6 +38,7 @@ # dllimport # error # externally_visible +# fallthrough # flatten # format # format_arg @@ -61,9 +62,9 @@ # weak # weakref # -# Unsuppored 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. +# 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. # # LICENSE # @@ -74,7 +75,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 3 +#serial 8 AC_DEFUN([AX_GCC_FUNC_ATTRIBUTE], [ AS_VAR_PUSHDEF([ac_var], [ax_cv_have_func_attribute_$1]) @@ -128,6 +129,9 @@ [externally_visible], [ int foo( void ) __attribute__(($1)); ], + [fallthrough], [ + int foo( void ) {switch (0) { case 1: __attribute__(($1)); case 2: break ; }}; + ], [flatten], [ int foo( void ) __attribute__(($1)); ], @@ -175,6 +179,9 @@ [pure], [ int foo( void ) __attribute__(($1)); ], + [returns_nonnull], [ + void *foo( void ) __attribute__(($1)); + ], [unused], [ int foo( void ) __attribute__(($1)); ], diff -Nru autoconf-archive-20150925/m4/ax_gcc_libgcc_eh.m4 autoconf-archive-20170928/m4/ax_gcc_libgcc_eh.m4 --- autoconf-archive-20150925/m4/ax_gcc_libgcc_eh.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_gcc_libgcc_eh.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_gcc_libgcc_eh.html +# https://www.gnu.org/software/autoconf-archive/ax_gcc_libgcc_eh.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -41,7 +41,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 6 +#serial 7 AC_DEFUN([AX_GCC_LIBGCC_EH], [ AX_GCC_LIB([libgcc_eh.a],[ diff -Nru autoconf-archive-20150925/m4/ax_gcc_lib.m4 autoconf-archive-20170928/m4/ax_gcc_lib.m4 --- autoconf-archive-20150925/m4/ax_gcc_lib.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_gcc_lib.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_gcc_lib.html +# https://www.gnu.org/software/autoconf-archive/ax_gcc_lib.html # =========================================================================== # # SYNOPSIS @@ -28,7 +28,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -43,7 +43,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 6 +#serial 7 AC_DEFUN([AX_GCC_LIB], [ AX_GCC_INSTALL_DIR([GCC_INSTALL_DIR]) diff -Nru autoconf-archive-20150925/m4/ax_gcc_libraries_dir.m4 autoconf-archive-20170928/m4/ax_gcc_libraries_dir.m4 --- autoconf-archive-20150925/m4/ax_gcc_libraries_dir.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_gcc_libraries_dir.m4 1970-01-01 00:00:00.000000000 +0000 @@ -1,71 +0,0 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_gcc_libraries_dir.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# This macro is obsolete because it depends on the obsolete macro -# AX_GCC_OPTION. -# -# SYNOPSIS -# -# AX_GCC_LIBRARIES_DIR(VARIABLE) -# -# DESCRIPTION -# -# AX_GCC_LIBRARIES_DIR(VARIABLE) defines VARIABLE as the gcc libraries -# directory. The libraries directory will be obtained using the gcc -# -print-search-dirs option. This macro requires AX_GCC_OPTION macro. -# -# Thanks to Alessandro Massignan for his helpful hints. -# -# LICENSE -# -# Copyright (c) 2009 Francesco Salvestrini -# -# This program is free software; you can 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 . -# -# As a special exception, the respective Autoconf Macro's copyright owner -# gives unlimited permission to copy, distribute and modify the configure -# scripts that are the output of Autoconf when processing the Macro. You -# need not follow the terms of the GNU General Public License when using -# or distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. -# -# This special exception to the GPL applies to versions of the Autoconf -# Macro released by the Autoconf Archive. When you make and distribute a -# modified version of the Autoconf Macro, you may extend this special -# exception to the GPL to apply to your modified version as well. - -#serial 6 - -AC_DEFUN([AX_GCC_LIBRARIES_DIR], [ - AC_REQUIRE([AC_PROG_CC]) - AC_REQUIRE([AC_PROG_SED]) - - AS_IF([test "x$GCC" = "xyes"],[ - AX_GCC_OPTION([-print-search-dirs],[],[],[ - AC_MSG_CHECKING([gcc libraries directory]) - ax_gcc_libraries_dir="`$CC -print-search-dirs | $SED -n -e 's,^libraries:[ \t]*=,,p'`" - AC_MSG_RESULT([$ax_gcc_libraries_dir]) - $1="$ax_gcc_libraries_dir" - ],[ - unset $1 - ]) - ],[ - AC_MSG_WARN([sorry, no gcc available]) - unset $1 - ]) -]) diff -Nru autoconf-archive-20150925/m4/ax_gcc_libsupcxx.m4 autoconf-archive-20170928/m4/ax_gcc_libsupcxx.m4 --- autoconf-archive-20150925/m4/ax_gcc_libsupcxx.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_gcc_libsupcxx.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_gcc_libsupcxx.html +# https://www.gnu.org/software/autoconf-archive/ax_gcc_libsupcxx.html # =========================================================================== # # SYNOPSIS @@ -27,7 +27,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -42,7 +42,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 8 AC_DEFUN([AX_GCC_LIBSUPCXX], [ AX_GCC_LIBRARIES_DIR([GCC_LIBRARIES_DIR]) diff -Nru autoconf-archive-20150925/m4/ax_gcc_malloc_call.m4 autoconf-archive-20170928/m4/ax_gcc_malloc_call.m4 --- autoconf-archive-20150925/m4/ax_gcc_malloc_call.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_gcc_malloc_call.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_gcc_malloc_call.html +# https://www.gnu.org/software/autoconf-archive/ax_gcc_malloc_call.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -41,7 +41,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 8 AC_DEFUN([AX_GCC_MALLOC_CALL],[dnl AC_CACHE_CHECK( diff -Nru autoconf-archive-20150925/m4/ax_gcc_var_attribute.m4 autoconf-archive-20170928/m4/ax_gcc_var_attribute.m4 --- autoconf-archive-20150925/m4/ax_gcc_var_attribute.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_gcc_var_attribute.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_gcc_var_attribute.html +# https://www.gnu.org/software/autoconf-archive/ax_gcc_var_attribute.html # =========================================================================== # # SYNOPSIS @@ -39,7 +39,7 @@ # dllexport # init_priority # -# Unsuppored variable attributes will be tested against a global integer +# 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. # @@ -52,7 +52,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 3 +#serial 5 AC_DEFUN([AX_GCC_VAR_ATTRIBUTE], [ AS_VAR_PUSHDEF([ac_var], [ax_cv_have_var_attribute_$1]) diff -Nru autoconf-archive-20150925/m4/ax_gcc_version.m4 autoconf-archive-20170928/m4/ax_gcc_version.m4 --- autoconf-archive-20150925/m4/ax_gcc_version.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_gcc_version.m4 1970-01-01 00:00:00.000000000 +0000 @@ -1,64 +0,0 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_gcc_version.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Use AX_COMPILER_VERSION instead -# -# SYNOPSIS -# -# AX_GCC_VERSION -# -# DESCRIPTION -# -# This macro retrieves the gcc version and returns it in the GCC_VERSION -# variable if available, an empty string otherwise. -# -# LICENSE -# -# Copyright (c) 2009 Francesco Salvestrini -# -# This program is free software; you can 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 . -# -# As a special exception, the respective Autoconf Macro's copyright owner -# gives unlimited permission to copy, distribute and modify the configure -# scripts that are the output of Autoconf when processing the Macro. You -# need not follow the terms of the GNU General Public License when using -# or distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. -# -# This special exception to the GPL applies to versions of the Autoconf -# Macro released by the Autoconf Archive. When you make and distribute a -# modified version of the Autoconf Macro, you may extend this special -# exception to the GPL to apply to your modified version as well. - -#serial 10 - -AC_DEFUN([AX_GCC_VERSION], [ - AC_OBSOLETE([$0], [;please use AX_COMPILER_VERSION instead]) - AC_LANG_PUSH([C]) - AC_REQUIRE([AX_COMPILER_VENDOR]) - AC_REQUIRE([AX_COMPILER_VERSION]) - AC_LANG_POP([C]) - GCC_VERSION="" - ax_cv_gcc_version="" - AS_IF([test "X$ax_cv_c_compiler_vendor" = "Xgnu"], - [dnl - ax_cv_gcc_version=$ax_cv_c_compiler_version - GCC_VERSION=$ax_cv_gcc_version - ]) - AC_SUBST([GCC_VERSION]) -]) diff -Nru autoconf-archive-20150925/m4/ax_gcc_warn_unused_result.m4 autoconf-archive-20170928/m4/ax_gcc_warn_unused_result.m4 --- autoconf-archive-20150925/m4/ax_gcc_warn_unused_result.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_gcc_warn_unused_result.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_gcc_warn_unused_result.html -# ============================================================================= +# ============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_gcc_warn_unused_result.html +# ============================================================================== # # SYNOPSIS # @@ -26,7 +26,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -41,7 +41,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 8 AC_DEFUN([AX_GCC_WARN_UNUSED_RESULT],[dnl AC_CACHE_CHECK( diff -Nru autoconf-archive-20150925/m4/ax_gcc_x86_avx_xgetbv.m4 autoconf-archive-20170928/m4/ax_gcc_x86_avx_xgetbv.m4 --- autoconf-archive-20150925/m4/ax_gcc_x86_avx_xgetbv.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_gcc_x86_avx_xgetbv.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_gcc_x86_avx_xgetbv.html +# https://www.gnu.org/software/autoconf-archive/ax_gcc_x86_avx_xgetbv.html # =========================================================================== # # SYNOPSIS @@ -39,7 +39,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -54,7 +54,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 2 +#serial 3 AC_DEFUN([AX_GCC_X86_AVX_XGETBV], [AC_REQUIRE([AC_PROG_CC]) diff -Nru autoconf-archive-20150925/m4/ax_gcc_x86_cpuid.m4 autoconf-archive-20170928/m4/ax_gcc_x86_cpuid.m4 --- autoconf-archive-20150925/m4/ax_gcc_x86_cpuid.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_gcc_x86_cpuid.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_gcc_x86_cpuid.html +# https://www.gnu.org/software/autoconf-archive/ax_gcc_x86_cpuid.html # =========================================================================== # # SYNOPSIS @@ -43,7 +43,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -58,7 +58,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 8 +#serial 10 AC_DEFUN([AX_GCC_X86_CPUID], [AX_GCC_X86_CPUID_COUNT($1, 0) @@ -71,8 +71,10 @@ [AC_RUN_IFELSE([AC_LANG_PROGRAM([#include ], [ int op = $1, level = $2, eax, ebx, ecx, edx; FILE *f; - __asm__ __volatile__ ("cpuid" - : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx) + __asm__ __volatile__ ("xchg %%ebx, %1\n" + "cpuid\n" + "xchg %%ebx, %1\n" + : "=a" (eax), "=r" (ebx), "=c" (ecx), "=d" (edx) : "a" (op), "2" (level)); f = fopen("conftest_cpuid", "w"); if (!f) return 1; diff -Nru autoconf-archive-20150925/m4/ax_gcc_x86_cpu_supports.m4 autoconf-archive-20170928/m4/ax_gcc_x86_cpu_supports.m4 --- autoconf-archive-20150925/m4/ax_gcc_x86_cpu_supports.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_gcc_x86_cpu_supports.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,104 @@ +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_gcc_x86_cpu_supports.html +# ============================================================================ +# +# 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. +# +# LICENSE +# +# Copyright (c) 2016 Felix Chern +# +# This program is free software; you can 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 . +# +# As a special exception, the respective Autoconf Macro's copyright owner +# gives unlimited permission to copy, distribute and modify the configure +# scripts that are the output of Autoconf when processing the Macro. You +# need not follow the terms of the GNU General Public License when using +# or distributing such scripts, even though portions of the text of the +# Macro appear in them. The GNU General Public License (GPL) does govern +# all other use of the material that constitutes the Autoconf Macro. +# +# This special exception to the GPL applies to versions of the Autoconf +# Macro released by the Autoconf Archive. When you make and distribute a +# modified version of the Autoconf Macro, you may extend this special +# exception to the GPL to apply to your modified version as well. + +#serial 3 + +AC_DEFUN_ONCE([_AX_GCC_X86_CPU_INIT], + [AC_LANG_PUSH([C]) + AC_CACHE_CHECK([for gcc __builtin_cpu_init function], + [ax_cv_gcc_check_x86_cpu_init], + [AC_RUN_IFELSE( + [AC_LANG_PROGRAM([#include ], + [__builtin_cpu_init ();]) + ], + [ax_cv_gcc_check_x86_cpu_init=yes], + [ax_cv_gcc_check_x86_cpu_init=no])]) + AS_IF([test "X$ax_cv_gcc_check_x86_cpu_init" = "Xno"], + [AC_MSG_ERROR([Need GCC to support X86 CPU features tests])]) +]) + +AC_DEFUN([AX_GCC_X86_CPU_SUPPORTS], + [AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([_AX_GCC_X86_CPU_INIT]) + AC_LANG_PUSH([C]) + AS_VAR_PUSHDEF([gcc_x86_feature], [AS_TR_SH([ax_cv_gcc_x86_cpu_supports_$1])]) + AC_CACHE_CHECK([for x86 $1 instruction support], + [gcc_x86_feature], + [AC_RUN_IFELSE( + [AC_LANG_PROGRAM( [#include ], + [ __builtin_cpu_init (); + if (__builtin_cpu_supports("$1")) + return 0; + return 1; + ])], + [gcc_x86_feature=yes], + [gcc_x86_feature=no] + )] + ) + AC_LANG_POP([C]) + AS_VAR_IF([gcc_x86_feature],[yes], + [AC_DEFINE( + AS_TR_CPP([HAVE_$1_INSTRUCTIONS]), + [1], + [Define if $1 instructions are supported]) + $2], + [$3] + ) + AS_VAR_POPDEF([gcc_x86_feature]) +]) diff -Nru autoconf-archive-20150925/m4/ax_generate_changelog.m4 autoconf-archive-20170928/m4/ax_generate_changelog.m4 --- autoconf-archive-20150925/m4/ax_generate_changelog.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_generate_changelog.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_generate_changelog.html +# https://www.gnu.org/software/autoconf-archive/ax_generate_changelog.html # =========================================================================== # # SYNOPSIS @@ -52,7 +52,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 3 AC_DEFUN([AX_GENERATE_CHANGELOG],[ # Find git, defaulting to the 'missing' script so the user gets a nice @@ -73,7 +73,7 @@ # - CHANGELOG_GIT_DIR: .git directory to use. (Default: $(top_srcdir)/.git) # git-specific -CHANGELOG_GIT_FLAGS ?= --stat -M -C --name-status --no-color +CHANGELOG_GIT_FLAGS ?= --stat -M -C --name-status --no-color --no-decorate CHANGELOG_GIT_DIR ?= $(top_srcdir)/.git ifeq ($(CHANGELOG_START),) diff -Nru autoconf-archive-20150925/m4/ax_gnu_autotest.m4 autoconf-archive-20170928/m4/ax_gnu_autotest.m4 --- autoconf-archive-20150925/m4/ax_gnu_autotest.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_gnu_autotest.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_gnu_autotest.html +# https://www.gnu.org/software/autoconf-archive/ax_gnu_autotest.html # =========================================================================== # # SYNOPSIS @@ -80,7 +80,7 @@ # as errors and abort (for "no") or whether to ignore any such errors # (for "yes"). If empty, defaults to "no". # -# All filesnames above must be relative. The testdir name is interpreted +# 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. @@ -249,7 +249,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 6 # _AX_GNU_AUTOTEST_remove_parent(filename) # ---------------------------------------- @@ -422,21 +422,21 @@ # shared2 is used in the DEFAULT substitution m4_define([_AX_GNU_AUTOTEST_acsubst_shared], [AC_SUBST([_AX_GNU_AUTOTEST_shared1], -['AX_GNU_AUTOTEST_V_RUN = $(_AX_GNU_AUTOTEST_v_RUN_$(V)) +[['AX_GNU_AUTOTEST_V_RUN = $(_AX_GNU_AUTOTEST_v_RUN_$(V)) _AX_GNU_AUTOTEST_v_RUN_ = $(_AX_GNU_AUTOTEST_v_RUN_$(AM_DEFAULT_VERBOSITY)) _AX_GNU_AUTOTEST_v_RUN_0 = @echo " RUN " $<; AX_GNU_AUTOTEST_V_quiet_flag = $(_AX_GNU_AUTOTEST_v_quiet_flag_$(V)) _AX_GNU_AUTOTEST_v_quiet_flag_ = ]dnl [$(_AX_GNU_AUTOTEST_v_quiet_flag_$(AM_DEFAULT_VERBOSITY)) -_AX_GNU_AUTOTEST_v_quiet_flag_0 = -q # <- Note: trailing whitespace'])dnl +_AX_GNU_AUTOTEST_v_quiet_flag_0 = -q # <- Note: trailing whitespace']])dnl AM_SUBST_NOTMAKE([_AX_GNU_AUTOTEST_shared1])dnl AC_SUBST([_AX_GNU_AUTOTEST_shared2], -['check: check-autotest +[['check: check-autotest installcheck: installcheck-autotest clean: clean-autotest distclean: distclean-autotest .PHONY: distclean-autotest -distclean-autotest: clean-autotest'])dnl +distclean-autotest: clean-autotest']])dnl AM_SUBST_NOTMAKE([_AX_GNU_AUTOTEST_shared2])dnl ])# _AX_GNU_AUTOTEST_acsubst_shared @@ -629,7 +629,7 @@ # _AX_GNU_AUTOTEST_acsubst_rules_dir(base, dir) # --------------------------------------------- -# Generates the depencency rules for one directory relative to base, output +# Generates the dependency rules for one directory relative to base, output # as string # For the m4_bpatsubst, the string starts and ends with [ ] # Global variables used: @@ -707,12 +707,12 @@ _AX_GNU_AUTOTEST_filter_listc([$2/]dnl m4_set_listc([_AX_GNU_AUTOTEST_testdirs]))))])dnl AC_SUBST([$1], -["${_AX_GNU_AUTOTEST_shared1}"' -]m4_map_args([m4_curry([_AX_GNU_AUTOTEST_acsubst_rules_suite], +[["${_AX_GNU_AUTOTEST_shared1}"' +]]m4_map_args([m4_curry([_AX_GNU_AUTOTEST_acsubst_rules_suite], [$2])]suites)dnl m4_map_args([m4_curry([_AX_GNU_AUTOTEST_acsubst_rules_dir], [$2])]testdirs)dnl -[.PHONY:]m4_map_args_sep([_AX_GNU_AUTOTEST_acsubst_rules_phony(], [)], [\ -]testdirs[]suites)['])dnl +[[.PHONY:]]m4_map_args_sep([_AX_GNU_AUTOTEST_acsubst_rules_phony(], [)], [\ +]testdirs[]suites)[[']])dnl AM_SUBST_NOTMAKE([$1])dnl m4_popdef([suites], [testdirs])dnl ])# _AX_GNU_AUTOTEST_acsubst_rules_one @@ -736,8 +736,8 @@ # ---------------------------------------------- # AC_SUBSTs the name variable to contain all arg1, ... m4_define([_AX_GNU_AUTOTEST_acsubst_list], -[AC_SUBST([$1], [']m4_dquote(m4_mapall_sep([m4_quote], [[\ - ]], m4_dquote(m4_dquote_elt(m4_unquote(m4_cdr($@))))))['])dnl +[AC_SUBST([$1], [[']]m4_dquote(m4_mapall_sep([m4_quote], [[\ + ]], m4_dquote(m4_dquote_elt(m4_unquote(m4_cdr($@))))))[[']])dnl AM_SUBST_NOTMAKE([$1])dnl ])# _AX_GNU_AUTOTEST_acsubst_list @@ -791,10 +791,10 @@ m4_bmatch([$1], [^\.?$], [], [m4_define([name], [_]_AX_GNU_AUTOTEST_cleanname([_], [$1]))])dnl AC_SUBST([AX_GNU_AUTOTEST_DEFAULT]m4_defn([name]), -["${AX_GNU_AUTOTEST_RULES]m4_defn([name])[} +[["${AX_GNU_AUTOTEST_RULES]m4_defn([name])[} ${_AX_GNU_AUTOTEST_shared2}"' -rm -f '"${AX_GNU_AUTOTEST_DCLEAN]m4_defn([name])[}"' -EXTRA_DIST += '"${AX_GNU_AUTOTEST_DIST]m4_defn([name])[}"])dnl +EXTRA_DIST += '"${AX_GNU_AUTOTEST_DIST]m4_defn([name])[}"]])dnl AM_SUBST_NOTMAKE([AX_GNU_AUTOTEST_DEFAULT]m4_defn([name]))dnl m4_popdef([name])dnl m4_bmatch([$1], [^\.?$], [], diff -Nru autoconf-archive-20150925/m4/ax_have_adns.m4 autoconf-archive-20170928/m4/ax_have_adns.m4 --- autoconf-archive-20150925/m4/ax_have_adns.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_have_adns.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_have_adns.html +# https://www.gnu.org/software/autoconf-archive/ax_have_adns.html # =========================================================================== # # SYNOPSIS @@ -22,7 +22,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AC_DEFUN([AX_HAVE_ADNS], [dnl AC_CHECK_HEADER([adns.h], [dnl diff -Nru autoconf-archive-20150925/m4/ax_have_epoll.m4 autoconf-archive-20170928/m4/ax_have_epoll.m4 --- autoconf-archive-20150925/m4/ax_have_epoll.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_have_epoll.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_have_epoll.html +# https://www.gnu.org/software/autoconf-archive/ax_have_epoll.html # =========================================================================== # # SYNOPSIS @@ -42,7 +42,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 10 +#serial 11 AC_DEFUN([AX_HAVE_EPOLL], [dnl ax_have_epoll_cppflags="${CPPFLAGS}" diff -Nru autoconf-archive-20150925/m4/ax_have_opengl.m4 autoconf-archive-20170928/m4/ax_have_opengl.m4 --- autoconf-archive-20150925/m4/ax_have_opengl.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_have_opengl.m4 1970-01-01 00:00:00.000000000 +0000 @@ -1,90 +0,0 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_have_opengl.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Please use AX_CHECK_GL, AX_CHECK_GLU, AX_CHECK_GLUT, AX_CHECK_GLX -# instead -# -# SYNOPSIS -# -# AX_HAVE_OPENGL -# -# DESCRIPTION -# -# Search for OpenGL. We search first for Mesa (a GPL'ed version of Mesa) -# before a vendor's version of OpenGL, unless we were specifically asked -# not to with `--with-Mesa=no' or `--without-Mesa'. -# -# The four "standard" OpenGL libraries are searched for: "-lGL", "-lGLU", -# "-lGLX" (or "-lMesaGL", "-lMesaGLU" as the case may be) and "-lglut". -# -# All of the libraries that are found (since "-lglut" or "-lGLX" might be -# missing) are added to the shell output variable "GL_LIBS", along with -# any other libraries that are necessary to successfully link an OpenGL -# application (e.g. the X11 libraries). Care has been taken to make sure -# that all of the libraries in "GL_LIBS" are listed in the proper order. -# -# Additionally, the shell output variable "GL_CFLAGS" is set to any flags -# (e.g. "-I" flags) that are necessary to successfully compile an OpenGL -# application. -# -# The following shell variable (which are not output variables) are also -# set to either "yes" or "no" (depending on which libraries were found) to -# help you determine exactly what was found. -# -# have_GL -# have_GLU -# have_GLX -# have_glut -# -# LICENSE -# -# Copyright (c) 2008 Matthew D. Langston -# Copyright (c) 2008 Ahmet Inan -# Copyright (c) 2013 Bastien Roucaries . -# -# As a special exception, the respective Autoconf Macro's copyright owner -# gives unlimited permission to copy, distribute and modify the configure -# scripts that are the output of Autoconf when processing the Macro. You -# need not follow the terms of the GNU General Public License when using -# or distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. -# -# This special exception to the GPL applies to versions of the Autoconf -# Macro released by the Autoconf Archive. When you make and distribute a -# modified version of the Autoconf Macro, you may extend this special -# exception to the GPL to apply to your modified version as well. - -#serial 8 - -AU_ALIAS([MDL_HAVE_OPENGL], [AX_HAVE_OPENGL]) -AC_DEFUN([AX_HAVE_OPENGL], -[ - AC_REQUIRE([AX_CHECK_GL]) - AC_REQUIRE([AX_CHECK_GLU]) - AC_REQUIRE([AX_CHECK_GLUT]) - AC_REQUIRE([AX_CHECK_GLX]) - - AC_OBSOLETE([$0], [;please use AX_CHECK_GL, AX_CHECK_GLU, AX_CHECK_GLUT, AX_CHECK_GLX instead]) - AC_MSG_WARN([[AX_HAVE_OPENGL is deprecated, please use AX_CHECK_GL, AX_CHECK_GLU, AX_CHECK_GLUT, AX_CHECK_GLX instead]]) - - # override old flags: really ugly but needed for compatibility - GL_CFLAGS="$GL_CFLAGS $GLU_CFLAGS $GLUT_CFLAGS $GLX_CFLAGS" - GL_LIBS="$GL_LIBS $GLU_LIBS $GLUT_LIBS $GLX_LIBS" -]) diff -Nru autoconf-archive-20150925/m4/ax_have_poll.m4 autoconf-archive-20170928/m4/ax_have_poll.m4 --- autoconf-archive-20150925/m4/ax_have_poll.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_have_poll.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_have_poll.html +# https://www.gnu.org/software/autoconf-archive/ax_have_poll.html # =========================================================================== # # SYNOPSIS @@ -34,7 +34,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_HAVE_POLL], [dnl AC_MSG_CHECKING([for poll(2)]) diff -Nru autoconf-archive-20150925/m4/ax_have_qt.m4 autoconf-archive-20170928/m4/ax_have_qt.m4 --- autoconf-archive-20150925/m4/ax_have_qt.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_have_qt.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_have_qt.html +# https://www.gnu.org/software/autoconf-archive/ax_have_qt.html # =========================================================================== # # SYNOPSIS @@ -53,7 +53,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 12 +#serial 14 AU_ALIAS([BNV_HAVE_QT], [AX_HAVE_QT]) AC_DEFUN([AX_HAVE_QT], @@ -106,8 +106,8 @@ QMAKE_EXTRA_TARGETS += percent EOF qmake $am_have_qt_pro -o $am_have_qt_makefile - QT_CXXFLAGS=`make -f $am_have_qt_makefile CXXFLAGS INCPATH` - QT_LIBS=`make -f $am_have_qt_makefile LIBS` + QT_CXXFLAGS=`make -s -f $am_have_qt_makefile CXXFLAGS INCPATH` + QT_LIBS=`make -s -f $am_have_qt_makefile LIBS` rm $am_have_qt_pro $am_have_qt_makefile # Look for specific tools in $PATH diff -Nru autoconf-archive-20150925/m4/ax_have_select.m4 autoconf-archive-20170928/m4/ax_have_select.m4 --- autoconf-archive-20150925/m4/ax_have_select.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_have_select.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_have_select.html +# https://www.gnu.org/software/autoconf-archive/ax_have_select.html # =========================================================================== # # SYNOPSIS @@ -33,7 +33,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_HAVE_SELECT], [dnl AC_MSG_CHECKING([for select(2)]) diff -Nru autoconf-archive-20150925/m4/ax_include_strcasecmp.m4 autoconf-archive-20170928/m4/ax_include_strcasecmp.m4 --- autoconf-archive-20150925/m4/ax_include_strcasecmp.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_include_strcasecmp.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_include_strcasecmp.html +# https://www.gnu.org/software/autoconf-archive/ax_include_strcasecmp.html # =========================================================================== # # SYNOPSIS @@ -25,7 +25,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_DEFUN([AX_INCLUDE_STRCASECMP], [ diff -Nru autoconf-archive-20150925/m4/ax_install_files.m4 autoconf-archive-20170928/m4/ax_install_files.m4 --- autoconf-archive-20150925/m4/ax_install_files.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_install_files.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_install_files.html +# https://www.gnu.org/software/autoconf-archive/ax_install_files.html # =========================================================================== # # SYNOPSIS @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 13 +#serial 14 AC_DEFUN([AX_INSTALL_FILES], [ diff -Nru autoconf-archive-20150925/m4/ax_is_release.m4 autoconf-archive-20170928/m4/ax_is_release.m4 --- autoconf-archive-20150925/m4/ax_is_release.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_is_release.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_is_release.html +# https://www.gnu.org/software/autoconf-archive/ax_is_release.html # =========================================================================== # # SYNOPSIS @@ -26,6 +26,10 @@ # * 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' # @@ -34,12 +38,13 @@ # LICENSE # # Copyright (c) 2015 Philip Withnall +# 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. -#serial 3 +#serial 7 AC_DEFUN([AX_IS_RELEASE],[ AC_BEFORE([AC_INIT],[$0]) @@ -47,7 +52,7 @@ m4_case([$1], [git-directory],[ # $is_release = (.git directory does not exist) - AS_IF([test -d .git],[ax_is_release=no],[ax_is_release=yes]) + AS_IF([test -d ${srcdir}/.git],[ax_is_release=no],[ax_is_release=yes]) ], [minor-version],[ # $is_release = ($minor_version is even) @@ -61,9 +66,15 @@ AS_IF([test "$(( $micro_version % 2 ))" -ne 0], [ax_is_release=no],[ax_is_release=yes]) ], + [dash-version],[ + # $is_release = ($PACKAGE_VERSION has a dash) + AS_CASE([$PACKAGE_VERSION], + [*-*], [ax_is_release=no], + [*], [ax_is_release=yes]) + ], [always],[ax_is_release=yes], [never],[ax_is_release=no], [ - AC_MSG_ERROR([Invalid policy. Valid policies: git-directory, minor-version.]) + AC_MSG_ERROR([Invalid policy. Valid policies: git-directory, minor-version, micro-version, dash-version, always, never.]) ]) ]) diff -Nru autoconf-archive-20150925/m4/ax_java_check_class.m4 autoconf-archive-20170928/m4/ax_java_check_class.m4 --- autoconf-archive-20150925/m4/ax_java_check_class.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_java_check_class.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_java_check_class.html +# https://www.gnu.org/software/autoconf-archive/ax_java_check_class.html # =========================================================================== # # SYNOPSIS @@ -15,7 +15,7 @@ # # The macro tries to compile a minimal program importing . Some # newer compilers moan about the failure to use this but fail or produce a -# class file anyway. All moaing is sunk to /dev/null since I only wanted +# 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. # @@ -34,7 +34,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -49,7 +49,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 9 +#serial 12 AU_ALIAS([DPS_JAVA_CHECK_CLASS], [AX_JAVA_CHECK_CLASS]) AC_DEFUN([AX_JAVA_CHECK_CLASS],[ diff -Nru autoconf-archive-20150925/m4/ax_java_options.m4 autoconf-archive-20170928/m4/ax_java_options.m4 --- autoconf-archive-20150925/m4/ax_java_options.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_java_options.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_java_options.html +# https://www.gnu.org/software/autoconf-archive/ax_java_options.html # =========================================================================== # # SYNOPSIS @@ -27,7 +27,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([AC_JAVA_OPTIONS], [AX_JAVA_OPTIONS]) AC_DEFUN([AX_JAVA_OPTIONS],[ diff -Nru autoconf-archive-20150925/m4/ax_jni_include_dir.m4 autoconf-archive-20170928/m4/ax_jni_include_dir.m4 --- autoconf-archive-20150925/m4/ax_jni_include_dir.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_jni_include_dir.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_jni_include_dir.html +# https://www.gnu.org/software/autoconf-archive/ax_jni_include_dir.html # =========================================================================== # # SYNOPSIS @@ -44,7 +44,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 11 +#serial 14 AU_ALIAS([AC_JNI_INCLUDE_DIR], [AX_JNI_INCLUDE_DIR]) AC_DEFUN([AX_JNI_INCLUDE_DIR],[ @@ -66,14 +66,17 @@ fi case "$host_os" in - darwin*) # Apple JDK is at /System location and has headers symlinked elsewhere - case "$_JTOPDIR" in - /System/Library/Frameworks/JavaVM.framework/*) - _JTOPDIR=`echo "$_JTOPDIR" | sed -e 's:/[[^/]]*$::'` - _JINC="$_JTOPDIR/Headers";; - *) _JINC="$_JTOPDIR/include";; - esac;; - *) _JINC="$_JTOPDIR/include";; + darwin*) # Apple Java headers are inside the Xcode bundle. + macos_version=$(sw_vers -productVersion | sed -n -e 's/^@<:@0-9@:>@*.\(@<:@0-9@:>@*\).@<:@0-9@:>@*/\1/p') + if @<:@ "$macos_version" -gt "7" @:>@; then + _JTOPDIR="$(xcrun --show-sdk-path)/System/Library/Frameworks/JavaVM.framework" + _JINC="$_JTOPDIR/Headers" + else + _JTOPDIR="/System/Library/Frameworks/JavaVM.framework" + _JINC="$_JTOPDIR/Headers" + fi + ;; + *) _JINC="$_JTOPDIR/include";; esac _AS_ECHO_LOG([_JTOPDIR=$_JTOPDIR]) _AS_ECHO_LOG([_JINC=$_JINC]) @@ -81,13 +84,21 @@ # On Mac OS X 10.6.4, jni.h is a symlink: # /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h # -> ../../CurrentJDK/Headers/jni.h. -AC_CHECK_FILE([$_JINC/jni.h], - [JNI_INCLUDE_DIRS="$JNI_INCLUDE_DIRS $_JINC"], - [_JTOPDIR=`echo "$_JTOPDIR" | sed -e 's:/[[^/]]*$::'` - AC_CHECK_FILE([$_JTOPDIR/include/jni.h], - [JNI_INCLUDE_DIRS="$JNI_INCLUDE_DIRS $_JTOPDIR/include"], - AC_MSG_ERROR([cannot find JDK header files])) - ]) +AC_CACHE_CHECK(jni headers, ac_cv_jni_header_path, +[ + if test -f "$_JINC/jni.h"; then + ac_cv_jni_header_path="$_JINC" + JNI_INCLUDE_DIRS="$JNI_INCLUDE_DIRS $ac_cv_jni_header_path" + else + _JTOPDIR=`echo "$_JTOPDIR" | sed -e 's:/[[^/]]*$::'` + if test -f "$_JTOPDIR/include/jni.h"; then + ac_cv_jni_header_path="$_JTOPDIR/include" + JNI_INCLUDE_DIRS="$JNI_INCLUDE_DIRS $ac_cv_jni_header_path" + else + ac_cv_jni_header_path=none + fi + fi +]) # get the likely subdirectories for system specific java includes case "$host_os" in @@ -102,13 +113,15 @@ *) _JNI_INC_SUBDIRS="genunix";; esac -# add any subdirectories that are present -for JINCSUBDIR in $_JNI_INC_SUBDIRS -do +if test "x$ac_cv_jni_header_path" != "xnone"; then + # add any subdirectories that are present + for JINCSUBDIR in $_JNI_INC_SUBDIRS + do if test -d "$_JTOPDIR/include/$JINCSUBDIR"; then JNI_INCLUDE_DIRS="$JNI_INCLUDE_DIRS $_JTOPDIR/include/$JINCSUBDIR" fi -done + done +fi ]) # _ACJNI_FOLLOW_SYMLINKS diff -Nru autoconf-archive-20150925/m4/ax_lapack.m4 autoconf-archive-20170928/m4/ax_lapack.m4 --- autoconf-archive-20150925/m4/ax_lapack.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lapack.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lapack.html +# https://www.gnu.org/software/autoconf-archive/ax_lapack.html # =========================================================================== # # SYNOPSIS @@ -49,7 +49,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -64,7 +64,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 8 AU_ALIAS([ACX_LAPACK], [AX_LAPACK]) AC_DEFUN([AX_LAPACK], [ diff -Nru autoconf-archive-20150925/m4/ax_lib_beecrypt.m4 autoconf-archive-20170928/m4/ax_lib_beecrypt.m4 --- autoconf-archive-20150925/m4/ax_lib_beecrypt.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_beecrypt.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_beecrypt.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_beecrypt.html # =========================================================================== # # SYNOPSIS @@ -29,7 +29,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 10 # AX_CHECK_BEECRYPT_ALGO([name],[function]) AC_DEFUN([AX_CHECK_BEECRYPT_ALGO],[ @@ -67,7 +67,7 @@ AX_CHECK_BEECRYPT_ALGO([SHA512],[sha512Digest]) ]) ]) - # complain only if explicitely required + # complain only if explicitly required if test "$ac_with_beecrypt" = "yes" -a "x$HAVE_BEECRYPT" = "x" ; then AC_MSG_ERROR([cannot configure required beecrypt library]) fi diff -Nru autoconf-archive-20150925/m4/ax_lib_cgal_core.m4 autoconf-archive-20170928/m4/ax_lib_cgal_core.m4 --- autoconf-archive-20150925/m4/ax_lib_cgal_core.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_cgal_core.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_cgal_core.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_cgal_core.html # =========================================================================== # # SYNOPSIS @@ -35,7 +35,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 3 +#serial 4 AC_DEFUN([AX_LIB_CGAL_CORE],[ diff -Nru autoconf-archive-20150925/m4/ax_lib_crypto.m4 autoconf-archive-20170928/m4/ax_lib_crypto.m4 --- autoconf-archive-20150925/m4/ax_lib_crypto.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_crypto.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_crypto.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_crypto.html # =========================================================================== # # SYNOPSIS @@ -30,7 +30,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 10 # AX_CHECK_CRYPTO_LIB([algo-name],[function]) AC_DEFUN([AX_CHECK_CRYPTO_LIB],[ @@ -77,7 +77,7 @@ AX_CHECK_CRYPTO_LIB([DH],[DH_set_method]) ]) ]) - # complain only if crypto as *explicitely* required + # complain only if crypto as *explicitly* required if test "$ac_with_crypto" = "yes" -a "x$HAVE_CRYPTO" = "x" ; then AC_MSG_ERROR([cannot configure required openssl crypto library]) fi diff -Nru autoconf-archive-20150925/m4/ax_lib_curl.m4 autoconf-archive-20170928/m4/ax_lib_curl.m4 --- autoconf-archive-20150925/m4/ax_lib_curl.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_curl.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_curl.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_curl.html # =========================================================================== # # SYNOPSIS @@ -30,7 +30,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AU_ALIAS([AC_CHECK_CURL], [AX_LIB_CURL]) AC_DEFUN([AX_LIB_CURL], [ diff -Nru autoconf-archive-20150925/m4/ax_lib_ev.m4 autoconf-archive-20170928/m4/ax_lib_ev.m4 --- autoconf-archive-20150925/m4/ax_lib_ev.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_ev.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_ev.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_ev.html # =========================================================================== # # SYNOPSIS @@ -24,7 +24,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_CHECK_EV_H], [ dnl AX_CHECK_EV_H([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) diff -Nru autoconf-archive-20150925/m4/ax_lib_expat.m4 autoconf-archive-20170928/m4/ax_lib_expat.m4 --- autoconf-archive-20150925/m4/ax_lib_expat.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_expat.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_expat.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_expat.html # =========================================================================== # # SYNOPSIS @@ -45,7 +45,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 10 +#serial 11 AC_DEFUN([AX_LIB_EXPAT], [ diff -Nru autoconf-archive-20150925/m4/ax_lib_firebird.m4 autoconf-archive-20170928/m4/ax_lib_firebird.m4 --- autoconf-archive-20150925/m4/ax_lib_firebird.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_firebird.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_firebird.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_firebird.html # =========================================================================== # # SYNOPSIS @@ -11,12 +11,12 @@ # 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 existance of Firebird client library. +# 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 intallation prefix to the installed Firebird library is given the +# If no installation prefix to the installed Firebird library is given the # macro searches under /usr, /usr/local, and /opt. # # This macro calls: @@ -38,7 +38,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 13 AC_DEFUN([AX_LIB_FIREBIRD], [ @@ -133,7 +133,7 @@ ], [ AC_MSG_RESULT([not found]) - succees="no" + success="no" ] ) AC_LANG_POP([C++]) diff -Nru autoconf-archive-20150925/m4/ax_libgcj_jar.m4 autoconf-archive-20170928/m4/ax_libgcj_jar.m4 --- autoconf-archive-20150925/m4/ax_libgcj_jar.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_libgcj_jar.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_libgcj_jar.html +# https://www.gnu.org/software/autoconf-archive/ax_libgcj_jar.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -41,7 +41,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 9 +#serial 12 AU_ALIAS([DPS_LIBGCJ_JAR], [AX_LIBGCJ_JAR]) AC_DEFUN([AX_LIBGCJ_JAR], @@ -51,7 +51,7 @@ AC_REQUIRE([AC_PROG_FGREP]) AC_PROG_SED if test "x$SED" = "x"; then -AC_MSG_WARN([sed not avaiable, so libgcj.jar test skipped]) +AC_MSG_WARN([sed not available, so libgcj.jar test skipped]) else AC_MSG_CHECKING([if $JAVAC is gcj]); jc=`eval "[echo x$JAVAC | $SED 's/^x.*\\/\\([^/]*\\)\$/x\\1/;s/^ *\\([^ ]*\\) .*$/\\1/;s/"$EXEEXT"$//']"` diff -Nru autoconf-archive-20150925/m4/ax_lib_gcrypt.m4 autoconf-archive-20170928/m4/ax_lib_gcrypt.m4 --- autoconf-archive-20150925/m4/ax_lib_gcrypt.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_gcrypt.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_gcrypt.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_gcrypt.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 9 +#serial 12 # AX_CHECK_GCRYPT_ALGO([algo]) # generate convenient defines for each algorithm @@ -99,7 +99,7 @@ AC_SUBST(GCRYPT_CFLAGS) AC_SUBST(GCRYPT_LIBS) ],[ - # complain only if explicitely required + # complain only if explicitly required if test "$ac_with_gcrypt" = "yes" ; then AC_MSG_ERROR([cannot configure required gcrypt library]) fi diff -Nru autoconf-archive-20150925/m4/ax_lib_gdal.m4 autoconf-archive-20170928/m4/ax_lib_gdal.m4 --- autoconf-archive-20150925/m4/ax_lib_gdal.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_gdal.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_gdal.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_gdal.html # =========================================================================== # # SYNOPSIS @@ -39,7 +39,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 4 AC_DEFUN([AX_LIB_GDAL], [ @@ -59,7 +59,7 @@ ) if test ! -x "$GDAL_CONFIG"; then - AC_MSG_ERROR([gdal-config does not exist or it is not an exectuable file]) + AC_MSG_ERROR([gdal-config does not exist or it is not an executable file]) GDAL_CONFIG="no" found_gdal="no" fi diff -Nru autoconf-archive-20150925/m4/ax_lib_hdf5.m4 autoconf-archive-20170928/m4/ax_lib_hdf5.m4 --- autoconf-archive-20150925/m4/ax_lib_hdf5.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_hdf5.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_hdf5.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_hdf5.html # =========================================================================== # # SYNOPSIS @@ -33,11 +33,12 @@ # 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 Autconf's Fortran support is not used to perform this check. +# 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. # @@ -74,6 +75,9 @@ # 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. +# # LICENSE # # Copyright (c) 2009 Timothy Brown @@ -84,7 +88,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 11 +#serial 18 AC_DEFUN([AX_LIB_HDF5], [ @@ -137,6 +141,7 @@ HDF5_FC="" HDF5_FFLAGS="" HDF5_FLIBS="" +HDF5_TYPE="" dnl Try and find hdf5 compiler tools and options. if test "$with_hdf5" = "yes"; then @@ -153,6 +158,12 @@ AC_MSG_CHECKING([Using provided HDF5 C wrapper]) AC_MSG_RESULT([$H5CC]) fi + AC_MSG_CHECKING([for HDF5 type]) + AS_CASE([$H5CC], + [*h5pcc], [HDF5_TYPE=parallel], + [*h5cc], [HDF5_TYPE=serial], + [HDF5_TYPE=neither]) + AC_MSG_RESULT([$HDF5_TYPE]) AC_MSG_CHECKING([for HDF5 libraries]) if test ! -f "$H5CC" || test ! -x "$H5CC"; then AC_MSG_RESULT([no]) @@ -230,6 +241,7 @@ AC_MSG_RESULT([yes (version $[HDF5_VERSION])]) dnl See if we can compile + AC_LANG_PUSH([C]) ax_lib_hdf5_save_CC=$CC ax_lib_hdf5_save_CPPFLAGS=$CPPFLAGS ax_lib_hdf5_save_LIBS=$LIBS @@ -251,6 +263,7 @@ CPPFLAGS=$ax_lib_hdf5_save_CPPFLAGS LIBS=$ax_lib_hdf5_save_LIBS LDFLAGS=$ax_lib_hdf5_save_LDFLAGS + AC_LANG_POP([C]) AC_MSG_CHECKING([for matching HDF5 Fortran wrapper]) dnl Presume HDF5 Fortran wrapper is just a name variant from H5CC @@ -303,6 +316,7 @@ AC_SUBST([HDF5_FC]) AC_SUBST([HDF5_FFLAGS]) AC_SUBST([HDF5_FLIBS]) + AC_SUBST([HDF5_TYPE]) AC_DEFINE([HAVE_HDF5], [1], [Defined if you have HDF5 support]) fi fi diff -Nru autoconf-archive-20150925/m4/ax_lib_id3.m4 autoconf-archive-20170928/m4/ax_lib_id3.m4 --- autoconf-archive-20150925/m4/ax_lib_id3.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_id3.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_id3.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_id3.html # =========================================================================== # # SYNOPSIS @@ -36,7 +36,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([AC_LIB_ID3], [AX_LIB_ID3]) AC_DEFUN([AX_LIB_ID3], [ diff -Nru autoconf-archive-20150925/m4/ax_lib_libkml.m4 autoconf-archive-20170928/m4/ax_lib_libkml.m4 --- autoconf-archive-20150925/m4/ax_lib_libkml.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_libkml.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_libkml.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_libkml.html # =========================================================================== # # SYNOPSIS @@ -42,7 +42,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_DEFUN([AX_LIB_LIBKML], [ diff -Nru autoconf-archive-20150925/m4/ax_lib_metis.m4 autoconf-archive-20170928/m4/ax_lib_metis.m4 --- autoconf-archive-20150925/m4/ax_lib_metis.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_metis.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_metis.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_metis.html # =========================================================================== # # SYNOPSIS @@ -14,7 +14,7 @@ # 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 sucessful completion the +# /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 @@ -32,7 +32,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 10 AU_ALIAS([IMMDX_LIB_METIS], [AX_LIB_METIS]) AC_DEFUN([AX_LIB_METIS], [ diff -Nru autoconf-archive-20150925/m4/ax_lib_mysqlcppconn.m4 autoconf-archive-20170928/m4/ax_lib_mysqlcppconn.m4 --- autoconf-archive-20150925/m4/ax_lib_mysqlcppconn.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_mysqlcppconn.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_mysqlcppconn.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_mysqlcppconn.html # =========================================================================== # # SYNOPSIS @@ -35,7 +35,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 3 AC_DEFUN([AX_LIB_MYSQLCPPCONN], [ @@ -125,9 +125,13 @@ fi CXXFLAGS_SAVED="$CXXFLAGS" - CXXFLAGS="$CXXFLAGS $LIBMYSQLCPPCONN_CFLAGS" + CXXFLAGS="$CXXFLAGS $LIBMYSQLCPPCONN_CXXFLAGS" export CXXFLAGS + CPPFLAGS_SAVED="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $LIBMYSQLCPPCONN_CXXFLAGS" + export CPPFLAGS + LDFLAGS_SAVED="$LDFLAGS" LDFLAGS="$LDFLAGS $LIBMYSQLCPPCONN_LDFLAGS" export LDFLAGS @@ -166,6 +170,9 @@ CXXFLAGS="$CXXFLAGS_SAVED" export CXXFLAGS + CPPFLAGS="$CPPFLAGS_SAVED" + export CPPFLAGS + LDFLAGS="$LDFLAGS_SAVED" export LDFLAGS diff -Nru autoconf-archive-20150925/m4/ax_lib_mysql.m4 autoconf-archive-20170928/m4/ax_lib_mysql.m4 --- autoconf-archive-20150925/m4/ax_lib_mysql.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_mysql.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_mysql.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_mysql.html # =========================================================================== # # SYNOPSIS @@ -43,7 +43,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 12 +#serial 13 AC_DEFUN([AX_LIB_MYSQL], [ diff -Nru autoconf-archive-20150925/m4/ax_lib_netcdf4.m4 autoconf-archive-20170928/m4/ax_lib_netcdf4.m4 --- autoconf-archive-20150925/m4/ax_lib_netcdf4.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_netcdf4.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,277 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_lib_netcdf4.html +# =========================================================================== +# +# 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 +# +# LICENSE +# +# Copyright (c) 2016 Timothy Brown +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +#serial 2 + +AC_DEFUN([AX_LIB_NETCDF4], [ + +AC_REQUIRE([AC_PROG_SED]) +AC_REQUIRE([AC_PROG_AWK]) +AC_REQUIRE([AC_PROG_GREP]) + +dnl Check first argument is one of the recognized values. +dnl Fail eagerly if is incorrect as this simplifies case statements below. +if test "m4_normalize(m4_default([$1],[]))" = "" ; then + netcdf4_requested_mode="serial" +elif test "m4_normalize(m4_default([$1],[]))" = "serial" ; then + netcdf4_requested_mode="serial" +elif test "m4_normalize(m4_default([$1],[]))" = "parallel"; then + netcdf4_requested_mode="parallel" +else + AC_MSG_ERROR([ +Unrecognized value for AX[]_LIB_NETCDF4 within configure.ac. +If supplied, argument 1 must be either 'serial' or 'parallel'. +]) +fi + +dnl Add a default --with-netcdf4 configuration option. +AC_ARG_WITH([netcdf4], + AS_HELP_STRING( + [--with-netcdf4=[yes/no/PATH]], + m4_case(m4_normalize([$1]), + [serial], [base directory of serial NetCDF4 installation], + [parallel], [base directory of parallel NetCDF4 installation], + [base directory of NetCDF4 installation]) + ), + [if test "$withval" = "no"; then + with_netcdf4="no" + elif test "$withval" = "yes"; then + with_netcdf4="yes" + else + with_netcdf4="yes" + NETCDF4_PREFIX="${withval}" + NC_CONFIG="${withval}/bin/nc-config" + fi], + [with_netcdf4="yes"] +) + +dnl Set defaults to blank +NETCDF4_CC="" +NETCDF4_VERSION="" +NETCDF4_CFLAGS="" +NETCDF4_CPPFLAGS="" +NETCDF4_LDFLAGS="" +NETCDF4_LIBS="" +NETCDF4_FC="" +NETCDF4_FFLAGS="" +NETCDF4_FLIBS="" + +dnl Try and find NetCDF4 tools and options. +if test "$with_netcdf4" = "yes"; then + if test -z "$NC_CONFIG"; then + dnl Check to see if NC_CONFIG is in the path. + AC_PATH_PROGS([NC_CONFIG], [nc-config], []) + NETCDF4_PREFIX=$(AS_DIRNAME([$(AS_DIRNAME(["$NC_CONFIG"]))])) + else + AC_MSG_CHECKING([Using provided NetCDF4 prefix]) + AC_MSG_RESULT([$NC_CONFIG]) + fi + + AC_MSG_CHECKING([for NetCDF4 libraries]) + + if test ! -f "$NC_CONFIG" || test ! -x "$NC_CONFIG"; then + AC_MSG_RESULT([no]) + AC_MSG_WARN([ + +Unable to locate NetCDF4 compilation helper script 'nc-config'. +Please specify --with-netcdf4= as the full path prefix +where NetCDF4 has been installed. +NetCDF4 support is being disabled (equivalent to --with-netcdf4=no). +]) + with_netcdf4="no" + with_netcdf4_fortran="no" + else + dnl Get the actual compiler used + NETCDF4_CC=$(eval $NC_CONFIG --cc | $AWK '{print $[]1}') + if test "$NETCDF4_CC" = "ccache"; then + NETCDF4_CC=$(eval $NC_CONFIG --cc | $AWK '{print $[]2}') + fi + + dnl Look for version + NETCDF4_VERSION=$(eval $NC_CONFIG --version | $AWK '{print $[]2}') + + dnl Look for the CFLAGS + NETCDF4_CFLAGS=$(eval $NC_CONFIG --cflags) + + dnl Look for the LIBS and LDFLAGS + NETCDF4_tmp_clibs=$(eval $NC_CONFIG --libs) + + dnl Sort out the tmp libs based on their prefixes + for arg in $NETCDF4_tmp_clibs ; do + case "$arg" in + -L*) echo $NETCDF4_LDFLAGS | $GREP -e "$arg" 2>&1 >/dev/null \ + || NETCDF4_LDFLAGS="$arg $NETCDF4_LDFLAGS" + ;; + -l*) echo $NETCDF4_LIBS | $GREP -e "$arg" 2>&1 >/dev/null \ + || NETCDF4_LIBS="$arg $NETCDF4_LIBS" + ;; + esac + done + + AC_MSG_RESULT([yes (version $[NETCDF4_VERSION])]) + + dnl See if we need (and have) parallel support + if test "$netcdf4_requested_mode" = "parallel" ; then + with_netcdf4_parallel=$(eval $NC_CONFIG --has-pnetcdf) + if test "$with_netcdf4_parallel" = "no" ; then + AC_MSG_ERROR([ +parallel NetCDF4 is not supported (while it was requested) +]) + fi + fi + + dnl See if we can compile + ax_lib_netcdf4_save_CC=$CC + ax_lib_netcdf4_save_CPPFLAGS=$CPPFLAGS + ax_lib_netcdf4_save_LIBS=$LIBS + ax_lib_netcdf4_save_LDFLAGS=$LDFLAGS + CC=$NETCDF4_CC + CFLAGS=$NETCDF4_CFLAGS + LIBS=$NETCDF4_LIBS + LDFLAGS=$NETCDF4_LDFLAGS + AC_CHECK_HEADER([netcdf.h], [ac_cv_netcdf4_h=yes], [ac_cv_netcdf4_h=no]) + AC_CHECK_LIB([netcdf], [nc_create], [ac_cv_libnetcdf4=yes], + [ac_cv_libnetcdf4=no]) + if test "$ac_cv_netcdf4_h" = "no" && \ + test "$ac_cv_libnetcdf4" = "no" ; then + AC_MSG_WARN([Unable to compile NetCDF4 test program]) + fi + + CC=$ax_lib_netcdf4_save_CC + CFLAGS=$ax_lib_netcdf4_save_CFLAGS + LIBS=$ax_lib_netcdf4_save_LIBS + LDFLAGS=$ax_lib_hdf5_save_LDFLAGS + + + AC_MSG_CHECKING([for matching NetCDF4 Fortran libraries]) + NF_CONFIG="${NETCDF4_PREFIX}/bin/nf-config" + if test ! -f "$NF_CONFIG" || test ! -x "$NF_CONFIG"; then + AC_MSG_RESULT([no]) + with_netcdf4_fortran="no" + else + NETCDF_FVERSION=$(eval $NF_CONFIG --version | $AWK '{print $[]2}') + AC_MSG_RESULT([yes (version $[NETCDF_FVERSION])]) + NETCDF4_FC=$(eval $NF_CONFIG --fc | $AWK '{print $[]1}') + if test "$NETCDF4_FC" = "ccache"; then + NETCDF4_FC=$(eval $NF_CONFIG --fc | $AWK '{print $[]2}') + fi + dnl Look for the FFLAGS + NETCDF4_FFLAGS=$(eval $NC_CONFIG --fflags) + + dnl Look for the FLIBS and LDFLAGS + NETCDF4_tmp_flibs=$(eval $NC_CONFIG --flibs) + + dnl Sort out the tmp libs based on their prefixes + for arg in $NETCDF4_tmp_flibs ; do + case "$arg" in + -L*) echo $NETCDF4_LDFLAGS | $GREP -e "$arg" 2>&1 >/dev/null \ + || NETCDF4_LDFLAGS="$arg $NETCDF4_LDFLAGS" + ;; + -l*) echo $NETCDF4_FLIBS | $GREP -e "$arg" 2>&1 >/dev/null \ + || NETCDF4_FLIBS="$arg $NETCDF4_FLIBS" + ;; + esac + done + with_netcdf4_fortran="yes" + fi + + AC_SUBST([NETCDF4_VERSION]) + AC_SUBST([NETCDF4_CC]) + AC_SUBST([NETCDF4_CFLAGS]) + AC_SUBST([NETCDF4_LDFLAGS]) + AC_SUBST([NETCDF4_LIBS]) + AC_SUBST([NETCDF4_FC]) + AC_SUBST([NETCDF4_FFLAGS]) + AC_SUBST([NETCDF4_FLIBS]) + AC_DEFINE([HAVE_NETCDF4], [1], [Defined if you have NETCDF4 support]) + fi +fi +]) diff -Nru autoconf-archive-20150925/m4/ax_lib_nettle.m4 autoconf-archive-20170928/m4/ax_lib_nettle.m4 --- autoconf-archive-20150925/m4/ax_lib_nettle.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_nettle.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_nettle.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_nettle.html # =========================================================================== # # SYNOPSIS @@ -30,7 +30,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 10 # AX_CHECK_NETTLE_ALGO([name],[function]) AC_DEFUN([AX_CHECK_NETTLE_ALGO],[ @@ -72,7 +72,7 @@ AX_CHECK_NETTLE_ALGO([SHA256],[sha256_digest]) ]) ]) - # complain only if explicitely required + # complain only if explicitly required if test "$ax_with_nettle" = "yes" -a "x$HAVE_NETTLE" = "x" ; then AC_MSG_ERROR([cannot configure required nettle library]) fi diff -Nru autoconf-archive-20150925/m4/ax_lib_nokalva.m4 autoconf-archive-20170928/m4/ax_lib_nokalva.m4 --- autoconf-archive-20150925/m4/ax_lib_nokalva.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_nokalva.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_nokalva.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_nokalva.html # =========================================================================== # # SYNOPSIS @@ -36,7 +36,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 4 +#serial 5 AC_DEFUN([AX_LIB_NOKALVA], [ AH_TEMPLATE([HAVE_NOKALVA], [Define if Nokalva is available]) diff -Nru autoconf-archive-20150925/m4/ax_lib_oracle_occi.m4 autoconf-archive-20170928/m4/ax_lib_oracle_occi.m4 --- autoconf-archive-20150925/m4/ax_lib_oracle_occi.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_oracle_occi.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_oracle_occi.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_oracle_occi.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # 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 enything. +# check anything. # # This macro calls: # @@ -48,7 +48,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 4 AC_DEFUN([AX_LIB_ORACLE_OCCI], [ diff -Nru autoconf-archive-20150925/m4/ax_lib_oracle_oci.m4 autoconf-archive-20170928/m4/ax_lib_oracle_oci.m4 --- autoconf-archive-20150925/m4/ax_lib_oracle_oci.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_oracle_oci.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_oracle_oci.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_oracle_oci.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # 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 -# enything. +# anything. # # This macro calls: # @@ -48,7 +48,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 12 +#serial 16 AC_DEFUN([AX_LIB_ORACLE_OCI], [ @@ -156,25 +156,28 @@ dnl Depending on later Oracle version detection, dnl -lnnz10 flag might be removed for older Oracle < 10.x saved_LDFLAGS="$LDFLAGS" - oci_ldflags="-L$oracle_lib_dir -lclntsh" + saved_LIBS="$LIBS" + oci_ldflags="-L$oracle_lib_dir" + oci_libs="-lclntsh" LDFLAGS="$LDFLAGS $oci_ldflags" + LIBS="$LIBS $oci_libs" dnl dnl Check OCI headers dnl AC_MSG_CHECKING([for Oracle OCI headers in $oracle_include_dir]) - AC_LANG_PUSH(C++) + AC_LANG_PUSH(C) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[@%:@include ]], [[ #if defined(OCI_MAJOR_VERSION) #if OCI_MAJOR_VERSION == 10 && OCI_MINOR_VERSION == 2 -// Oracle 10.2 detected +/* Oracle 10.2 detected */ #endif #elif defined(OCI_V7_SYNTAX) -// OK, older Oracle detected -// TODO - mloskot: find better macro to check for older versions; +/* OK, older Oracle detected */ +/* TODO - mloskot: find better macro to check for older versions; */ #else # error Oracle oci.h header not found #endif @@ -195,7 +198,7 @@ AC_MSG_RESULT([not found]) ] ) - AC_LANG_POP([C++]) + AC_LANG_POP([C]) dnl dnl Check OCI libraries @@ -204,7 +207,7 @@ AC_MSG_CHECKING([for Oracle OCI libraries in $oracle_lib_dir]) - AC_LANG_PUSH(C++) + AC_LANG_PUSH(C) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[@%:@include ]], [[ @@ -214,7 +217,7 @@ ]] )], [ - ORACLE_OCI_LDFLAGS="$oci_ldflags" + ORACLE_OCI_LDFLAGS="$oci_ldflags $oci_libs" oci_lib_found="yes" AC_MSG_RESULT([yes]) ], @@ -223,11 +226,12 @@ AC_MSG_RESULT([not found]) ] ) - AC_LANG_POP([C++]) + AC_LANG_POP([C]) fi CPPFLAGS="$saved_CPPFLAGS" LDFLAGS="$saved_LDFLAGS" + LIBS="$saved_LIBS" fi dnl diff -Nru autoconf-archive-20150925/m4/ax_lib_orbit2.m4 autoconf-archive-20170928/m4/ax_lib_orbit2.m4 --- autoconf-archive-20150925/m4/ax_lib_orbit2.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_orbit2.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_orbit2.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_orbit2.html # =========================================================================== # # SYNOPSIS @@ -8,7 +8,7 @@ # # DESCRIPTION # -# Checks for minimum Orbit2 library version VERSION. If successfull +# Checks for minimum Orbit2 library version VERSION. If successful # executes ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE. # # Defines ORBIT2_LIBS and ORBIT2_CFLAGS. @@ -28,7 +28,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 8 AC_DEFUN([AX_LIB_ORBIT2], [ AX_PATH_GENERIC([orbit2],[$1],'s/^ORBit2\ \+//',[$2],[$3]) diff -Nru autoconf-archive-20150925/m4/ax_lib_postgresql.m4 autoconf-archive-20170928/m4/ax_lib_postgresql.m4 --- autoconf-archive-20150925/m4/ax_lib_postgresql.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_postgresql.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_postgresql.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_postgresql.html # =========================================================================== # # SYNOPSIS @@ -46,7 +46,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 12 +#serial 15 AC_DEFUN([AX_LIB_POSTGRESQL], [ @@ -83,7 +83,7 @@ fi if test ! -x "$PG_CONFIG"; then - AC_MSG_ERROR([$PG_CONFIG does not exist or it is not an exectuable file]) + AC_MSG_ERROR([$PG_CONFIG does not exist or it is not an executable file]) PG_CONFIG="no" found_postgresql="no" fi diff -Nru autoconf-archive-20150925/m4/ax_lib_readline.m4 autoconf-archive-20170928/m4/ax_lib_readline.m4 --- autoconf-archive-20150925/m4/ax_lib_readline.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_readline.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_readline.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_readline.html # =========================================================================== # # SYNOPSIS @@ -58,7 +58,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([VL_LIB_READLINE], [AX_LIB_READLINE]) AC_DEFUN([AX_LIB_READLINE], [ diff -Nru autoconf-archive-20150925/m4/ax_lib_samtools.m4 autoconf-archive-20170928/m4/ax_lib_samtools.m4 --- autoconf-archive-20150925/m4/ax_lib_samtools.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_samtools.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_samtools.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_samtools.html # =========================================================================== # # SYNOPSIS @@ -57,7 +57,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -72,7 +72,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 2 +#serial 3 AC_DEFUN([AX_LIB_SAMTOOLS], # diff -Nru autoconf-archive-20150925/m4/ax_lib_socket_nsl.m4 autoconf-archive-20170928/m4/ax_lib_socket_nsl.m4 --- autoconf-archive-20150925/m4/ax_lib_socket_nsl.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_socket_nsl.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_socket_nsl.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_socket_nsl.html # =========================================================================== # # SYNOPSIS @@ -28,7 +28,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([LIB_SOCKET_NSL], [AX_LIB_SOCKET_NSL]) AC_DEFUN([AX_LIB_SOCKET_NSL], diff -Nru autoconf-archive-20150925/m4/ax_lib_sqlite3.m4 autoconf-archive-20170928/m4/ax_lib_sqlite3.m4 --- autoconf-archive-20150925/m4/ax_lib_sqlite3.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_sqlite3.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_sqlite3.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_sqlite3.html # =========================================================================== # # SYNOPSIS @@ -12,9 +12,9 @@ # # 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 existance of SQLite 3. +# of existence of SQLite 3. # -# If no intallation prefix to the installed SQLite library is given the +# If no installation prefix to the installed SQLite library is given the # macro searches under /usr, /usr/local, and /opt. # # This macro calls: @@ -36,7 +36,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 14 +#serial 18 AC_DEFUN([AX_LIB_SQLITE3], [ diff -Nru autoconf-archive-20150925/m4/ax_lib_tabix.m4 autoconf-archive-20170928/m4/ax_lib_tabix.m4 --- autoconf-archive-20150925/m4/ax_lib_tabix.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_tabix.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_tabix.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_tabix.html # =========================================================================== # # SYNOPSIS @@ -57,7 +57,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -72,7 +72,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 2 +#serial 3 AC_DEFUN([AX_LIB_TABIX], # diff -Nru autoconf-archive-20150925/m4/ax_lib_taglib.m4 autoconf-archive-20170928/m4/ax_lib_taglib.m4 --- autoconf-archive-20150925/m4/ax_lib_taglib.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_taglib.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_taglib.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_taglib.html # =========================================================================== # # SYNOPSIS @@ -8,7 +8,7 @@ # # DESCRIPTION # -# Checks for minimum taglib library version VERSION. If successfull +# Checks for minimum taglib library version VERSION. If successful # executes ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE. # # Defines TAGLIB_LIBS and TAGLIB_CFLAGS. @@ -30,7 +30,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 10 AU_ALIAS([AC_CHECK_TAGLIB], [AX_LIB_TAGLIB]) AC_DEFUN([AX_LIB_TAGLIB], [ diff -Nru autoconf-archive-20150925/m4/ax_libtoolize_cflags.m4 autoconf-archive-20170928/m4/ax_libtoolize_cflags.m4 --- autoconf-archive-20150925/m4/ax_libtoolize_cflags.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_libtoolize_cflags.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_libtoolize_cflags.html +# https://www.gnu.org/software/autoconf-archive/ax_libtoolize_cflags.html # =========================================================================== # # SYNOPSIS @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([AC_LIBTOOLIZE_CFLAGS], [AX_LIBTOOLIZE_CFLAGS]) AC_DEFUN([AX_LIBTOOLIZE_CFLAGS], diff -Nru autoconf-archive-20150925/m4/ax_lib_trace.m4 autoconf-archive-20170928/m4/ax_lib_trace.m4 --- autoconf-archive-20150925/m4/ax_lib_trace.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_trace.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_trace.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_trace.html # =========================================================================== # # SYNOPSIS @@ -30,7 +30,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_DEFUN([AX_LIB_TRACE], [ diff -Nru autoconf-archive-20150925/m4/ax_lib_upnp.m4 autoconf-archive-20170928/m4/ax_lib_upnp.m4 --- autoconf-archive-20150925/m4/ax_lib_upnp.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_upnp.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_upnp.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_upnp.html # =========================================================================== # # SYNOPSIS @@ -35,7 +35,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([AC_LIB_UPNP], [AX_LIB_UPNP]) AC_DEFUN([AX_LIB_UPNP], [ diff -Nru autoconf-archive-20150925/m4/ax_lib_wad.m4 autoconf-archive-20170928/m4/ax_lib_wad.m4 --- autoconf-archive-20150925/m4/ax_lib_wad.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_wad.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_wad.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_wad.html # =========================================================================== # # SYNOPSIS @@ -28,7 +28,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -43,7 +43,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 9 +#serial 10 AU_ALIAS([AC_LIB_WAD], [AX_LIB_WAD]) AC_DEFUN([AX_LIB_WAD], diff -Nru autoconf-archive-20150925/m4/ax_lib_xalan.m4 autoconf-archive-20170928/m4/ax_lib_xalan.m4 --- autoconf-archive-20150925/m4/ax_lib_xalan.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_xalan.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_xalan.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_xalan.html # =========================================================================== # # SYNOPSIS @@ -45,7 +45,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AC_DEFUN([AX_LIB_XALAN], [ diff -Nru autoconf-archive-20150925/m4/ax_lib_xerces.m4 autoconf-archive-20170928/m4/ax_lib_xerces.m4 --- autoconf-archive-20150925/m4/ax_lib_xerces.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_xerces.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_xerces.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_xerces.html # =========================================================================== # # SYNOPSIS @@ -43,7 +43,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 10 +#serial 11 AC_DEFUN([AX_LIB_XERCES], [ diff -Nru autoconf-archive-20150925/m4/ax_lib_xml_security.m4 autoconf-archive-20170928/m4/ax_lib_xml_security.m4 --- autoconf-archive-20150925/m4/ax_lib_xml_security.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lib_xml_security.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lib_xml_security.html +# https://www.gnu.org/software/autoconf-archive/ax_lib_xml_security.html # =========================================================================== # # SYNOPSIS @@ -45,7 +45,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 9 +#serial 10 AC_DEFUN([AX_LIB_XML_SECURITY], [ diff -Nru autoconf-archive-20150925/m4/ax_llvm.m4 autoconf-archive-20170928/m4/ax_llvm.m4 --- autoconf-archive-20150925/m4/ax_llvm.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_llvm.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_llvm.html +# https://www.gnu.org/software/autoconf-archive/ax_llvm.html # =========================================================================== # # SYNOPSIS @@ -8,12 +8,12 @@ # # DESCRIPTION # -# Test for the existance of llvm, and make sure that it can be linked with +# 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-config will also include any libraries that are depended apon. +# llvm-config will also include any libraries that are depended upon. # # LICENSE # @@ -24,7 +24,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 12 +#serial 16 AC_DEFUN([AX_LLVM], [ diff -Nru autoconf-archive-20150925/m4/ax_lua.m4 autoconf-archive-20170928/m4/ax_lua.m4 --- autoconf-archive-20150925/m4/ax_lua.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_lua.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_lua.html +# https://www.gnu.org/software/autoconf-archive/ax_lua.html # =========================================================================== # # SYNOPSIS @@ -166,7 +166,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -181,7 +181,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 39 +#serial 40 dnl ========================================================================= dnl AX_PROG_LUA([MINIMUM-VERSION], [TOO-BIG-VERSION], diff -Nru autoconf-archive-20150925/m4/ax_luarocks_rock.m4 autoconf-archive-20170928/m4/ax_luarocks_rock.m4 --- autoconf-archive-20150925/m4/ax_luarocks_rock.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_luarocks_rock.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,53 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_luarocks_rock.html +# =========================================================================== +# +# 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. +# +# LICENSE +# +# Copyright (c) 2016 Reuben Thomas +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +#serial 2 + +AC_DEFUN([AX_LUAROCKS_ROCK],[ + # Make sure we have luarocks + if test -z "$LUAROCKS"; then + AX_WITH_PROG(LUAROCKS,luarocks) + if test -z "$LUAROCKS"; then + AC_MSG_ERROR([can't find luarocks]) + fi + fi + + AC_PREREQ([2.61]) + + pushdef([ROCK],$1) + AC_MSG_CHECKING(whether LuaRock ROCK is installed) + AS_IF(["$LUAROCKS" show ROCK > /dev/null],[ + AC_MSG_RESULT(yes) + ],[ + AC_MSG_FAILURE([LuaRock ROCK not found]) + ]) + + popdef([ROCK]) +]) diff -Nru autoconf-archive-20150925/m4/ax_maintainer_mode_auto_silent.m4 autoconf-archive-20170928/m4/ax_maintainer_mode_auto_silent.m4 --- autoconf-archive-20150925/m4/ax_maintainer_mode_auto_silent.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_maintainer_mode_auto_silent.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_maintainer_mode_auto_silent.html -# ================================================================================== +# =================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_maintainer_mode_auto_silent.html +# =================================================================================== # # SYNOPSIS # @@ -34,7 +34,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -49,7 +49,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 8 +#serial 9 AC_DEFUN([AX_MAINTAINER_MODE_AUTO_SILENT],[dnl dnl ac_REQUIRE([am_MAINTAINER_MODE])dn diff -Nru autoconf-archive-20150925/m4/ax_missing_prog.m4 autoconf-archive-20170928/m4/ax_missing_prog.m4 --- autoconf-archive-20150925/m4/ax_missing_prog.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_missing_prog.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_missing_prog.html +# https://www.gnu.org/software/autoconf-archive/ax_missing_prog.html # =========================================================================== # # SYNOPSIS @@ -35,7 +35,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -50,7 +50,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 8 AC_DEFUN([AX_MISSING_PROG],[dnl AS_IF([ test ! -z "$3" ],[ diff -Nru autoconf-archive-20150925/m4/ax_mpi.m4 autoconf-archive-20170928/m4/ax_mpi.m4 --- autoconf-archive-20150925/m4/ax_mpi.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_mpi.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_mpi.html +# https://www.gnu.org/software/autoconf-archive/ax_mpi.html # =========================================================================== # # SYNOPSIS @@ -48,7 +48,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -63,7 +63,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 8 +#serial 9 AU_ALIAS([ACX_MPI], [AX_MPI]) AC_DEFUN([AX_MPI], [ diff -Nru autoconf-archive-20150925/m4/ax_mpip.m4 autoconf-archive-20170928/m4/ax_mpip.m4 --- autoconf-archive-20150925/m4/ax_mpip.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_mpip.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_mpip.html +# https://www.gnu.org/software/autoconf-archive/ax_mpip.html # =========================================================================== # # SYNOPSIS @@ -34,7 +34,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -49,7 +49,7 @@ # distribute a modified version of the Autoconf Macro, you may extend this # special exception to the GPL to apply to your modified version as well. -#serial 2 +#serial 3 AC_DEFUN([AX_MPIP], [ AC_PREREQ(2.60) diff -Nru autoconf-archive-20150925/m4/ax_need_awk.m4 autoconf-archive-20170928/m4/ax_need_awk.m4 --- autoconf-archive-20150925/m4/ax_need_awk.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_need_awk.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_need_awk.html +# https://www.gnu.org/software/autoconf-archive/ax_need_awk.html # =========================================================================== # # SYNOPSIS @@ -25,7 +25,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_NEED_AWK],[ AC_REQUIRE([AC_PROG_AWK]) diff -Nru autoconf-archive-20150925/m4/ax_normalize_path.m4 autoconf-archive-20170928/m4/ax_normalize_path.m4 --- autoconf-archive-20150925/m4/ax_normalize_path.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_normalize_path.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_normalize_path.html +# https://www.gnu.org/software/autoconf-archive/ax_normalize_path.html # =========================================================================== # # SYNOPSIS @@ -80,7 +80,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -95,7 +95,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 8 AU_ALIAS([ADL_NORMALIZE_PATH], [AX_NORMALIZE_PATH]) AC_DEFUN([AX_NORMALIZE_PATH], @@ -106,7 +106,7 @@ :*[[\\/]]:) $1=`echo "[$]$1" | sed 's,[[\\/]]*[$],,'` ;; :*:) ;; esac -# squeze repeated slashes +# squeeze repeated slashes case ifelse($2,,"[$]$1",$2) in # if the path contains any backslashes, turn slashes into backslashes *\\*) $1=`echo "[$]$1" | sed 's,\(.\)[[\\/]][[\\/]]*,\1\\\\,g'` ;; diff -Nru autoconf-archive-20150925/m4/ax_not_enable_frame_pointer.m4 autoconf-archive-20170928/m4/ax_not_enable_frame_pointer.m4 --- autoconf-archive-20150925/m4/ax_not_enable_frame_pointer.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_not_enable_frame_pointer.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =============================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_not_enable_frame_pointer.html -# =============================================================================== +# ================================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_not_enable_frame_pointer.html +# ================================================================================ # # SYNOPSIS # @@ -28,7 +28,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -43,7 +43,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 8 +#serial 9 AC_DEFUN([AX_NOT_ENABLE_FRAME_POINTER],[dnl AS_VAR_PUSHDEF([VAR],[enable_frame_pointer])dnl diff -Nru autoconf-archive-20150925/m4/ax_numeric_namedlevel.m4 autoconf-archive-20170928/m4/ax_numeric_namedlevel.m4 --- autoconf-archive-20150925/m4/ax_numeric_namedlevel.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_numeric_namedlevel.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_numeric_namedlevel.html +# https://www.gnu.org/software/autoconf-archive/ax_numeric_namedlevel.html # =========================================================================== # # SYNOPSIS @@ -37,8 +37,8 @@ # 2| many |many|much|(yes) # 1| some |some|plus # -# note that a level can be construcct of (some|plus) = bit-0, (many|much) -# = bit-1, (more) = bit-2, (ultra|experimental) = bit-3 atleast in a +# 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: @@ -62,7 +62,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -77,7 +77,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 6 +#serial 10 AU_ALIAS([AC_NUMERIC_NAMEDLEVEL], [AX_NUMERIC_NAMEDLEVEL]) AC_DEFUN([AX_NUMERIC_NAMEDLEVEL], diff -Nru autoconf-archive-20150925/m4/ax_open62541_check_h.m4 autoconf-archive-20170928/m4/ax_open62541_check_h.m4 --- autoconf-archive-20150925/m4/ax_open62541_check_h.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_open62541_check_h.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,110 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_open62541_check_h.html +# =========================================================================== +# +# 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]: +# +# LICENSE +# +# Copyright (c) 2016,2017 Olaf Mandel +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +#serial 3 + +# AX_OPEN62541_CHECK_H([HEADERS], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# ------------------------------------------------------------------------- +AC_DEFUN([AX_OPEN62541_CHECK_H], +[m4_pushdef([headers], m4_normalize([$1]))dnl +m4_ifblank(m4_defn([headers]), [m4_define([headers], + [ms_stdint.h]dnl + [ua_client.h]dnl + [ua_client_highlevel.h]dnl + [ua_config.h]dnl + [ua_config_standard.h]dnl + [ua_connection.h]dnl + [ua_constants.h]dnl + [ua_job.h]dnl + [ua_log.h]dnl + [ua_log_stdout.h]dnl + [ua_network_tcp.h]dnl + [ua_nodeids.h]dnl + [ua_server.h]dnl + [ua_server_external_ns.h]dnl + [ua_types.h]dnl + [ua_types_generated.h]dnl + [ua_types_generated_handling.h])])dnl +dnl ua_server_external_ns.h depends on ua_server.h but fails to include it: +dnl so specify the includes: +pushdef([includes], +[#ifdef HAVE_UA_SERVER_H +# include +#endif])dnl +dnl +AS_IF([test x${with_open62541:+set} != xset -o "x$with_open62541" != xno], + [AC_CHECK_HEADERS([open62541.h], [$2], + [AC_CHECK_HEADERS(m4_defn([headers]), [$2]dnl +[AC_DEFINE([UA_NO_AMALGAMATION], [1], + [Use individual open62541 headers instead of the amalgamation.])], + [$3], + [m4_defn([includes])])], + [AC_INCLUDES_DEFAULT])], + [$3]) +m4_popdef([headers], [includes])dnl +])# AX_OPEN62541_CHECK_H diff -Nru autoconf-archive-20150925/m4/ax_open62541_check_lib.m4 autoconf-archive-20170928/m4/ax_open62541_check_lib.m4 --- autoconf-archive-20150925/m4/ax_open62541_check_lib.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_open62541_check_lib.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,100 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_open62541_check_lib.html +# =========================================================================== +# +# 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]: +# +# LICENSE +# +# Copyright (c) 2016 Olaf Mandel +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +#serial 2 + +# _AX_OPEN62541_CHECK_LIB_arg(THIS, OTHER) +# ---------------------------------------- +# Define the option --with-open62541-THIS, including checking that no +# unknown argument is given or that both --with-open62541-THIS and +# --with-open62541-OTHER are called. +m4_define([_AX_OPEN62541_CHECK_LIB_arg], +[AC_ARG_WITH([open62541-$1], + [AS_HELP_STRING([--with-open62541-$1], + [search for the $1 open62541 library first])], + [], [])dnl +AS_IF([test x${with_open62541_$1:+set} == xset]dnl +[ -a "x$with_open62541_$1" != xno -a "x$with_open62541_$1" != xyes], + [AC_MSG_FAILURE([--with-open62541-$1 does not take an argument])], + [test x${with_open62541_$1:+set} == xset]dnl +[ -a "x$with_open62541_$1" == xyes -a x${with_open62541_$2:+set} == xset]dnl +[ -a "x$with_open62541_$2" == xyes], + [AC_MSG_FAILURE([--with-open62541-$1 and --with-open62541-$2 are]dnl +[ mutually exclusive])]) +])# _AX_OPEN62541_CHECK_LIB_arg + +# _AX_OPEN62541_CHECK_LIB_1(SHARED-STATIC, ACTION-IF-FOUND, +# ACTION-IF-NOT-FOUND) +# --------------------------------------------------------- +# Checks for the desired library if not forbidden by +# with_open62541_(shared|static) shell variables. +m4_define([_AX_OPEN62541_CHECK_LIB_1], +[m4_pushdef([lib], m4_if([$1], [shared], [open62541], + [$1], [static], [open62541-static]))dnl +AS_IF([test "x$with_open62541_$1" != xno], + [AC_CHECK_LIB(m4_defn([lib]), [UA_Server_new], [$2], [$3])], + [$3]) +m4_popdef([lib])dnl +])# _AX_OPEN62541_CHECK_LIB_1 + +# AX_OPEN62541_CHECK_LIB([STATIC-FIRST], [ACTION-IF-FOUND], +# [ACTION-IF-NOT-FOUND]) +# --------------------------------------------------------- +AC_DEFUN([AX_OPEN62541_CHECK_LIB], +[m4_pushdef([staticfirst], m4_normalize([$1]))dnl +m4_bmatch(m4_defn([staticfirst]), + [^\([Nn][Oo]?\|0\)$], [m4_define([staticfirst], [])])dnl +m4_pushdef([first], m4_ifblank(m4_defn([staticfirst]), [shared], [static]))dnl +m4_pushdef([secnd], m4_ifblank(m4_defn([staticfirst]), [static], [shared]))dnl +dnl +_AX_OPEN62541_CHECK_LIB_arg([shared], [static])dnl +_AX_OPEN62541_CHECK_LIB_arg([static], [shared])dnl +AS_IF([test x${with_open62541:+set} == xset -a "x$with_open62541" == xno], + [$3], + [test "x$with_open62541_]m4_defn([secnd])[" != xyes], + [_AX_OPEN62541_CHECK_LIB_1(m4_defn([first]), [$2], + [_AX_OPEN62541_CHECK_LIB_1(m4_defn([secnd]), [$2], [$3])])], + [_AX_OPEN62541_CHECK_LIB_1(m4_defn([secnd]), [$2], + [_AX_OPEN62541_CHECK_LIB_1(m4_defn([first]), [$2], [$3])])])dnl +m4_popdef([staticfirst], [first], [secnd])dnl +])# AX_OPEN62541_CHECK_LIB diff -Nru autoconf-archive-20150925/m4/ax_open62541_path.m4 autoconf-archive-20170928/m4/ax_open62541_path.m4 --- autoconf-archive-20150925/m4/ax_open62541_path.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_open62541_path.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,112 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_open62541_path.html +# =========================================================================== +# +# 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/deps +# * -I/include +# * -I/plugins +# * -I/src_generated +# * -I +# * -L +# +# 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: : 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 "/build". +# +# [1]: +# +# LICENSE +# +# Copyright (c) 2016,2017 Olaf Mandel +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +#serial 5 + +# AX_OPEN62541_PATH() +# ------------------- +AC_DEFUN([AX_OPEN62541_PATH], +[AC_ARG_WITH([open62541], + [AS_HELP_STRING([--with-open62541@<:@=dir@:>@], + [set the open62541 library source location])], + [], [])dnl +AC_ARG_WITH([open62541-build], + [AS_HELP_STRING([--with-open62541-build=dir], + [set the open62541 build dir location]dnl +[ (@<:@default=$src/build@:>@)])], + [], [])dnl +[with_open62541=${with_open62541%/}] +AS_IF([test x${with_open62541_build:+set} != xset], + [AS_IF([test x${with_open62541:+set} == xset]dnl +[ -a "x$with_open62541" != xno -a "x$with_open62541" != xyes], + [with_open62541_build=$with_open62541/build])], + [test "x$with_open62541_build" == xno]dnl +[ -o "x$with_open62541_build" == xyes], + [AC_MSG_FAILURE([--with-open62541-build needs its argument])], + [test x${with_open62541:+set} != xset -o "x$with_open62541" == xyes], + [AC_MSG_FAILURE([--with-open62541-build also requires]dnl +[ --with-open62541 to set a directory])], + [with_open62541_build=${with_open62541_build%/}]) +dnl +AS_IF([test x${with_open62541:+set} == xset -a "x$with_open62541" != xno]dnl +[ -a "x$with_open62541" != xyes], + [CPPFLAGS="$CPPFLAGS${CPPFLAGS:+ }-I$with_open62541/deps]dnl +[ -I$with_open62541/include -I$with_open62541/plugins]dnl +[ -I$with_open62541_build/src_generated -I$with_open62541_build" +LDFLAGS="$LDFLAGS${LDFLAGS:+ }-L$with_open62541_build" +with_open62541_abs=`( + cd "$with_open62541" + pwd)` +with_open62541_build_abs=`( + cd "$with_open62541_build" + pwd)` +export LD_LIBRARY_PATH="$LD_LIBRARY_PATH${LD_LIBRARY_PATH:+:}]dnl +[$with_open62541_build_abs" +AC_SUBST([OPEN62541_LDPATH], ["LD_LIBRARY_PATH=\$\$LD_LIBRARY_PATH]dnl +[\$\${LD_LIBRARY_PATH:+:}$with_open62541_build_abs"]) +AC_SUBST([AM_DISTCHECK_CONFIGURE_FLAGS], ["$AM_DISTCHECK_CONFIGURE_FLAGS]dnl +[${AM_DISTCHECK_CONFIGURE_FLAGS:+ }--with-open62541=$with_open62541_abs"]) +AS_IF([test x$with_open62541/build != xwith_open62541_build], + [AC_SUBST([AM_DISTCHECK_CONFIGURE_FLAGS], + ["$AM_DISTCHECK_CONFIGURE_FLAGS]dnl +[ --with-open62541-build=$with_open62541_build_abs"])]) +]) +])# AX_OPEN62541_PATH diff -Nru autoconf-archive-20150925/m4/ax_openmp.m4 autoconf-archive-20170928/m4/ax_openmp.m4 --- autoconf-archive-20150925/m4/ax_openmp.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_openmp.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_openmp.html +# https://www.gnu.org/software/autoconf-archive/ax_openmp.html # =========================================================================== # # SYNOPSIS @@ -39,6 +39,7 @@ # # Copyright (c) 2008 Steven G. Johnson # Copyright (c) 2015 John W. Peterson +# Copyright (c) 2016 Nick R. Papior # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the @@ -51,7 +52,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -66,16 +67,19 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 11 +#serial 13 AC_DEFUN([AX_OPENMP], [ AC_PREREQ([2.69]) dnl for _AC_LANG_PREFIX AC_CACHE_CHECK([for OpenMP flag of _AC_LANG compiler], ax_cv_[]_AC_LANG_ABBREV[]_openmp, [save[]_AC_LANG_PREFIX[]FLAGS=$[]_AC_LANG_PREFIX[]FLAGS ax_cv_[]_AC_LANG_ABBREV[]_openmp=unknown -# Flags to try: -fopenmp (gcc), -openmp (icc), -mp (SGI & PGI), -# -xopenmp (Sun), -omp (Tru64), -qsmp=omp (AIX), none -ax_openmp_flags="-fopenmp -openmp -mp -xopenmp -omp -qsmp=omp none" +# Flags to try: -fopenmp (gcc), -mp (SGI & PGI), +# -qopenmp (icc>=15), -openmp (icc), +# -xopenmp (Sun), -omp (Tru64), +# -qsmp=omp (AIX), +# none +ax_openmp_flags="-fopenmp -openmp -qopenmp -mp -xopenmp -omp -qsmp=omp none" if test "x$OPENMP_[]_AC_LANG_PREFIX[]FLAGS" != x; then ax_openmp_flags="$OPENMP_[]_AC_LANG_PREFIX[]FLAGS $ax_openmp_flags" fi diff -Nru autoconf-archive-20150925/m4/ax_patch_libtool_changing_cmds_ifs.m4 autoconf-archive-20170928/m4/ax_patch_libtool_changing_cmds_ifs.m4 --- autoconf-archive-20150925/m4/ax_patch_libtool_changing_cmds_ifs.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_patch_libtool_changing_cmds_ifs.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ====================================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_patch_libtool_changing_cmds_ifs.html -# ====================================================================================== +# ======================================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_patch_libtool_changing_cmds_ifs.html +# ======================================================================================= # # SYNOPSIS # @@ -57,7 +57,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -72,7 +72,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 6 +#serial 7 AU_ALIAS([PATCH_LIBTOOL_CHANGING_CMDS_IFS], [AX_PATCH_LIBTOOL_CHANGING_CMDS_IFS]) AC_DEFUN([AX_PATCH_LIBTOOL_CHANGING_CMDS_IFS], diff -Nru autoconf-archive-20150925/m4/ax_path_bdb.m4 autoconf-archive-20170928/m4/ax_path_bdb.m4 --- autoconf-archive-20150925/m4/ax_path_bdb.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_path_bdb.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_path_bdb.html +# https://www.gnu.org/software/autoconf-archive/ax_path_bdb.html # =========================================================================== # # SYNOPSIS @@ -73,7 +73,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 11 +#serial 15 dnl ######################################################################### AC_DEFUN([AX_PATH_BDB], [ @@ -202,7 +202,7 @@ # Check that we can link with the library. AC_SEARCH_LIBS([db_version], [db db-$MAJ.$MIN db$MAJ.$MIN db$MAJ$MIN db-$MAJ db$MAJ],[ - # Sucessfully found library. + # Successfully found library. ax_path_bdb_no_options_ok=yes BDB_VERSION=$HEADER_VERSION @@ -300,7 +300,7 @@ ax_path_bdb_path_find_highest_DIR='' - # find highest verison in default install directory for Berkeley DB + # find highest version in default install directory for Berkeley DB AS_VAR_PUSHDEF([CURDIR],[ax_path_bdb_path_find_highest_CURDIR])dnl AS_VAR_PUSHDEF([CUR_VERSION],[ax_path_bdb_path_get_version_VERSION])dnl diff -Nru autoconf-archive-20150925/m4/ax_path_generic.m4 autoconf-archive-20170928/m4/ax_path_generic.m4 --- autoconf-archive-20150925/m4/ax_path_generic.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_path_generic.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_path_generic.html +# https://www.gnu.org/software/autoconf-archive/ax_path_generic.html # =========================================================================== # # SYNOPSIS @@ -14,11 +14,11 @@ # 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'. Prefereable use +# 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 representes the expression used in sed +# 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'. # @@ -69,7 +69,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 13 +#serial 17 AU_ALIAS([AC_PATH_GENERIC], [AX_PATH_GENERIC]) AC_DEFUN([AX_PATH_GENERIC],[ diff -Nru autoconf-archive-20150925/m4/ax_path_lib_pcre.m4 autoconf-archive-20170928/m4/ax_path_lib_pcre.m4 --- autoconf-archive-20150925/m4/ax_path_lib_pcre.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_path_lib_pcre.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_path_lib_pcre.html +# https://www.gnu.org/software/autoconf-archive/ax_path_lib_pcre.html # =========================================================================== # # SYNOPSIS @@ -32,7 +32,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -47,7 +47,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 8 AC_DEFUN([AX_PATH_LIB_PCRE],[dnl AC_MSG_CHECKING([lib pcre]) diff -Nru autoconf-archive-20150925/m4/ax_path_milter.m4 autoconf-archive-20170928/m4/ax_path_milter.m4 --- autoconf-archive-20150925/m4/ax_path_milter.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_path_milter.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_path_milter.html +# https://www.gnu.org/software/autoconf-archive/ax_path_milter.html # =========================================================================== # # SYNOPSIS @@ -80,7 +80,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 9 +#serial 12 ############################################################################### AC_DEFUN([AX_PATH_MILTER], [ @@ -166,7 +166,7 @@ ac_milter_found_version=`echo "$ac_milter_tmp" | sed 's,.*/sendmail-,,;s,\([[0-9]]*\),x\1x,g;s,x\([[0-9]]\)x,x0\1x,g;s,x\([[0-9]][[0-9]]\)x,x0\1x,g;s,x,,g'` # If ac_milter_minimum_version is equal to ac_milter_lower_version, then - # the found version is greater than or equal to the minumum version. + # the found version is greater than or equal to the minimum version. # Pick the version string that is the lesser of the two. # An empty string would be less than anything. # In short, ac_milter_version_ok will equal yes if the version is ok, diff -Nru autoconf-archive-20150925/m4/ax_path_missing.m4 autoconf-archive-20170928/m4/ax_path_missing.m4 --- autoconf-archive-20150925/m4/ax_path_missing.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_path_missing.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_path_missing.html +# https://www.gnu.org/software/autoconf-archive/ax_path_missing.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 11 +#serial 12 AC_DEFUN([AX_PATH_MISSING], [ AC_PATH_PROG([$1],[$2],[$4]) diff -Nru autoconf-archive-20150925/m4/ax_perl_ext_flags.m4 autoconf-archive-20170928/m4/ax_perl_ext_flags.m4 --- autoconf-archive-20150925/m4/ax_perl_ext_flags.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_perl_ext_flags.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_perl_ext_flags.html +# https://www.gnu.org/software/autoconf-archive/ax_perl_ext_flags.html # =========================================================================== # # SYNOPSIS @@ -56,7 +56,7 @@ # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. -#serial 5 +#serial 8 AC_DEFUN([AX_PERL_EXT_CFLAGS], [AC_CHECK_PROG(PERL,perl,perl) @@ -91,7 +91,7 @@ dnl _AX_PERL_EXT_MODULE_CHECK(MODULE-NAME, ACTION-IF-FOUND, ACTION-IF-NOT-FOUND) dnl -dnl Check for the existance of the perl module given by MODULE-NAME. +dnl Check for the existence of the perl module given by MODULE-NAME. dnl AC_DEFUN([_AX_PERL_EXT_MODULE_CHECK], [AC_MSG_CHECKING([for perl module $1]) diff -Nru autoconf-archive-20150925/m4/ax_perl_ext.m4 autoconf-archive-20170928/m4/ax_perl_ext.m4 --- autoconf-archive-20150925/m4/ax_perl_ext.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_perl_ext.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_perl_ext.html +# https://www.gnu.org/software/autoconf-archive/ax_perl_ext.html # =========================================================================== # # SYNOPSIS @@ -57,7 +57,7 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # THE POSSIBILITY OF SUCH DAMAGE. -#serial 2 +#serial 3 AC_DEFUN([AX_PERL_EXT],[ diff -Nru autoconf-archive-20150925/m4/ax_perl_module_version.m4 autoconf-archive-20170928/m4/ax_perl_module_version.m4 --- autoconf-archive-20150925/m4/ax_perl_module_version.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_perl_module_version.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_perl_module_version.html +# https://www.gnu.org/software/autoconf-archive/ax_perl_module_version.html # =========================================================================== # # SYNOPSIS @@ -8,9 +8,9 @@ # # DESCRIPTION # -# Checks to see if the list of 'Module Version' are avaiable in the -# system. If all the modules in the list are avaiable ACTION-IF-TRUE is -# executed. Case one module is not avaiable ACTION-IF-FALSE is executed +# 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: @@ -28,7 +28,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 10 AU_ALIAS([AC_PERL_MODULE_VERSION], [AX_PERL_MODULE_VERSION]) AC_DEFUN([AX_PERL_MODULE_VERSION],[dnl diff -Nru autoconf-archive-20150925/m4/ax_pgsql_priv_root.m4 autoconf-archive-20170928/m4/ax_pgsql_priv_root.m4 --- autoconf-archive-20150925/m4/ax_pgsql_priv_root.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_pgsql_priv_root.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_pgsql_priv_root.html +# https://www.gnu.org/software/autoconf-archive/ax_pgsql_priv_root.html # =========================================================================== # # SYNOPSIS @@ -61,7 +61,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -76,7 +76,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 4 +#serial 5 AC_DEFUN([AX_CHECK_PGSQL_PRIV_ROOT], [ AC_REQUIRE([AX_PROG_PGCLIENT])dnl diff -Nru autoconf-archive-20150925/m4/ax_pkg_check_modules.m4 autoconf-archive-20170928/m4/ax_pkg_check_modules.m4 --- autoconf-archive-20150925/m4/ax_pkg_check_modules.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_pkg_check_modules.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_pkg_check_modules.html +# https://www.gnu.org/software/autoconf-archive/ax_pkg_check_modules.html # =========================================================================== # # SYNOPSIS @@ -50,7 +50,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_PKG_CHECK_MODULES],[ m4_define([ax_package_requires], diff -Nru autoconf-archive-20150925/m4/ax_pkg_mico.m4 autoconf-archive-20170928/m4/ax_pkg_mico.m4 --- autoconf-archive-20150925/m4/ax_pkg_mico.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_pkg_mico.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_pkg_mico.html +# https://www.gnu.org/software/autoconf-archive/ax_pkg_mico.html # =========================================================================== # # SYNOPSIS @@ -24,7 +24,7 @@ # 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 spcefied on the command line of +# 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 @@ -49,7 +49,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 9 AU_ALIAS([AC_PKG_MICO], [AX_PKG_MICO]) AC_DEFUN([AX_PKG_MICO], diff -Nru autoconf-archive-20150925/m4/ax_pkg_swig.m4 autoconf-archive-20170928/m4/ax_pkg_swig.m4 --- autoconf-archive-20150925/m4/ax_pkg_swig.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_pkg_swig.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_pkg_swig.html +# https://www.gnu.org/software/autoconf-archive/ax_pkg_swig.html # =========================================================================== # # SYNOPSIS @@ -48,7 +48,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -63,11 +63,11 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 11 +#serial 13 AC_DEFUN([AX_PKG_SWIG],[ - # Ubuntu has swig 2.0 as /usr/bin/swig2.0 - AC_PATH_PROGS([SWIG],[swig swig2.0]) + # Find path to the "swig" executable. + AC_PATH_PROGS([SWIG],[swig swig3.0 swig2.0]) if test -z "$SWIG" ; then m4_ifval([$3],[$3],[:]) elif test -n "$1" ; then diff -Nru autoconf-archive-20150925/m4/ax_prefix_config_h.m4 autoconf-archive-20170928/m4/ax_prefix_config_h.m4 --- autoconf-archive-20150925/m4/ax_prefix_config_h.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prefix_config_h.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prefix_config_h.html +# https://www.gnu.org/software/autoconf-archive/ax_prefix_config_h.html # =========================================================================== # # SYNOPSIS @@ -99,7 +99,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -114,7 +114,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 15 +#serial 16 AC_DEFUN([AX_PREFIX_CONFIG_H],[dnl AC_PREREQ([2.62]) diff -Nru autoconf-archive-20150925/m4/ax_printf_size_t.m4 autoconf-archive-20170928/m4/ax_printf_size_t.m4 --- autoconf-archive-20150925/m4/ax_printf_size_t.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_printf_size_t.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_printf_size_t.html +# https://www.gnu.org/software/autoconf-archive/ax_printf_size_t.html # =========================================================================== # # SYNOPSIS @@ -38,7 +38,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_DEFUN([AX_PRINTF_SIZE_T], [ diff -Nru autoconf-archive-20150925/m4/ax_print_to_file.m4 autoconf-archive-20170928/m4/ax_print_to_file.m4 --- autoconf-archive-20150925/m4/ax_print_to_file.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_print_to_file.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_print_to_file.html +# https://www.gnu.org/software/autoconf-archive/ax_print_to_file.html # =========================================================================== # # SYNOPSIS @@ -19,7 +19,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_PRINT_TO_FILE],[ AC_REQUIRE([AX_FILE_ESCAPES]) diff -Nru autoconf-archive-20150925/m4/ax_prog_apache.m4 autoconf-archive-20170928/m4/ax_prog_apache.m4 --- autoconf-archive-20150925/m4/ax_prog_apache.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_apache.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_apache.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_apache.html # =========================================================================== # # SYNOPSIS @@ -29,7 +29,7 @@ # 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 dynamicaly can use +# The httpd.conf file listing modules to be loaded dynamically can use # @APACHE_MODULES@ to grab them in the appropriate sub directory. For # instance: # @@ -54,7 +54,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -69,7 +69,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 4 +#serial 7 AU_ALIAS([AC_PROG_APACHE], [AX_PROG_APACHE]) AC_DEFUN([AX_PROG_APACHE], diff -Nru autoconf-archive-20150925/m4/ax_prog_bison.m4 autoconf-archive-20170928/m4/ax_prog_bison.m4 --- autoconf-archive-20150925/m4/ax_prog_bison.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_bison.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_bison.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_bison.html # =========================================================================== # # SYNOPSIS @@ -27,7 +27,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -42,7 +42,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 9 +#serial 10 AC_DEFUN([AX_PROG_BISON], [ AC_REQUIRE([AC_PROG_YACC]) diff -Nru autoconf-archive-20150925/m4/ax_prog_bison_version.m4 autoconf-archive-20170928/m4/ax_prog_bison_version.m4 --- autoconf-archive-20150925/m4/ax_prog_bison_version.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_bison_version.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_bison_version.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_bison_version.html # =========================================================================== # # SYNOPSIS @@ -34,7 +34,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_PROG_BISON_VERSION],[ AC_REQUIRE([AC_PROG_SED]) diff -Nru autoconf-archive-20150925/m4/ax_prog_cc_char_subscripts.m4 autoconf-archive-20170928/m4/ax_prog_cc_char_subscripts.m4 --- autoconf-archive-20150925/m4/ax_prog_cc_char_subscripts.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_cc_char_subscripts.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_cc_char_subscripts.html -# ============================================================================== +# =============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_prog_cc_char_subscripts.html +# =============================================================================== # # SYNOPSIS # @@ -32,7 +32,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -47,7 +47,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 8 AU_ALIAS([AC_PROG_CC_CHAR_SUBSCRIPTS], [AX_PROG_CC_CHAR_SUBSCRIPTS]) AC_DEFUN([AX_PROG_CC_CHAR_SUBSCRIPTS], [ diff -Nru autoconf-archive-20150925/m4/ax_prog_cc_for_build.m4 autoconf-archive-20170928/m4/ax_prog_cc_for_build.m4 --- autoconf-archive-20150925/m4/ax_prog_cc_for_build.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_cc_for_build.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html # =========================================================================== # # SYNOPSIS @@ -32,7 +32,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD]) AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl diff -Nru autoconf-archive-20150925/m4/ax_prog_cc_mpi.m4 autoconf-archive-20170928/m4/ax_prog_cc_mpi.m4 --- autoconf-archive-20150925/m4/ax_prog_cc_mpi.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_cc_mpi.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_cc_mpi.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_cc_mpi.html # =========================================================================== # # SYNOPSIS @@ -57,7 +57,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -72,7 +72,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 1 +#serial 2 AC_DEFUN([AX_PROG_CC_MPI], [ AC_PREREQ(2.50) diff -Nru autoconf-archive-20150925/m4/ax_prog_cp_s.m4 autoconf-archive-20170928/m4/ax_prog_cp_s.m4 --- autoconf-archive-20150925/m4/ax_prog_cp_s.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_cp_s.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_cp_s.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_cp_s.html # =========================================================================== # # SYNOPSIS @@ -41,7 +41,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -56,7 +56,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_PROG_CP_S], [AX_PROG_CP_S]) AC_DEFUN([AX_PROG_CP_S], diff -Nru autoconf-archive-20150925/m4/ax_prog_crontab.m4 autoconf-archive-20170928/m4/ax_prog_crontab.m4 --- autoconf-archive-20150925/m4/ax_prog_crontab.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_crontab.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_crontab.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_crontab.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -46,7 +46,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_PROG_CRONTAB], [AX_PROG_CRONTAB]) AC_DEFUN([AX_PROG_CRONTAB],[ diff -Nru autoconf-archive-20150925/m4/ax_prog_cxx_for_build.m4 autoconf-archive-20170928/m4/ax_prog_cxx_for_build.m4 --- autoconf-archive-20150925/m4/ax_prog_cxx_for_build.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_cxx_for_build.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_cxx_for_build.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_cxx_for_build.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AU_ALIAS([AC_PROG_CXX_FOR_BUILD], [AX_PROG_CXX_FOR_BUILD]) AC_DEFUN([AX_PROG_CXX_FOR_BUILD], [dnl diff -Nru autoconf-archive-20150925/m4/ax_prog_cxx_mpi.m4 autoconf-archive-20170928/m4/ax_prog_cxx_mpi.m4 --- autoconf-archive-20150925/m4/ax_prog_cxx_mpi.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_cxx_mpi.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_cxx_mpi.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_cxx_mpi.html # =========================================================================== # # SYNOPSIS @@ -57,7 +57,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -72,7 +72,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 2 +#serial 3 AC_DEFUN([AX_PROG_CXX_MPI], [ AC_PREREQ(2.50) diff -Nru autoconf-archive-20150925/m4/ax_prog_dotnetcore_version.m4 autoconf-archive-20170928/m4/ax_prog_dotnetcore_version.m4 --- autoconf-archive-20150925/m4/ax_prog_dotnetcore_version.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_dotnetcore_version.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,61 @@ +# =============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_prog_dotnetcore_version.html +# =============================================================================== +# +# 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. +# +# LICENSE +# +# Copyright (c) 2016 Jens Geyer +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +#serial 2 + +AC_DEFUN([AX_PROG_DOTNETCORE_VERSION],[ + AC_REQUIRE([AC_PROG_SED]) + + AS_IF([test -n "$DOTNETCORE"],[ + ax_dotnetcore_version="$1" + + AC_MSG_CHECKING([for .NET Core version]) + dotnetcore_version=`$DOTNETCORE --version 2>&1 | $SED -e 's/\(@<:@0-9@:>@*\.@<:@0-9@:>@*\.@<:@0-9@:>@*\)\(.*\)/\1/'` + AC_MSG_RESULT($dotnetcore_version) + + AC_SUBST([DOTNETCORE_VERSION],[$dotnetcore_version]) + + AX_COMPARE_VERSION([$ax_dotnetcore_version],[le],[$dotnetcore_version],[ + : + $2 + ],[ + : + $3 + ]) + ],[ + AC_MSG_WARN([could not find .NET Core]) + $3 + ]) +]) diff -Nru autoconf-archive-20150925/m4/ax_prog_doxygen.m4 autoconf-archive-20170928/m4/ax_prog_doxygen.m4 --- autoconf-archive-20150925/m4/ax_prog_doxygen.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_doxygen.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,10 +1,10 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_doxygen.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_doxygen.html # =========================================================================== # # SYNOPSIS # -# DX_INIT_DOXYGEN(PROJECT-NAME, DOXYFILE-PATH, [OUTPUT-DIR]) +# DX_INIT_DOXYGEN(PROJECT-NAME, [DOXYFILE-PATH], [OUTPUT-DIR], ...) # DX_DOXYGEN_FEATURE(ON|OFF) # DX_DOT_FEATURE(ON|OFF) # DX_HTML_FEATURE(ON|OFF) @@ -21,7 +21,7 @@ # 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 seperate .chi file by the +# 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. @@ -45,14 +45,19 @@ # 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 'Doxyfile', the same as Doxygen's default), and an optional -# output directory name (the default is 'doxygen-doc'). +# 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 following is a template aminclude.am file for use with Automake. -# Make targets and variables values are controlled by the various -# DX_COND_* conditionals set by autoconf. +# 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: # @@ -61,9 +66,7 @@ # 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, and some MAN). -# -# doxygen-man: Rename some doxygen generated man pages. +# for the rest of it (PS, PDF). # # doxygen-ps: Generate doxygen PostScript documentation. # @@ -84,178 +87,17 @@ # # Then add this variable to MOSTLYCLEANFILES. # -# ----- begin aminclude.am ------------------------------------- -# -# ## --------------------------------- ## -# ## Format-independent Doxygen rules. ## -# ## --------------------------------- ## -# -# if DX_COND_doc -# -# ## ------------------------------- ## -# ## Rules specific for HTML output. ## -# ## ------------------------------- ## -# -# if DX_COND_html -# -# DX_CLEAN_HTML = @DX_DOCDIR@/html -# -# endif DX_COND_html -# -# ## ------------------------------ ## -# ## Rules specific for CHM output. ## -# ## ------------------------------ ## -# -# if DX_COND_chm -# -# DX_CLEAN_CHM = @DX_DOCDIR@/chm -# -# if DX_COND_chi -# -# DX_CLEAN_CHI = @DX_DOCDIR@/@PACKAGE@.chi -# -# endif DX_COND_chi -# -# endif DX_COND_chm -# -# ## ------------------------------ ## -# ## Rules specific for MAN output. ## -# ## ------------------------------ ## -# -# if DX_COND_man -# -# DX_CLEAN_MAN = @DX_DOCDIR@/man -# -# endif DX_COND_man -# -# ## ------------------------------ ## -# ## Rules specific for RTF output. ## -# ## ------------------------------ ## -# -# if DX_COND_rtf -# -# DX_CLEAN_RTF = @DX_DOCDIR@/rtf -# -# endif DX_COND_rtf -# -# ## ------------------------------ ## -# ## Rules specific for XML output. ## -# ## ------------------------------ ## -# -# if DX_COND_xml -# -# DX_CLEAN_XML = @DX_DOCDIR@/xml -# -# endif DX_COND_xml -# -# ## ----------------------------- ## -# ## Rules specific for PS output. ## -# ## ----------------------------- ## -# -# if DX_COND_ps -# -# DX_CLEAN_PS = @DX_DOCDIR@/@PACKAGE@.ps -# -# DX_PS_GOAL = doxygen-ps -# -# doxygen-ps: @DX_DOCDIR@/@PACKAGE@.ps -# -# @DX_DOCDIR@/@PACKAGE@.ps: @DX_DOCDIR@/@PACKAGE@.tag -# cd @DX_DOCDIR@/latex; \ -# rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \ -# $(DX_LATEX) refman.tex; \ -# $(MAKEINDEX_PATH) refman.idx; \ -# $(DX_LATEX) refman.tex; \ -# countdown=5; \ -# while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \ -# refman.log > /dev/null 2>&1 \ -# && test $$countdown -gt 0; do \ -# $(DX_LATEX) refman.tex; \ -# countdown=`expr $$countdown - 1`; \ -# done; \ -# $(DX_DVIPS) -o ../@PACKAGE@.ps refman.dvi -# -# endif DX_COND_ps -# -# ## ------------------------------ ## -# ## Rules specific for PDF output. ## -# ## ------------------------------ ## -# -# if DX_COND_pdf -# -# DX_CLEAN_PDF = @DX_DOCDIR@/@PACKAGE@.pdf -# -# DX_PDF_GOAL = doxygen-pdf -# -# doxygen-pdf: @DX_DOCDIR@/@PACKAGE@.pdf -# -# @DX_DOCDIR@/@PACKAGE@.pdf: @DX_DOCDIR@/@PACKAGE@.tag -# cd @DX_DOCDIR@/latex; \ -# rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \ -# $(DX_PDFLATEX) refman.tex; \ -# $(DX_MAKEINDEX) refman.idx; \ -# $(DX_PDFLATEX) refman.tex; \ -# countdown=5; \ -# while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \ -# refman.log > /dev/null 2>&1 \ -# && test $$countdown -gt 0; do \ -# $(DX_PDFLATEX) refman.tex; \ -# countdown=`expr $$countdown - 1`; \ -# done; \ -# mv refman.pdf ../@PACKAGE@.pdf -# -# endif DX_COND_pdf -# -# ## ------------------------------------------------- ## -# ## Rules specific for LaTeX (shared for PS and PDF). ## -# ## ------------------------------------------------- ## -# -# if DX_COND_latex -# -# DX_CLEAN_LATEX = @DX_DOCDIR@/latex -# -# endif DX_COND_latex -# -# .PHONY: doxygen-run doxygen-doc $(DX_PS_GOAL) $(DX_PDF_GOAL) -# -# .INTERMEDIATE: doxygen-run $(DX_PS_GOAL) $(DX_PDF_GOAL) -# -# doxygen-run: @DX_DOCDIR@/@PACKAGE@.tag -# -# doxygen-doc: doxygen-run $(DX_PS_GOAL) $(DX_PDF_GOAL) -# -# @DX_DOCDIR@/@PACKAGE@.tag: $(DX_CONFIG) $(pkginclude_HEADERS) -# rm -rf @DX_DOCDIR@ -# $(DX_ENV) $(DX_DOXYGEN) $(srcdir)/$(DX_CONFIG) -# echo Timestamp >$@ -# -# DX_CLEANFILES = \ -# @DX_DOCDIR@/@PACKAGE@.tag \ -# -r \ -# $(DX_CLEAN_HTML) \ -# $(DX_CLEAN_CHM) \ -# $(DX_CLEAN_CHI) \ -# $(DX_CLEAN_MAN) \ -# $(DX_CLEAN_RTF) \ -# $(DX_CLEAN_XML) \ -# $(DX_CLEAN_PS) \ -# $(DX_CLEAN_PDF) \ -# $(DX_CLEAN_LATEX) -# -# endif DX_COND_doc -# -# ----- end aminclude.am --------------------------------------- -# # LICENSE # # Copyright (c) 2009 Oren Ben-Kiki +# Copyright (c) 2015 Olaf Mandel # # Copying and distribution of this file, with or without modification, are # permitted in any medium without royalty provided the copyright notice # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 13 +#serial 23 ## ----------## ## Defaults. ## @@ -279,8 +121,14 @@ # DX_ENV_APPEND(VARIABLE, VALUE) # ------------------------------ -# Append VARIABLE="VALUE" to DX_ENV for invoking doxygen. -AC_DEFUN([DX_ENV_APPEND], [AC_SUBST([DX_ENV], ["$DX_ENV $1='$2'"])]) +# Append VARIABLE="VALUE" to DX_ENV for invoking doxygen and add it +# as a substitution (but not a Makefile variable). The substitution +# is skipped if the variable name is VERSION. +AC_DEFUN([DX_ENV_APPEND], +[AC_SUBST([DX_ENV], ["$DX_ENV $1='$2'"])dnl +m4_if([$1], [VERSION], [], [AC_SUBST([$1], [$2])dnl +AM_SUBST_NOTMAKE([$1])])dnl +]) # DX_DIRNAME_EXPR # --------------- @@ -365,7 +213,6 @@ $5 : fi -AM_CONDITIONAL(DX_COND_$1, DX_TEST_FEATURE([$1])) if DX_TEST_FEATURE([$1]); then $6 : @@ -393,21 +240,34 @@ AC_DEFUN([DX_PDF_FEATURE], [AC_DEFUN([DX_FEATURE_pdf], [$1])]) AC_DEFUN([DX_PS_FEATURE], [AC_DEFUN([DX_FEATURE_ps], [$1])]) -# DX_INIT_DOXYGEN(PROJECT, [CONFIG-FILE], [OUTPUT-DOC-DIR]) -# --------------------------------------------------------- +# DX_INIT_DOXYGEN(PROJECT, [CONFIG-FILE], [OUTPUT-DOC-DIR], ...) +# -------------------------------------------------------------- # PROJECT also serves as the base name for the documentation files. -# The default CONFIG-FILE is "Doxyfile" and OUTPUT-DOC-DIR is "doxygen-doc". +# The default CONFIG-FILE is "$(srcdir)/Doxyfile" and OUTPUT-DOC-DIR is +# "doxygen-doc". +# More arguments are interpreted as interleaved CONFIG-FILE and +# OUTPUT-DOC-DIR values. AC_DEFUN([DX_INIT_DOXYGEN], [ # Files: AC_SUBST([DX_PROJECT], [$1]) -AC_SUBST([DX_CONFIG], [ifelse([$2], [], Doxyfile, [$2])]) -AC_SUBST([DX_DOCDIR], [ifelse([$3], [], doxygen-doc, [$3])]) +AC_SUBST([DX_CONFIG], ['ifelse([$2], [], [$(srcdir)/Doxyfile], [$2])']) +AC_SUBST([DX_DOCDIR], ['ifelse([$3], [], [doxygen-doc], [$3])']) +m4_if(m4_eval(3 < m4_count($@)), 1, [m4_for([DX_i], 4, m4_count($@), 2, + [AC_SUBST([DX_CONFIG]m4_eval(DX_i[/2]), + 'm4_default_nblank_quoted(m4_argn(DX_i, $@), + [$(srcdir)/Doxyfile])')])])dnl +m4_if(m4_eval(3 < m4_count($@)), 1, [m4_for([DX_i], 5, m4_count($@,), 2, + [AC_SUBST([DX_DOCDIR]m4_eval([(]DX_i[-1)/2]), + 'm4_default_nblank_quoted(m4_argn(DX_i, $@), + [doxygen-doc])')])])dnl +m4_define([DX_loop], m4_dquote(m4_if(m4_eval(3 < m4_count($@)), 1, + [m4_for([DX_i], 4, m4_count($@), 2, [, m4_eval(DX_i[/2])])], + [])))dnl # Environment variables used inside doxygen.cfg: DX_ENV_APPEND(SRCDIR, $srcdir) DX_ENV_APPEND(PROJECT, $DX_PROJECT) -DX_ENV_APPEND(DOCDIR, $DX_DOCDIR) DX_ENV_APPEND(VERSION, $PACKAGE_VERSION) # Doxygen itself: @@ -461,8 +321,8 @@ DX_ENV_APPEND(GENERATE_HTMLHELP, YES)], [DX_ENV_APPEND(GENERATE_HTMLHELP, NO)]) -# Seperate CHI file generation. -DX_ARG_ABLE(chi, [generate doxygen seperate compressed HTML help index file], +# Separate CHI file generation. +DX_ARG_ABLE(chi, [generate doxygen separate compressed HTML help index file], [DX_CHECK_DEPEND(chm, 1)], [DX_CLEAR_DEPEND(chm, 1)], [], @@ -495,7 +355,6 @@ DX_REQUIRE_PROG([DX_EGREP], egrep)]) # LaTeX generation for PS and/or PDF: -AM_CONDITIONAL(DX_COND_latex, DX_TEST_FEATURE(ps) || DX_TEST_FEATURE(pdf)) if DX_TEST_FEATURE(ps) || DX_TEST_FEATURE(pdf); then DX_ENV_APPEND(GENERATE_LATEX, YES) else @@ -518,6 +377,200 @@ ;; esac +# Rules: +AS_IF([[test $DX_FLAG_html -eq 1]], +[[DX_SNIPPET_html="## ------------------------------- ## +## Rules specific for HTML output. ## +## ------------------------------- ## + +DX_CLEAN_HTML = \$(DX_DOCDIR)/html]dnl +m4_foreach([DX_i], [m4_shift(DX_loop)], [[\\ + \$(DX_DOCDIR]DX_i[)/html]])[ + +"]], +[[DX_SNIPPET_html=""]]) +AS_IF([[test $DX_FLAG_chi -eq 1]], +[[DX_SNIPPET_chi=" +DX_CLEAN_CHI = \$(DX_DOCDIR)/\$(PACKAGE).chi]dnl +m4_foreach([DX_i], [m4_shift(DX_loop)], [[\\ + \$(DX_DOCDIR]DX_i[)/\$(PACKAGE).chi]])["]], +[[DX_SNIPPET_chi=""]]) +AS_IF([[test $DX_FLAG_chm -eq 1]], +[[DX_SNIPPET_chm="## ------------------------------ ## +## Rules specific for CHM output. ## +## ------------------------------ ## + +DX_CLEAN_CHM = \$(DX_DOCDIR)/chm]dnl +m4_foreach([DX_i], [m4_shift(DX_loop)], [[\\ + \$(DX_DOCDIR]DX_i[)/chm]])[\ +${DX_SNIPPET_chi} + +"]], +[[DX_SNIPPET_chm=""]]) +AS_IF([[test $DX_FLAG_man -eq 1]], +[[DX_SNIPPET_man="## ------------------------------ ## +## Rules specific for MAN output. ## +## ------------------------------ ## + +DX_CLEAN_MAN = \$(DX_DOCDIR)/man]dnl +m4_foreach([DX_i], [m4_shift(DX_loop)], [[\\ + \$(DX_DOCDIR]DX_i[)/man]])[ + +"]], +[[DX_SNIPPET_man=""]]) +AS_IF([[test $DX_FLAG_rtf -eq 1]], +[[DX_SNIPPET_rtf="## ------------------------------ ## +## Rules specific for RTF output. ## +## ------------------------------ ## + +DX_CLEAN_RTF = \$(DX_DOCDIR)/rtf]dnl +m4_foreach([DX_i], [m4_shift(DX_loop)], [[\\ + \$(DX_DOCDIR]DX_i[)/rtf]])[ + +"]], +[[DX_SNIPPET_rtf=""]]) +AS_IF([[test $DX_FLAG_xml -eq 1]], +[[DX_SNIPPET_xml="## ------------------------------ ## +## Rules specific for XML output. ## +## ------------------------------ ## + +DX_CLEAN_XML = \$(DX_DOCDIR)/xml]dnl +m4_foreach([DX_i], [m4_shift(DX_loop)], [[\\ + \$(DX_DOCDIR]DX_i[)/xml]])[ + +"]], +[[DX_SNIPPET_xml=""]]) +AS_IF([[test $DX_FLAG_ps -eq 1]], +[[DX_SNIPPET_ps="## ----------------------------- ## +## Rules specific for PS output. ## +## ----------------------------- ## + +DX_CLEAN_PS = \$(DX_DOCDIR)/\$(PACKAGE).ps]dnl +m4_foreach([DX_i], [m4_shift(DX_loop)], [[\\ + \$(DX_DOCDIR]DX_i[)/\$(PACKAGE).ps]])[ + +DX_PS_GOAL = doxygen-ps + +doxygen-ps: \$(DX_CLEAN_PS) + +]m4_foreach([DX_i], [DX_loop], +[[\$(DX_DOCDIR]DX_i[)/\$(PACKAGE).ps: \$(DX_DOCDIR]DX_i[)/\$(PACKAGE).tag + \$(DX_V_LATEX)cd \$(DX_DOCDIR]DX_i[)/latex; \\ + rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \\ + \$(DX_LATEX) refman.tex; \\ + \$(DX_MAKEINDEX) refman.idx; \\ + \$(DX_LATEX) refman.tex; \\ + countdown=5; \\ + while \$(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \\ + refman.log > /dev/null 2>&1 \\ + && test \$\$countdown -gt 0; do \\ + \$(DX_LATEX) refman.tex; \\ + countdown=\`expr \$\$countdown - 1\`; \\ + done; \\ + \$(DX_DVIPS) -o ../\$(PACKAGE).ps refman.dvi + +]])["]], +[[DX_SNIPPET_ps=""]]) +AS_IF([[test $DX_FLAG_pdf -eq 1]], +[[DX_SNIPPET_pdf="## ------------------------------ ## +## Rules specific for PDF output. ## +## ------------------------------ ## + +DX_CLEAN_PDF = \$(DX_DOCDIR)/\$(PACKAGE).pdf]dnl +m4_foreach([DX_i], [m4_shift(DX_loop)], [[\\ + \$(DX_DOCDIR]DX_i[)/\$(PACKAGE).pdf]])[ + +DX_PDF_GOAL = doxygen-pdf + +doxygen-pdf: \$(DX_CLEAN_PDF) + +]m4_foreach([DX_i], [DX_loop], +[[\$(DX_DOCDIR]DX_i[)/\$(PACKAGE).pdf: \$(DX_DOCDIR]DX_i[)/\$(PACKAGE).tag + \$(DX_V_LATEX)cd \$(DX_DOCDIR]DX_i[)/latex; \\ + rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \\ + \$(DX_PDFLATEX) refman.tex; \\ + \$(DX_MAKEINDEX) refman.idx; \\ + \$(DX_PDFLATEX) refman.tex; \\ + countdown=5; \\ + while \$(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \\ + refman.log > /dev/null 2>&1 \\ + && test \$\$countdown -gt 0; do \\ + \$(DX_PDFLATEX) refman.tex; \\ + countdown=\`expr \$\$countdown - 1\`; \\ + done; \\ + mv refman.pdf ../\$(PACKAGE).pdf + +]])["]], +[[DX_SNIPPET_pdf=""]]) +AS_IF([[test $DX_FLAG_ps -eq 1 -o $DX_FLAG_pdf -eq 1]], +[[DX_SNIPPET_latex="## ------------------------------------------------- ## +## Rules specific for LaTeX (shared for PS and PDF). ## +## ------------------------------------------------- ## + +DX_V_LATEX = \$(_DX_v_LATEX_\$(V)) +_DX_v_LATEX_ = \$(_DX_v_LATEX_\$(AM_DEFAULT_VERBOSITY)) +_DX_v_LATEX_0 = @echo \" LATEX \" \$][@; + +DX_CLEAN_LATEX = \$(DX_DOCDIR)/latex]dnl +m4_foreach([DX_i], [m4_shift(DX_loop)], [[\\ + \$(DX_DOCDIR]DX_i[)/latex]])[ + +"]], +[[DX_SNIPPET_latex=""]]) + +AS_IF([[test $DX_FLAG_doc -eq 1]], +[[DX_SNIPPET_doc="## --------------------------------- ## +## Format-independent Doxygen rules. ## +## --------------------------------- ## + +${DX_SNIPPET_html}\ +${DX_SNIPPET_chm}\ +${DX_SNIPPET_man}\ +${DX_SNIPPET_rtf}\ +${DX_SNIPPET_xml}\ +${DX_SNIPPET_ps}\ +${DX_SNIPPET_pdf}\ +${DX_SNIPPET_latex}\ +DX_V_DXGEN = \$(_DX_v_DXGEN_\$(V)) +_DX_v_DXGEN_ = \$(_DX_v_DXGEN_\$(AM_DEFAULT_VERBOSITY)) +_DX_v_DXGEN_0 = @echo \" DXGEN \" \$<; + +.PHONY: doxygen-run doxygen-doc \$(DX_PS_GOAL) \$(DX_PDF_GOAL) + +.INTERMEDIATE: doxygen-run \$(DX_PS_GOAL) \$(DX_PDF_GOAL) + +doxygen-run:]m4_foreach([DX_i], [DX_loop], + [[ \$(DX_DOCDIR]DX_i[)/\$(PACKAGE).tag]])[ + +doxygen-doc: doxygen-run \$(DX_PS_GOAL) \$(DX_PDF_GOAL) + +]m4_foreach([DX_i], [DX_loop], +[[\$(DX_DOCDIR]DX_i[)/\$(PACKAGE).tag: \$(DX_CONFIG]DX_i[) \$(pkginclude_HEADERS) + \$(A""M_V_at)rm -rf \$(DX_DOCDIR]DX_i[) + \$(DX_V_DXGEN)\$(DX_ENV) DOCDIR=\$(DX_DOCDIR]DX_i[) \$(DX_DOXYGEN) \$(DX_CONFIG]DX_i[) + \$(A""M_V_at)echo Timestamp >\$][@ + +]])dnl +[DX_CLEANFILES = \\] +m4_foreach([DX_i], [DX_loop], +[[ \$(DX_DOCDIR]DX_i[)/doxygen_sqlite3.db \\ + \$(DX_DOCDIR]DX_i[)/\$(PACKAGE).tag \\ +]])dnl +[ -r \\ + \$(DX_CLEAN_HTML) \\ + \$(DX_CLEAN_CHM) \\ + \$(DX_CLEAN_CHI) \\ + \$(DX_CLEAN_MAN) \\ + \$(DX_CLEAN_RTF) \\ + \$(DX_CLEAN_XML) \\ + \$(DX_CLEAN_PS) \\ + \$(DX_CLEAN_PDF) \\ + \$(DX_CLEAN_LATEX)"]], +[[DX_SNIPPET_doc=""]]) +AC_SUBST([DX_RULES], +["${DX_SNIPPET_doc}"])dnl +AM_SUBST_NOTMAKE([DX_RULES]) + #For debugging: #echo DX_FLAG_doc=$DX_FLAG_doc #echo DX_FLAG_dot=$DX_FLAG_dot diff -Nru autoconf-archive-20150925/m4/ax_prog_emacs.m4 autoconf-archive-20170928/m4/ax_prog_emacs.m4 --- autoconf-archive-20150925/m4/ax_prog_emacs.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_emacs.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,68 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_prog_emacs.html +# =========================================================================== +# +# 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. +# +# 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 . +# +# As a special exception, the respective Autoconf Macro's copyright owner +# gives unlimited permission to copy, distribute and modify the configure +# scripts that are the output of Autoconf when processing the Macro. You +# need not follow the terms of the GNU General Public License when using +# or distributing such scripts, even though portions of the text of the +# Macro appear in them. The GNU General Public License (GPL) does govern +# all other use of the material that constitutes the Autoconf Macro. +# +# This special exception to the GPL applies to versions of the Autoconf +# Macro released by the Autoconf Archive. When you make and distribute a +# modified version of the Autoconf Macro, you may extend this special +# exception to the GPL to apply to your modified version as well. + +#serial 2 + +AC_DEFUN([AX_PROG_EMACS],[dnl +AC_ARG_VAR([EMACS],[Use this Emacs to byte-compile the Emacs Lisp files.]) +dnl Allow env override but do not get fooled by 'EMACS=t'. +test t = "$EMACS" && unset EMACS +dnl The next line does nothing if var 'EMACS' is already set. +AC_CHECK_PROG([EMACS], [emacs], [emacs]) +AS_IF([test "x$EMACS" = x],[AC_MSG_ERROR([Emacs not found; required!])]) +])dnl + +dnl ax_prog_emacs.m4 ends here diff -Nru autoconf-archive-20150925/m4/ax_prog_f77_mpi.m4 autoconf-archive-20170928/m4/ax_prog_f77_mpi.m4 --- autoconf-archive-20150925/m4/ax_prog_f77_mpi.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_f77_mpi.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_f77_mpi.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_f77_mpi.html # =========================================================================== # # SYNOPSIS @@ -57,7 +57,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -72,7 +72,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 2 +#serial 3 AC_DEFUN([AX_PROG_F77_MPI], [ AC_PREREQ(2.50) diff -Nru autoconf-archive-20150925/m4/ax_prog_fasm.m4 autoconf-archive-20170928/m4/ax_prog_fasm.m4 --- autoconf-archive-20150925/m4/ax_prog_fasm.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_fasm.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_fasm.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_fasm.html # =========================================================================== # # SYNOPSIS @@ -33,7 +33,7 @@ # 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 . +# along with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -48,7 +48,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 9 +#serial 10 AC_DEFUN([AX_PROG_FASM],[ AC_CHECK_PROGS(fasm,[fasm],no) diff -Nru autoconf-archive-20150925/m4/ax_prog_fasm_opt.m4 autoconf-archive-20170928/m4/ax_prog_fasm_opt.m4 --- autoconf-archive-20150925/m4/ax_prog_fasm_opt.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_fasm_opt.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_fasm_opt.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_fasm_opt.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # 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 . +# along with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -46,7 +46,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 8 +#serial 9 AC_DEFUN([AX_PROG_FASM_OPT],[ AC_REQUIRE([AX_PROG_FASM])dnl diff -Nru autoconf-archive-20150925/m4/ax_prog_fc_mpi.m4 autoconf-archive-20170928/m4/ax_prog_fc_mpi.m4 --- autoconf-archive-20150925/m4/ax_prog_fc_mpi.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_fc_mpi.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_fc_mpi.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_fc_mpi.html # =========================================================================== # # SYNOPSIS @@ -57,7 +57,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -72,7 +72,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 2 +#serial 3 AC_DEFUN([AX_PROG_FC_MPI], [ AC_PREREQ(2.50) diff -Nru autoconf-archive-20150925/m4/ax_prog_fig2dev.m4 autoconf-archive-20170928/m4/ax_prog_fig2dev.m4 --- autoconf-archive-20150925/m4/ax_prog_fig2dev.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_fig2dev.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_fig2dev.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_fig2dev.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([VL_PROG_FIG2DEV], [AX_PROG_FIG2DEV]) AC_DEFUN([AX_PROG_FIG2DEV], [ diff -Nru autoconf-archive-20150925/m4/ax_prog_flex.m4 autoconf-archive-20170928/m4/ax_prog_flex.m4 --- autoconf-archive-20150925/m4/ax_prog_flex.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_flex.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_flex.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_flex.html # =========================================================================== # # SYNOPSIS @@ -27,7 +27,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -42,7 +42,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 12 +#serial 13 AC_DEFUN([AX_PROG_FLEX], [ AC_REQUIRE([AM_PROG_LEX]) diff -Nru autoconf-archive-20150925/m4/ax_prog_flex_version.m4 autoconf-archive-20170928/m4/ax_prog_flex_version.m4 --- autoconf-archive-20150925/m4/ax_prog_flex_version.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_flex_version.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_flex_version.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_flex_version.html # =========================================================================== # # SYNOPSIS @@ -34,7 +34,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_DEFUN([AX_PROG_FLEX_VERSION],[ AC_REQUIRE([AC_PROG_SED]) diff -Nru autoconf-archive-20150925/m4/ax_prog_gjs.m4 autoconf-archive-20170928/m4/ax_prog_gjs.m4 --- autoconf-archive-20150925/m4/ax_prog_gjs.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_gjs.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,56 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_prog_gjs.html +# =========================================================================== +# +# 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. +# +# LICENSE +# +# Copyright (c) 2013, 2016 Endless Mobile, Inc.; contributed by Philip Chimento +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +#serial 3 + +AC_DEFUN_ONCE([AX_PROG_GJS], [ + AC_REQUIRE([PKG_PROG_PKG_CONFIG]) + AC_ARG_VAR([GJS], [Path to GJS interpreter]) + AC_MSG_CHECKING([for GJS]) + AS_IF([pkg-config --exists gjs-1.0], [ + GJS=`pkg-config --variable=gjs_console gjs-1.0` + AC_MSG_RESULT([(pkg-config) $GJS]) + ], [ + AC_PATH_PROG([GJS], [gjs], [notfound]) + AC_MSG_RESULT([(path) $GJS]) + ]) + AS_IF([test "x$GJS" = "xnotfound"], + [AC_MSG_ERROR([GJS is required, but was not found. If GJS is +installed, try passing its path in an environment variable, +for example GJS=/path/to/gjs.])]) +]) + +# _AX_GJS_IFELSE(program, [action-if-true], [action-if-false]) +# ------------------------------------------------------------- +# Comparable to AC_RUN_IFELSE(), but runs the program using GJS +# instead of trying to compile it and link it. +# Used by AX_CHECK_GIRS_GJS and AX_CHECK_GIR_SYMBOLS_GJS. + +AC_DEFUN([_AX_GJS_IFELSE], [ + AC_REQUIRE([AX_PROG_GJS]) + echo "$1" >conftest.js + $GJS conftest.js >>config.log 2>&1 + AS_IF([test $? -eq 0], [$2], [$3]) +]) diff -Nru autoconf-archive-20150925/m4/ax_prog_guile_version.m4 autoconf-archive-20170928/m4/ax_prog_guile_version.m4 --- autoconf-archive-20150925/m4/ax_prog_guile_version.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_guile_version.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_guile_version.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_guile_version.html # =========================================================================== # # SYNOPSIS @@ -35,7 +35,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 10 +#serial 11 AC_DEFUN([AX_PROG_GUILE_VERSION],[ AC_REQUIRE([AC_PROG_SED]) diff -Nru autoconf-archive-20150925/m4/ax_prog_haxe_version.m4 autoconf-archive-20170928/m4/ax_prog_haxe_version.m4 --- autoconf-archive-20150925/m4/ax_prog_haxe_version.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_haxe_version.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_haxe_version.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_haxe_version.html # =========================================================================== # # SYNOPSIS @@ -32,7 +32,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_DEFUN([AX_PROG_HAXE_VERSION],[ AC_REQUIRE([AC_PROG_SED]) diff -Nru autoconf-archive-20150925/m4/ax_prog_help2man.m4 autoconf-archive-20170928/m4/ax_prog_help2man.m4 --- autoconf-archive-20150925/m4/ax_prog_help2man.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_help2man.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,212 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_prog_help2man.html +# =========================================================================== +# +# 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. : 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. : directory prefix of the man pages directory +# +# Sets AX_HELP2MAN_PREFIX_MANS to . 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. : +# +# Sets AX_HELP2MAN_PREFIX_BIN to . 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. +# +# LICENSE +# +# Copyright (c) 2017 Harenome Ranaivoarivony-Razanajato +# +# This program is free software; you can 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 . + +#serial 1 + +AC_DEFUN_ONCE([AX_PROG_HELP2MAN], +[ + dnl The make rules use 'AM_V_P' and 'AM_V_at' which may not be known. + m4_pattern_allow(AM_V_P) + m4_pattern_allow(AM_V_at) + + dnl Provide an option for the configure script, and check whether help2man + dnl is available and whether the user wants to use it. + AC_ARG_ENABLE(help2man, + [AS_HELP_STRING([--disable-help2man], [Disable help2man man generation])]) + AC_PATH_PROG(HELP2MAN, help2man, false) + AS_IF([test "x$enable_help2man" = "xno"], [HELP2MAN="false"]) + AM_CONDITIONAL([HAVE_HELP2MAN], [test "x$HELP2MAN" != "xfalse"]) + + dnl Default to 'doc' and $(top_builddir) if no prefixes were provided + AC_SUBST(AX_HELP2MAN_PREFIX_MANS, "\$(top_builddir)/m4_ifblank([$2], [doc/man/man1], [$2])") + AC_SUBST(AX_HELP2MAN_PREFIX_BIN, "m4_ifblank([$3], [\$(top_builddir)], [$3])") + + ax_help2man_targets_text="" + m4_ifblank([$1], + dnl if no executable path was specified, default to $(PACKAGE_NAME) + [ + ax_help2man_mans_list='$(AX_HELP2MAN_PREFIX_MANS)/$(PACKAGE_NAME).1' + ax_help2man_targets_text='$(AX_HELP2MAN_PREFIX_MANS)/pandohedra.1: $(AX_HELP2MAN_PREFIX_BIN)/pandohedra' + ], + dnl else, (if executable path(s) were specified), create rules for each target + [ + m4_foreach(target, [$1], + [ + ax_help2man_target="target" + ax_help2man_target_name=$(basename "${ax_help2man_target}") + ax_help2man_mans_list="${ax_help2man_mans_list} "'$(AX_HELP2MAN_PREFIX_MANS)/'"${ax_help2man_target_name}"'.1' + ax_help2man_targets_text="${ax_help2man_targets_text} +"'$(AX_HELP2MAN_PREFIX_MANS)/'"${ax_help2man_target_name}"'.1: $(AX_HELP2MAN_PREFIX_BIN)/'"${ax_help2man_target}" + ]) + ]) + + dnl Reminder for $ax_help2man_rules_text: + dnl Do not insert spaces here, make rules require tabs for indentation! + dnl + dnl $(shell dirname $<)/$(shell basename $<) instead of merely $<: + dnl if the make rule prerequisite + dnl (i.e the input program for help2man) is at the root of the directory, the + dnl prerequisite text will only contain the name of the file. However, + dnl help2man needs the leading './'... Fortunately, dirname returns '.' if its + dnl input does not contain slashes! + ax_help2man_rules_text=' +# Rule to create the directory for man 1 pages +$(AX_HELP2MAN_PREFIX_MANS): + $(AM_V_at)$(MKDIR_P) @S|@@ + +# Generic rule to create manpages using help2man +$(ax_help2man_MANS): | $(AX_HELP2MAN_PREFIX_MANS) + @if ! $(AM_V_P); then printf " %-8s %s\n" "HELP2MAN" "@S|@@"; fi + $(AM_V_at)-$(HELP2MAN) -l -N --output="@S|@@" --name="$(shell basename $<)" "$(shell dirname $<)/$(shell basename $<)" + +# Targets +'"${ax_help2man_targets_text}" + + AC_SUBST([ax_help2man_MANS], ["${ax_help2man_mans_list}"]) + AC_SUBST([AX_HELP2MAN_RULES], ["${ax_help2man_rules_text}"]) + AM_SUBST_NOTMAKE([AX_HELP2MAN_RULES]) +]) diff -Nru autoconf-archive-20150925/m4/ax_prog_hla.m4 autoconf-archive-20170928/m4/ax_prog_hla.m4 --- autoconf-archive-20150925/m4/ax_prog_hla.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_hla.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_hla.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_hla.html # =========================================================================== # # SYNOPSIS @@ -33,7 +33,7 @@ # 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 . +# along with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -48,7 +48,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 9 +#serial 10 AC_DEFUN([AX_PROG_HLA],[ AC_CHECK_PROGS(hla,[hla],no) diff -Nru autoconf-archive-20150925/m4/ax_prog_hla_opt.m4 autoconf-archive-20170928/m4/ax_prog_hla_opt.m4 --- autoconf-archive-20150925/m4/ax_prog_hla_opt.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_hla_opt.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_hla_opt.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_hla_opt.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # 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 . +# along with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -46,7 +46,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 8 +#serial 9 AC_DEFUN([AX_PROG_HLA_OPT],[ AC_REQUIRE([AX_PROG_HLA])dnl diff -Nru autoconf-archive-20150925/m4/ax_prog_httpd.m4 autoconf-archive-20170928/m4/ax_prog_httpd.m4 --- autoconf-archive-20150925/m4/ax_prog_httpd.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_httpd.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_httpd.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_httpd.html # =========================================================================== # # SYNOPSIS @@ -40,7 +40,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -55,7 +55,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_PROG_HTTPD], [AX_PROG_HTTPD]) AC_DEFUN([AX_PROG_HTTPD],[ diff -Nru autoconf-archive-20150925/m4/ax_prog_jar.m4 autoconf-archive-20170928/m4/ax_prog_jar.m4 --- autoconf-archive-20150925/m4/ax_prog_jar.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_jar.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_jar.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_jar.html # =========================================================================== # # SYNOPSIS @@ -37,7 +37,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AU_ALIAS([AC_PROG_JAR], [AX_PROG_JAR]) AC_DEFUN([AX_PROG_JAR],[ diff -Nru autoconf-archive-20150925/m4/ax_prog_java_cc.m4 autoconf-archive-20170928/m4/ax_prog_java_cc.m4 --- autoconf-archive-20150925/m4/ax_prog_java_cc.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_java_cc.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_java_cc.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_java_cc.html # =========================================================================== # # SYNOPSIS @@ -56,7 +56,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -71,7 +71,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 4 +#serial 5 # AX_PROG_JAVA_CC([COMPILER ...]) # -------------------------- diff -Nru autoconf-archive-20150925/m4/ax_prog_javac.m4 autoconf-archive-20170928/m4/ax_prog_javac.m4 --- autoconf-archive-20150925/m4/ax_prog_javac.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_javac.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_javac.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_javac.html # =========================================================================== # # SYNOPSIS @@ -49,7 +49,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -64,7 +64,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 8 AU_ALIAS([AC_PROG_JAVAC], [AX_PROG_JAVAC]) AC_DEFUN([AX_PROG_JAVAC],[ diff -Nru autoconf-archive-20150925/m4/ax_prog_javac_works.m4 autoconf-archive-20170928/m4/ax_prog_javac_works.m4 --- autoconf-archive-20150925/m4/ax_prog_javac_works.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_javac_works.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_javac_works.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_javac_works.html # =========================================================================== # # SYNOPSIS @@ -32,7 +32,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -47,7 +47,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 6 +#serial 7 AU_ALIAS([AC_PROG_JAVAC_WORKS], [AX_PROG_JAVAC_WORKS]) AC_DEFUN([AX_PROG_JAVAC_WORKS],[ diff -Nru autoconf-archive-20150925/m4/ax_prog_javadoc.m4 autoconf-archive-20170928/m4/ax_prog_javadoc.m4 --- autoconf-archive-20150925/m4/ax_prog_javadoc.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_javadoc.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_javadoc.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_javadoc.html # =========================================================================== # # SYNOPSIS @@ -38,7 +38,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AU_ALIAS([AC_PROG_JAVADOC], [AX_PROG_JAVADOC]) AC_DEFUN([AX_PROG_JAVADOC],[ diff -Nru autoconf-archive-20150925/m4/ax_prog_javah.m4 autoconf-archive-20170928/m4/ax_prog_javah.m4 --- autoconf-archive-20150925/m4/ax_prog_javah.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_javah.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_javah.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_javah.html # =========================================================================== # # SYNOPSIS @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 10 AU_ALIAS([AC_PROG_JAVAH], [AX_PROG_JAVAH]) AC_DEFUN([AX_PROG_JAVAH],[ @@ -36,7 +36,7 @@ ax_prog_javah_bin_dir=`AS_DIRNAME([$_ACJAVAH_FOLLOWED])` ac_dir="`AS_DIRNAME([$ax_prog_javah_bin_dir])`/include" AS_CASE([$build_os], - [cygwin*], + [cygwin*|mingw*], [ac_machdep=win32], [ac_machdep=`AS_ECHO($build_os) | sed 's,[[-0-9]].*,,'`]) CPPFLAGS="$ac_save_CPPFLAGS -I$ac_dir -I$ac_dir/$ac_machdep" diff -Nru autoconf-archive-20150925/m4/ax_prog_java.m4 autoconf-archive-20170928/m4/ax_prog_java.m4 --- autoconf-archive-20150925/m4/ax_prog_java.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_java.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_java.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_java.html # =========================================================================== # # SYNOPSIS @@ -85,7 +85,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -100,7 +100,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 9 +#serial 10 AU_ALIAS([AC_PROG_JAVA], [AX_PROG_JAVA]) AC_DEFUN([AX_PROG_JAVA],[ diff -Nru autoconf-archive-20150925/m4/ax_prog_java_works.m4 autoconf-archive-20170928/m4/ax_prog_java_works.m4 --- autoconf-archive-20150925/m4/ax_prog_java_works.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_java_works.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_java_works.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_java_works.html # =========================================================================== # # SYNOPSIS @@ -32,7 +32,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -47,57 +47,16 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 9 +#serial 11 AU_ALIAS([AC_PROG_JAVA_WORKS], [AX_PROG_JAVA_WORKS]) AC_DEFUN([AX_PROG_JAVA_WORKS], [ -AC_PATH_PROG(UUDECODE, uudecode, [no]) -if test x$UUDECODE != xno; then -AC_CACHE_CHECK([if uudecode can decode base 64 file], ac_cv_prog_uudecode_base64, [ -dnl /** -dnl * Test.java: used to test if java compiler works. -dnl */ -dnl public class Test -dnl { -dnl -dnl public static void -dnl main( String[] argv ) -dnl { -dnl System.exit (0); -dnl } -dnl -dnl } -cat << \EOF > Test.uue -begin-base64 644 Test.class -yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE -bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51 -bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s -YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG -aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB -AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB -AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ= -==== -EOF -if $UUDECODE Test.uue; then - ac_cv_prog_uudecode_base64=yes -else - echo "configure: __oline__: uudecode had trouble decoding base 64 file 'Test.uue'" >&AS_MESSAGE_LOG_FD - echo "configure: failed file was:" >&AS_MESSAGE_LOG_FD - cat Test.uue >&AS_MESSAGE_LOG_FD - ac_cv_prog_uudecode_base64=no -fi -rm -f Test.uue]) -fi -if test x$ac_cv_prog_uudecode_base64 != xyes; then - rm -f Test.class - AC_MSG_WARN([I have to compile Test.class from scratch]) if test x$ac_cv_prog_javac_works = xno; then AC_MSG_ERROR([Cannot compile java source. $JAVAC does not work properly]) fi if test x$ac_cv_prog_javac_works = x; then AX_PROG_JAVAC fi -fi AC_CACHE_CHECK(if $JAVA works, ac_cv_prog_java_works, [ JAVA_TEST=Test.java CLASS_TEST=Test.class @@ -111,7 +70,6 @@ } } EOF changequote([, ])dnl -if test x$ac_cv_prog_uudecode_base64 != xyes; then if AC_TRY_COMMAND($JAVAC $JAVACFLAGS $JAVA_TEST) && test -s $CLASS_TEST; then : else @@ -119,7 +77,6 @@ cat $JAVA_TEST >&AS_MESSAGE_LOG_FD AC_MSG_ERROR(The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)) fi -fi if AC_TRY_COMMAND($JAVA -classpath . $JAVAFLAGS $TEST) >/dev/null 2>&1; then ac_cv_prog_java_works=yes else @@ -127,7 +84,7 @@ cat $JAVA_TEST >&AS_MESSAGE_LOG_FD AC_MSG_ERROR(The Java VM $JAVA failed (see config.log, check the CLASSPATH?)) fi -rm -fr $JAVA_TEST $CLASS_TEST Test.uue +rm -f $JAVA_TEST $CLASS_TEST ]) AC_PROVIDE([$0])dnl ] diff -Nru autoconf-archive-20150925/m4/ax_prog_masm.m4 autoconf-archive-20170928/m4/ax_prog_masm.m4 --- autoconf-archive-20150925/m4/ax_prog_masm.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_masm.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_masm.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_masm.html # =========================================================================== # # SYNOPSIS @@ -33,7 +33,7 @@ # 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 . +# along with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -48,7 +48,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 9 +#serial 10 AC_DEFUN([AX_PROG_MASM],[ AC_CHECK_PROGS(masm,[ml masm ml32 ml64 masm32],no) diff -Nru autoconf-archive-20150925/m4/ax_prog_masm_opt.m4 autoconf-archive-20170928/m4/ax_prog_masm_opt.m4 --- autoconf-archive-20150925/m4/ax_prog_masm_opt.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_masm_opt.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_masm_opt.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_masm_opt.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # 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 . +# along with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -46,7 +46,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 8 +#serial 9 AC_DEFUN([AX_PROG_MASM_OPT],[ AC_REQUIRE([AX_PROG_MASM])dnl diff -Nru autoconf-archive-20150925/m4/ax_prog_md5sum.m4 autoconf-archive-20170928/m4/ax_prog_md5sum.m4 --- autoconf-archive-20150925/m4/ax_prog_md5sum.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_md5sum.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_md5sum.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_md5sum.html # =========================================================================== # # SYNOPSIS @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_PROG_MD5SUM],[ # Mac users have md5 instead of md5sum diff -Nru autoconf-archive-20150925/m4/ax_prog_modprobe.m4 autoconf-archive-20170928/m4/ax_prog_modprobe.m4 --- autoconf-archive-20150925/m4/ax_prog_modprobe.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_modprobe.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_modprobe.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_modprobe.html # =========================================================================== # # SYNOPSIS @@ -24,7 +24,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([AC_PROG_MODPROBE], [AX_PROG_MODPROBE]) AC_DEFUN([AX_PROG_MODPROBE],[ diff -Nru autoconf-archive-20150925/m4/ax_prog_mysqladmin.m4 autoconf-archive-20170928/m4/ax_prog_mysqladmin.m4 --- autoconf-archive-20150925/m4/ax_prog_mysqladmin.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_mysqladmin.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_mysqladmin.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_mysqladmin.html # =========================================================================== # # SYNOPSIS @@ -35,7 +35,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -50,7 +50,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 6 +#serial 7 AU_ALIAS([AC_PROG_MYSQLADMIN], [AX_PROG_MYSQLADMIN]) AC_DEFUN([AX_PROG_MYSQLADMIN],[ diff -Nru autoconf-archive-20150925/m4/ax_prog_mysqld.m4 autoconf-archive-20170928/m4/ax_prog_mysqld.m4 --- autoconf-archive-20150925/m4/ax_prog_mysqld.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_mysqld.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_mysqld.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_mysqld.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -46,7 +46,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 6 +#serial 7 AU_ALIAS([AC_PROG_MYSQLD], [AX_PROG_MYSQLD]) AC_DEFUN([AX_PROG_MYSQLD],[ diff -Nru autoconf-archive-20150925/m4/ax_prog_mysqlimport.m4 autoconf-archive-20170928/m4/ax_prog_mysqlimport.m4 --- autoconf-archive-20150925/m4/ax_prog_mysqlimport.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_mysqlimport.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_mysqlimport.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_mysqlimport.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -46,7 +46,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_PROG_MYSQLIMPORT], [AX_PROG_MYSQLIMPORT]) AC_DEFUN([AX_PROG_MYSQLIMPORT],[ diff -Nru autoconf-archive-20150925/m4/ax_prog_mysql.m4 autoconf-archive-20170928/m4/ax_prog_mysql.m4 --- autoconf-archive-20150925/m4/ax_prog_mysql.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_mysql.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_mysql.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_mysql.html # =========================================================================== # # SYNOPSIS @@ -36,7 +36,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -51,7 +51,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_PROG_MYSQL], [AX_PROG_MYSQL]) AC_DEFUN([AX_PROG_MYSQL],[ diff -Nru autoconf-archive-20150925/m4/ax_prog_mysqlshow.m4 autoconf-archive-20170928/m4/ax_prog_mysqlshow.m4 --- autoconf-archive-20150925/m4/ax_prog_mysqlshow.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_mysqlshow.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_mysqlshow.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_mysqlshow.html # =========================================================================== # # SYNOPSIS @@ -35,7 +35,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -50,7 +50,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_PROG_MYSQLSHOW], [AX_PROG_MYSQLSHOW]) AC_DEFUN([AX_PROG_MYSQLSHOW],[ diff -Nru autoconf-archive-20150925/m4/ax_prog_nasm.m4 autoconf-archive-20170928/m4/ax_prog_nasm.m4 --- autoconf-archive-20150925/m4/ax_prog_nasm.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_nasm.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_nasm.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_nasm.html # =========================================================================== # # SYNOPSIS @@ -33,7 +33,7 @@ # 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 . +# along with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -48,7 +48,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 9 +#serial 10 AC_DEFUN([AX_PROG_NASM],[ AC_CHECK_PROGS(nasm,[nasm nasmw],no) diff -Nru autoconf-archive-20150925/m4/ax_prog_nasm_opt.m4 autoconf-archive-20170928/m4/ax_prog_nasm_opt.m4 --- autoconf-archive-20150925/m4/ax_prog_nasm_opt.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_nasm_opt.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_nasm_opt.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_nasm_opt.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # 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 . +# along with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -46,7 +46,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 8 +#serial 9 AC_DEFUN([AX_PROG_NASM_OPT],[ AC_REQUIRE([AX_PROG_NASM])dnl diff -Nru autoconf-archive-20150925/m4/ax_prog_perl_modules.m4 autoconf-archive-20170928/m4/ax_prog_perl_modules.m4 --- autoconf-archive-20150925/m4/ax_prog_perl_modules.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_perl_modules.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_perl_modules.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_perl_modules.html # =========================================================================== # # SYNOPSIS @@ -32,7 +32,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AU_ALIAS([AC_PROG_PERL_MODULES], [AX_PROG_PERL_MODULES]) AC_DEFUN([AX_PROG_PERL_MODULES],[dnl diff -Nru autoconf-archive-20150925/m4/ax_prog_perl_version.m4 autoconf-archive-20170928/m4/ax_prog_perl_version.m4 --- autoconf-archive-20150925/m4/ax_prog_perl_version.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_perl_version.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_perl_version.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_perl_version.html # =========================================================================== # # SYNOPSIS @@ -35,7 +35,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 12 +#serial 13 AC_DEFUN([AX_PROG_PERL_VERSION],[ AC_REQUIRE([AC_PROG_SED]) diff -Nru autoconf-archive-20150925/m4/ax_prog_pgclient.m4 autoconf-archive-20170928/m4/ax_prog_pgclient.m4 --- autoconf-archive-20150925/m4/ax_prog_pgclient.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_pgclient.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_pgclient.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_pgclient.html # =========================================================================== # # SYNOPSIS @@ -34,7 +34,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -49,7 +49,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([MS_PROG_PGCLIENT], [AX_PROG_PGCLIENT]) AC_DEFUN([AX_PROG_PGCLIENT], [ diff -Nru autoconf-archive-20150925/m4/ax_prog_python_version.m4 autoconf-archive-20170928/m4/ax_prog_python_version.m4 --- autoconf-archive-20150925/m4/ax_prog_python_version.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_python_version.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_python_version.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_python_version.html # =========================================================================== # # SYNOPSIS @@ -35,7 +35,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 11 +#serial 12 AC_DEFUN([AX_PROG_PYTHON_VERSION],[ AC_REQUIRE([AC_PROG_SED]) diff -Nru autoconf-archive-20150925/m4/ax_prog_ruby_version.m4 autoconf-archive-20170928/m4/ax_prog_ruby_version.m4 --- autoconf-archive-20150925/m4/ax_prog_ruby_version.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_ruby_version.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_ruby_version.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_ruby_version.html # =========================================================================== # # SYNOPSIS @@ -35,7 +35,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 11 +#serial 12 AC_DEFUN([AX_PROG_RUBY_VERSION],[ AC_REQUIRE([AC_PROG_SED]) diff -Nru autoconf-archive-20150925/m4/ax_prog_scalac.m4 autoconf-archive-20170928/m4/ax_prog_scalac.m4 --- autoconf-archive-20150925/m4/ax_prog_scalac.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_scalac.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_scalac.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_scalac.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_ARG_VAR(SCALAC, [scala compiler]) diff -Nru autoconf-archive-20150925/m4/ax_prog_scala.m4 autoconf-archive-20170928/m4/ax_prog_scala.m4 --- autoconf-archive-20150925/m4/ax_prog_scala.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_scala.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_scala.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_scala.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_ARG_VAR(SCALA, [scala runner]) diff -Nru autoconf-archive-20150925/m4/ax_prog_scp.m4 autoconf-archive-20170928/m4/ax_prog_scp.m4 --- autoconf-archive-20150925/m4/ax_prog_scp.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_scp.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_scp.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_scp.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -46,7 +46,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_PROG_SCP], [AX_PROG_SCP]) AC_DEFUN([AX_PROG_SCP],[ diff -Nru autoconf-archive-20150925/m4/ax_prog_splint.m4 autoconf-archive-20170928/m4/ax_prog_splint.m4 --- autoconf-archive-20150925/m4/ax_prog_splint.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_splint.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_splint.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_splint.html # =========================================================================== # # SYNOPSIS @@ -41,7 +41,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_PROG_SPLINT], [ diff -Nru autoconf-archive-20150925/m4/ax_prog_ssh.m4 autoconf-archive-20170928/m4/ax_prog_ssh.m4 --- autoconf-archive-20150925/m4/ax_prog_ssh.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_ssh.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_ssh.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_ssh.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -46,7 +46,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_PROG_SSH], [AX_PROG_SSH]) AC_DEFUN([AX_PROG_SSH],[ diff -Nru autoconf-archive-20150925/m4/ax_prog_tasm.m4 autoconf-archive-20170928/m4/ax_prog_tasm.m4 --- autoconf-archive-20150925/m4/ax_prog_tasm.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_tasm.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_tasm.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_tasm.html # =========================================================================== # # SYNOPSIS @@ -33,7 +33,7 @@ # 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 . +# along with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -48,7 +48,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 9 +#serial 10 AC_DEFUN([AX_PROG_TASM],[ AC_CHECK_PROGS(tasm,[tasm tasm32 tasmx],no) diff -Nru autoconf-archive-20150925/m4/ax_prog_tasm_opt.m4 autoconf-archive-20170928/m4/ax_prog_tasm_opt.m4 --- autoconf-archive-20150925/m4/ax_prog_tasm_opt.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_tasm_opt.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_tasm_opt.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_tasm_opt.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # 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 . +# along with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -46,7 +46,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 8 +#serial 9 AC_DEFUN([AX_PROG_TASM_OPT],[ AC_REQUIRE([AX_PROG_TASM])dnl diff -Nru autoconf-archive-20150925/m4/ax_prog_tcl.m4 autoconf-archive-20170928/m4/ax_prog_tcl.m4 --- autoconf-archive-20150925/m4/ax_prog_tcl.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_tcl.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_tcl.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_tcl.html # =========================================================================== # # SYNOPSIS @@ -40,7 +40,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -55,7 +55,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 8 AC_DEFUN([AX_PROG_TCL], [ #-- check for tclsh in PATH diff -Nru autoconf-archive-20150925/m4/ax_prog_xsltproc.m4 autoconf-archive-20170928/m4/ax_prog_xsltproc.m4 --- autoconf-archive-20150925/m4/ax_prog_xsltproc.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_xsltproc.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_xsltproc.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_xsltproc.html # =========================================================================== # # SYNOPSIS @@ -37,7 +37,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -52,7 +52,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 9 AU_ALIAS([AC_PROG_XSLTPROC], [AX_PROG_XSLTPROC]) AC_DEFUN([AX_PROG_XSLTPROC], @@ -71,14 +71,14 @@ AC_ARG_WITH(xsltproc-flags, AS_HELP_STRING([ --with-xsltproc-flags=FLAGS], [Flags to pass to xsltproc (default $1)]), - [ if test "x$withval" == "xno"; then - XSLTPROC_FLAGS='' + [ if test "x$withval" = "xno"; then + XSLTPROC_FLAGS='' else - if test "x$withval" != "xyes"; then - XSLTPROC_FLAGS="$withval" - fi + if test "x$withval" != "xyes"; then + XSLTPROC_FLAGS="$withval" + fi fi - ]) + ]) # search for xsltproc if it wasn't specified if test "$ac_with_xsltproc" = "yes" -o "$ac_with_xsltproc" = "maybe"; then diff -Nru autoconf-archive-20150925/m4/ax_prog_yasm.m4 autoconf-archive-20170928/m4/ax_prog_yasm.m4 --- autoconf-archive-20150925/m4/ax_prog_yasm.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_yasm.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_yasm.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_yasm.html # =========================================================================== # # SYNOPSIS @@ -33,7 +33,7 @@ # 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 . +# along with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -48,7 +48,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 9 +#serial 10 AC_DEFUN([AX_PROG_YASM],[ AC_CHECK_PROGS(yasm,[yasm],no) diff -Nru autoconf-archive-20150925/m4/ax_prog_yasm_opt.m4 autoconf-archive-20170928/m4/ax_prog_yasm_opt.m4 --- autoconf-archive-20150925/m4/ax_prog_yasm_opt.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prog_yasm_opt.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prog_yasm_opt.html +# https://www.gnu.org/software/autoconf-archive/ax_prog_yasm_opt.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # 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 . +# along with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -46,7 +46,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 8 +#serial 9 AC_DEFUN([AX_PROG_YASM_OPT],[ AC_REQUIRE([AX_PROG_YASM])dnl diff -Nru autoconf-archive-20150925/m4/ax_prototype_accept.m4 autoconf-archive-20170928/m4/ax_prototype_accept.m4 --- autoconf-archive-20150925/m4/ax_prototype_accept.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prototype_accept.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prototype_accept.html +# https://www.gnu.org/software/autoconf-archive/ax_prototype_accept.html # =========================================================================== # # SYNOPSIS @@ -34,7 +34,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -49,7 +49,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_PROTOTYPE_ACCEPT], [AX_PROTOTYPE_ACCEPT]) AC_DEFUN([AX_PROTOTYPE_ACCEPT],[ diff -Nru autoconf-archive-20150925/m4/ax_prototype_getsockname.m4 autoconf-archive-20170928/m4/ax_prototype_getsockname.m4 --- autoconf-archive-20150925/m4/ax_prototype_getsockname.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prototype_getsockname.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_prototype_getsockname.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_prototype_getsockname.html +# ============================================================================= # # SYNOPSIS # @@ -34,7 +34,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -49,7 +49,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_PROTOTYPE_GETSOCKNAME], [AX_PROTOTYPE_GETSOCKNAME]) AC_DEFUN([AX_PROTOTYPE_GETSOCKNAME],[ diff -Nru autoconf-archive-20150925/m4/ax_prototype.m4 autoconf-archive-20170928/m4/ax_prototype.m4 --- autoconf-archive-20150925/m4/ax_prototype.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prototype.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prototype.html +# https://www.gnu.org/software/autoconf-archive/ax_prototype.html # =========================================================================== # # SYNOPSIS @@ -13,10 +13,10 @@ # values found in , , ... respectively. , # , ... contain a list of possible values for each corresponding # tag and all combinations are tested. When AC_TRY_COMPILE(include, code) -# is successfull for a given substitution, the macro stops and defines the +# 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 , , ... If no -# combination is successfull the configure script is aborted with a +# combination is successful the configure script is aborted with a # message. # # Intended purpose is to find which combination of argument types is @@ -99,7 +99,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -114,7 +114,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 8 AU_ALIAS([AC_PROTOTYPE], [AX_PROTOTYPE]) AC_DEFUN([AX_PROTOTYPE],[ diff -Nru autoconf-archive-20150925/m4/ax_prototype_setsockopt.m4 autoconf-archive-20170928/m4/ax_prototype_setsockopt.m4 --- autoconf-archive-20150925/m4/ax_prototype_setsockopt.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_prototype_setsockopt.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_prototype_setsockopt.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_prototype_setsockopt.html +# ============================================================================ # # SYNOPSIS # @@ -31,7 +31,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -46,7 +46,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 6 AU_ALIAS([AC_PROTOTYPE_SETSOCKOPT], [AX_PROTOTYPE_SETSOCKOPT]) AC_DEFUN([AX_PROTOTYPE_SETSOCKOPT],[ diff -Nru autoconf-archive-20150925/m4/ax_pthread.m4 autoconf-archive-20170928/m4/ax_pthread.m4 --- autoconf-archive-20150925/m4/ax_pthread.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_pthread.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_pthread.html +# https://www.gnu.org/software/autoconf-archive/ax_pthread.html # =========================================================================== # # SYNOPSIS @@ -19,10 +19,10 @@ # is necessary on AIX to use the special cc_r compiler alias.) # # NOTE: You are assumed to not only compile your program with these flags, -# but also link it with them as well. e.g. you should link with +# but also to link with them as well. For example, you might link with # $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS # -# If you are only building threads programs, you may wish to use these +# 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" @@ -30,8 +30,8 @@ # CC="$PTHREAD_CC" # # In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant -# has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name -# (e.g. PTHREAD_CREATE_UNDETACHED on AIX). +# 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 @@ -67,7 +67,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -82,35 +82,40 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 21 +#serial 24 AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD]) AC_DEFUN([AX_PTHREAD], [ AC_REQUIRE([AC_CANONICAL_HOST]) +AC_REQUIRE([AC_PROG_CC]) +AC_REQUIRE([AC_PROG_SED]) AC_LANG_PUSH([C]) ax_pthread_ok=no # We used to check for pthread.h first, but this fails if pthread.h -# requires special compiler flags (e.g. on True64 or Sequent). +# requires special compiler flags (e.g. on Tru64 or Sequent). # It gets checked for in the link test anyway. # First of all, check if the user has set any of the PTHREAD_LIBS, # etcetera environment variables, and if threads linking works using # them: -if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then - save_CFLAGS="$CFLAGS" +if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then + ax_pthread_save_CC="$CC" + ax_pthread_save_CFLAGS="$CFLAGS" + ax_pthread_save_LIBS="$LIBS" + AS_IF([test "x$PTHREAD_CC" != "x"], [CC="$PTHREAD_CC"]) CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - save_LIBS="$LIBS" LIBS="$PTHREAD_LIBS $LIBS" - AC_MSG_CHECKING([for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS]) - AC_TRY_LINK_FUNC([pthread_join], [ax_pthread_ok=yes]) + AC_MSG_CHECKING([for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS]) + AC_LINK_IFELSE([AC_LANG_CALL([], [pthread_join])], [ax_pthread_ok=yes]) AC_MSG_RESULT([$ax_pthread_ok]) - if test x"$ax_pthread_ok" = xno; then + if test "x$ax_pthread_ok" = "xno"; then PTHREAD_LIBS="" PTHREAD_CFLAGS="" fi - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" + CC="$ax_pthread_save_CC" + CFLAGS="$ax_pthread_save_CFLAGS" + LIBS="$ax_pthread_save_LIBS" fi # We must check for the threads library under a number of different @@ -123,7 +128,7 @@ # which indicates that we try without any flags at all, and "pthread-config" # which is a program returning the flags for the Pth emulation library. -ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" +ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" # The ordering *is* (sometimes) important. Some notes on the # individual items follow: @@ -132,82 +137,225 @@ # none: in case threads are in libc; should be tried before -Kthread and # other compiler flags to prevent continual compiler warnings # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) -# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) -# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) -# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads) -# -pthreads: Solaris/gcc -# -mthreads: Mingw32/gcc, Lynx/gcc +# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64 +# (Note: HP C rejects this with "bad form for `-t' option") +# -pthreads: Solaris/gcc (Note: HP C also rejects) # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it -# doesn't hurt to check since this sometimes defines pthreads too; -# also defines -D_REENTRANT) -# ... -mt is also the pthreads flag for HP/aCC +# doesn't hurt to check since this sometimes defines pthreads and +# -D_REENTRANT too), HP C (must be checked before -lpthread, which +# is present but should not be used directly; and before -mthreads, +# because the compiler interprets this as "-mt" + "-hreads") +# -mthreads: Mingw32/gcc, Lynx/gcc # pthread: Linux, etcetera # --thread-safe: KAI C++ # pthread-config: use pthread-config program (for GNU Pth library) -case ${host_os} in +case $host_os in + + freebsd*) + + # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) + # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) + + ax_pthread_flags="-kthread lthread $ax_pthread_flags" + ;; + + hpux*) + + # From the cc(1) man page: "[-mt] Sets various -D flags to enable + # multi-threading and also sets -lpthread." + + ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags" + ;; + + openedition*) + + # IBM z/OS requires a feature-test macro to be defined in order to + # enable POSIX threads at all, so give the user a hint if this is + # not set. (We don't define these ourselves, as they can affect + # other portions of the system API in unpredictable ways.) + + AC_EGREP_CPP([AX_PTHREAD_ZOS_MISSING], + [ +# if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS) + AX_PTHREAD_ZOS_MISSING +# endif + ], + [AC_MSG_WARN([IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support.])]) + ;; + solaris*) # On Solaris (at least, for some versions), libc contains stubbed # (non-functional) versions of the pthreads routines, so link-based - # tests will erroneously succeed. (We need to link with -pthreads/-mt/ - # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather - # a function called by this macro, so we could check for that, but - # who knows whether they'll stub that too in a future libc.) So, - # we'll just look for -pthreads and -lpthread first: + # tests will erroneously succeed. (N.B.: The stubs are missing + # pthread_cleanup_push, or rather a function called by this macro, + # so we could check for that, but who knows whether they'll stub + # that too in a future libc.) So we'll check first for the + # standard Solaris way of linking pthreads (-mt -lpthread). + + ax_pthread_flags="-mt,pthread pthread $ax_pthread_flags" + ;; +esac + +# GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC) + +AS_IF([test "x$GCC" = "xyes"], + [ax_pthread_flags="-pthread -pthreads $ax_pthread_flags"]) - ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags" +# The presence of a feature test macro requesting re-entrant function +# definitions is, on some systems, a strong hint that pthreads support is +# correctly enabled + +case $host_os in + darwin* | hpux* | linux* | osf* | solaris*) + ax_pthread_check_macro="_REENTRANT" ;; - darwin*) - ax_pthread_flags="-pthread $ax_pthread_flags" + aix*) + ax_pthread_check_macro="_THREAD_SAFE" + ;; + + *) + ax_pthread_check_macro="--" ;; esac +AS_IF([test "x$ax_pthread_check_macro" = "x--"], + [ax_pthread_check_cond=0], + [ax_pthread_check_cond="!defined($ax_pthread_check_macro)"]) + +# Are we compiling with Clang? + +AC_CACHE_CHECK([whether $CC is Clang], + [ax_cv_PTHREAD_CLANG], + [ax_cv_PTHREAD_CLANG=no + # Note that Autoconf sets GCC=yes for Clang as well as GCC + if test "x$GCC" = "xyes"; then + AC_EGREP_CPP([AX_PTHREAD_CC_IS_CLANG], + [/* Note: Clang 2.7 lacks __clang_[a-z]+__ */ +# if defined(__clang__) && defined(__llvm__) + AX_PTHREAD_CC_IS_CLANG +# endif + ], + [ax_cv_PTHREAD_CLANG=yes]) + fi + ]) +ax_pthread_clang="$ax_cv_PTHREAD_CLANG" + +ax_pthread_clang_warning=no + +# Clang needs special handling, because older versions handle the -pthread +# option in a rather... idiosyncratic way + +if test "x$ax_pthread_clang" = "xyes"; then + + # Clang takes -pthread; it has never supported any other flag + + # (Note 1: This will need to be revisited if a system that Clang + # supports has POSIX threads in a separate library. This tends not + # to be the way of modern systems, but it's conceivable.) + + # (Note 2: On some systems, notably Darwin, -pthread is not needed + # to get POSIX threads support; the API is always present and + # active. We could reasonably leave PTHREAD_CFLAGS empty. But + # -pthread does define _REENTRANT, and while the Darwin headers + # ignore this macro, third-party headers might not.) + + PTHREAD_CFLAGS="-pthread" + PTHREAD_LIBS= + + ax_pthread_ok=yes + + # However, older versions of Clang make a point of warning the user + # that, in an invocation where only linking and no compilation is + # taking place, the -pthread option has no effect ("argument unused + # during compilation"). They expect -pthread to be passed in only + # when source code is being compiled. + # + # Problem is, this is at odds with the way Automake and most other + # C build frameworks function, which is that the same flags used in + # compilation (CFLAGS) are also used in linking. Many systems + # supported by AX_PTHREAD require exactly this for POSIX threads + # support, and in fact it is often not straightforward to specify a + # flag that is used only in the compilation phase and not in + # linking. Such a scenario is extremely rare in practice. + # + # Even though use of the -pthread flag in linking would only print + # a warning, this can be a nuisance for well-run software projects + # that build with -Werror. So if the active version of Clang has + # this misfeature, we search for an option to squash it. + + AC_CACHE_CHECK([whether Clang needs flag to prevent "argument unused" warning when linking with -pthread], + [ax_cv_PTHREAD_CLANG_NO_WARN_FLAG], + [ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown + # Create an alternate version of $ac_link that compiles and + # links in two steps (.c -> .o, .o -> exe) instead of one + # (.c -> exe), because the warning occurs only in the second + # step + ax_pthread_save_ac_link="$ac_link" + ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g' + ax_pthread_link_step=`$as_echo "$ac_link" | sed "$ax_pthread_sed"` + ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)" + ax_pthread_save_CFLAGS="$CFLAGS" + for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do + AS_IF([test "x$ax_pthread_try" = "xunknown"], [break]) + CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS" + ac_link="$ax_pthread_save_ac_link" + AC_LINK_IFELSE([AC_LANG_SOURCE([[int main(void){return 0;}]])], + [ac_link="$ax_pthread_2step_ac_link" + AC_LINK_IFELSE([AC_LANG_SOURCE([[int main(void){return 0;}]])], + [break]) + ]) + done + ac_link="$ax_pthread_save_ac_link" + CFLAGS="$ax_pthread_save_CFLAGS" + AS_IF([test "x$ax_pthread_try" = "x"], [ax_pthread_try=no]) + ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try" + ]) + + case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in + no | unknown) ;; + *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;; + esac -# Clang doesn't consider unrecognized options an error unless we specify -# -Werror. We throw in some extra Clang-specific options to ensure that -# this doesn't happen for GCC, which also accepts -Werror. - -AC_MSG_CHECKING([if compiler needs -Werror to reject unknown flags]) -save_CFLAGS="$CFLAGS" -ax_pthread_extra_flags="-Werror" -CFLAGS="$CFLAGS $ax_pthread_extra_flags -Wunknown-warning-option -Wsizeof-array-argument" -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([int foo(void);],[foo()])], - [AC_MSG_RESULT([yes])], - [ax_pthread_extra_flags= - AC_MSG_RESULT([no])]) -CFLAGS="$save_CFLAGS" +fi # $ax_pthread_clang = yes -if test x"$ax_pthread_ok" = xno; then -for flag in $ax_pthread_flags; do +if test "x$ax_pthread_ok" = "xno"; then +for ax_pthread_try_flag in $ax_pthread_flags; do - case $flag in + case $ax_pthread_try_flag in none) AC_MSG_CHECKING([whether pthreads work without any flags]) ;; + -mt,pthread) + AC_MSG_CHECKING([whether pthreads work with -mt -lpthread]) + PTHREAD_CFLAGS="-mt" + PTHREAD_LIBS="-lpthread" + ;; + -*) - AC_MSG_CHECKING([whether pthreads work with $flag]) - PTHREAD_CFLAGS="$flag" + AC_MSG_CHECKING([whether pthreads work with $ax_pthread_try_flag]) + PTHREAD_CFLAGS="$ax_pthread_try_flag" ;; pthread-config) AC_CHECK_PROG([ax_pthread_config], [pthread-config], [yes], [no]) - if test x"$ax_pthread_config" = xno; then continue; fi + AS_IF([test "x$ax_pthread_config" = "xno"], [continue]) PTHREAD_CFLAGS="`pthread-config --cflags`" PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`" ;; *) - AC_MSG_CHECKING([for the pthreads library -l$flag]) - PTHREAD_LIBS="-l$flag" + AC_MSG_CHECKING([for the pthreads library -l$ax_pthread_try_flag]) + PTHREAD_LIBS="-l$ax_pthread_try_flag" ;; esac - save_LIBS="$LIBS" - save_CFLAGS="$CFLAGS" + ax_pthread_save_CFLAGS="$CFLAGS" + ax_pthread_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $PTHREAD_CFLAGS" LIBS="$PTHREAD_LIBS $LIBS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags" # Check for various functions. We must include pthread.h, # since some functions may be macros. (On the Sequent, we @@ -218,7 +366,11 @@ # pthread_cleanup_push because it is one of the few pthread # functions on Solaris that doesn't have a non-functional libc stub. # We try pthread_create on general principles. + AC_LINK_IFELSE([AC_LANG_PROGRAM([#include +# if $ax_pthread_check_cond +# error "$ax_pthread_check_macro must be defined" +# endif static void routine(void *a) { a = 0; } static void *start_routine(void *a) { return a; }], [pthread_t th; pthread_attr_t attr; @@ -227,16 +379,14 @@ pthread_attr_init(&attr); pthread_cleanup_push(routine, 0); pthread_cleanup_pop(0) /* ; */])], - [ax_pthread_ok=yes], - []) + [ax_pthread_ok=yes], + []) - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" + CFLAGS="$ax_pthread_save_CFLAGS" + LIBS="$ax_pthread_save_LIBS" AC_MSG_RESULT([$ax_pthread_ok]) - if test "x$ax_pthread_ok" = xyes; then - break; - fi + AS_IF([test "x$ax_pthread_ok" = "xyes"], [break]) PTHREAD_LIBS="" PTHREAD_CFLAGS="" @@ -244,71 +394,74 @@ fi # Various other checks: -if test "x$ax_pthread_ok" = xyes; then - save_LIBS="$LIBS" - LIBS="$PTHREAD_LIBS $LIBS" - save_CFLAGS="$CFLAGS" +if test "x$ax_pthread_ok" = "xyes"; then + ax_pthread_save_CFLAGS="$CFLAGS" + ax_pthread_save_LIBS="$LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" + LIBS="$PTHREAD_LIBS $LIBS" # Detect AIX lossage: JOINABLE attribute is called UNDETACHED. - AC_MSG_CHECKING([for joinable pthread attribute]) - attr_name=unknown - for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do - AC_LINK_IFELSE([AC_LANG_PROGRAM([#include ], - [int attr = $attr; return attr /* ; */])], - [attr_name=$attr; break], - []) - done - AC_MSG_RESULT([$attr_name]) - if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then - AC_DEFINE_UNQUOTED([PTHREAD_CREATE_JOINABLE], [$attr_name], - [Define to necessary symbol if this constant - uses a non-standard name on your system.]) - fi - - AC_MSG_CHECKING([if more special flags are required for pthreads]) - flag=no - case ${host_os} in - aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";; - osf* | hpux*) flag="-D_REENTRANT";; - solaris*) - if test "$GCC" = "yes"; then - flag="-D_REENTRANT" - else - # TODO: What about Clang on Solaris? - flag="-mt -D_REENTRANT" - fi - ;; - esac - AC_MSG_RESULT([$flag]) - if test "x$flag" != xno; then - PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" - fi + AC_CACHE_CHECK([for joinable pthread attribute], + [ax_cv_PTHREAD_JOINABLE_ATTR], + [ax_cv_PTHREAD_JOINABLE_ATTR=unknown + for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do + AC_LINK_IFELSE([AC_LANG_PROGRAM([#include ], + [int attr = $ax_pthread_attr; return attr /* ; */])], + [ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break], + []) + done + ]) + AS_IF([test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \ + test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \ + test "x$ax_pthread_joinable_attr_defined" != "xyes"], + [AC_DEFINE_UNQUOTED([PTHREAD_CREATE_JOINABLE], + [$ax_cv_PTHREAD_JOINABLE_ATTR], + [Define to necessary symbol if this constant + uses a non-standard name on your system.]) + ax_pthread_joinable_attr_defined=yes + ]) + + AC_CACHE_CHECK([whether more special flags are required for pthreads], + [ax_cv_PTHREAD_SPECIAL_FLAGS], + [ax_cv_PTHREAD_SPECIAL_FLAGS=no + case $host_os in + solaris*) + ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS" + ;; + esac + ]) + AS_IF([test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \ + test "x$ax_pthread_special_flags_added" != "xyes"], + [PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS" + ax_pthread_special_flags_added=yes]) AC_CACHE_CHECK([for PTHREAD_PRIO_INHERIT], - [ax_cv_PTHREAD_PRIO_INHERIT], [ - AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], - [[int i = PTHREAD_PRIO_INHERIT;]])], - [ax_cv_PTHREAD_PRIO_INHERIT=yes], - [ax_cv_PTHREAD_PRIO_INHERIT=no]) + [ax_cv_PTHREAD_PRIO_INHERIT], + [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], + [[int i = PTHREAD_PRIO_INHERIT;]])], + [ax_cv_PTHREAD_PRIO_INHERIT=yes], + [ax_cv_PTHREAD_PRIO_INHERIT=no]) ]) - AS_IF([test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"], - [AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], [1], [Have PTHREAD_PRIO_INHERIT.])]) + AS_IF([test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \ + test "x$ax_pthread_prio_inherit_defined" != "xyes"], + [AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], [1], [Have PTHREAD_PRIO_INHERIT.]) + ax_pthread_prio_inherit_defined=yes + ]) - LIBS="$save_LIBS" - CFLAGS="$save_CFLAGS" + CFLAGS="$ax_pthread_save_CFLAGS" + LIBS="$ax_pthread_save_LIBS" # More AIX lossage: compile with *_r variant - if test "x$GCC" != xyes; then + if test "x$GCC" != "xyes"; then case $host_os in aix*) AS_CASE(["x/$CC"], - [x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6], - [#handle absolute path differently from PATH based program lookup - AS_CASE(["x$CC"], - [x/*], - [AS_IF([AS_EXECUTABLE_P([${CC}_r])],[PTHREAD_CC="${CC}_r"])], - [AC_CHECK_PROGS([PTHREAD_CC],[${CC}_r],[$CC])])]) + [x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6], + [#handle absolute path differently from PATH based program lookup + AS_CASE(["x$CC"], + [x/*], + [AS_IF([AS_EXECUTABLE_P([${CC}_r])],[PTHREAD_CC="${CC}_r"])], + [AC_CHECK_PROGS([PTHREAD_CC],[${CC}_r],[$CC])])]) ;; esac fi @@ -321,7 +474,7 @@ AC_SUBST([PTHREAD_CC]) # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: -if test x"$ax_pthread_ok" = xyes; then +if test "x$ax_pthread_ok" = "xyes"; then ifelse([$1],,[AC_DEFINE([HAVE_PTHREAD],[1],[Define if you have POSIX threads libraries and header files.])],[$1]) : else diff -Nru autoconf-archive-20150925/m4/ax_python_config_var.m4 autoconf-archive-20170928/m4/ax_python_config_var.m4 --- autoconf-archive-20150925/m4/ax_python_config_var.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_python_config_var.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_python_config_var.html +# https://www.gnu.org/software/autoconf-archive/ax_python_config_var.html # =========================================================================== # # SYNOPSIS @@ -53,7 +53,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 9 +#serial 10 AC_DEFUN([AX_PYTHON_CONFIG_VAR], [ diff -Nru autoconf-archive-20150925/m4/ax_python_devel.m4 autoconf-archive-20170928/m4/ax_python_devel.m4 --- autoconf-archive-20150925/m4/ax_python_devel.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_python_devel.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_python_devel.html +# https://www.gnu.org/software/autoconf-archive/ax_python_devel.html # =========================================================================== # # SYNOPSIS @@ -52,7 +52,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -67,7 +67,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 18 +#serial 21 AU_ALIAS([AC_PYTHON_DEVEL], [AX_PYTHON_DEVEL]) AC_DEFUN([AX_PYTHON_DEVEL],[ @@ -137,7 +137,7 @@ # AC_MSG_CHECKING([for the distutils Python package]) ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` - if test -z "$ac_distutils_result"; then + if test $? -eq 0; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) @@ -262,25 +262,25 @@ # libraries which must be linked in when embedding # AC_MSG_CHECKING(python extra libraries) - if test -z "$PYTHON_EXTRA_LDFLAGS"; then - PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \ + if test -z "$PYTHON_EXTRA_LIBS"; then + PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \ conf = distutils.sysconfig.get_config_var; \ print (conf('LIBS') + ' ' + conf('SYSLIBS'))"` fi - AC_MSG_RESULT([$PYTHON_EXTRA_LDFLAGS]) - AC_SUBST(PYTHON_EXTRA_LDFLAGS) + AC_MSG_RESULT([$PYTHON_EXTRA_LIBS]) + AC_SUBST(PYTHON_EXTRA_LIBS) # # linking flags needed when embedding # AC_MSG_CHECKING(python extra linking flags) - if test -z "$PYTHON_EXTRA_LIBS"; then - PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \ + if test -z "$PYTHON_EXTRA_LDFLAGS"; then + PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \ conf = distutils.sysconfig.get_config_var; \ print (conf('LINKFORSHARED'))"` fi - AC_MSG_RESULT([$PYTHON_EXTRA_LIBS]) - AC_SUBST(PYTHON_EXTRA_LIBS) + AC_MSG_RESULT([$PYTHON_EXTRA_LDFLAGS]) + AC_SUBST(PYTHON_EXTRA_LDFLAGS) # # final check to see if everything compiles alright diff -Nru autoconf-archive-20150925/m4/ax_python_embed.m4 autoconf-archive-20170928/m4/ax_python_embed.m4 --- autoconf-archive-20150925/m4/ax_python_embed.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_python_embed.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_python_embed.html +# https://www.gnu.org/software/autoconf-archive/ax_python_embed.html # =========================================================================== # # SYNOPSIS @@ -120,7 +120,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 10 +#serial 15 # AX_PYTHON_DEFAULT( ) # ----------------- @@ -139,7 +139,7 @@ # Handles the various --enable-python commands. # Input: # $1 is the optional search path for the python executable if needed -# Ouput: +# Output: # PYTHON_USE (AM_CONDITIONAL) is true if python executable found # and --enable-python was requested; otherwise false. # $PYTHON contains the full executable path to python if PYTHON_ENABLE_USE @@ -170,7 +170,7 @@ then # "yes" was specified, but we don't have a path # for the executable. - # So, let's searth the PATH Environment Variable. + # So, let's search the PATH Environment Variable. AC_MSG_RESULT(yes) AC_PATH_PROG( [PYTHON], @@ -385,7 +385,7 @@ # ----------------------------------------------------------------------------- # Run ACTION-IF-TRUE if the Python interpreter has version >= VERSION. # Run ACTION-IF-FALSE otherwise. -# This test uses sys.hexversion instead of the string equivalant (first +# This test uses sys.hexversion instead of the string equivalent (first # word of sys.version), in order to cope with versions such as 2.2c1. # hexversion has been introduced in Python 1.5.2; it's probably not # worth to support older versions (1.5.1 was released on October 31, 1998). @@ -446,7 +446,7 @@ # Handles the various --with-python commands. # Input: # $1 is the optional search path for the python executable if needed -# Ouput: +# Output: # PYTHON_USE (AM_CONDITIONAL) is true if python executable found # and --with-python was requested; otherwise false. # $PYTHON contains the full executable path to python if PYTHON_USE @@ -477,7 +477,7 @@ then # "yes" was specified, but we don't have a path # for the executable. - # So, let's searth the PATH Environment Variable. + # So, let's search the PATH Environment Variable. AC_MSG_RESULT(yes) AC_PATH_PROG( [PYTHON], diff -Nru autoconf-archive-20150925/m4/ax_python.m4 autoconf-archive-20170928/m4/ax_python.m4 --- autoconf-archive-20150925/m4/ax_python.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_python.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_python.html +# https://www.gnu.org/software/autoconf-archive/ax_python.html # =========================================================================== # # SYNOPSIS @@ -36,7 +36,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -51,12 +51,12 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 15 +#serial 17 AC_DEFUN([AX_PYTHON], [AC_MSG_CHECKING(for python build information) AC_MSG_RESULT([]) -for python in python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do +for python in python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do AC_CHECK_PROGS(PYTHON_BIN, [$python]) ax_python_bin=$PYTHON_BIN if test x$ax_python_bin != x; then diff -Nru autoconf-archive-20150925/m4/ax_python_module.m4 autoconf-archive-20170928/m4/ax_python_module.m4 --- autoconf-archive-20150925/m4/ax_python_module.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_python_module.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_python_module.html +# https://www.gnu.org/software/autoconf-archive/ax_python_module.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AU_ALIAS([AC_PYTHON_MODULE], [AX_PYTHON_MODULE]) AC_DEFUN([AX_PYTHON_MODULE],[ diff -Nru autoconf-archive-20150925/m4/ax_python_module_version.m4 autoconf-archive-20170928/m4/ax_python_module_version.m4 --- autoconf-archive-20150925/m4/ax_python_module_version.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_python_module_version.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_python_module_version.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_python_module_version.html +# ============================================================================= # # SYNOPSIS # @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_PYTHON_MODULE_VERSION], [ AX_PYTHON_MODULE([$1], [required], [$3]) diff -Nru autoconf-archive-20150925/m4/ax_recursive_eval.m4 autoconf-archive-20170928/m4/ax_recursive_eval.m4 --- autoconf-archive-20150925/m4/ax_recursive_eval.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_recursive_eval.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,56 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_recursive_eval.html +# =========================================================================== +# +# 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. +# +# LICENSE +# +# Copyright (c) 2008 Alexandre Duret-Lutz +# +# This program is free software; you can 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 . +# +# As a special exception, the respective Autoconf Macro's copyright owner +# gives unlimited permission to copy, distribute and modify the configure +# scripts that are the output of Autoconf when processing the Macro. You +# need not follow the terms of the GNU General Public License when using +# or distributing such scripts, even though portions of the text of the +# Macro appear in them. The GNU General Public License (GPL) does govern +# all other use of the material that constitutes the Autoconf Macro. +# +# This special exception to the GPL applies to versions of the Autoconf +# Macro released by the Autoconf Archive. When you make and distribute a +# modified version of the Autoconf Macro, you may extend this special +# exception to the GPL to apply to your modified version as well. + +#serial 1 + +AC_DEFUN([AX_RECURSIVE_EVAL], +[_lcl_receval="$1" +$2=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix" + test "x$exec_prefix" = xNONE && exec_prefix="${prefix}" + _lcl_receval_old='' + while test "[$]_lcl_receval_old" != "[$]_lcl_receval"; do + _lcl_receval_old="[$]_lcl_receval" + eval _lcl_receval="\"[$]_lcl_receval\"" + done + echo "[$]_lcl_receval")`]) diff -Nru autoconf-archive-20150925/m4/ax_require_defined.m4 autoconf-archive-20170928/m4/ax_require_defined.m4 --- autoconf-archive-20150925/m4/ax_require_defined.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_require_defined.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_require_defined.html +# https://www.gnu.org/software/autoconf-archive/ax_require_defined.html # =========================================================================== # # SYNOPSIS @@ -30,7 +30,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 1 +#serial 2 AC_DEFUN([AX_REQUIRE_DEFINED], [dnl m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file missing?])]) diff -Nru autoconf-archive-20150925/m4/ax_require_one_func.m4 autoconf-archive-20170928/m4/ax_require_one_func.m4 --- autoconf-archive-20150925/m4/ax_require_one_func.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_require_one_func.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_require_one_func.html +# https://www.gnu.org/software/autoconf-archive/ax_require_one_func.html # =========================================================================== # # SYNOPSIS @@ -27,7 +27,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_REQUIRE_ONE_FUNC], [m4_define([ax_1func_cv], [AS_TR_SH(ax_cv_func_any_$1)]) diff -Nru autoconf-archive-20150925/m4/ax_restore_flags.m4 autoconf-archive-20170928/m4/ax_restore_flags.m4 --- autoconf-archive-20150925/m4/ax_restore_flags.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_restore_flags.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_restore_flags.html +# https://www.gnu.org/software/autoconf-archive/ax_restore_flags.html # =========================================================================== # # SYNOPSIS @@ -36,7 +36,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 # save one flag in name space AC_DEFUN([_AX_RESTORE_ONE_FLAG],[dnl diff -Nru autoconf-archive-20150925/m4/ax_restore_flags_with_prefix.m4 autoconf-archive-20170928/m4/ax_restore_flags_with_prefix.m4 --- autoconf-archive-20150925/m4/ax_restore_flags_with_prefix.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_restore_flags_with_prefix.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,66 @@ +# ================================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_restore_flags_with_prefix.html +# ================================================================================= +# +# 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]]) +# +# LICENSE +# +# Copyright (c) 2016 Felix Chern +# +# This program is free software; you can 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 . +# +# As a special exception, the respective Autoconf Macro's copyright owner +# gives unlimited permission to copy, distribute and modify the configure +# scripts that are the output of Autoconf when processing the Macro. You +# need not follow the terms of the GNU General Public License when using +# or distributing such scripts, even though portions of the text of the +# Macro appear in them. The GNU General Public License (GPL) does govern +# all other use of the material that constitutes the Autoconf Macro. +# +# This special exception to the GPL applies to versions of the Autoconf +# Macro released by the Autoconf Archive. When you make and distribute a +# modified version of the Autoconf Macro, you may extend this special +# exception to the GPL to apply to your modified version as well. + +#serial 3 + +AC_DEFUN([AX_RESTORE_FLAGS_WITH_PREFIX],[ +m4_ifval([$2], [ +m4_car($2)="$_ax_[]m4_tolower($1)_saved_flag_[]m4_tolower(m4_car($2))" +$0($1, m4_cdr($2))]) +]) diff -Nru autoconf-archive-20150925/m4/ax_rpm_init.m4 autoconf-archive-20170928/m4/ax_rpm_init.m4 --- autoconf-archive-20150925/m4/ax_rpm_init.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_rpm_init.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_rpm_init.html +# https://www.gnu.org/software/autoconf-archive/ax_rpm_init.html # =========================================================================== # # SYNOPSIS @@ -175,7 +175,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 dnl AX_RPM_INIT dnl Figure out how to create rpms for this system and setup for an diff -Nru autoconf-archive-20150925/m4/ax_ruby_devel.m4 autoconf-archive-20170928/m4/ax_ruby_devel.m4 --- autoconf-archive-20150925/m4/ax_ruby_devel.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_ruby_devel.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_ruby_devel.html +# https://www.gnu.org/software/autoconf-archive/ax_ruby_devel.html # =========================================================================== # # SYNOPSIS @@ -14,7 +14,7 @@ # code. # # You can search for some particular version of Ruby by passing a -# parameter to this macro, for example "1.8.6". +# parameter to this macro, for example "2.2.1". # # LICENSE # @@ -37,7 +37,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -52,24 +52,28 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 11 +#serial 14 AC_DEFUN([AX_RUBY_DEVEL],[ - AC_REQUIRE([AX_WITH_RUBY]) - AS_IF([test -n "$1"], [AX_PROG_RUBY_VERSION([$1])]) + AX_WITH_PROG(RUBY,ruby) + AS_IF([test -n "$1"], [ + AX_PROG_RUBY_VERSION([$1],[],[ + AC_MSG_ERROR([this package requires Ruby $1]) + ]) + ]) # - # Check if you have mkmf, else fail - # - AC_MSG_CHECKING([for the mkmf Ruby package]) - ac_mkmf_result=`$RUBY -rmkmf -e ";" 2>&1` - if test -z "$ac_mkmf_result"; then + # Check if you have rbconfig, else fail + # + AC_MSG_CHECKING([for the rbconfig Ruby package]) + ac_rbconfig_result=`$RUBY -rrbconfig -e ";" 2>&1` + if test -z "$ac_rbconfig_result"; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) - AC_MSG_ERROR([cannot import Ruby module "mkmf". + AC_MSG_ERROR([cannot import Ruby module "rbconfig". Please check your Ruby installation. The error was: -$ac_mkmf_result]) +$ac_rbconfig_result]) fi # @@ -77,11 +81,15 @@ # AC_MSG_CHECKING([for Ruby include path]) if test -z "$RUBY_CPPFLAGS"; then - ruby_path=`$RUBY -rmkmf -e 'print Config::CONFIG[["archdir"]]'` + ruby_path=`$RUBY -rrbconfig -e 'print RbConfig::CONFIG[["rubyhdrdir"]]'` + ruby_arch_path=`$RUBY -rrbconfig -e 'print RbConfig::CONFIG[["rubyarchhdrdir"]]'` if test -n "${ruby_path}"; then ruby_path="-I$ruby_path" fi - RUBY_CPPFLAGS=$ruby_path + if test -n "${ruby_arch_path}"; then + ruby_arch_path="-I$ruby_arch_path" + fi + RUBY_CPPFLAGS="$ruby_path $ruby_arch_path" fi AC_MSG_RESULT([$RUBY_CPPFLAGS]) AC_SUBST([RUBY_CPPFLAGS]) @@ -91,7 +99,7 @@ # AC_MSG_CHECKING([for Ruby library path]) if test -z "$RUBY_LDFLAGS"; then - RUBY_LDFLAGS=`$RUBY -rmkmf -e 'print Config::CONFIG[["LIBRUBYARG_SHARED"]]'` + RUBY_LDFLAGS=`$RUBY -rrbconfig -e 'print RbConfig::CONFIG[["LIBRUBYARG_SHARED"]]'` fi AC_MSG_RESULT([$RUBY_LDFLAGS]) AC_SUBST([RUBY_LDFLAGS]) @@ -101,7 +109,7 @@ # AC_MSG_CHECKING([for Ruby site-packages path]) if test -z "$RUBY_SITE_PKG"; then - RUBY_SITE_PKG=`$RUBY -rmkmf -e 'print Config::CONFIG[["sitearchdir"]]'` + RUBY_SITE_PKG=`$RUBY -rrbconfig -e 'print RbConfig::CONFIG[["sitearchdir"]]'` fi AC_MSG_RESULT([$RUBY_SITE_PKG]) AC_SUBST([RUBY_SITE_PKG]) @@ -111,7 +119,7 @@ # AC_MSG_CHECKING(ruby extra libraries) if test -z "$RUBY_EXTRA_LIBS"; then - RUBY_EXTRA_LIBS=`$RUBY -rmkmf -e 'print Config::CONFIG[["SOLIBS"]]'` + RUBY_EXTRA_LIBS=`$RUBY -rrbconfig -e 'print RbConfig::CONFIG[["SOLIBS"]]'` fi AC_MSG_RESULT([$RUBY_EXTRA_LIBS]) AC_SUBST(RUBY_EXTRA_LIBS) @@ -122,7 +130,7 @@ # # AC_MSG_CHECKING(ruby extra linking flags) # if test -z "$RUBY_EXTRA_LDFLAGS"; then - # RUBY_EXTRA_LDFLAGS=`$RUBY -rmkmf -e 'print Config::CONFIG[["LINKFORSHARED"]]'` + # RUBY_EXTRA_LDFLAGS=`$RUBY -rrbconfig -e 'print RbConfig::CONFIG[["LINKFORSHARED"]]'` # fi # AC_MSG_RESULT([$RUBY_EXTRA_LDFLAGS]) # AC_SUBST(RUBY_EXTRA_LDFLAGS) diff -Nru autoconf-archive-20150925/m4/ax_ruby_ext.m4 autoconf-archive-20170928/m4/ax_ruby_ext.m4 --- autoconf-archive-20150925/m4/ax_ruby_ext.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_ruby_ext.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_ruby_ext.html +# https://www.gnu.org/software/autoconf-archive/ax_ruby_ext.html # =========================================================================== # # SYNOPSIS @@ -56,7 +56,7 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # THE POSSIBILITY OF SUCH DAMAGE. -#serial 2 +#serial 4 AC_DEFUN([AX_RUBY_EXT],[ @@ -83,7 +83,7 @@ AC_ARG_VAR(RUBY_EXT_INC, [Directory to include ruby headers from]) AC_MSG_CHECKING([for Ruby headers include path]) if test -z "$RUBY_EXT_INC" ; then - [RUBY_EXT_INC=`$RUBY -rrbconfig -e 'puts Config::CONFIG["archdir"]'`]; + [RUBY_EXT_INC=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG["archdir"]'`]; fi AC_MSG_RESULT([$RUBY_EXT_INC]) AC_SUBST(RUBY_EXT_INC) @@ -94,7 +94,7 @@ AC_ARG_VAR(RUBY_EXT_LIB, [Directory to install ruby extensions into]) AC_MSG_CHECKING([for Ruby extensions target directory]) if test -z "$RUBY_EXT_LIB" ; then - [RUBY_EXT_LIB=`$RUBY -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]'`]; + [RUBY_EXT_LIB=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG["sitearchdir"]'`]; fi AC_MSG_RESULT([$RUBY_EXT_LIB]) AC_SUBST(RUBY_EXT_LIB) @@ -105,7 +105,7 @@ AC_ARG_VAR(RUBY_EXT_CPPFLAGS, [CPPFLAGS to compile Ruby extensions]) AC_MSG_CHECKING([for Ruby extensions C preprocessor flags]) if test -z "$RUBY_EXT_CPPFLAGS" ; then - [RUBY_EXT_CPPFLAGS=`$RUBY -rrbconfig -e 'puts Config::CONFIG["CPPFLAGS"]'`]; + [RUBY_EXT_CPPFLAGS=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG["CPPFLAGS"]'`]; fi AC_MSG_RESULT([$RUBY_EXT_CPPFLAGS]) AC_SUBST(RUBY_EXT_CPPFLAGS) @@ -116,7 +116,7 @@ AC_ARG_VAR(RUBY_EXT_LDFLAGS, [LDFLAGS to build Ruby extensions]) AC_MSG_CHECKING([for Ruby extensions linker flags]) if test -z "$RUBY_EXT_LDFLAGS" ; then - [RUBY_EXT_LDFLAGS=`$RUBY -rrbconfig -e 'puts Config::CONFIG["LDFLAGS"]'`]; + [RUBY_EXT_LDFLAGS=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG["LDFLAGS"]'`]; fi # Fix LDFLAGS for OS X. We don't want any -arch flags here, otherwise # linking might fail. We also including the proper flags to create a bundle. @@ -135,7 +135,7 @@ AC_ARG_VAR(RUBY_EXT_DLEXT, [Ruby dynamic library extension]) AC_MSG_CHECKING([for Ruby dynamic library extension]) if test -z "$RUBY_EXT_DLEXT" ; then - [RUBY_EXT_DLEXT=`$RUBY -rrbconfig -e 'puts Config::CONFIG["DLEXT"]'`]; + [RUBY_EXT_DLEXT=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG["DLEXT"]'`]; RUBY_EXT_DLEXT=".${RUBY_EXT_DLEXT}" fi AC_MSG_RESULT([$RUBY_EXT_DLEXT]) diff -Nru autoconf-archive-20150925/m4/ax_save_flags.m4 autoconf-archive-20170928/m4/ax_save_flags.m4 --- autoconf-archive-20150925/m4/ax_save_flags.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_save_flags.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_save_flags.html +# https://www.gnu.org/software/autoconf-archive/ax_save_flags.html # =========================================================================== # # SYNOPSIS @@ -34,7 +34,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 # list of flag to save AC_DEFUN([_AX_SAVE_FLAGS_LIST],[dnl diff -Nru autoconf-archive-20150925/m4/ax_save_flags_with_prefix.m4 autoconf-archive-20170928/m4/ax_save_flags_with_prefix.m4 --- autoconf-archive-20150925/m4/ax_save_flags_with_prefix.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_save_flags_with_prefix.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,72 @@ +# ============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_save_flags_with_prefix.html +# ============================================================================== +# +# 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]]) +# +# LICENSE +# +# Copyright (c) 2016 Felix Chern +# +# This program is free software; you can 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 . +# +# As a special exception, the respective Autoconf Macro's copyright owner +# gives unlimited permission to copy, distribute and modify the configure +# scripts that are the output of Autoconf when processing the Macro. You +# need not follow the terms of the GNU General Public License when using +# or distributing such scripts, even though portions of the text of the +# Macro appear in them. The GNU General Public License (GPL) does govern +# all other use of the material that constitutes the Autoconf Macro. +# +# This special exception to the GPL applies to versions of the Autoconf +# Macro released by the Autoconf Archive. When you make and distribute a +# modified version of the Autoconf Macro, you may extend this special +# exception to the GPL to apply to your modified version as well. + +#serial 3 + +AC_DEFUN([AX_SAVE_FLAGS_WITH_PREFIX],[ +m4_ifval([$2], [ +_ax_[]m4_tolower($1)_saved_flag_[]m4_tolower(m4_car($2))="$m4_car($2)" +m4_car($2)="$$1_[]m4_car($2) $m4_car($2)" +$0($1, m4_cdr($2)) +])]) diff -Nru autoconf-archive-20150925/m4/ax_set_default_paths_system.m4 autoconf-archive-20170928/m4/ax_set_default_paths_system.m4 --- autoconf-archive-20150925/m4/ax_set_default_paths_system.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_set_default_paths_system.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =============================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_set_default_paths_system.html -# =============================================================================== +# ================================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_set_default_paths_system.html +# ================================================================================ # # SYNOPSIS # @@ -31,7 +31,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -46,7 +46,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 8 +#serial 9 AU_ALIAS([AC_SET_DEFAULT_PATHS_SYSTEM], [AX_SET_DEFAULT_PATHS_SYSTEM]) AC_DEFUN([AX_SET_DEFAULT_PATHS_SYSTEM], diff -Nru autoconf-archive-20150925/m4/ax_short_sleep.m4 autoconf-archive-20170928/m4/ax_short_sleep.m4 --- autoconf-archive-20150925/m4/ax_short_sleep.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_short_sleep.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_short_sleep.html +# https://www.gnu.org/software/autoconf-archive/ax_short_sleep.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([ETR_SHORT_SLEEP], [AX_SHORT_SLEEP]) AC_DEFUN([AX_SHORT_SLEEP], diff -Nru autoconf-archive-20150925/m4/ax_silent_mode.m4 autoconf-archive-20170928/m4/ax_silent_mode.m4 --- autoconf-archive-20150925/m4/ax_silent_mode.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_silent_mode.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_silent_mode.html +# https://www.gnu.org/software/autoconf-archive/ax_silent_mode.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_SILENT_MODE], [ diff -Nru autoconf-archive-20150925/m4/ax_sip_devel.m4 autoconf-archive-20170928/m4/ax_sip_devel.m4 --- autoconf-archive-20150925/m4/ax_sip_devel.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_sip_devel.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_sip_devel.html +# https://www.gnu.org/software/autoconf-archive/ax_sip_devel.html # =========================================================================== # # SYNOPSIS @@ -37,11 +37,11 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 10 AU_ALIAS([MERK_SIP_DEVEL], [AX_SIP_DEVEL]) AC_DEFUN([AX_SIP_DEVEL],[ -#-- provice --with-sip=PATH command line argument +#-- provide --with-sip=PATH command line argument AC_ARG_WITH([sip], AS_HELP_STRING([--with-sip=PATH], [specify the location of the qt/qtmod.sip file]), [sip_search_dir="$withval"], diff -Nru autoconf-archive-20150925/m4/ax_spec_file.m4 autoconf-archive-20170928/m4/ax_spec_file.m4 --- autoconf-archive-20150925/m4/ax_spec_file.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_spec_file.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_spec_file.html +# https://www.gnu.org/software/autoconf-archive/ax_spec_file.html # =========================================================================== # # SYNOPSIS @@ -33,7 +33,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -48,7 +48,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 9 +#serial 10 AC_DEFUN([AX_SPEC_FILE], [ AC_MSG_CHECKING([rpm spec file]) diff -Nru autoconf-archive-20150925/m4/ax_spec_package_version.m4 autoconf-archive-20170928/m4/ax_spec_package_version.m4 --- autoconf-archive-20150925/m4/ax_spec_package_version.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_spec_package_version.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_spec_package_version.html -# =========================================================================== +# ============================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_spec_package_version.html +# ============================================================================ # # SYNOPSIS # @@ -33,7 +33,7 @@ # the value is set to `date +0.%y.%W%w`. # # the version value itself is sanitized somewhat with making it to always -# carry atleast three digits (1.2.3) and clensing superflous "0" chars +# 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 @@ -67,7 +67,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -82,7 +82,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 12 AC_DEFUN([AX_SPEC_PACKAGE_LICENSE],[AC_REQUIRE([AX_SPEC_FILE])dnl AS_VAR_PUSHDEF([VAR],[PACKAGE_LICENSE])dnl diff -Nru autoconf-archive-20150925/m4/ax_split_version.m4 autoconf-archive-20170928/m4/ax_split_version.m4 --- autoconf-archive-20150925/m4/ax_split_version.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_split_version.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_split_version.html +# https://www.gnu.org/software/autoconf-archive/ax_split_version.html # =========================================================================== # # SYNOPSIS @@ -22,7 +22,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 9 +#serial 10 AC_DEFUN([AX_SPLIT_VERSION],[ AC_REQUIRE([AC_PROG_SED]) diff -Nru autoconf-archive-20150925/m4/ax_strings_strcasecmp.m4 autoconf-archive-20170928/m4/ax_strings_strcasecmp.m4 --- autoconf-archive-20150925/m4/ax_strings_strcasecmp.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_strings_strcasecmp.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_strings_strcasecmp.html +# https://www.gnu.org/software/autoconf-archive/ax_strings_strcasecmp.html # =========================================================================== # # SYNOPSIS @@ -20,7 +20,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AU_ALIAS([ETR_STRINGS_STRCASECMP], [AX_STRINGS_STRCASECMP]) AC_DEFUN([AX_STRINGS_STRCASECMP], diff -Nru autoconf-archive-20150925/m4/ax_string_strcasecmp.m4 autoconf-archive-20170928/m4/ax_string_strcasecmp.m4 --- autoconf-archive-20150925/m4/ax_string_strcasecmp.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_string_strcasecmp.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_string_strcasecmp.html +# https://www.gnu.org/software/autoconf-archive/ax_string_strcasecmp.html # =========================================================================== # # SYNOPSIS @@ -31,7 +31,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AU_ALIAS([ETR_STRING_STRCASECMP], [AX_STRING_STRCASECMP]) AC_DEFUN([AX_STRING_STRCASECMP], diff -Nru autoconf-archive-20150925/m4/ax_struct_semun.m4 autoconf-archive-20170928/m4/ax_struct_semun.m4 --- autoconf-archive-20150925/m4/ax_struct_semun.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_struct_semun.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_struct_semun.html +# https://www.gnu.org/software/autoconf-archive/ax_struct_semun.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AU_ALIAS([ETR_STRUCT_SEMUN], [AX_STRUCT_SEMUN]) AC_DEFUN([AX_STRUCT_SEMUN], diff -Nru autoconf-archive-20150925/m4/ax_subdir_files.m4 autoconf-archive-20170928/m4/ax_subdir_files.m4 --- autoconf-archive-20150925/m4/ax_subdir_files.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_subdir_files.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_subdir_files.html +# https://www.gnu.org/software/autoconf-archive/ax_subdir_files.html # =========================================================================== # # SYNOPSIS @@ -30,7 +30,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -45,7 +45,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 6 +#serial 7 AU_ALIAS([AC_SUBDIR_FILES], [AX_SUBDIR_FILES]) AC_DEFUN([AX_SUBDIR_FILES], diff -Nru autoconf-archive-20150925/m4/ax_subdirs_configure.m4 autoconf-archive-20170928/m4/ax_subdirs_configure.m4 --- autoconf-archive-20150925/m4/ax_subdirs_configure.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_subdirs_configure.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,337 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_subdirs_configure.html +# =========================================================================== +# +# 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 '--cache-file' and '--srcdir' and adds +# '--disable-option-checking' and '--silent' if necessary. +# +# 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: +# +# $ --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) +# +# LICENSE +# +# Copyright (c) 2017 Harenome Ranaivoarivony-Razanajato +# +# This program is free software; you can 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 . + +#serial 4 + +AC_DEFUN([AX_SUBDIRS_CONFIGURE], +[ + dnl Calls to AC_CONFIG_SUBDIRS perform preliminary steps and build a list + dnl '$subdirs' which is used later by _AC_OUTPUT_SUBDIRS (used by AC_OUTPUT) + dnl to actually run the configure scripts. + dnl This macro performs similiar preliminary steps but uses + dnl AC_CONFIG_COMMANDS_PRE to delay the final tasks instead of building an + dnl intermediary list and relying on another macro. + dnl + dnl Since each configure script can get different options, a special variable + dnl named 'ax_sub_configure_args_' is constructed for each + dnl subdirectory. + + # Various preliminary checks. + AC_REQUIRE([AC_DISABLE_OPTION_CHECKING]) + AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) + AS_LITERAL_IF([$1], [], + [AC_DIAGNOSE([syntax], [$0: you should use literals])]) + + m4_foreach(subdir_path, [$1], + [ + ax_dir="subdir_path" + + dnl Build the argument list in a similiar fashion to AC_CONFIG_SUBDIRS. + dnl A few arguments found in the final call to the configure script are not + dnl added here because they rely on variables that may not yet be available + dnl (see below the part that is similiar to _AC_OUTPUT_SUBDIRS). + # Do not complain, so a configure script can configure whichever parts of a + # large source tree are present. + if test -d "$srcdir/$ax_dir"; then + _AC_SRCDIRS(["$ax_dir"]) + # Remove --cache-file, --srcdir, and --disable-option-checking arguments + # so they do not pile up. + ax_args= + ax_prev= + eval "set x $ac_configure_args" + shift + for ax_arg; do + if test -n "$ax_prev"; then + ax_prev= + continue + fi + case $ax_arg in + -cache-file | --cache-file | --cache-fil | --cache-fi | --cache-f \ + | --cache- | --cache | --cach | --cac | --ca | --c) + ax_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ + | --c=*) + ;; + --config-cache | -C) + ;; + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ax_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + ;; + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ax_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* \ + | --p=*) + ;; + --disable-option-checking) + ;; + *) case $ax_arg in + *\'*) ax_arg=$(AS_ECHO(["$ax_arg"]) | sed "s/'/'\\\\\\\\''/g");; + esac + AS_VAR_APPEND([ax_args], [" '$ax_arg'"]) ;; + esac + done + # Always prepend --disable-option-checking to silence warnings, since + # different subdirs can have different --enable and --with options. + ax_args="--disable-option-checking $ax_args" + # Options that must be added as they are provided. + m4_ifnblank([$2], [m4_foreach(opt, [$2], [AS_VAR_APPEND(ax_args, " 'opt'") + ])]) + # New options that may need to be merged with existing options. + m4_ifnblank([$3], [m4_foreach(opt, [$3], + [ax_candidate="opt" + ax_candidate_flag="${ax_candidate%%=*}" + ax_candidate_content="${ax_candidate#*=}" + if test "x$ax_candidate" != "x" -a "x$ax_candidate_flag" != "x"; then + if echo "$ax_args" | grep -- "${ax_candidate_flag}=" >/dev/null 2>&1; then + [ax_args=$(echo $ax_args | sed "s,\(${ax_candidate_flag}=[^']*\),\1 ${ax_candidate_content},")] + else + AS_VAR_APPEND(ax_args, " 'opt'") + fi + fi + ])]) + # New options that must replace existing options. + m4_ifnblank([$4], [m4_foreach(opt, [$4], + [ax_candidate="opt" + ax_candidate_flag="${ax_candidate%%=*}" + ax_candidate_content="${ax_candidate#*=}" + if test "x$ax_candidate" != "x" -a "x$ax_candidate_flag" != "x"; then + if echo "$ax_args" | grep -- "${ax_candidate_flag}=" >/dev/null 2>&1; then + [ax_args=$(echo $ax_args | sed "s,${ax_candidate_flag}=[^']*,${ax_candidate},")] + else + AS_VAR_APPEND(ax_args, " 'opt'") + fi + fi + ])]) + # Options that must be removed. + m4_ifnblank([$5], [m4_foreach(opt, [$5], [ax_args=$(echo $ax_args | sed "s,'opt',,") + ])]) + AS_VAR_APPEND([ax_args], [" '--srcdir=$ac_srcdir'"]) + + # Add the subdirectory to the list of target subdirectories. + ax_subconfigures="$ax_subconfigures $ax_dir" + # Save the argument list for this subdirectory. + dnl $1 is a path to some subdirectory: m4_bpatsubsts() is used to convert + dnl $1 into a valid shell variable name. + dnl For instance, "ax_sub_configure_args_path/to/subdir" becomes + dnl "ax_sub_configure_args_path_to_subdir". + ax_var=$(printf "$ax_dir" | tr -c "0-9a-zA-Z_" "_") + eval "ax_sub_configure_args_$ax_var=\"$ax_args\"" + eval "ax_sub_configure_$ax_var=\"yes\"" + else + AC_MSG_WARN([could not find source tree for $ax_dir]) + fi + + dnl Add some more arguments to the argument list and then actually run the + dnl configure script. This is mostly what happens in _AC_OUTPUT_SUBDIRS + dnl except it does not iterate over an intermediary list. + AC_CONFIG_COMMANDS_PRE( + dnl This very line cannot be quoted! m4_foreach has some work here. + ax_dir="subdir_path" + [ + # Convert the path to the subdirectory into a shell variable name. + ax_var=$(printf "$ax_dir" | tr -c "0-9a-zA-Z_" "_") + ax_configure_ax_var=$(eval "echo \"\$ax_sub_configure_$ax_var\"") + if test "$no_recursion" != "yes" -a "x$ax_configure_ax_var" = "xyes"; then + AC_SUBST([subdirs_extra], ["$subdirs_extra $ax_dir"]) + ax_msg="=== configuring in $ax_dir ($(pwd)/$ax_dir)" + _AS_ECHO_LOG([$ax_msg]) + _AS_ECHO([$ax_msg]) + AS_MKDIR_P(["$ax_dir"]) + _AC_SRCDIRS(["$ax_dir"]) + + ax_popdir=$(pwd) + cd "$ax_dir" + + # Check for guested configure; otherwise get Cygnus style configure. + if test -f "$ac_srcdir/configure.gnu"; then + ax_sub_configure=$ac_srcdir/configure.gnu + elif test -f "$ac_srcdir/configure"; then + ax_sub_configure=$ac_srcdir/configure + elif test -f "$ac_srcdir/configure.in"; then + # This should be Cygnus configure. + ax_sub_configure=$ac_aux_dir/configure + else + AC_MSG_WARN([no configuration information is in $ax_dir]) + ax_sub_configure= + fi + + if test -n "$ax_sub_configure"; then + # Get the configure arguments for the current configure. + eval "ax_sub_configure_args=\"\$ax_sub_configure_args_${ax_var}\"" + + # Always prepend --prefix to ensure using the same prefix + # in subdir configurations. + ax_arg="--prefix=$prefix" + case $ax_arg in + *\'*) ax_arg=$(AS_ECHO(["$ax_arg"]) | sed "s/'/'\\\\\\\\''/g");; + esac + ax_sub_configure_args="'$ax_arg' $ax_sub_configure_args" + if test "$silent" = yes; then + ax_sub_configure_args="--silent $ax_sub_configure_args" + fi + # Make the cache file name correct relative to the subdirectory. + case $cache_file in + [[\\/]]* | ?:[[\\/]]* ) + ax_sub_cache_file=$cache_file ;; + *) # Relative name. + ax_sub_cache_file=$ac_top_build_prefix$cache_file ;; + esac + + AC_MSG_NOTICE([running $SHELL $ax_sub_configure $ax_sub_configure_args --cache-file=$ac_sub_cache_file]) + eval "\$SHELL \"$ax_sub_configure\" $ax_sub_configure_args --cache-file=\"$ax_sub_cache_file\"" \ + || AC_MSG_ERROR([$ax_sub_configure failed for $ax_dir]) + fi + + cd "$ax_popdir" + fi + ]) + ]) +]) diff -Nru autoconf-archive-20150925/m4/ax_subst_with.m4 autoconf-archive-20170928/m4/ax_subst_with.m4 --- autoconf-archive-20150925/m4/ax_subst_with.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_subst_with.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_subst_with.html +# https://www.gnu.org/software/autoconf-archive/ax_subst_with.html # =========================================================================== # # SYNOPSIS @@ -40,7 +40,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -55,7 +55,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 8 dnl AX_SUBST_WITH_IF(flag,cond) - not unlike AM_CONDITIONAL AC_DEFUN([AX_SUBST_WITH_IF],[dnl diff -Nru autoconf-archive-20150925/m4/ax_swig_enable_cxx.m4 autoconf-archive-20170928/m4/ax_swig_enable_cxx.m4 --- autoconf-archive-20150925/m4/ax_swig_enable_cxx.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_swig_enable_cxx.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_swig_enable_cxx.html +# https://www.gnu.org/software/autoconf-archive/ax_swig_enable_cxx.html # =========================================================================== # # SYNOPSIS @@ -28,7 +28,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -43,7 +43,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 9 +#serial 10 AU_ALIAS([SWIG_ENABLE_CXX], [AX_SWIG_ENABLE_CXX]) AC_DEFUN([AX_SWIG_ENABLE_CXX],[ diff -Nru autoconf-archive-20150925/m4/ax_swig_multi_module_support.m4 autoconf-archive-20170928/m4/ax_swig_multi_module_support.m4 --- autoconf-archive-20150925/m4/ax_swig_multi_module_support.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_swig_multi_module_support.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ================================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_swig_multi_module_support.html -# ================================================================================ +# ================================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_swig_multi_module_support.html +# ================================================================================= # # SYNOPSIS # @@ -32,7 +32,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -47,7 +47,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 10 +#serial 11 AU_ALIAS([SWIG_MULTI_MODULE_SUPPORT], [AX_SWIG_MULTI_MODULE_SUPPORT]) AC_DEFUN([AX_SWIG_MULTI_MODULE_SUPPORT],[ diff -Nru autoconf-archive-20150925/m4/ax_swig_python.m4 autoconf-archive-20170928/m4/ax_swig_python.m4 --- autoconf-archive-20150925/m4/ax_swig_python.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_swig_python.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_swig_python.html +# https://www.gnu.org/software/autoconf-archive/ax_swig_python.html # =========================================================================== # # SYNOPSIS @@ -37,7 +37,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -52,7 +52,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 10 +#serial 11 AU_ALIAS([SWIG_PYTHON], [AX_SWIG_PYTHON]) AC_DEFUN([AX_SWIG_PYTHON],[ diff -Nru autoconf-archive-20150925/m4/ax_switch_flags.m4 autoconf-archive-20170928/m4/ax_switch_flags.m4 --- autoconf-archive-20150925/m4/ax_switch_flags.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_switch_flags.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_switch_flags.html +# https://www.gnu.org/software/autoconf-archive/ax_switch_flags.html # =========================================================================== # # SYNOPSIS @@ -36,7 +36,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 3 +#serial 4 AC_DEFUN([AX_SWITCH_FLAGS], [ AC_REQUIRE(AX_SAVE_FLAGS) diff -Nru autoconf-archive-20150925/m4/ax_sys_dev_poll.m4 autoconf-archive-20170928/m4/ax_sys_dev_poll.m4 --- autoconf-archive-20150925/m4/ax_sys_dev_poll.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_sys_dev_poll.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_sys_dev_poll.html +# https://www.gnu.org/software/autoconf-archive/ax_sys_dev_poll.html # =========================================================================== # # SYNOPSIS @@ -25,7 +25,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([AC_SYS_DEV_POLL], [AX_SYS_DEV_POLL]) AC_DEFUN([AX_SYS_DEV_POLL], [AC_CACHE_CHECK(for /dev/poll support, ac_cv_dev_poll, diff -Nru autoconf-archive-20150925/m4/ax_sys_largefile_sensitive.m4 autoconf-archive-20170928/m4/ax_sys_largefile_sensitive.m4 --- autoconf-archive-20150925/m4/ax_sys_largefile_sensitive.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_sys_largefile_sensitive.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_sys_largefile_sensitive.html -# ============================================================================== +# =============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_sys_largefile_sensitive.html +# =============================================================================== # # SYNOPSIS # @@ -14,8 +14,8 @@ # is. # # This macro builds on top of AC_SYS_LARGEFILE to detect whether special -# options are neede to make the code use 64bit off_t - in many setups this -# will also make the code use 64bit off_t immediatly. +# 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. @@ -48,7 +48,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -63,7 +63,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 6 +#serial 10 AU_ALIAS([AC_SYS_LARGEFILE_SENSITIVE], [AX_SYS_LARGEFILE_SENSITIVE]) AC_DEFUN([AX_SYS_LARGEFILE_SENSITIVE],[dnl diff -Nru autoconf-archive-20150925/m4/ax_sys_perlsharpbang.m4 autoconf-archive-20170928/m4/ax_sys_perlsharpbang.m4 --- autoconf-archive-20150925/m4/ax_sys_perlsharpbang.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_sys_perlsharpbang.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_sys_perlsharpbang.html +# https://www.gnu.org/software/autoconf-archive/ax_sys_perlsharpbang.html # =========================================================================== # # SYNOPSIS @@ -58,7 +58,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 13 +#serial 14 AC_DEFUN([AX_SYS_PERLSHARPBANG],[dnl diff -Nru autoconf-archive-20150925/m4/ax_sysv_ipc.m4 autoconf-archive-20170928/m4/ax_sysv_ipc.m4 --- autoconf-archive-20150925/m4/ax_sysv_ipc.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_sysv_ipc.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_sysv_ipc.html +# https://www.gnu.org/software/autoconf-archive/ax_sysv_ipc.html # =========================================================================== # # SYNOPSIS @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AU_ALIAS([ETR_SYSV_IPC], [AX_SYSV_IPC]) AC_DEFUN([AX_SYSV_IPC], diff -Nru autoconf-archive-20150925/m4/ax_sys_weak_alias.m4 autoconf-archive-20170928/m4/ax_sys_weak_alias.m4 --- autoconf-archive-20150925/m4/ax_sys_weak_alias.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_sys_weak_alias.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_sys_weak_alias.html +# https://www.gnu.org/software/autoconf-archive/ax_sys_weak_alias.html # =========================================================================== # # SYNOPSIS @@ -110,7 +110,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 6 +#serial 7 AU_ALIAS([KLM_SYS_WEAK_ALIAS], [AX_SYS_WEAK_ALIAS]) AC_DEFUN([AX_SYS_WEAK_ALIAS], [ diff -Nru autoconf-archive-20150925/m4/ax_tls.m4 autoconf-archive-20170928/m4/ax_tls.m4 --- autoconf-archive-20150925/m4/ax_tls.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_tls.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_tls.html +# https://www.gnu.org/software/autoconf-archive/ax_tls.html # =========================================================================== # # SYNOPSIS @@ -9,9 +9,9 @@ # DESCRIPTION # # Provides a test for the compiler support of thread local storage (TLS) -# extensions. Defines TLS if it is found. Currently knows about GCC/ICC -# and MSVC. I think SunPro uses the same as GCC, and Borland apparently -# supports either. +# 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. # # LICENSE # @@ -29,7 +29,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -44,12 +44,12 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 11 +#serial 14 AC_DEFUN([AX_TLS], [ AC_MSG_CHECKING([for thread local storage (TLS) class]) AC_CACHE_VAL([ac_cv_tls], - [for ax_tls_keyword in __thread '__declspec(thread)' none; do + [for ax_tls_keyword in thread_local _Thread_local __thread '__declspec(thread)' none; do AS_CASE([$ax_tls_keyword], [none], [ac_cv_tls=none ; break], [AC_TRY_COMPILE( diff -Nru autoconf-archive-20150925/m4/ax_trilinos_amesos.m4 autoconf-archive-20170928/m4/ax_trilinos_amesos.m4 --- autoconf-archive-20150925/m4/ax_trilinos_amesos.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_trilinos_amesos.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_trilinos_amesos.html +# https://www.gnu.org/software/autoconf-archive/ax_trilinos_amesos.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_TRILINOS_AMESOS],[ AC_REQUIRE([AX_TRILINOS_BASE]) diff -Nru autoconf-archive-20150925/m4/ax_trilinos_base.m4 autoconf-archive-20170928/m4/ax_trilinos_base.m4 --- autoconf-archive-20150925/m4/ax_trilinos_base.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_trilinos_base.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_trilinos_base.html +# https://www.gnu.org/software/autoconf-archive/ax_trilinos_base.html # =========================================================================== # # SYNOPSIS @@ -39,7 +39,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 9 +#serial 10 AC_DEFUN([AX_TRILINOS_BASE], [ diff -Nru autoconf-archive-20150925/m4/ax_trilinos_epetraext_hdf5.m4 autoconf-archive-20170928/m4/ax_trilinos_epetraext_hdf5.m4 --- autoconf-archive-20150925/m4/ax_trilinos_epetraext_hdf5.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_trilinos_epetraext_hdf5.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_trilinos_epetraext_hdf5.html -# ============================================================================== +# =============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_trilinos_epetraext_hdf5.html +# =============================================================================== # # SYNOPSIS # @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_TRILINOS_EPETRAEXT_HDF5],[ AC_REQUIRE([AC_LIB_HDF5]) diff -Nru autoconf-archive-20150925/m4/ax_trilinos_epetraext.m4 autoconf-archive-20170928/m4/ax_trilinos_epetraext.m4 --- autoconf-archive-20150925/m4/ax_trilinos_epetraext.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_trilinos_epetraext.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_trilinos_epetraext.html +# https://www.gnu.org/software/autoconf-archive/ax_trilinos_epetraext.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_TRILINOS_EPETRAEXT],[ AC_REQUIRE([AX_TRILINOS_BASE]) diff -Nru autoconf-archive-20150925/m4/ax_trilinos_epetra.m4 autoconf-archive-20170928/m4/ax_trilinos_epetra.m4 --- autoconf-archive-20150925/m4/ax_trilinos_epetra.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_trilinos_epetra.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_trilinos_epetra.html +# https://www.gnu.org/software/autoconf-archive/ax_trilinos_epetra.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_TRILINOS_EPETRA],[ AC_REQUIRE([AX_TRILINOS_BASE]) diff -Nru autoconf-archive-20150925/m4/ax_trilinos_rtop.m4 autoconf-archive-20170928/m4/ax_trilinos_rtop.m4 --- autoconf-archive-20150925/m4/ax_trilinos_rtop.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_trilinos_rtop.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_trilinos_rtop.html +# https://www.gnu.org/software/autoconf-archive/ax_trilinos_rtop.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_TRILINOS_RTOP],[ AC_REQUIRE([AX_TRILINOS_BASE]) diff -Nru autoconf-archive-20150925/m4/ax_trilinos_rythmos.m4 autoconf-archive-20170928/m4/ax_trilinos_rythmos.m4 --- autoconf-archive-20150925/m4/ax_trilinos_rythmos.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_trilinos_rythmos.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_trilinos_rythmos.html +# https://www.gnu.org/software/autoconf-archive/ax_trilinos_rythmos.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_TRILINOS_RYTHMOS],[ AC_REQUIRE([AX_TRILINOS_BASE]) diff -Nru autoconf-archive-20150925/m4/ax_trilinos_teuchos.m4 autoconf-archive-20170928/m4/ax_trilinos_teuchos.m4 --- autoconf-archive-20150925/m4/ax_trilinos_teuchos.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_trilinos_teuchos.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_trilinos_teuchos.html +# https://www.gnu.org/software/autoconf-archive/ax_trilinos_teuchos.html # =========================================================================== # # SYNOPSIS @@ -24,7 +24,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_TRILINOS_TEUCHOS],[ AC_REQUIRE([AX_TRILINOS_BASE]) diff -Nru autoconf-archive-20150925/m4/ax_trilinos_thyra_epetraext.m4 autoconf-archive-20170928/m4/ax_trilinos_thyra_epetraext.m4 --- autoconf-archive-20150925/m4/ax_trilinos_thyra_epetraext.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_trilinos_thyra_epetraext.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# =============================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_trilinos_thyra_epetraext.html -# =============================================================================== +# ================================================================================ +# https://www.gnu.org/software/autoconf-archive/ax_trilinos_thyra_epetraext.html +# ================================================================================ # # SYNOPSIS # @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_TRILINOS_THYRA_EPETRAEXT],[ AC_REQUIRE([AX_TRILINOS_BASE]) diff -Nru autoconf-archive-20150925/m4/ax_trilinos_thyra_epetra.m4 autoconf-archive-20170928/m4/ax_trilinos_thyra_epetra.m4 --- autoconf-archive-20150925/m4/ax_trilinos_thyra_epetra.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_trilinos_thyra_epetra.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_trilinos_thyra_epetra.html -# ============================================================================ +# ============================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_trilinos_thyra_epetra.html +# ============================================================================= # # SYNOPSIS # @@ -21,7 +21,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_TRILINOS_THYRA_EPETRA],[ AC_REQUIRE([AX_TRILINOS_BASE]) diff -Nru autoconf-archive-20150925/m4/ax_trilinos_thyra.m4 autoconf-archive-20170928/m4/ax_trilinos_thyra.m4 --- autoconf-archive-20150925/m4/ax_trilinos_thyra.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_trilinos_thyra.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_trilinos_thyra.html +# https://www.gnu.org/software/autoconf-archive/ax_trilinos_thyra.html # =========================================================================== # # SYNOPSIS @@ -23,7 +23,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_TRILINOS_THYRA],[ AC_REQUIRE([AX_TRILINOS_BASE]) diff -Nru autoconf-archive-20150925/m4/ax_try_awk_anyout.m4 autoconf-archive-20170928/m4/ax_try_awk_anyout.m4 --- autoconf-archive-20150925/m4/ax_try_awk_anyout.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_try_awk_anyout.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_try_awk_anyout.html +# https://www.gnu.org/software/autoconf-archive/ax_try_awk_anyout.html # =========================================================================== # # SYNOPSIS @@ -27,7 +27,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_TRY_AWK_ANYOUT], [ AC_REQUIRE([AX_NEED_AWK]) diff -Nru autoconf-archive-20150925/m4/ax_try_awk_expout.m4 autoconf-archive-20170928/m4/ax_try_awk_expout.m4 --- autoconf-archive-20150925/m4/ax_try_awk_expout.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_try_awk_expout.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_try_awk_expout.html +# https://www.gnu.org/software/autoconf-archive/ax_try_awk_expout.html # =========================================================================== # # SYNOPSIS @@ -28,7 +28,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_TRY_AWK_EXPOUT], [ AC_REQUIRE([AX_NEED_AWK]) diff -Nru autoconf-archive-20150925/m4/ax_try_compile_java.m4 autoconf-archive-20170928/m4/ax_try_compile_java.m4 --- autoconf-archive-20150925/m4/ax_try_compile_java.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_try_compile_java.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_try_compile_java.html +# https://www.gnu.org/software/autoconf-archive/ax_try_compile_java.html # =========================================================================== # # SYNOPSIS @@ -29,7 +29,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 10 AU_ALIAS([AC_TRY_COMPILE_JAVA], [AX_TRY_COMPILE_JAVA]) AC_DEFUN([AX_TRY_COMPILE_JAVA],[ @@ -48,8 +48,8 @@ else echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD cat Test.java >&AS_MESSAGE_LOG_FD -ifelse([$4], , , [ rm -fr Test.java Test.class +ifelse([$4], , , [ rm -f Test.java Test.class $4 ])dnl fi -rm -fr Test.java Test.class]) +rm -f Test.java Test.class]) diff -Nru autoconf-archive-20150925/m4/ax_try_run_java.m4 autoconf-archive-20170928/m4/ax_try_run_java.m4 --- autoconf-archive-20150925/m4/ax_try_run_java.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_try_run_java.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_try_run_java.html +# https://www.gnu.org/software/autoconf-archive/ax_try_run_java.html # =========================================================================== # # SYNOPSIS @@ -29,7 +29,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AU_ALIAS([AC_TRY_RUN_JAVA], [AX_TRY_RUN_JAVA]) AC_DEFUN([AX_TRY_RUN_JAVA],[ diff -Nru autoconf-archive-20150925/m4/ax_type_socklen_t.m4 autoconf-archive-20170928/m4/ax_type_socklen_t.m4 --- autoconf-archive-20150925/m4/ax_type_socklen_t.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_type_socklen_t.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_type_socklen_t.html +# https://www.gnu.org/software/autoconf-archive/ax_type_socklen_t.html # =========================================================================== # # SYNOPSIS @@ -27,7 +27,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -42,7 +42,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 7 AU_ALIAS([TYPE_SOCKLEN_T], [AX_TYPE_SOCKLEN_T]) AC_DEFUN([AX_TYPE_SOCKLEN_T], @@ -51,7 +51,7 @@ AC_TRY_COMPILE( [#include #include ], - [socklen_t len = 42; return 0;], + [socklen_t len = (socklen_t) 42; return (!len);], ac_cv_ax_type_socklen_t=yes, ac_cv_ax_type_socklen_t=no) ]) diff -Nru autoconf-archive-20150925/m4/ax_upload.m4 autoconf-archive-20170928/m4/ax_upload.m4 --- autoconf-archive-20150925/m4/ax_upload.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_upload.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_upload.html +# https://www.gnu.org/software/autoconf-archive/ax_upload.html # =========================================================================== # # SYNOPSIS @@ -25,7 +25,7 @@ # # make upload-src # -# all the binaru distribution files by running: +# all the binary distribution files by running: # # make upload-bin # @@ -42,7 +42,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 10 +#serial 13 AC_DEFUN([AX_UPLOAD], [ diff -Nru autoconf-archive-20150925/m4/ax_valgrind_check.m4 autoconf-archive-20170928/m4/ax_valgrind_check.m4 --- autoconf-archive-20150925/m4/ax_valgrind_check.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_valgrind_check.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,22 +1,27 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_valgrind_check.html +# https://www.gnu.org/software/autoconf-archive/ax_valgrind_check.html # =========================================================================== # # SYNOPSIS # +# AX_VALGRIND_DFLT(memcheck|helgrind|drd|sgcheck, on|off) # AX_VALGRIND_CHECK() # # DESCRIPTION # -# 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. +# 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. +# enabled if Valgrind is installed and disabled otherwise. Individual +# Valgrind tools can be disabled via --disable-valgrind-, 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 @@ -28,73 +33,119 @@ # # configure.ac: # +# AX_VALGRIND_DFLT([sgcheck], [off]) # AX_VALGRIND_CHECK # -# Makefile.am: +# 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 to any Makefile.am -# which includes "@VALGRIND_CHECK_RULES@" (assuming the module has been -# configured with --enable-valgrind). Running `make check-valgrind` in -# that directory will run the module's test suite (`make check`) once for -# each of the available Valgrind tools (out of memcheck, helgrind, drd and -# sgcheck), and will output results to test-suite-$toolname.log for each. -# The target will succeed if there are zero errors and fail otherwise. +# 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. # # LICENSE # -# Copyright (c) 2014, 2015 Philip Withnall +# Copyright (c) 2014, 2015, 2016 Philip Withnall # # Copying and distribution of this file, with or without modification, are # permitted in any medium without royalty provided the copyright notice # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 4 +#serial 17 + +dnl Configured tools +m4_define([valgrind_tool_list], [[memcheck], [helgrind], [drd], [sgcheck]]) +m4_set_add_all([valgrind_exp_tool_set], [sgcheck]) +m4_foreach([vgtool], [valgrind_tool_list], + [m4_define([en_dflt_valgrind_]vgtool, [on])]) + +AC_DEFUN([AX_VALGRIND_DFLT],[ + m4_define([en_dflt_valgrind_$1], [$2]) +])dnl + +AM_EXTRA_RECURSIVE_TARGETS([check-valgrind]) +m4_foreach([vgtool], [valgrind_tool_list], + [AM_EXTRA_RECURSIVE_TARGETS([check-valgrind-]vgtool)]) AC_DEFUN([AX_VALGRIND_CHECK],[ dnl Check for --enable-valgrind - AC_MSG_CHECKING([whether to enable Valgrind on the unit tests]) AC_ARG_ENABLE([valgrind], [AS_HELP_STRING([--enable-valgrind], [Whether to enable Valgrind on the unit tests])], [enable_valgrind=$enableval],[enable_valgrind=]) - # Check for Valgrind. - AC_CHECK_PROG([VALGRIND],[valgrind],[valgrind]) - - AS_IF([test "$enable_valgrind" = "yes" -a "$VALGRIND" = ""],[ - AC_MSG_ERROR([Could not find valgrind; either install it or reconfigure with --disable-valgrind]) + AS_IF([test "$enable_valgrind" != "no"],[ + # Check for Valgrind. + AC_CHECK_PROG([VALGRIND],[valgrind],[valgrind]) + AS_IF([test "$VALGRIND" = ""],[ + AS_IF([test "$enable_valgrind" = "yes"],[ + AC_MSG_ERROR([Could not find valgrind; either install it or reconfigure with --disable-valgrind]) + ],[ + enable_valgrind=no + ]) + ],[ + enable_valgrind=yes + ]) ]) - AS_IF([test "$enable_valgrind" != "no"],[enable_valgrind=yes]) AM_CONDITIONAL([VALGRIND_ENABLED],[test "$enable_valgrind" = "yes"]) AC_SUBST([VALGRIND_ENABLED],[$enable_valgrind]) - AC_MSG_RESULT([$enable_valgrind]) # Check for Valgrind tools we care about. - m4_define([valgrind_tool_list],[[memcheck], [helgrind], [drd], [exp-sgcheck]]) - - AS_IF([test "$VALGRIND" != ""],[ - m4_foreach([vgtool],[valgrind_tool_list],[ - m4_define([vgtooln],AS_TR_SH(vgtool)) - m4_define([ax_cv_var],[ax_cv_valgrind_tool_]vgtooln) - AC_CACHE_CHECK([for Valgrind tool ]vgtool,ax_cv_var,[ - ax_cv_var= - AS_IF([`$VALGRIND --tool=vgtool --help >/dev/null 2>&1`],[ - ax_cv_var="vgtool" + [valgrind_enabled_tools=] + m4_foreach([vgtool],[valgrind_tool_list],[ + AC_ARG_ENABLE([valgrind-]vgtool, + m4_if(m4_defn([en_dflt_valgrind_]vgtool),[off],dnl +[AS_HELP_STRING([--enable-valgrind-]vgtool, [Whether to use ]vgtool[ during the Valgrind tests])],dnl +[AS_HELP_STRING([--disable-valgrind-]vgtool, [Whether to skip ]vgtool[ during the Valgrind tests])]), + [enable_valgrind_]vgtool[=$enableval], + [enable_valgrind_]vgtool[=]) + AS_IF([test "$enable_valgrind" = "no"],[ + enable_valgrind_]vgtool[=no], + [test "$enable_valgrind_]vgtool[" ]dnl +m4_if(m4_defn([en_dflt_valgrind_]vgtool), [off], [= "yes"], [!= "no"]),[ + AC_CACHE_CHECK([for Valgrind tool ]vgtool, + [ax_cv_valgrind_tool_]vgtool,[ + ax_cv_valgrind_tool_]vgtool[=no + m4_set_contains([valgrind_exp_tool_set],vgtool, + [m4_define([vgtoolx],[exp-]vgtool)], + [m4_define([vgtoolx],vgtool)]) + AS_IF([`$VALGRIND --tool=]vgtoolx[ --help >/dev/null 2>&1`],[ + ax_cv_valgrind_tool_]vgtool[=yes ]) ]) - - AC_SUBST([VALGRIND_HAVE_TOOL_]vgtooln,[$ax_cv_var]) + AS_IF([test "$ax_cv_valgrind_tool_]vgtool[" = "no"],[ + AS_IF([test "$enable_valgrind_]vgtool[" = "yes"],[ + AC_MSG_ERROR([Valgrind does not support ]vgtool[; reconfigure with --disable-valgrind-]vgtool) + ],[ + enable_valgrind_]vgtool[=no + ]) + ],[ + enable_valgrind_]vgtool[=yes + ]) + ]) + AS_IF([test "$enable_valgrind_]vgtool[" = "yes"],[ + valgrind_enabled_tools="$valgrind_enabled_tools ]m4_bpatsubst(vgtool,[^exp-])[" ]) + AC_SUBST([ENABLE_VALGRIND_]vgtool,[$enable_valgrind_]vgtool) ]) + AC_SUBST([valgrind_tools],["]m4_join([ ], valgrind_tool_list)["]) + AC_SUBST([valgrind_enabled_tools],[$valgrind_enabled_tools]) -VALGRIND_CHECK_RULES=' +[VALGRIND_CHECK_RULES=' # Valgrind check # # Optional: @@ -114,7 +165,6 @@ VALGRIND_sgcheck_FLAGS ?= # Internal use -valgrind_tools = memcheck helgrind drd sgcheck valgrind_log_files = $(addprefix test-suite-,$(addsuffix .log,$(valgrind_tools))) valgrind_memcheck_flags = --tool=memcheck $(VALGRIND_memcheck_FLAGS) @@ -125,6 +175,9 @@ valgrind_quiet = $(valgrind_quiet_$(V)) valgrind_quiet_ = $(valgrind_quiet_$(AM_DEFAULT_VERBOSITY)) valgrind_quiet_0 = --quiet +valgrind_v_use = $(valgrind_v_use_$(V)) +valgrind_v_use_ = $(valgrind_v_use_$(AM_DEFAULT_VERBOSITY)) +valgrind_v_use_0 = @echo " USE " $(patsubst check-valgrind-%-am,%,$''@):; # Support running with and without libtool. ifneq ($(LIBTOOL),) @@ -134,13 +187,10 @@ endif # Use recursive makes in order to ignore errors during check -check-valgrind: +check-valgrind-am: ifeq ($(VALGRIND_ENABLED),yes) - -$(foreach tool,$(valgrind_tools), \ - $(if $(VALGRIND_HAVE_TOOL_$(tool))$(VALGRIND_HAVE_TOOL_exp_$(tool)), \ - $(MAKE) $(AM_MAKEFLAGS) -k check-valgrind-tool VALGRIND_TOOL=$(tool); \ - ) \ - ) + $(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k \ + $(foreach tool, $(valgrind_enabled_tools), check-valgrind-$(tool)) else @echo "Need to reconfigure with --enable-valgrind" endif @@ -156,25 +206,33 @@ $(valgrind_lt) \ $(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS) -check-valgrind-tool: -ifeq ($(VALGRIND_ENABLED),yes) - $(MAKE) check-TESTS \ - TESTS_ENVIRONMENT="$(VALGRIND_TESTS_ENVIRONMENT)" \ - LOG_COMPILER="$(VALGRIND_LOG_COMPILER)" \ - LOG_FLAGS="$(valgrind_$(VALGRIND_TOOL)_flags)" \ - TEST_SUITE_LOG=test-suite-$(VALGRIND_TOOL).log +define valgrind_tool_rule +check-valgrind-$(1)-am: +ifeq ($$(VALGRIND_ENABLED)-$$(ENABLE_VALGRIND_$(1)),yes-yes) +ifneq ($$(TESTS),) + $$(valgrind_v_use)$$(MAKE) check-TESTS \ + TESTS_ENVIRONMENT="$$(VALGRIND_TESTS_ENVIRONMENT)" \ + LOG_COMPILER="$$(VALGRIND_LOG_COMPILER)" \ + LOG_FLAGS="$$(valgrind_$(1)_flags)" \ + TEST_SUITE_LOG=test-suite-$(1).log +endif +else ifeq ($$(VALGRIND_ENABLED),yes) + @echo "Need to reconfigure with --enable-valgrind-$(1)" else @echo "Need to reconfigure with --enable-valgrind" endif +endef + +$(foreach tool,$(valgrind_tools),$(eval $(call valgrind_tool_rule,$(tool)))) -DISTCHECK_CONFIGURE_FLAGS ?= -DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind +A''M_DISTCHECK_CONFIGURE_FLAGS ?= +A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind MOSTLYCLEANFILES ?= MOSTLYCLEANFILES += $(valgrind_log_files) -.PHONY: check-valgrind check-valgrind-tool -' +.PHONY: check-valgrind $(add-prefix check-valgrind-,$(valgrind_tools)) +'] AC_SUBST([VALGRIND_CHECK_RULES]) m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([VALGRIND_CHECK_RULES])]) diff -Nru autoconf-archive-20150925/m4/ax_var_pop.m4 autoconf-archive-20170928/m4/ax_var_pop.m4 --- autoconf-archive-20150925/m4/ax_var_pop.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_var_pop.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,99 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_var_pop.html +# =========================================================================== +# +# 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 +# +# LICENSE +# +# Copyright (c) 2015 Jorge Bellon +# +# This program is free software: you can 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 . +# +# As a special exception, the respective Autoconf Macro's copyright owner +# gives unlimited permission to copy, distribute and modify the configure +# scripts that are the output of Autoconf when processing the Macro. You +# need not follow the terms of the GNU General Public License when using +# or distributing such scripts, even though portions of the text of the +# Macro appear in them. The GNU General Public License (GPL) does govern +# all other use of the material that constitutes the Autoconf Macro. +# +# This special exception to the GPL applies to versions of the Autoconf +# Macro released by the Autoconf Archive. When you make and distribute a +# modified version of the Autoconf Macro, you may extend this special +# exception to the GPL to apply to your modified version as well. + +#serial 2 + +# Main macros +AC_DEFUN([AX_VAR_PUSHVALUE],[ + increment([$1_counter]) + + AS_VAR_PUSHDEF([variable],[$1]) dnl + AS_VAR_PUSHDEF([backup],[save_$1_]$1_counter) dnl + + AS_VAR_SET(backup,$variable) dnl + AS_VAR_SET(variable,["]m4_default($2,$variable)["]) dnl + + AS_VAR_POPDEF([variable]) dnl + AS_VAR_POPDEF([backup]) dnl +])dnl AX_PUSH_VAR + +AC_DEFUN([AX_VAR_POPVALUE],[ + AS_VAR_PUSHDEF([variable],[$1]) dnl + AS_VAR_PUSHDEF([backup],[save_$1_]$1_counter) dnl + + AS_VAR_SET(variable,$backup) dnl + + decrement([$1_counter]) + AS_VAR_POPDEF([variable]) dnl + AS_VAR_POPDEF([backup]) dnl +])dnl AX_POP_VAR + +# ------------------------- +# Auxiliary macro +# ------------------------- +# decrement(counter_name) +# +# Decrement the value of a named counter. +# Throws an error if counter not defined +# or value reaches zero. +# ------------------------- +m4_define([decrement],[dnl + m4_ifdef([$1],dnl + [m4_if(m4_eval($1 > 0), + [1],m4_define([$1],m4_decr($1)),dnl + [m4_fatal([Missing call to AX_VAR_PUSHVALUE with var $1])]dnl + )],dnl + [m4_fatal([Missing call to AX_VAR_PUSHVALUE with var $1])])dnl +])dnl diff -Nru autoconf-archive-20150925/m4/ax_var_push.m4 autoconf-archive-20170928/m4/ax_var_push.m4 --- autoconf-archive-20150925/m4/ax_var_push.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_var_push.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,96 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_var_push.html +# =========================================================================== +# +# 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 +# +# LICENSE +# +# Copyright (c) 2015 Jorge Bellon +# +# This program is free software: you can 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 . +# +# As a special exception, the respective Autoconf Macro's copyright owner +# gives unlimited permission to copy, distribute and modify the configure +# scripts that are the output of Autoconf when processing the Macro. You +# need not follow the terms of the GNU General Public License when using +# or distributing such scripts, even though portions of the text of the +# Macro appear in them. The GNU General Public License (GPL) does govern +# all other use of the material that constitutes the Autoconf Macro. +# +# This special exception to the GPL applies to versions of the Autoconf +# Macro released by the Autoconf Archive. When you make and distribute a +# modified version of the Autoconf Macro, you may extend this special +# exception to the GPL to apply to your modified version as well. + +#serial 2 + +AC_DEFUN([AX_VAR_PUSHVALUE],[ + increment([$1_counter]) + + AS_VAR_PUSHDEF([variable],[$1]) dnl + AS_VAR_PUSHDEF([backup],[save_$1_]$1_counter) dnl + + AS_VAR_SET(backup,$variable) dnl + AS_VAR_SET(variable,["]m4_default($2,$variable)["]) dnl + + AS_VAR_POPDEF([variable]) dnl + AS_VAR_POPDEF([backup]) dnl +])dnl AX_PUSH_VAR + +AC_DEFUN([AX_VAR_POPVALUE],[ + AS_VAR_PUSHDEF([variable],[$1]) dnl + AS_VAR_PUSHDEF([backup],[save_$1_]$1_counter) dnl + + AS_VAR_SET(variable,$backup) dnl + + decrement([$1_counter]) + AS_VAR_POPDEF([variable]) dnl + AS_VAR_POPDEF([backup]) dnl +])dnl AX_POP_VAR + +# ------------------------- +# Auxiliary macro +# ------------------------- +# increment(counter_name) +# +# Increment the value of a named counter. +# Initialize to 1 if not defined +# ------------------------- +m4_define([increment],[dnl + m4_ifdef([$1],dnl + [m4_define([$1],m4_incr($1))],dnl + [m4_define([$1],[1])]dnl + )dnl +])dnl diff -Nru autoconf-archive-20150925/m4/ax_var_timezone_externals.m4 autoconf-archive-20170928/m4/ax_var_timezone_externals.m4 --- autoconf-archive-20150925/m4/ax_var_timezone_externals.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_var_timezone_externals.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ============================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_var_timezone_externals.html -# ============================================================================= +# ============================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_var_timezone_externals.html +# ============================================================================== # # SYNOPSIS # @@ -32,7 +32,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -47,7 +47,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 6 +#serial 7 AU_ALIAS([AC_VAR_TIMEZONE_EXTERNALS], [AX_VAR_TIMEZONE_EXTERNALS]) AC_DEFUN([AX_VAR_TIMEZONE_EXTERNALS], diff -Nru autoconf-archive-20150925/m4/ax_very_nice.m4 autoconf-archive-20170928/m4/ax_very_nice.m4 --- autoconf-archive-20150925/m4/ax_very_nice.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_very_nice.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_very_nice.html +# https://www.gnu.org/software/autoconf-archive/ax_very_nice.html # =========================================================================== # # SYNOPSIS @@ -36,7 +36,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -51,7 +51,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 4 +#serial 5 AU_ALIAS([AC_VERY_NICE], [AX_VERY_NICE]) AC_DEFUN([AX_VERY_NICE],[ diff -Nru autoconf-archive-20150925/m4/ax_warning_default_aclocaldir.m4 autoconf-archive-20170928/m4/ax_warning_default_aclocaldir.m4 --- autoconf-archive-20150925/m4/ax_warning_default_aclocaldir.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_warning_default_aclocaldir.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ================================================================================= -# http://www.gnu.org/software/autoconf-archive/ax_warning_default_aclocaldir.html -# ================================================================================= +# ================================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_warning_default_aclocaldir.html +# ================================================================================== # # SYNOPSIS # @@ -48,7 +48,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -63,7 +63,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 8 +#serial 9 AC_DEFUN([AX_WARNING_DEFAULT_ACLOCALDIR],[dnl AC_REQUIRE([AX_EXPAND_PREFIX])dnl diff -Nru autoconf-archive-20150925/m4/ax_warning_default_pkgconfig.m4 autoconf-archive-20170928/m4/ax_warning_default_pkgconfig.m4 --- autoconf-archive-20150925/m4/ax_warning_default_pkgconfig.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_warning_default_pkgconfig.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ -# ================================================================================ -# http://www.gnu.org/software/autoconf-archive/ax_warning_default_pkgconfig.html -# ================================================================================ +# ================================================================================= +# https://www.gnu.org/software/autoconf-archive/ax_warning_default_pkgconfig.html +# ================================================================================= # # SYNOPSIS # @@ -48,7 +48,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -63,7 +63,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 7 +#serial 8 AC_DEFUN([AX_WARNING_DEFAULT_PKGCONFIGDIR],[dnl AC_REQUIRE([AX_EXPAND_PREFIX])dnl diff -Nru autoconf-archive-20150925/m4/ax_wint_t.m4 autoconf-archive-20170928/m4/ax_wint_t.m4 --- autoconf-archive-20150925/m4/ax_wint_t.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_wint_t.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_wint_t.html +# https://www.gnu.org/software/autoconf-archive/ax_wint_t.html # =========================================================================== # # SYNOPSIS @@ -25,7 +25,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_WINT_T],[ AC_CHECK_HEADERS([runetype.h wchar.h]) diff -Nru autoconf-archive-20150925/m4/ax_with_apxs.m4 autoconf-archive-20170928/m4/ax_with_apxs.m4 --- autoconf-archive-20150925/m4/ax_with_apxs.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_with_apxs.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_with_apxs.html +# https://www.gnu.org/software/autoconf-archive/ax_with_apxs.html # =========================================================================== # # SYNOPSIS @@ -27,7 +27,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 10 +#serial 11 AC_DEFUN([AX_WITH_APXS], [ diff -Nru autoconf-archive-20150925/m4/ax_with_build_path.m4 autoconf-archive-20170928/m4/ax_with_build_path.m4 --- autoconf-archive-20150925/m4/ax_with_build_path.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_with_build_path.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_with_build_path.html +# https://www.gnu.org/software/autoconf-archive/ax_with_build_path.html # =========================================================================== # # SYNOPSIS @@ -28,7 +28,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([SMR_WITH_BUILD_PATH], [AX_WITH_BUILD_PATH]) AC_DEFUN([AX_WITH_BUILD_PATH], diff -Nru autoconf-archive-20150925/m4/ax_with_curses_extra.m4 autoconf-archive-20170928/m4/ax_with_curses_extra.m4 --- autoconf-archive-20150925/m4/ax_with_curses_extra.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_with_curses_extra.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_with_curses_extra.html +# https://www.gnu.org/software/autoconf-archive/ax_with_curses_extra.html # =========================================================================== # # SYNOPSIS @@ -41,18 +41,22 @@ # The following output variables may be defined by these macros; these are # precious and may be overridden on the ./configure command line: # -# PANEL_LIB - library to add to xxx_LDADD before CURSES_LIB -# MENU_LIB - library to add to xxx_LDADD before CURSES_LIB -# FORM_LIB - library to add to xxx_LDADD before CURSES_LIB -# -# 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_LIB incantation. For example: +# 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_LIB@ @CURSES_LIB@ +# prog_LDADD = @PANEL_LIBS@ @CURSES_LIBS@ # -# If one of the xxx_LIB variables is set on the configure command line -# (such as by running "./configure PANEL_LIB=-lmypanel"), then the header +# 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 would be searched for. The user may use the CPPFLAGS # precious variable to override the standard #include search path. @@ -129,7 +133,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -144,7 +148,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 2 +#serial 5 AC_DEFUN([_AX_WITH_CURSES_CHECKEXTRA], [ dnl Parameter 1 is the variable name component, using uppercase letters only @@ -159,8 +163,11 @@ AS_VAR_PUSHDEF([_AX_WITH_CURSES_CHECKEXTRA_have_header_var], [HAVE_[]m4_toupper($4)])dnl ax_saved_LIBS=$LIBS + ax_saved_CPPFLAGS=$CPPFLAGS + AC_CACHE_CHECK([for Curses $2 library with $4], [_AX_WITH_CURSES_CHECKEXTRA_header_var], [ - LIBS="$ax_saved_LIBS $5 $CURSES_LIB" + LIBS="$ax_saved_LIBS $5 $CURSES_LIBS" + CPPFLAGS="$ax_saved_CPPFLAGS $CURSES_CFLAGS" AC_LINK_IFELSE([AC_LANG_PROGRAM([[ @%:@include <$4> ]], [$3])], @@ -169,13 +176,18 @@ ]) AS_IF([test "x$[]_AX_WITH_CURSES_CHECKEXTRA_header_var" = xyes], [ _AX_WITH_CURSES_CHECKEXTRA_cv_var=yes - AS_LITERAL_IF([$5], [$1_LIB="$5"]) + AS_LITERAL_IF([$5], [$1_LIBS="$5"]) AC_DEFINE([_AX_WITH_CURSES_CHECKEXTRA_have_var], [1], [Define to 1 if the Curses $2 library is present]) AC_DEFINE([_AX_WITH_CURSES_CHECKEXTRA_have_header_var], [1], [Define to 1 if <$4> is present]) ], [ - _AX_WITH_CURSES_CHECKEXTRA_cv_var=no + AS_IF([test "x$[]_AX_WITH_CURSES_CHECKEXTRA_cv_var" = xyes], [], + [_AX_WITH_CURSES_CHECKEXTRA_cv_var=no]) ]) + LIBS=$ax_saved_LIBS + CPPFLAGS=$ax_saved_CPPFLAGS + unset ax_saved_LIBS + unset ax_saved_CPPFLAGS AS_VAR_POPDEF([_AX_WITH_CURSES_CHECKEXTRA_have_header_var])dnl AS_VAR_POPDEF([_AX_WITH_CURSES_CHECKEXTRA_header_var])dnl @@ -193,16 +205,18 @@ dnl Parameter 7 is the plain Curses library command line AC_REQUIRE([AX_WITH_CURSES]) - AC_ARG_VAR([$1_LIB], [linker library for Curses $2, e.g. $7]) + AC_ARG_VAR([$1_LIBS], [linker library for Curses $2, e.g. $7]) - AS_IF([test "x$[]$1_LIB" != x], [ - _AX_WITH_CURSES_CHECKEXTRA([$1], [$2], [$3], [$4], [$[]$1_LIB]) + AS_IF([test "x$[]$1_LIBS" != x], [ + _AX_WITH_CURSES_CHECKEXTRA([$1], [$2], [$3], [$4], [$[]$1_LIBS]) ], [ AS_IF([test "x$ax_cv_curses_which" = xncursesw], [ _AX_WITH_CURSES_CHECKEXTRA([$1], [$2], [$3], [ncursesw/$4], [$5]) ], [test "x$ax_cv_curses_which" = xncurses], [ - _AX_WITH_CURSES_CHECKEXTRA([$1], [$2], [$3], [ncurses/$4], [$6]) _AX_WITH_CURSES_CHECKEXTRA([$1], [$2], [$3], [$4], [$6]) + AS_IF([test x$[]ax_cv_[]m4_tolower($1) != "xyes"], [ + _AX_WITH_CURSES_CHECKEXTRA([$1], [$2], [$3], [ncurses/$4], [$6]) + ]) ], [test "x$ax_cv_curses_which" = xplaincurses], [ _AX_WITH_CURSES_CHECKEXTRA([$1], [$2], [$3], [$4], [$7]) ]) diff -Nru autoconf-archive-20150925/m4/ax_with_curses.m4 autoconf-archive-20170928/m4/ax_with_curses.m4 --- autoconf-archive-20150925/m4/ax_with_curses.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_with_curses.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_with_curses.html +# https://www.gnu.org/software/autoconf-archive/ax_with_curses.html # =========================================================================== # # SYNOPSIS @@ -12,7 +12,9 @@ # 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. +# 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 @@ -52,23 +54,29 @@ # # (These preprocessor symbols are discussed later in this document.) # -# The following output variable is defined by this macro; it is precious -# and may be overridden on the ./configure command line: +# The following output variables are defined by this macro; they are +# precious and may be overridden on the ./configure command line: # -# CURSES_LIB - library to add to xxx_LDADD +# CURSES_LIBS - library to add to xxx_LDADD +# CURSES_CFLAGS - include paths to add to xxx_CPPFLAGS # -# The library listed in CURSES_LIB is NOT added to LIBS by default. You -# need to add CURSES_LIB to the appropriate xxx_LDADD line in your -# Makefile.am. For example: -# -# prog_LDADD = @CURSES_LIB@ -# -# If CURSES_LIB is set on the configure command line (such as by running -# "./configure CURSES_LIB=-lmycurses"), then the only header searched for -# is . The user may use the CPPFLAGS precious variable to -# override the standard #include search path. 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. +# 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 . 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: # @@ -167,7 +175,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -182,11 +190,66 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 15 +#serial 18 + +# internal function to factorize common code that is used by both ncurses +# and ncursesw +AC_DEFUN([_FIND_CURSES_FLAGS], [ + AC_MSG_CHECKING([for $1 via pkg-config]) + + AX_REQUIRE_DEFINED([PKG_CHECK_EXISTS]) + _PKG_CONFIG([_ax_cv_$1_libs], [libs], [$1]) + _PKG_CONFIG([_ax_cv_$1_cppflags], [cflags], [$1]) + + AS_IF([test "x$pkg_failed" = "xyes" || test "x$pkg_failed" = "xuntried"],[ + AC_MSG_RESULT([no]) + # No suitable .pc file found, have to find flags via fallback + AC_CACHE_CHECK([for $1 via fallback], [ax_cv_$1], [ + AS_ECHO() + pkg_cv__ax_cv_$1_libs="-l$1" + pkg_cv__ax_cv_$1_cppflags="-D_GNU_SOURCE $CURSES_CFLAGS" + LIBS="$ax_saved_LIBS $pkg_cv__ax_cv_$1_libs" + CPPFLAGS="$ax_saved_CPPFLAGS $pkg_cv__ax_cv_$1_cppflags" + + AC_MSG_CHECKING([for initscr() with $pkg_cv__ax_cv_$1_libs]) + AC_LINK_IFELSE([AC_LANG_CALL([], [initscr])], + [ + AC_MSG_RESULT([yes]) + AC_MSG_CHECKING([for nodelay() with $pkg_cv__ax_cv_$1_libs]) + AC_LINK_IFELSE([AC_LANG_CALL([], [nodelay])],[ + ax_cv_$1=yes + ],[ + AC_MSG_RESULT([no]) + m4_if( + [$1],[ncursesw],[pkg_cv__ax_cv_$1_libs="$pkg_cv__ax_cv_$1_libs -ltinfow"], + [$1],[ncurses],[pkg_cv__ax_cv_$1_libs="$pkg_cv__ax_cv_$1_libs -ltinfo"] + ) + LIBS="$ax_saved_LIBS $pkg_cv__ax_cv_$1_libs" + + AC_MSG_CHECKING([for nodelay() with $pkg_cv__ax_cv_$1_libs]) + AC_LINK_IFELSE([AC_LANG_CALL([], [nodelay])],[ + ax_cv_$1=yes + ],[ + ax_cv_$1=no + ]) + ]) + ],[ + ax_cv_$1=no + ]) + ]) + ],[ + AC_MSG_RESULT([yes]) + # Found .pc file, using its information + LIBS="$ax_saved_LIBS $pkg_cv__ax_cv_$1_libs" + CPPFLAGS="$ax_saved_CPPFLAGS $pkg_cv__ax_cv_$1_cppflags" + ax_cv_$1=yes + ]) +]) AU_ALIAS([MP_WITH_CURSES], [AX_WITH_CURSES]) AC_DEFUN([AX_WITH_CURSES], [ - AC_ARG_VAR([CURSES_LIB], [linker library for Curses, e.g. -lcurses]) + AC_ARG_VAR([CURSES_LIBS], [linker library for Curses, e.g. -lcurses]) + AC_ARG_VAR([CURSES_CFLAGS], [preprocessor flags for Curses, e.g. -I/usr/include/ncursesw]) AC_ARG_WITH([ncurses], [AS_HELP_STRING([--with-ncurses], [force the use of Ncurses or NcursesW])], [], [with_ncurses=check]) @@ -195,20 +258,17 @@ [], [with_ncursesw=check]) ax_saved_LIBS=$LIBS + ax_saved_CPPFLAGS=$CPPFLAGS + AS_IF([test "x$with_ncurses" = xyes || test "x$with_ncursesw" = xyes], [ax_with_plaincurses=no], [ax_with_plaincurses=check]) ax_cv_curses_which=no # Test for NcursesW + AS_IF([test "x$CURSES_LIBS" = x && test "x$with_ncursesw" != xno], [ + _FIND_CURSES_FLAGS([ncursesw]) - AS_IF([test "x$CURSES_LIB" = x && test "x$with_ncursesw" != xno], [ - LIBS="$ax_saved_LIBS -lncursesw" - - AC_CACHE_CHECK([for NcursesW wide-character library], [ax_cv_ncursesw], [ - AC_LINK_IFELSE([AC_LANG_CALL([], [initscr])], - [ax_cv_ncursesw=yes], [ax_cv_ncursesw=no]) - ]) AS_IF([test "x$ax_cv_ncursesw" = xno && test "x$with_ncursesw" = xyes], [ AC_MSG_ERROR([--with-ncursesw specified but could not find NcursesW library]) ]) @@ -216,7 +276,8 @@ AS_IF([test "x$ax_cv_ncursesw" = xyes], [ ax_cv_curses=yes ax_cv_curses_which=ncursesw - CURSES_LIB="-lncursesw" + CURSES_LIBS="$pkg_cv__ax_cv_ncursesw_libs" + CURSES_CFLAGS="$pkg_cv__ax_cv_ncursesw_cppflags" AC_DEFINE([HAVE_NCURSESW], [1], [Define to 1 if the NcursesW library is present]) AC_DEFINE([HAVE_CURSES], [1], [Define to 1 if a SysV or X/Open compatible Curses library is present]) @@ -318,16 +379,13 @@ ]) ]) ]) + unset pkg_cv__ax_cv_ncursesw_libs + unset pkg_cv__ax_cv_ncursesw_cppflags # Test for Ncurses + AS_IF([test "x$CURSES_LIBS" = x && test "x$with_ncurses" != xno && test "x$ax_cv_curses_which" = xno], [ + _FIND_CURSES_FLAGS([ncurses]) - AS_IF([test "x$CURSES_LIB" = x && test "x$with_ncurses" != xno && test "x$ax_cv_curses_which" = xno], [ - LIBS="$ax_saved_LIBS -lncurses" - - AC_CACHE_CHECK([for Ncurses library], [ax_cv_ncurses], [ - AC_LINK_IFELSE([AC_LANG_CALL([], [initscr])], - [ax_cv_ncurses=yes], [ax_cv_ncurses=no]) - ]) AS_IF([test "x$ax_cv_ncurses" = xno && test "x$with_ncurses" = xyes], [ AC_MSG_ERROR([--with-ncurses specified but could not find Ncurses library]) ]) @@ -335,7 +393,8 @@ AS_IF([test "x$ax_cv_ncurses" = xyes], [ ax_cv_curses=yes ax_cv_curses_which=ncurses - CURSES_LIB="-lncurses" + CURSES_LIBS="$pkg_cv__ax_cv_ncurses_libs" + CURSES_CFLAGS="$pkg_cv__ax_cv_ncurses_cppflags" AC_DEFINE([HAVE_NCURSES], [1], [Define to 1 if the Ncurses library is present]) AC_DEFINE([HAVE_CURSES], [1], [Define to 1 if a SysV or X/Open compatible Curses library is present]) @@ -390,12 +449,13 @@ ]) ]) ]) + unset pkg_cv__ax_cv_ncurses_libs + unset pkg_cv__ax_cv_ncurses_cppflags - # Test for plain Curses (or if CURSES_LIB was set by user) - + # Test for plain Curses (or if CURSES_LIBS was set by user) AS_IF([test "x$with_plaincurses" != xno && test "x$ax_cv_curses_which" = xno], [ - AS_IF([test "x$CURSES_LIB" != x], [ - LIBS="$ax_saved_LIBS $CURSES_LIB" + AS_IF([test "x$CURSES_LIBS" != x], [ + LIBS="$ax_saved_LIBS $CURSES_LIBS" ], [ LIBS="$ax_saved_LIBS -lcurses" ]) @@ -408,8 +468,8 @@ AS_IF([test "x$ax_cv_plaincurses" = xyes], [ ax_cv_curses=yes ax_cv_curses_which=plaincurses - AS_IF([test "x$CURSES_LIB" = x], [ - CURSES_LIB="-lcurses" + AS_IF([test "x$CURSES_LIBS" = x], [ + CURSES_LIBS="-lcurses" ]) AC_DEFINE([HAVE_CURSES], [1], [Define to 1 if a SysV or X/Open compatible Curses library is present]) @@ -515,4 +575,8 @@ AS_IF([test "x$ax_cv_curses_obsolete" != xyes], [ax_cv_curses_obsolete=no]) LIBS=$ax_saved_LIBS + CPPFLAGS=$ax_saved_CPPFLAGS + + unset ax_saved_LIBS + unset ax_saved_CPPFLAGS ])dnl diff -Nru autoconf-archive-20150925/m4/ax_with_dmalloc.m4 autoconf-archive-20170928/m4/ax_with_dmalloc.m4 --- autoconf-archive-20150925/m4/ax_with_dmalloc.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_with_dmalloc.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_with_dmalloc.html +# https://www.gnu.org/software/autoconf-archive/ax_with_dmalloc.html # =========================================================================== # # SYNOPSIS @@ -32,7 +32,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 7 +#serial 8 AC_DEFUN([AX_WITH_DMALLOC], [ AC_MSG_CHECKING(whether to use the dmalloc library) diff -Nru autoconf-archive-20150925/m4/ax_with_mpatrol.m4 autoconf-archive-20170928/m4/ax_with_mpatrol.m4 --- autoconf-archive-20150925/m4/ax_with_mpatrol.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_with_mpatrol.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_with_mpatrol.html +# https://www.gnu.org/software/autoconf-archive/ax_with_mpatrol.html # =========================================================================== # # SYNOPSIS @@ -28,7 +28,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 5 +#serial 6 AU_ALIAS([AM_WITH_MPATROL], [AX_WITH_MPATROL]) AC_DEFUN([AX_WITH_MPATROL], [ diff -Nru autoconf-archive-20150925/m4/ax_with_prog.m4 autoconf-archive-20170928/m4/ax_with_prog.m4 --- autoconf-archive-20150925/m4/ax_with_prog.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_with_prog.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_with_prog.html +# https://www.gnu.org/software/autoconf-archive/ax_with_prog.html # =========================================================================== # # SYNOPSIS @@ -32,7 +32,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 16 +#serial 17 AC_DEFUN([AX_WITH_PROG],[ AC_PREREQ([2.61]) diff -Nru autoconf-archive-20150925/m4/ax_xercesc.m4 autoconf-archive-20170928/m4/ax_xercesc.m4 --- autoconf-archive-20150925/m4/ax_xercesc.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_xercesc.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_xercesc.html +# https://www.gnu.org/software/autoconf-archive/ax_xercesc.html # =========================================================================== # # SYNOPSIS @@ -26,7 +26,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -41,7 +41,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 5 +#serial 8 AU_ALIAS([RLC_XERCESC], [AX_XERCESC]) AC_DEFUN([AX_XERCESC], @@ -123,7 +123,7 @@ fi ]) dnl Search the library and its dependencies in $additional_libdir and - dnl $LDFLAGS. Using breadth-first-seach. + dnl $LDFLAGS. Using breadth-first-search. LIBXERCES_C= LTLIBXERCES_C= INCXERCES_C= diff -Nru autoconf-archive-20150925/m4/ax_xsdcxx.m4 autoconf-archive-20170928/m4/ax_xsdcxx.m4 --- autoconf-archive-20150925/m4/ax_xsdcxx.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_xsdcxx.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_xsdcxx.html +# https://www.gnu.org/software/autoconf-archive/ax_xsdcxx.html # =========================================================================== # # SYNOPSIS @@ -35,7 +35,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 2 +#serial 3 AC_DEFUN([AX_XSDCXX], [ diff -Nru autoconf-archive-20150925/m4/ax_xtra_classpath.m4 autoconf-archive-20170928/m4/ax_xtra_classpath.m4 --- autoconf-archive-20150925/m4/ax_xtra_classpath.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_xtra_classpath.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_xtra_classpath.html +# https://www.gnu.org/software/autoconf-archive/ax_xtra_classpath.html # =========================================================================== # # SYNOPSIS @@ -27,7 +27,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -42,7 +42,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 10 +#serial 11 AU_ALIAS([DPS_XTRA_CLASSPATH], [AX_XTRA_CLASSPATH]) AC_DEFUN([AX_XTRA_CLASSPATH],[ diff -Nru autoconf-archive-20150925/m4/ax_zmq.m4 autoconf-archive-20170928/m4/ax_zmq.m4 --- autoconf-archive-20150925/m4/ax_zmq.m4 1970-01-01 00:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_zmq.m4 2017-09-27 22:00:00.000000000 +0000 @@ -0,0 +1,86 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_zmq.html +# =========================================================================== +# +# 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 +# +# LICENSE +# +# Copyright (c) 2016 Jeroen Meijer +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +#serial 2 + +AC_DEFUN([AX_ZMQ], [ + AC_ARG_WITH([zmq], [AS_HELP_STRING([--with-zmq=],[ZMQ prefix directory])], [ + ZMQ_LDFLAGS="-L${with_zmq}/lib" + ZMQ_CPPFLAGS="-I${with_zmq}/include" + ]) + + HAVE_ZMQ=0 + if test "$with_zmq" != "no"; then + + LD_FLAGS="$LDFLAGS $ZMQ_LDFLAGS" + CPPFLAGS="$CPPFLAGS $ZMQ_CPPFLAGS" + + AC_LANG_SAVE + AC_LANG_C + AC_CHECK_HEADER(zmq.h, [zmq_h=yes], [zmq_h=no]) + AC_LANG_RESTORE + + if test "$zmq_h" = "yes"; then + version=ifelse([$1], ,4.0.0,$1) + AC_MSG_CHECKING([for ZMQ version >= $version]) + version=$(echo $version | tr '.' ',') + AC_EGREP_CPP([version_ok], [ +#include +#if defined(ZMQ_VERSION) && ZMQ_VERSION >= ZMQ_MAKE_VERSION($version) + version_ok +#endif + ],[ + AC_MSG_RESULT(yes) + HAVE_ZMQ=1 + ZMQ_LIBS="-lzmq" + AC_SUBST(ZMQ_LDFLAGS) + AC_SUBST(ZMQ_CPPFLAGS) + AC_SUBST(ZMQ_LIBS) + ], AC_MSG_RESULT([no valid ZMQ version was found])) + else + AC_MSG_WARN([no valid ZMQ installation was found]) + fi + + if test $HAVE_ZMQ = 1; then + # execute ACTION-IF-FOUND (if present): + ifelse([$2], , :, [$2]) + else + # execute ACTION-IF-NOT-FOUND (if present): + ifelse([$3], , :, [$3]) + fi + else + AC_MSG_NOTICE([not checking for ZMQ]) + fi + + AC_DEFINE(HAVE_ZMQ,,[define if the ZMQ library is available]) +]) diff -Nru autoconf-archive-20150925/m4/ax_zoneinfo.m4 autoconf-archive-20170928/m4/ax_zoneinfo.m4 --- autoconf-archive-20150925/m4/ax_zoneinfo.m4 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/m4/ax_zoneinfo.m4 2017-09-27 22:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_zoneinfo.html +# https://www.gnu.org/software/autoconf-archive/ax_zoneinfo.html # =========================================================================== # # SYNOPSIS @@ -38,7 +38,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 3 +#serial 4 AC_DEFUN([AX_ZONEINFO_TZFILE_H], [dnl dnl not totally necessary (yet), as we can simply inspect the tzfiles diff -Nru autoconf-archive-20150925/Makefile.am autoconf-archive-20170928/Makefile.am --- autoconf-archive-20150925/Makefile.am 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/Makefile.am 2017-09-27 22:00:00.000000000 +0000 @@ -12,7 +12,7 @@ # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with -# this program. If not, see . +# this program. If not, see . SUBDIRS = doc diff -Nru autoconf-archive-20150925/Makefile.in autoconf-archive-20170928/Makefile.in --- autoconf-archive-20150925/Makefile.in 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/Makefile.in 2017-09-27 22:00:00.000000000 +0000 @@ -1,7 +1,7 @@ -# Makefile.in generated by automake 1.14.1 from Makefile.am. +# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994-2013 Free Software Foundation, Inc. +# Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -28,10 +28,20 @@ # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with -# this program. If not, see . +# this program. If not, see . VPATH = @srcdir@ -am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +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 \ ?) ;; \ @@ -93,17 +103,13 @@ PRE_UNINSTALL = : POST_UNINSTALL = : subdir = . -DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \ - $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ - $(top_srcdir)/configure $(am__configure_deps) \ - $(dist_aclocal_DATA) $(dist_pkgdata_DATA) COPYING TODO \ - build-aux/install-sh build-aux/missing \ - $(top_srcdir)/build-aux/install-sh \ - $(top_srcdir)/build-aux/missing 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_pkgdata_DATA) $(am__DIST_COMMON) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d @@ -194,6 +200,11 @@ CTAGS = ctags CSCOPE = cscope 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/mdate-sh build-aux/missing build-aux/texinfo.tex DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) @@ -335,7 +346,6 @@ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile -.PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ @@ -571,7 +581,7 @@ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir @@ -586,17 +596,17 @@ $(am__post_remove_distdir) dist-tarZ: distdir - @echo WARNING: "Support for shar distribution archives is" \ - "deprecated." >&2 + @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 distribution archives compressed with" \ - "legacy program 'compress' is deprecated." >&2 + @echo WARNING: "Support for shar distribution archives is" \ + "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir @@ -614,7 +624,7 @@ distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ @@ -624,23 +634,23 @@ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) - mkdir $(distdir)/_build $(distdir)/_inst + 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 \ - && ../configure \ + && $(am__cd) $(distdir)/_build/sub \ + && ../../configure \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ - --srcdir=.. --prefix="$$dc_install_base" \ + --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ @@ -821,6 +831,8 @@ pdf-am ps ps-am tags tags-am uninstall uninstall-am \ uninstall-dist_aclocalDATA uninstall-dist_pkgdataDATA +.PRECIOUS: Makefile + clean-local: @rm -rf $(srcdir)/stage $(srcdir)/macro.pyc __pycache__ diff -Nru autoconf-archive-20150925/NEWS autoconf-archive-20170928/NEWS --- autoconf-archive-20150925/NEWS 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/NEWS 2017-09-27 22:00:00.000000000 +0000 @@ -1,13 +1,96 @@ #+TITLE: GNU Autoconf Archive NEWS -*- mode:org;fill-column:79; -*- #+STARTUP: showall # -# Copyright (c) 2015 Autoconf Archive Maintainers +# Copyright (c) 2017 Autoconf Archive Maintainers # # Copying and distribution of this file, with or without modification, are # permitted in any medium without royalty provided the copyright notice # and this notice are preserved. This file is offered as-is, without any # warranty. +* Noteworthy changes in release 2017.09.28 (2017-09-28) [stable] + + The macros AX_PROG_HELP2MAN, AX_RECURSIVE_EVAL, AX_SUBDIRS_CONFIGURE, + AX_ELISP, and AX_PROG_EMACS have been added. + + Various macros have received updates. Please check the ChangeLog file or the + history of the git repository for further details. + +* Noteworthy changes in release 2017.03.21 (2017-03-21) [stable] + + Obsolete macros AX_CXX_COMPILER_VENDOR, AX_GCC_LIBRARIES_DIR, AX_GCC_VERSION, + and AX_HAVE_OPENGL have been removed from the archive. + + AX_DEFINE_SUB_PATH has been marked obsolete as suggested in + https://github.com/peti/autoconf-archive/pull/97. + +* Noteworthy changes in release 2016.09.16 (2016-09-16) [stable] + + The following macros were added: AX_BUILD_DATE_EPOCH, AX_CHECK_X86_FEATURES, + AX_GCC_X86_CPU_SUPPORTS, AX_OPEN62541_CHECK_H, AX_OPEN62541_CHECK_LIB, and + AX_LUAROCKS_ROCK. + + While updating AX_CODE_COVERAGE, the variable CODE_COVERAGE_LDFLAGS was + renamed to CODE_COVERAGE_LIBS. + + AX_VALGRIND_CHECK has been extended considerably. In this process. the + undocumented internal rule check-valgrind-tool was removed. + + 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. + + AX_WITH_CURSES and AX_WITH_CURSES_* macros have been modernized, in line + with PKG_CHECK_MODULES's style. This change breaks the interface, but + makes AX_WITH_CURSES compatible and even completely replaceable with the + interface of PKG_CHECK_MODULES. Ultimately, these macros should be + replaced in the future by calls to PKG_CHECK_MODULES. Variables in + AX_WITH_CURSES have been renamed + + CURSES_LIB -> CURSES_LIBS + CURSES_CPPFLAGS -> CURSES_CFLAGS + + and for the AX_WITH_CURSES_* macros + + PANEL_LIB -> PANEL_LIBS + MENU_LIB -> MENU_LIBS + FORM_LIB -> FORM_LIBS + + such that once the variables have been renamed in configure.ac and Makefile.am, + the calls AX_WITH_CURSES and PKG_CHECK_MODULES([CURSES], [ncurses]) are + completely interchangeable. + +* Noteworthy changes in release 2016.03.20 (2016-03-20) [stable] + + The following new macros have been added: AX_CHECK_GIRS_GJS, + AX_CHECK_GIR_SYMBOLS_GJS, AX_CXX_COMPILE_STDCXX, AX_CXX_COMPILE_STDCXX_14, + AX_CZMQ, AX_FC_CHECK_DEFINE, AX_LIB_NETCDF4, AX_PROG_GJS, + AX_RESTORE_FLAGS_WITH_PREFIX, AX_SAVE_FLAGS_WITH_PREFIX, AX_VAR_POP, + AX_VAR_PUSH, and AX_ZMQ. + + Various improvements to the opengl 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 + overwriting action-if-found hook. + - Fail the configure script if lib not found. This feature can be disabled + by overwriting 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 + + Many new features were added to AX_CODE_COVERAGE and AX_PROG_DOXYGEN. + + AX_CXX_COMPILE_STDCXX now modifies $(CXX) rather than $(CXXFLAGS). + + AX_PTHREAD has been updated significantly. See + https://savannah.gnu.org/patch/?8186 for further details. + + AX_PYTHON_DEVEL now provides PYTHON_LIBS instead of PYTHON_FLAGS. + + The macros related to C++11 and C++14 were extensively re-factored. + * Noteworthy changes in release 2015.09.25 (2015-09-25) [stable] The Archive no longer releases an "lzip"-compressed tarball. The only @@ -153,7 +236,7 @@ AX_PERL_MODULE_VERSION: fix a misspelled variable name. Other unfixed issues remain. See . - AX_BOOST_PYTHON: several issue have beeen fixed. Further details can be found + AX_BOOST_PYTHON: several issue have been fixed. Further details can be found at . AX_HAVE_QT: Only check $PATH and qmake for Qt variables. The old logic for @@ -316,7 +399,7 @@ The new macro AX_PROG_SCALAC provides support for finding a Scala compiler. See for further details. - The new macres AX_FIND_HAMCREST and AX_FIND_JUNIT have been added, which + The new macros AX_FIND_HAMCREST and AX_FIND_JUNIT have been added, which provide support for finding the jars of JUnit and Hamcrest. Please refer to for further details. @@ -441,7 +524,7 @@ systems. See for further details. The new macro AX_LIB_EV has been added, which checks for libev in a - pkg-config-like manner. The purpose of the macro is to unifty behaviour + pkg-config-like manner. The purpose of the macro is to unify behaviour between distros that come with libev.pc and systems (e.g. upstream) that don't. Further details are at . @@ -640,7 +723,7 @@ * Noteworthy changes in release 2011.07.17 (2011-07-17) [stable] - A cut-and-paste error in AX_BOOST_FILESSYTEM has been fixed. See + A cut-and-paste error in AX_BOOST_FILESYSTEM has been fixed. See for further details. The macros AX_CHECK_SUNPRO_C and AX_LANG_COMPILER_MS are deprecated in favor @@ -871,7 +954,7 @@ The Autoconf Archive has been declared an official GNU project. Consequently, the web site has moved from to - . Old addresses remain valid + . Old addresses remain valid for the foreseeable future, though. AX_BOOST_DATE_TIME and AX_BOOST_FILESYSTEM have been patched to function @@ -905,11 +988,11 @@ All macros have been assigned a unique serial number that corresponds to the number of commits that have modified the macro in the Archive's Git - repository. Refer to the [[http://www.gnu.org/software/libtool//manual/automake/Serials.html][Automake documentation on serial numbers]] for further + repository. Refer to the [[https://www.gnu.org/software/libtool//manual/automake/Serials.html][Automake documentation on serial numbers]] for further details about why these numbers are useful. The text of the all-permissive license has been augmented by an express - warranty disclaimer as [[http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html][suggested by the Free Software Foundation]]. + warranty disclaimer as [[https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html][suggested by the Free Software Foundation]]. AX_CXX_VERBOSE_TERMINATE_HANDLER has been generalized to support architectures other than GNU libstdc++. diff -Nru autoconf-archive-20150925/README autoconf-archive-20170928/README --- autoconf-archive-20150925/README 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/README 2017-09-27 22:00:00.000000000 +0000 @@ -2,7 +2,7 @@ ================ The GNU Autoconf Archive is a collection of more than 500 macros for [GNU -Autoconf](http://www.gnu.org/software/autoconf) that have been contributed +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 @@ -18,7 +18,7 @@ too, for proprietary software. The best place to start exploring the Archive is the [on-line -documentation](http://www.gnu.org/software/autoconf-archive/). There is +documentation](https://www.gnu.org/software/autoconf-archive/). There is also the [Autoconf Archive home page](http://savannah.gnu.org/projects/autoconf-archive/) at Savannah and a [Github mirror](https://github.com/peti/autoconf-archive). @@ -28,18 +28,18 @@ Here are the compressed sources: -- +- Here are the GPG detached signatures: -- +- You can use either of the above signature files to verify that the corresponding file (without the .sig suffix) is intact. First, be sure to download both the .sig file and the corresponding tarball. Then, run a command like this: - gpg --verify autoconf-archive-2015.09.25.tar.xz.sig + gpg --verify autoconf-archive-2017.09.28.tar.xz.sig If that command fails because you don't have the required public key, then run this command to import it: @@ -51,7 +51,7 @@ License ------- -Copyright (c) 2015 Autoconf Archive Maintainers \<\> +Copyright (c) 2017 Autoconf Archive Maintainers \<\> The GNU Autoconf Archive is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -64,4 +64,4 @@ Public License for more details. You should have received a copy of the GNU General Public License along -with the GNU Autoconf Archive. If not, see . +with the GNU Autoconf Archive. If not, see . diff -Nru autoconf-archive-20150925/.tarball-version autoconf-archive-20170928/.tarball-version --- autoconf-archive-20150925/.tarball-version 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/.tarball-version 2017-09-27 22:00:00.000000000 +0000 @@ -1 +1 @@ -2015.09.25 +2017.09.28 diff -Nru autoconf-archive-20150925/TODO autoconf-archive-20170928/TODO --- autoconf-archive-20150925/TODO 2015-09-24 22:00:00.000000000 +0000 +++ autoconf-archive-20170928/TODO 2017-09-27 22:00:00.000000000 +0000 @@ -1,6 +1,6 @@ #+TITLE: Autoconf Archive TODO -*- mode:org;fill-column:79; -*- # -# Copyright (c) 2015 Autoconf Archive Maintainers +# Copyright (c) 2017 Autoconf Archive Maintainers # # Copying and distribution of this file, with or without modification, are # permitted in any medium without royalty provided the copyright notice @@ -109,7 +109,6 @@ - [ ] [[file:m4/ax_blas.m4][ax_blas.m4]] - [ ] [[file:m4/ax_boost_python.m4][ax_boost_python.m4]] - [ ] [[file:m4/ax_c___attribute__.m4][ax_c___attribute__.m4]] - - [ ] [[file:m4/ax_c_bigendian_cross.m4][ax_c_bigendian_cross.m4]] - [ ] [[file:m4/ax_cc_for_build.m4][ax_cc_for_build.m4]] - [ ] [[file:m4/ax_c_check_flag.m4][ax_c_check_flag.m4]] - [ ] [[file:m4/ax_cc_maxopt.m4][ax_cc_maxopt.m4]]